CancelJob cancels a job that is currently running or pending¶
Description¶
cancel_job cancels a job that is currently running or pending. If the job is already in a terminal state (Completed, Failed, or Cancelled), the operation returns successfully with the current status.
For more information, see Job concepts in the Amazon Location Service Developer Guide.
Usage¶
Arguments¶
-
JobId[required] The unique identifier of the job to cancel.
Value¶
A list with the following syntax:
list(
JobArn = "string",
JobId = "string",
Status = "Pending"|"Running"|"Completed"|"Failed"|"Cancelling"|"Cancelled"
)