You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudWatch::Types::ListMetricsInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ListMetricsInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  namespace: "Namespace",
  metric_name: "MetricName",
  dimensions: [
    {
      name: "DimensionName", # required
      value: "DimensionValue",
    },
  ],
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#dimensionsArray<Types::DimensionFilter>

The dimensions to filter against.

Returns:

#metric_nameString

The name of the metric to filter against.

Returns:

  • (String)

    The name of the metric to filter against.

#namespaceString

The namespace to filter against.

Returns:

  • (String)

    The namespace to filter against.

#next_tokenString

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

Returns:

  • (String)

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