cloudwatch_describe_anomaly_detectors: Lists the anomaly detection models that you have created in...

Description Usage Arguments Value Request syntax

View source: R/cloudwatch_operations.R

Description

Lists the anomaly detection models that you have created in your account. You can list all models in your account or filter the results to only the models that are related to a certain namespace, metric name, or metric dimension.

Usage

1
2
cloudwatch_describe_anomaly_detectors(NextToken, MaxResults, Namespace,
  MetricName, Dimensions)

Arguments

NextToken

Use the token returned by the previous operation to request the next page of results.

MaxResults

The maximum number of results to return in one operation. The maximum value that you can specify is 100.

To retrieve the remaining results, make another call with the returned NextToken value.

Namespace

Limits the results to only the anomaly detection models that are associated with the specified namespace.

MetricName

Limits the results to only the anomaly detection models that are associated with the specified metric name. If there are multiple metrics with this name in different namespaces that have anomaly detection models, they're all returned.

Dimensions

Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned.

Value

A list with the following 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
25
26
27
28
29
30
list(
  AnomalyDetectors = list(
    list(
      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"
      ),
      StateValue = "PENDING_TRAINING"|"TRAINED_INSUFFICIENT_DATA"|"TRAINED"
    )
  ),
  NextToken = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
svc$describe_anomaly_detectors(
  NextToken = "string",
  MaxResults = 123,
  Namespace = "string",
  MetricName = "string",
  Dimensions = list(
    list(
      Name = "string",
      Value = "string"
    )
  )
)

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