/AWS1/CL_IOT=>CANCELJOB()
¶
About CancelJob¶
Cancels a job.
Requires permission to access the CancelJob action.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_JOBID
TYPE /AWS1/IOTJOBID
/AWS1/IOTJOBID
¶
The unique identifier you assigned to this job when it was created.
Optional arguments:¶
IV_REASONCODE
TYPE /AWS1/IOTREASONCODE
/AWS1/IOTREASONCODE
¶
(Optional)A reason code string that explains why the job was canceled.
IV_COMMENT
TYPE /AWS1/IOTCOMMENT
/AWS1/IOTCOMMENT
¶
An optional comment string describing why the job was canceled.
IV_FORCE
TYPE /AWS1/IOTFORCEFLAG
/AWS1/IOTFORCEFLAG
¶
(Optional) If
true
job executions with status "IN_PROGRESS" and "QUEUED" are canceled, otherwise only job executions with status "QUEUED" are canceled. The default isfalse
.Canceling a job which is "IN_PROGRESS", will cause a device which is executing the job to be unable to update the job execution status. Use caution and ensure that each device executing a job which is canceled is able to recover to a valid state.