update_user_config
async
¶
update_user_config(
user_id: UserId,
instance_id: InstanceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = 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). 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/async_connect.py
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 29085 29086 29087 29088 29089 29090 29091 29092 29093 29094 29095 29096 29097 29098 29099 29100 29101 29102 29103 29104 29105 29106 29107 29108 29109 29110 29111 29112 29113 29114 29115 29116 29117 29118 29119 29120 29121 29122 29123 29124 29125 29126 29127 29128 29129 29130 29131 29132 29133 29134 29135 29136 29137 29138 29139 29140 29141 29142 | |