IoT / Client / delete_ota_update
Delete an OTA update.
Requires permission to access the DeleteOTAUpdate action.
See also: AWS API Documentation
response = client.delete_ota_update( otaUpdateId='string', deleteStream=True|False, forceDeleteAWSJob=True|False )
otaUpdateId (string) –
The ID of the OTA update to delete.
deleteStream (boolean) – 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.
forceDeleteAWSJob (boolean) – 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.
- Return type: