You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Pinpoint::Types::MetricDimension
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::MetricDimension
- Defined in:
- (unknown)
Overview
Note:
When passing MetricDimension as input to an Aws::Client method, you can use a vanilla 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
-
#comparison_operator ⇒ String
The operator to use when comparing metric values.
-
#value ⇒ Float
The value to compare.
Instance Attribute Details
#comparison_operator ⇒ String
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.
#value ⇒ Float
The value to compare.