cancel_job_run
(**kwargs)¶Cancels a job run.
See also: AWS API Documentation
Request Syntax
response = client.cancel_job_run(
applicationId='string',
jobRunId='string'
)
[REQUIRED]
The ID of the application on which the job run will be canceled.
[REQUIRED]
The ID of the job run to cancel.
dict
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