Amazon CloudWatch
API Reference (API Version 2010-08-01)

DeleteAnomalyDetector

Deletes the specified anomaly detection model from your account.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

Dimensions.member.N

The metric dimensions associated with the anomaly detection model to delete.

Type: Array of Dimension objects

Array Members: Maximum number of 10 items.

Required: No

MetricName

The metric name associated with the anomaly detection model to delete.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: Yes

Namespace

The namespace associated with the anomaly detection model to delete.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [^:].*

Required: Yes

Stat

The statistic associated with the anomaly detection model to delete.

Type: String

Required: Yes

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServiceError

Request processing has failed due to some unknown error, exception, or failure.

HTTP Status Code: 500

InvalidParameterValue

The value of an input parameter is bad or out-of-range.

HTTP Status Code: 400

MissingParameter

An input parameter that is required is missing.

HTTP Status Code: 400

ResourceNotFound

The named resource does not exist.

HTTP Status Code: 404

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: