Skip to content

CreateMetricAttributionRequest

Source code in docs_src/capo_personalize/types/create_metric_attribution_request.py
class CreateMetricAttributionRequest(TypedDict, closed=True):
    name: "capo_personalize.types.name.Name"
    """<p>A name for the metric attribution.</p>"""
    dataset_group_arn: "capo_personalize.types.arn.Arn"
    """<p>The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.</p>"""
    metrics: "capo_personalize.types.metric_attributes.MetricAttributes"
    """<p>A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track and a function. Available functions are <code>SUM()</code> or <code>SAMPLECOUNT()</code>. For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).</p>"""
    metrics_output_config: (
        "capo_personalize.types.metric_attribution_output.MetricAttributionOutput"
    )
    """<p>The output configuration details for the metric attribution.</p>"""

dataset_group_arn instance-attribute

dataset_group_arn: Arn

The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.

metrics instance-attribute

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).

metrics_output_config instance-attribute

metrics_output_config: MetricAttributionOutput

The output configuration details for the metric attribution.

name instance-attribute

name: Name

A name for the metric attribution.