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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/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)


10991
10992
10993
10994
10995
10996
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 10991

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)


10991
10992
10993
10994
10995
10996
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 10991

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