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

Class: Aws::IoT::Types::MetricDimension

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

Overview

Note:

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

{
  dimension_name: "DimensionName", # required
  operator: "IN", # accepts IN, NOT_IN
}

The dimension of a metric.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#dimension_nameString

A unique identifier for the dimension.

Returns:

  • (String)

    A unique identifier for the dimension.

#operatorString

Defines how the dimensionValues of a dimension are interpreted. For example, for dimension type TOPIC_FILTER, the IN operator, a message will be counted only if its topic matches one of the topic filters. With NOT_IN operator, a message will be counted only if it doesn\'t match any of the topic filters. The operator is optional: if it\'s not provided (is null), it will be interpreted as IN.

Possible values:

  • IN
  • NOT_IN

Returns:

  • (String)

    Defines how the dimensionValues of a dimension are interpreted.