Skip to content

/AWS1/CL_IOT=>CANCELAUDITTASK()

About CancelAuditTask

Cancels an audit that is in progress. The audit can be either scheduled or on demand. If the audit isn't in progress, an "InvalidRequestException" occurs.

Requires permission to access the CancelAuditTask action.

Method Signature

IMPORTING

Required arguments:

IV_TASKID TYPE /AWS1/IOTAUDITTASKID /AWS1/IOTAUDITTASKID

The ID of the audit you want to cancel. You can only cancel an audit that is "IN_PROGRESS".

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTCANCELAUDITTASKRSP /AWS1/CL_IOTCANCELAUDITTASKRSP