Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

deregister_job_definition

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'
)
Parameters
jobDefinition (string) --

[REQUIRED]

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

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

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': {
        '...': '...',
    },
}