Creates a metric attribution. A metric attribution creates reports on the data that you import into Amazon Personalize. Depending on how you imported the data, you can view reports in Amazon CloudWatch or Amazon S3. For more information, see Measuring impact of recommendations.
See https://www.paws-r-sdk.com/docs/personalize_create_metric_attribution/ for full documentation.
personalize_create_metric_attribution(
name,
datasetGroupArn,
metrics,
metricsOutputConfig
)
[required] A name for the metric attribution.
[required] The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
[required] A list of metric attributes for the metric attribution. Each metric
attribute specifies an event type to track and a function. 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).
[required] The output configuration details for the metric attribution.