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", # required
  value: 1.0, # required
}

Specifies metric-based criteria for including or excluding endpoints from a segment. These criteria derive from custom metrics that you define for endpoints.

Instance Attribute Summary collapse

Instance Attribute Details

#comparison_operatorString

The operator to use when comparing metric values. Valid values are: GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, and EQUAL.

Returns:

  • (String)


11128
11129
11130
11131
11132
# File 'lib/aws-sdk-pinpoint/types.rb', line 11128

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

#valueFloat

The value to compare.

Returns:

  • (Float)


11128
11129
11130
11131
11132
# File 'lib/aws-sdk-pinpoint/types.rb', line 11128

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