Connect / Client / delete_metric
delete_metric¶
- Connect.Client.delete_metric(**kwargs)¶
Deletes an existing metric from the specified Connect Customer instance. This operation fails with
ResourceConflictExceptionif the metric is currently in use in a dashboard.See also: AWS API Documentation
Request Syntax
response = client.delete_metric( InstanceId='string', MetricId='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 delete.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions