metric_attribution_metrics
Creates, updates, deletes, gets or lists a metric_attribution_metrics resource.
Overview
| Name | metric_attribution_metrics |
| Type | Resource |
| Id | aws.personalize.metric_attribution_metrics |
Fields
The following fields are returned by SELECT queries:
- list_metric_attribution_metrics
| Name | Datatype | Description |
|---|---|---|
event_type | string | The metric's event type. |
expression | string | 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 | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_metric_attribution_metrics | select | region | Lists 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_metric_attribution_metrics
Lists the metrics for the metric attribution.
SELECT
event_type,
expression,
metric_name
FROM aws.personalize.metric_attribution_metrics
WHERE region = '{{ region }}' -- required
;