update_routing_profile_name
async
¶
update_routing_profile_name(
instance_id: InstanceId,
routing_profile_id: RoutingProfileId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
name: Optional[RoutingProfileName] = None,
description: Optional[RoutingProfileDescription] = None,
) -> None
Updates the name and description of a routing profile. The request accepts the following data in JSON format. At least Name or Description must be provided.
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.
-
routing_profile_id(RoutingProfileId) –The identifier of the routing profile.
-
name(Optional[RoutingProfileName], default:None) –The name of the routing profile. Must not be more than 127 characters.
-
description(Optional[RoutingProfileDescription], default:None) –The description of the routing profile. Must not be more than 250 characters.
Raises:
-
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/async_connect.py
28486 28487 28488 28489 28490 28491 28492 28493 28494 28495 28496 28497 28498 28499 28500 28501 28502 28503 28504 28505 28506 28507 28508 28509 28510 28511 28512 28513 28514 28515 28516 28517 28518 28519 28520 28521 28522 28523 28524 28525 28526 28527 28528 28529 28530 28531 28532 28533 28534 28535 28536 28537 28538 28539 28540 28541 28542 28543 28544 28545 28546 28547 28548 | |