cancelDeploymentJob method
Cancels the specified deployment job.
May throw ResourceNotFoundException. May throw InvalidParameterException. May throw InternalServerException. May throw ThrottlingException.
Parameter job
:
The deployment job ARN to cancel.
Implementation
Future<void> cancelDeploymentJob({
required String job,
}) async {
ArgumentError.checkNotNull(job, 'job');
_s.validateStringLength(
'job',
job,
1,
1224,
isRequired: true,
);
final $payload = <String, dynamic>{
'job': job,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/cancelDeploymentJob',
exceptionFnMap: _exceptionFns,
);
}