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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatch/types.rb

Overview

Note:

When making an API call, you may pass ListMetricsInput data as a 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:



946
947
948
949
950
951
952
# File 'lib/aws-sdk-cloudwatch/types.rb', line 946

class ListMetricsInput < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :next_token)
  include Aws::Structure
end

#metric_nameString

The name of the metric to filter against.

Returns:

  • (String)


946
947
948
949
950
951
952
# File 'lib/aws-sdk-cloudwatch/types.rb', line 946

class ListMetricsInput < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :next_token)
  include Aws::Structure
end

#namespaceString

The namespace to filter against.

Returns:

  • (String)


946
947
948
949
950
951
952
# File 'lib/aws-sdk-cloudwatch/types.rb', line 946

class ListMetricsInput < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :next_token)
  include Aws::Structure
end

#next_tokenString

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

Returns:

  • (String)


946
947
948
949
950
951
952
# File 'lib/aws-sdk-cloudwatch/types.rb', line 946

class ListMetricsInput < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :next_token)
  include Aws::Structure
end