cloudwatch_put_anomaly_detector: Creates an anomaly detection model for a CloudWatch metric

View source: R/cloudwatch_operations.R

cloudwatch_put_anomaly_detectorR Documentation

Creates an anomaly detection model for a CloudWatch metric

Description

Creates an anomaly detection model for a CloudWatch metric. You can use the model to display a band of expected normal values when the metric is graphed.

See https://www.paws-r-sdk.com/docs/cloudwatch_put_anomaly_detector/ for full documentation.

Usage

cloudwatch_put_anomaly_detector(
  Namespace = NULL,
  MetricName = NULL,
  Dimensions = NULL,
  Stat = NULL,
  Configuration = NULL,
  SingleMetricAnomalyDetector = NULL,
  MetricMathAnomalyDetector = NULL
)

Arguments

Namespace

The namespace of the metric to create the anomaly detection model for.

MetricName

The name of the metric to create the anomaly detection model for.

Dimensions

The metric dimensions to create the anomaly detection model for.

Stat

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

Configuration

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.

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 MetricMatchAnomalyDetector parameters of PutAnomalyDetectorInput

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

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 SingleMetricAnomalyDetector parameters of PutAnomalyDetectorInput

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


paws.management documentation built on Sept. 12, 2023, 1:06 a.m.