| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Pinpoint.Types.MetricDimension
Description
Documentation
data MetricDimension Source #
Specifies metric-based criteria for including or excluding endpoints from a segment. These criteria derive from custom metrics that you define for endpoints.
See: newMetricDimension smart constructor.
Constructors
| MetricDimension' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Double | |
| -> MetricDimension |
Create a value of MetricDimension with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:comparisonOperator:MetricDimension', metricDimension_comparisonOperator - 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.
$sel:value:MetricDimension', metricDimension_value - The value to compare.
metricDimension_comparisonOperator :: Lens' MetricDimension Text Source #
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.
metricDimension_value :: Lens' MetricDimension Double Source #
The value to compare.