paws.management (version 0.1.0)

cloudwatch_list_metrics: List the specified metrics

Description

List the specified metrics. You can use the returned metrics with GetMetricData or GetMetricStatistics to obtain statistical data.

Usage

cloudwatch_list_metrics(Namespace, MetricName, Dimensions, NextToken)

Arguments

Namespace

The namespace to filter against.

MetricName

The name of the metric to filter against.

Dimensions

The dimensions to filter against.

NextToken

The token returned by a previous call to indicate that there is more data available.

Request syntax

svc$list_metrics(
  Namespace = "string",
  MetricName = "string",
  Dimensions = list(
    list(
      Name = "string",
      Value = "string"
    )
  ),
  NextToken = "string"
)

Details

Up to 500 results are returned for any one call. To retrieve additional results, use the returned token with subsequent calls.

After you create a metric, allow up to fifteen minutes before the metric appears. Statistics about the metric, however, are available sooner using GetMetricData or GetMetricStatistics.