cloudwatch_put_anomaly_detector: Creates an anomaly detection model for a CloudWatch metric

Description Usage Arguments Value Request syntax

View source: R/cloudwatch_operations.R

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.

For more information, see CloudWatch Anomaly Detection.

Usage

1
2
cloudwatch_put_anomaly_detector(Namespace, MetricName, Dimensions, Stat,
  Configuration)

Arguments

Namespace

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

MetricName

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

Dimensions

The metric dimensions to create the anomaly detection model for.

Stat

[required] 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.

Value

An empty list.

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
svc$put_anomaly_detector(
  Namespace = "string",
  MetricName = "string",
  Dimensions = list(
    list(
      Name = "string",
      Value = "string"
    )
  ),
  Stat = "string",
  Configuration = list(
    ExcludedTimeRanges = list(
      list(
        StartTime = as.POSIXct(
          "2015-01-01"
        ),
        EndTime = as.POSIXct(
          "2015-01-01"
        )
      )
    ),
    MetricTimezone = "string"
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.