Skip to content

SingleMetricAnomalyDetector

Source code in docs_src/capo_cloudwatch/types/single_metric_anomaly_detector.py
class SingleMetricAnomalyDetector(TypedDict, closed=True):
    account_id: NotRequired["capo_cloudwatch.types.account_id.AccountId"]
    """<p>If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here. If you omit this parameter, the current account is used.</p>"""
    namespace: NotRequired["capo_cloudwatch.types.namespace.Namespace"]
    """<p>The namespace of the metric to create the anomaly detection model for.</p>"""
    metric_name: NotRequired["capo_cloudwatch.types.metric_name.MetricName"]
    """<p>The name of the metric to create the anomaly detection model for.</p>"""
    dimensions: NotRequired["capo_cloudwatch.types.dimensions.Dimensions"]
    """<p>The metric dimensions to create the anomaly detection model for.</p>"""
    stat: NotRequired[
        "capo_cloudwatch.types.anomaly_detector_metric_stat.AnomalyDetectorMetricStat"
    ]
    """<p>The statistic to use for the metric and anomaly detection model.</p>"""

account_id instance-attribute

account_id: NotRequired[AccountId]

If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here. If you omit this parameter, the current account is used.

dimensions instance-attribute

dimensions: NotRequired[Dimensions]

The metric dimensions to create the anomaly detection model for.

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.

stat instance-attribute

stat: NotRequired[AnomalyDetectorMetricStat]

The statistic to use for the metric and anomaly detection model.