CloudWatchLogs / Client / delete_log_anomaly_detector

delete_log_anomaly_detector#

CloudWatchLogs.Client.delete_log_anomaly_detector(**kwargs)#

Deletes the specified CloudWatch Logs anomaly detector.

See also: AWS API Documentation

Request Syntax

response = client.delete_log_anomaly_detector(
    anomalyDetectorArn='string'
)
Parameters:

anomalyDetectorArn (string) –

[REQUIRED]

The ARN of the anomaly detector to delete. You can find the ARNs of log anomaly detectors in your account by using the ListLogAnomalyDetectors operation.

Returns:

None

Exceptions

  • CloudWatchLogs.Client.exceptions.InvalidParameterException

  • CloudWatchLogs.Client.exceptions.ResourceNotFoundException

  • CloudWatchLogs.Client.exceptions.ServiceUnavailableException

  • CloudWatchLogs.Client.exceptions.OperationAbortedException