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
28800 28801 28802 28803 28804 28805 28806 28807 28808 28809 28810 28811 28812 28813 28814 28815 28816 28817 28818 28819 28820 28821 28822 28823 28824 28825 28826 28827 28828 28829 28830 28831 28832 28833 28834 28835 28836 28837 28838 28839 28840 28841 28842 28843 28844 28845 28846 28847 28848 28849 28850 28851 28852 28853 28854 28855 28856 28857 28858 28859 28860 28861 28862 | |