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 MetricAttribute = MetricAttribute' {
- eventType :: Text
- metricName :: Text
- expression :: Text
- newMetricAttribute :: Text -> Text -> Text -> MetricAttribute
- metricAttribute_eventType :: Lens' MetricAttribute Text
- metricAttribute_metricName :: Lens' MetricAttribute Text
- metricAttribute_expression :: Lens' MetricAttribute Text
Documentation
data MetricAttribute Source #
Contains information on a metric that a metric attribution reports on. For more information, see Measuring impact of recommendations.
See: newMetricAttribute
smart constructor.
MetricAttribute' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> MetricAttribute |
Create a value of MetricAttribute
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:eventType:MetricAttribute'
, metricAttribute_eventType
- The metric's event type.
$sel:metricName:MetricAttribute'
, metricAttribute_metricName
- The metric's name. The name helps you identify the metric in Amazon
CloudWatch or Amazon S3.
$sel:expression:MetricAttribute'
, metricAttribute_expression
- The attribute's expression. Available functions are SUM()
or
SAMPLECOUNT()
. For SUM() functions, provide the dataset type (either
Interactions or Items) and column to sum as a parameter. For example
SUM(Items.PRICE).
metricAttribute_eventType :: Lens' MetricAttribute Text Source #
The metric's event type.
metricAttribute_metricName :: Lens' MetricAttribute Text Source #
The metric's name. The name helps you identify the metric in Amazon CloudWatch or Amazon S3.
metricAttribute_expression :: Lens' MetricAttribute Text Source #
The attribute's expression. Available functions are SUM()
or
SAMPLECOUNT()
. For SUM() functions, provide the dataset type (either
Interactions or Items) and column to sum as a parameter. For example
SUM(Items.PRICE).