Skip to content

Update Metric Attribution

personalize_update_metric_attribution R Documentation

Updates a metric attribution

Description

Updates a metric attribution.

Usage

personalize_update_metric_attribution(addMetrics, removeMetrics,
  metricsOutputConfig, metricAttributionArn)

Arguments

addMetrics

Add new metric attributes to the metric attribution.

removeMetrics

Remove metric attributes from the metric attribution.

metricsOutputConfig

An output config for the metric attribution.

metricAttributionArn

The Amazon Resource Name (ARN) for the metric attribution to update.

Value

A list with the following syntax:

list(
  metricAttributionArn = "string"
)

Request syntax

svc$update_metric_attribution(
  addMetrics = list(
    list(
      eventType = "string",
      metricName = "string",
      expression = "string"
    )
  ),
  removeMetrics = list(
    "string"
  ),
  metricsOutputConfig = list(
    s3DataDestination = list(
      path = "string",
      kmsKeyArn = "string"
    ),
    roleArn = "string"
  ),
  metricAttributionArn = "string"
)