Cancel a job
Use the CancelJob operation to cancel an existing job currently in
Pending or Running status. You might cancel a job if it was submitted with the wrong
parameters or input data, or if you no longer need the complete results. It can take
time for a job to be fully cancelled. You can use the GetJob action to
check cancellation status. Cancelled jobs transition from
Cancelling to Cancelled status when
cancellation is complete.