IoT / Client / cancel_detect_mitigation_actions_task

cancel_detect_mitigation_actions_task

IoT.Client.cancel_detect_mitigation_actions_task(**kwargs)

Note

The IoT Device Defender detect feature will no longer be available to new customers starting August 31, 2026. If you would like to use the detect feature, sign up prior to August 31, 2026. To learn about alternatives to IoT Device Defender detect, see IoT Device Defender detect feature availability change in the IoT Device Defender Developer Guide. There is no change to IoT Device Defender audit availability.

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