Cancel Job Execution
GET {{aws_internet_of_things_base_url}}/things/thingName/jobs/jobId/cancel?force&jobId&thingName
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
force | null | (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. | |
jobId | null | The ID of the job to be canceled. | |
thingName | null | The name of the thing whose execution of the job will be canceled. |