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 |
Synopsis
- data MetricDefinition = MetricDefinition' {}
- newMetricDefinition :: MetricDefinition
- metricDefinition_entityIdKey :: Lens' MetricDefinition (Maybe Text)
- metricDefinition_eventPattern :: Lens' MetricDefinition (Maybe Text)
- metricDefinition_name :: Lens' MetricDefinition (Maybe Text)
- metricDefinition_unitLabel :: Lens' MetricDefinition (Maybe Text)
- metricDefinition_valueKey :: Lens' MetricDefinition (Maybe Text)
Documentation
data MetricDefinition Source #
This structure defines a metric that is being used to evaluate the variations during a launch or experiment.
See: newMetricDefinition
smart constructor.
MetricDefinition' | |
|
Instances
newMetricDefinition :: MetricDefinition Source #
Create a value of MetricDefinition
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:entityIdKey:MetricDefinition'
, metricDefinition_entityIdKey
- The entity, such as a user or session, that does an action that causes a
metric value to be recorded.
$sel:eventPattern:MetricDefinition'
, metricDefinition_eventPattern
- The EventBridge event pattern that defines how the metric is recorded.
For more information about EventBridge event patterns, see Amazon EventBridge event patterns.
$sel:name:MetricDefinition'
, metricDefinition_name
- The name of the metric.
$sel:unitLabel:MetricDefinition'
, metricDefinition_unitLabel
- The label for the units that the metric is measuring.
$sel:valueKey:MetricDefinition'
, metricDefinition_valueKey
- The value that is tracked to produce the metric.
metricDefinition_entityIdKey :: Lens' MetricDefinition (Maybe Text) Source #
The entity, such as a user or session, that does an action that causes a metric value to be recorded.
metricDefinition_eventPattern :: Lens' MetricDefinition (Maybe Text) Source #
The EventBridge event pattern that defines how the metric is recorded.
For more information about EventBridge event patterns, see Amazon EventBridge event patterns.
metricDefinition_name :: Lens' MetricDefinition (Maybe Text) Source #
The name of the metric.
metricDefinition_unitLabel :: Lens' MetricDefinition (Maybe Text) Source #
The label for the units that the metric is measuring.
metricDefinition_valueKey :: Lens' MetricDefinition (Maybe Text) Source #
The value that is tracked to produce the metric.