IoT / Client / cancel_detect_mitigation_actions_task

cancel_detect_mitigation_actions_task#

IoT.Client.cancel_detect_mitigation_actions_task(**kwargs)#

Cancels a Device Defender ML Detect mitigation action.

Requires permission to access the CancelDetectMitigationActionsTask action.

See also: AWS API Documentation

Request Syntax

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

taskId (string) –

[REQUIRED]

The unique identifier of the task.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • IoT.Client.exceptions.ResourceNotFoundException

  • IoT.Client.exceptions.InvalidRequestException

  • IoT.Client.exceptions.ThrottlingException

  • IoT.Client.exceptions.InternalFailureException