MetricAttribute
¶
Source code in docs_src/capo_personalize/types/metric_attribute.py
expression
instance-attribute
¶
expression: MetricExpression
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).
metric_name
instance-attribute
¶
metric_name: MetricName
The metric's name. The name helps you identify the metric in Amazon CloudWatch or Amazon S3.