Cancel Job Execution

GET {{aws_internet_of_things_base_url}}/things/thingName/jobs/jobId/cancel?force&jobId&thingName

Request Params

KeyDatatypeRequiredDescription
forcenull(Optional) If true the job execution will be canceled if it has status IN_PROGRESS or QUEUED, otherwise the job execution will be canceled only if it has status QUEUED. If you attempt to cancel a job execution that is IN_PROGRESS, and you do not set force to true, then an InvalidStateTransitionException will be thrown. The default is false.
jobIdnullThe ID of the job to be canceled.
thingNamenullThe name of the thing whose execution of the job will be canceled.