AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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
show all
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

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)

    The operator to use when comparing metric values.

#valueFloat

The value to compare.

Returns:

  • (Float)

    The value to compare.