PutAnomalyDetectorInput
¶
Source code in docs_src/capo_cloudwatch/types/put_anomaly_detector_input.py
configuration
instance-attribute
¶
configuration: NotRequired[AnomalyDetectorConfiguration]
The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude when training and updating the model. You can specify as many as 10 time ranges.
The configuration can also include the time zone to use for the metric.
dimensions
instance-attribute
¶
dimensions: NotRequired[Dimensions]
The metric dimensions to create the anomaly detection model for.
metric_characteristics
instance-attribute
¶
metric_characteristics: NotRequired[MetricCharacteristics]
Use this object to include parameters to provide information about your metric to CloudWatch to help it build more accurate anomaly detection models. Currently, it includes the PeriodicSpikes parameter.
metric_math_anomaly_detector
instance-attribute
¶
metric_math_anomaly_detector: NotRequired[MetricMathAnomalyDetector]
The metric math anomaly detector to be created.
When using MetricMathAnomalyDetector, you cannot include the following parameters in the same operation:
-
Dimensions -
MetricName -
Namespace -
Stat -
the
SingleMetricAnomalyDetectorparameters ofPutAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the property MetricMathAnomalyDetector.
metric_name
instance-attribute
¶
metric_name: NotRequired[MetricName]
The name of the metric to create the anomaly detection model for.
namespace
instance-attribute
¶
namespace: NotRequired[Namespace]
The namespace of the metric to create the anomaly detection model for.
single_metric_anomaly_detector
instance-attribute
¶
single_metric_anomaly_detector: NotRequired[SingleMetricAnomalyDetector]
A single metric anomaly detector to be created.
When using SingleMetricAnomalyDetector, you cannot include the following parameters in the same operation:
-
Dimensions -
MetricName -
Namespace -
Stat -
the
MetricMathAnomalyDetectorparameters ofPutAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the property SingleMetricAnomalyDetector.
stat
instance-attribute
¶
stat: NotRequired[AnomalyDetectorMetricStat]
The statistic to use for the metric and the anomaly detection model.