Batch / Client / deregister_job_definition

deregister_job_definition#

Batch.Client.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

Examples

This example deregisters a job definition called sleep10.

response = client.deregister_job_definition(
    jobDefinition='sleep10',
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}