deregister_job_definition
(**kwargs)¶Deregisters an Batch job definition. Job definitions are permanently deleted after 180 days.
See also: AWS API Documentation
Request Syntax
response = client.deregister_job_definition(
jobDefinition='string'
)
[REQUIRED]
The name and revision ( name:revision
) or full Amazon Resource Name (ARN) of the job definition to deregister.
{}
Response Structure
Exceptions
Batch.Client.exceptions.ClientException
Batch.Client.exceptions.ServerException
Examples
This example deregisters a job definition called sleep10.
response = client.deregister_job_definition(
jobDefinition='sleep10',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}