EMRContainers / Client / delete_job_template

delete_job_template#

EMRContainers.Client.delete_job_template(**kwargs)#

Deletes a job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.

See also: AWS API Documentation

Request Syntax

response = client.delete_job_template(
    id='string'
)
Parameters:

id (string) –

[REQUIRED]

The ID of the job template that will be deleted.

Return type:

dict

Returns:

Response Syntax

{
    'id': 'string'
}

Response Structure

  • (dict) –

    • id (string) –

      This output contains the ID of the job template that was deleted.

Exceptions

  • EMRContainers.Client.exceptions.ValidationException

  • EMRContainers.Client.exceptions.InternalServerException