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
- Struct
- Aws::IoT::Types::MetricDimension
- Defined in:
- (unknown)
Overview
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
-
#dimension_name ⇒ String
A unique identifier for the dimension.
-
#operator ⇒ String
Defines how the
dimensionValues
of a dimension are interpreted.
Instance Attribute Details
#dimension_name ⇒ String
A unique identifier for the dimension.
#operator ⇒ String
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