Skip to content

/AWS1/CL_IOT=>DELETEOTAUPDATE()

About DeleteOTAUpdate

Delete an OTA update.

Requires permission to access the DeleteOTAUpdate action.

Method Signature

IMPORTING

Required arguments:

IV_OTAUPDATEID TYPE /AWS1/IOTOTAUPDATEID /AWS1/IOTOTAUPDATEID

The ID of the OTA update to delete.

Optional arguments:

IV_DELETESTREAM TYPE /AWS1/IOTDELETESTREAM_ /AWS1/IOTDELETESTREAM_

When true, the stream created by the OTAUpdate process is deleted when the OTA update is deleted. Ignored if the stream specified in the OTAUpdate is supplied by the user.

IV_FORCEDELETEAWSJOB TYPE /AWS1/IOTFORCEDELETEAWSJOB /AWS1/IOTFORCEDELETEAWSJOB

When true, deletes the IoT job created by the OTAUpdate process even if it is "IN_PROGRESS". Otherwise, if the job is not in a terminal state ("COMPLETED" or "CANCELED") an exception will occur. The default is false.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTDELETEOTAUPDATERSP /AWS1/CL_IOTDELETEOTAUPDATERSP