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

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

Constant Summary collapse

SENSITIVE =
[]

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)


11938
11939
11940
11941
11942
11943
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 11938

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

#valueFloat

The value to compare.

Returns:

  • (Float)


11938
11939
11940
11941
11942
11943
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 11938

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