Class: Aws::Pinpoint::Types::MetricDimension

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

Overview

Note:

When making an API call, you may pass MetricDimension data as a hash:

{
  comparison_operator: "__string",
  value: 1.0,
}

Custom metric dimension

Instance Attribute Summary collapse

Instance Attribute Details

#comparison_operatorString

The operator that you’re using to compare metric values. Possible values: GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, or EQUAL

Returns:

  • (String)


6928
6929
6930
6931
6932
# File 'lib/aws-sdk-pinpoint/types.rb', line 6928

class MetricDimension < Struct.new(
  :comparison_operator,
  :value)
  include Aws::Structure
end

#valueFloat

The value to be compared.

Returns:

  • (Float)


6928
6929
6930
6931
6932
# File 'lib/aws-sdk-pinpoint/types.rb', line 6928

class MetricDimension < Struct.new(
  :comparison_operator,
  :value)
  include Aws::Structure
end