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.

cancel_job_run

cancel_job_run(**kwargs)

Cancels a job run.

See also: AWS API Documentation

Request Syntax

response = client.cancel_job_run(
    applicationId='string',
    jobRunId='string'
)
Parameters
  • applicationId (string) --

    [REQUIRED]

    The ID of the application on which the job run will be canceled.

  • jobRunId (string) --

    [REQUIRED]

    The ID of the job run to cancel.

Return type

dict

Returns

Response Syntax

{
    'applicationId': 'string',
    'jobRunId': 'string'
}

Response Structure

  • (dict) --

    • applicationId (string) --

      The output contains the application ID on which the job run is cancelled.

    • jobRunId (string) --

      The output contains the ID of the cancelled job run.

Exceptions

  • EMRServerless.Client.exceptions.ValidationException
  • EMRServerless.Client.exceptions.ResourceNotFoundException
  • EMRServerless.Client.exceptions.InternalServerException