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
$SAVEDqualifier will update the saved version of the metric. Adding$LATESTor 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
Connect.Client.exceptions.InvalidRequestExceptionConnect.Client.exceptions.InvalidParameterExceptionConnect.Client.exceptions.ResourceNotFoundExceptionConnect.Client.exceptions.DuplicateResourceExceptionConnect.Client.exceptions.AccessDeniedExceptionConnect.Client.exceptions.ThrottlingExceptionConnect.Client.exceptions.InternalServiceException