Skip to content

DeleteAnomalyDetectorInput

Source code in docs_src/capo_cloudwatch/types/delete_anomaly_detector_input.py
class DeleteAnomalyDetectorInput(TypedDict, closed=True):
    anomaly_detector_id: NotRequired[
        "capo_cloudwatch.types.anomaly_detector_id.AnomalyDetectorId"
    ]
    """<p>Specifies the unique identifier of the anomaly detector to delete. If you specify this parameter, you do not need to specify a metric to identify the detector.</p>"""
    namespace: NotRequired["capo_cloudwatch.types.namespace.Namespace"]
    """<p>The namespace associated with the anomaly detection model to delete.</p>"""
    metric_name: NotRequired["capo_cloudwatch.types.metric_name.MetricName"]
    """<p>The metric name associated with the anomaly detection model to delete.</p>"""
    dimensions: NotRequired["capo_cloudwatch.types.dimensions.Dimensions"]
    """<p>The metric dimensions associated with the anomaly detection model to delete.</p>"""
    stat: NotRequired[
        "capo_cloudwatch.types.anomaly_detector_metric_stat.AnomalyDetectorMetricStat"
    ]
    """<p>The statistic associated with the anomaly detection model to delete.</p>"""
    single_metric_anomaly_detector: NotRequired[
        "capo_cloudwatch.types.single_metric_anomaly_detector.SingleMetricAnomalyDetector"
    ]
    """<p>A single metric anomaly detector to be deleted.</p> <p>When using <code>SingleMetricAnomalyDetector</code>, you cannot include the following parameters in the same operation:</p> <ul> <li> <p> <code>Dimensions</code>,</p> </li> <li> <p> <code>MetricName</code> </p> </li> <li> <p> <code>Namespace</code> </p> </li> <li> <p> <code>Stat</code> </p> </li> <li> <p>the <code>MetricMathAnomalyDetector</code> parameters of <code>DeleteAnomalyDetectorInput</code> </p> </li> </ul> <p>Instead, specify the single metric anomaly detector attributes as part of the <code>SingleMetricAnomalyDetector</code> property.</p>"""
    metric_math_anomaly_detector: NotRequired[
        "capo_cloudwatch.types.metric_math_anomaly_detector.MetricMathAnomalyDetector"
    ]
    """<p>The metric math anomaly detector to be deleted.</p> <p>When using <code>MetricMathAnomalyDetector</code>, you cannot include following parameters in the same operation:</p> <ul> <li> <p> <code>Dimensions</code>,</p> </li> <li> <p> <code>MetricName</code> </p> </li> <li> <p> <code>Namespace</code> </p> </li> <li> <p> <code>Stat</code> </p> </li> <li> <p>the <code>SingleMetricAnomalyDetector</code> parameters of <code>DeleteAnomalyDetectorInput</code> </p> </li> </ul> <p>Instead, specify the metric math anomaly detector attributes as part of the <code>MetricMathAnomalyDetector</code> property.</p>"""

anomaly_detector_id instance-attribute

anomaly_detector_id: NotRequired[AnomalyDetectorId]

Specifies the unique identifier of the anomaly detector to delete. If you specify this parameter, you do not need to specify a metric to identify the detector.

dimensions instance-attribute

dimensions: NotRequired[Dimensions]

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

metric_math_anomaly_detector instance-attribute

metric_math_anomaly_detector: NotRequired[MetricMathAnomalyDetector]

The metric math anomaly detector to be deleted.

When using MetricMathAnomalyDetector, you cannot include following parameters in the same operation:

  • Dimensions,

  • MetricName

  • Namespace

  • Stat

  • the SingleMetricAnomalyDetector parameters of DeleteAnomalyDetectorInput

Instead, specify the metric math anomaly detector attributes as part of the MetricMathAnomalyDetector property.

metric_name instance-attribute

metric_name: NotRequired[MetricName]

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

namespace instance-attribute

namespace: NotRequired[Namespace]

The namespace associated with the anomaly detection model to delete.

single_metric_anomaly_detector instance-attribute

single_metric_anomaly_detector: NotRequired[SingleMetricAnomalyDetector]

A single metric anomaly detector to be deleted.

When using SingleMetricAnomalyDetector, you cannot include the following parameters in the same operation:

  • Dimensions,

  • MetricName

  • Namespace

  • Stat

  • the MetricMathAnomalyDetector parameters of DeleteAnomalyDetectorInput

Instead, specify the single metric anomaly detector attributes as part of the SingleMetricAnomalyDetector property.

stat instance-attribute

stat: NotRequired[AnomalyDetectorMetricStat]

The statistic associated with the anomaly detection model to delete.