Connect / Client / update_metric_metadata

update_metric_metadata

Connect.Client.update_metric_metadata(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.update_metric_metadata(
    InstanceId='string',
    MetricId='string',
    Name='string',
    Description='string'
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

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

  • MetricId (string) –

    [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 (string) – The updated name of the metric.

  • Description (string) – The updated description of the metric.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions