update_user_config
¶
update_user_config(
user_id: UserId,
instance_id: InstanceId,
*,
config_overrides: Optional[ConnectClientConfig] = None,
auto_accept_configs: Optional[AutoAcceptConfigs] = None,
after_contact_work_configs: Optional[AfterContactWorkConfigs] = None,
phone_number_configs: Optional[PhoneNumberConfigs] = None,
persistent_connection_configs: Optional[PersistentConnectionConfigs] = None,
voice_enhancement_configs: Optional[VoiceEnhancementConfigs] = None,
) -> None
Updates the configuration settings for the specified user, including per-channel auto-accept and after contact work (ACW) timeout settings.
This operation replaces the UpdateUserPhoneConfig API. While UpdateUserPhoneConfig applies the same ACW timeout to all channels, UpdateUserConfig allows you to set different auto-accept and ACW timeout values for each channel type.
Parameters:
-
auto_accept_configs(Optional[AutoAcceptConfigs], default:None) –The list of auto-accept configuration settings for each channel. When auto-accept is enabled for a channel, available agents are automatically connected to contacts from that channel without needing to manually accept. Auto-accept connects agents to contacts in less than one second.
-
after_contact_work_configs(Optional[AfterContactWorkConfigs], default:None) –The list of after contact work (ACW) timeout configuration settings for each channel. ACW timeout specifies how many seconds agents have for after contact work, such as entering notes about the contact. The minimum setting is 1 second, and the maximum is 2,000,000 seconds (24 days). For the CHAT channel, the maximum for a specific duration is 5,400 seconds (90 minutes); higher values end ACW after 90 minutes. For all channels, including chat, you can enter 0 for an indefinite amount of time, meaning agents must manually choose to end ACW.
-
phone_number_configs(Optional[PhoneNumberConfigs], default:None) –The list of phone number configuration settings for each channel.
-
persistent_connection_configs(Optional[PersistentConnectionConfigs], default:None) –The list of persistent connection configuration settings for each channel.
-
voice_enhancement_configs(Optional[VoiceEnhancementConfigs], default:None) –The list of voice enhancement configuration settings for each channel.
-
user_id(UserId) –The identifier of the user account.
-
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.
Raises:
-
ConditionalOperationFailedException–Request processing failed because dependent condition failed.
-
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
28995 28996 28997 28998 28999 29000 29001 29002 29003 29004 29005 29006 29007 29008 29009 29010 29011 29012 29013 29014 29015 29016 29017 29018 29019 29020 29021 29022 29023 29024 29025 29026 29027 29028 29029 29030 29031 29032 29033 29034 29035 29036 29037 29038 29039 29040 29041 29042 29043 29044 29045 29046 29047 29048 29049 29050 29051 29052 29053 29054 29055 29056 29057 29058 29059 29060 29061 29062 29063 29064 29065 29066 29067 29068 29069 29070 29071 29072 29073 29074 29075 29076 29077 29078 29079 29080 29081 29082 29083 29084 | |