deregisterJobDefinition method

Future<void> deregisterJobDefinition({
  1. required String jobDefinition,
})

Deregisters an AWS Batch job definition. Job definitions are permanently deleted after 180 days.

May throw ClientException. May throw ServerException.

Parameter jobDefinition : The name and revision (name:revision) or full Amazon Resource Name (ARN) of the job definition to deregister.

Implementation

Future<void> deregisterJobDefinition({
  required String jobDefinition,
}) async {
  ArgumentError.checkNotNull(jobDefinition, 'jobDefinition');
  final $payload = <String, dynamic>{
    'jobDefinition': jobDefinition,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/v1/deregisterjobdefinition',
    exceptionFnMap: _exceptionFns,
  );
}