Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.Requires permission to access the CancelAuditMitigationActionsTask action.
Request
Path Params
Responses
🟢200Success
application/json
Body
🟠480ResourceNotFoundException
🟠481InvalidRequestException
🟠482ThrottlingException
🟠483InternalFailureException
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request PUT 'https://api.iotwireless.{region}.amazonaws.com/audit/mitigationactions/tasks//cancel'