Skip to main content

metric_attribution_metrics

Creates, updates, deletes, gets or lists a metric_attribution_metrics resource.

Overview

Namemetric_attribution_metrics
TypeResource
Idaws.personalize.metric_attribution_metrics

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
event_typestringThe metric's event type.
expressionstringThe 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_namestringThe metric's name. The name helps you identify the metric in Amazon CloudWatch or Amazon S3.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_metric_attribution_metricsselectregionLists the metrics for the metric attribution.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists the metrics for the metric attribution.

SELECT
event_type,
expression,
metric_name
FROM aws.personalize.metric_attribution_metrics
WHERE region = '{{ region }}' -- required
;