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 MetricDefinitionConfig = MetricDefinitionConfig' {}
- newMetricDefinitionConfig :: Text -> Text -> Text -> MetricDefinitionConfig
- metricDefinitionConfig_eventPattern :: Lens' MetricDefinitionConfig (Maybe Text)
- metricDefinitionConfig_unitLabel :: Lens' MetricDefinitionConfig (Maybe Text)
- metricDefinitionConfig_entityIdKey :: Lens' MetricDefinitionConfig Text
- metricDefinitionConfig_name :: Lens' MetricDefinitionConfig Text
- metricDefinitionConfig_valueKey :: Lens' MetricDefinitionConfig Text
Documentation
data MetricDefinitionConfig Source #
This structure defines a metric that you want to use to evaluate the variations during a launch or experiment.
See: newMetricDefinitionConfig
smart constructor.
MetricDefinitionConfig' | |
|
Instances
newMetricDefinitionConfig Source #
:: Text | |
-> Text | |
-> Text | |
-> MetricDefinitionConfig |
Create a value of MetricDefinitionConfig
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:eventPattern:MetricDefinitionConfig'
, metricDefinitionConfig_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:unitLabel:MetricDefinitionConfig'
, metricDefinitionConfig_unitLabel
- A label for the units that the metric is measuring.
$sel:entityIdKey:MetricDefinitionConfig'
, metricDefinitionConfig_entityIdKey
- The entity, such as a user or session, that does an action that causes a
metric value to be recorded. An example is userDetails.userID
.
$sel:name:MetricDefinitionConfig'
, metricDefinitionConfig_name
- A name for the metric.
$sel:valueKey:MetricDefinitionConfig'
, metricDefinitionConfig_valueKey
- The value that is tracked to produce the metric.
metricDefinitionConfig_eventPattern :: Lens' MetricDefinitionConfig (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.
metricDefinitionConfig_unitLabel :: Lens' MetricDefinitionConfig (Maybe Text) Source #
A label for the units that the metric is measuring.
metricDefinitionConfig_entityIdKey :: Lens' MetricDefinitionConfig Text Source #
The entity, such as a user or session, that does an action that causes a
metric value to be recorded. An example is userDetails.userID
.
metricDefinitionConfig_name :: Lens' MetricDefinitionConfig Text Source #
A name for the metric.
metricDefinitionConfig_valueKey :: Lens' MetricDefinitionConfig Text Source #
The value that is tracked to produce the metric.