IoT / Client / cancel_audit_mitigation_actions_task

cancel_audit_mitigation_actions_task#

IoT.Client.cancel_audit_mitigation_actions_task(**kwargs)#

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.

See also: AWS API Documentation

Request Syntax

response = client.cancel_audit_mitigation_actions_task(
    taskId='string'
)
Parameters:

taskId (string) –

[REQUIRED]

The unique identifier for the task that you want to cancel.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions