{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/SingleMetricAnomalyDetector", "title": "SingleMetricAnomalyDetector", "type": "object", "description": "Designates the CloudWatch metric and statistic that provides the time series the anomaly detector uses as input.", "properties": { "AccountId": { "type": "string", "description": "If the CloudWatch metric that provides the time series is in another account, use this to specify that account ID.", "example": "500123" }, "Namespace": { "type": "string", "description": "The namespace of the metric to create the anomaly detection model for.", "example": "example_value" }, "MetricName": { "type": "string", "description": "The name of the metric to create the anomaly detection model for.", "example": "example_value" }, "Dimensions": { "type": "array", "items": { "$ref": "#/components/schemas/Dimension" }, "description": "The metric dimensions to create the anomaly detection model for.", "example": [] }, "Stat": { "type": "string", "description": "The statistic to use for the metric and anomaly detection model.", "example": "example_value" } } }