Skip to content

List Metric Sets

lookoutmetrics_list_metric_sets R Documentation

Lists the datasets in the current AWS Region

Description

Lists the datasets in the current AWS Region.

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.

Usage

lookoutmetrics_list_metric_sets(AnomalyDetectorArn, MaxResults,
  NextToken)

Arguments

AnomalyDetectorArn

The ARN of the anomaly detector containing the metrics sets to list.

MaxResults

The maximum number of results to return.

NextToken

If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.

Value

A list with the following syntax:

list(
  MetricSetSummaryList = list(
    list(
      MetricSetArn = "string",
      AnomalyDetectorArn = "string",
      MetricSetDescription = "string",
      MetricSetName = "string",
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModificationTime = as.POSIXct(
        "2015-01-01"
      ),
      Tags = list(
        "string"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_metric_sets(
  AnomalyDetectorArn = "string",
  MaxResults = 123,
  NextToken = "string"
)