update_metric_metadata
¶
update_metric_metadata(
instance_id: InstanceId,
metric_id: MetricId,
*,
config_overrides: Optional[ConnectClientConfig] = None,
name: Optional[MetricName] = None,
description: Optional[MetricDescription] = None,
) -> UpdateMetricMetadataResponse
Updates the name and/or description of an existing metric in the specified Connect Customer instance.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
metric_id(MetricId) –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(Optional[MetricName], default:None) –The updated name of the metric.
-
description(Optional[MetricDescription], default:None) –The updated description of the metric.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
DuplicateResourceException–A resource with the specified name already exists.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/connect.py
26976 26977 26978 26979 26980 26981 26982 26983 26984 26985 26986 26987 26988 26989 26990 26991 26992 26993 26994 26995 26996 26997 26998 26999 27000 27001 27002 27003 27004 27005 27006 27007 27008 27009 27010 27011 27012 27013 27014 27015 27016 27017 27018 27019 27020 27021 27022 27023 27024 27025 27026 27027 27028 27029 27030 27031 27032 27033 27034 27035 27036 27037 27038 | |