Skip to content

Updates the name and/or description of an existing metric in the specified Connect Customer instance

Description

Updates the name and/or description of an existing metric in the specified Connect Customer instance.

Usage

connect_update_metric_metadata(InstanceId, MetricId, Name, Description)

Arguments

  • InstanceId

[required] The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • MetricId

[required] The identifier of the metric to update. Adding the $SAVED qualifier will update the saved version of the metric. Adding $LATEST or omitting a qualifier will update the published version.

  • Name

The updated name of the metric.

  • Description

The updated description of the metric.

Value

An empty list.

Request syntax

svc$update_metric_metadata(
  InstanceId = "string",
  MetricId = "string",
  Name = "string",
  Description = "string"
)