cancel_job
(**kwargs)¶This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete.
See also: AWS API Documentation
Request Syntax
response = client.cancel_job(
JobId='string',
APIVersion='string'
)
dict
Response Syntax
{
'Success': True|False
}
Response Structure
Exceptions
ImportExport.Client.exceptions.InvalidJobIdException
ImportExport.Client.exceptions.ExpiredJobIdException
ImportExport.Client.exceptions.CanceledJobIdException
ImportExport.Client.exceptions.UnableToCancelJobIdException
ImportExport.Client.exceptions.InvalidAccessKeyIdException
ImportExport.Client.exceptions.InvalidVersionException