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

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

Overview

The dimension of a metric.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dimension_nameString

A unique identifier for the dimension.

Returns:

  • (String)


12328
12329
12330
12331
12332
12333
# File 'lib/aws-sdk-iot/types.rb', line 12328

class MetricDimension < Struct.new(
  :dimension_name,
  :operator)
  SENSITIVE = []
  include Aws::Structure
end

#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`.

Returns:

  • (String)


12328
12329
12330
12331
12332
12333
# File 'lib/aws-sdk-iot/types.rb', line 12328

class MetricDimension < Struct.new(
  :dimension_name,
  :operator)
  SENSITIVE = []
  include Aws::Structure
end