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). 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
28662 28663 28664 28665 28666 28667 28668 28669 28670 28671 28672 28673 28674 28675 28676 28677 28678 28679 28680 28681 28682 28683 28684 28685 28686 28687 28688 28689 28690 28691 28692 28693 28694 28695 28696 28697 28698 28699 28700 28701 28702 28703 28704 28705 28706 28707 28708 28709 28710 28711 28712 28713 28714 28715 28716 28717 28718 28719 28720 28721 28722 28723 28724 28725 28726 28727 28728 28729 28730 28731 28732 28733 28734 28735 28736 28737 28738 28739 28740 28741 28742 28743 28744 28745 28746 28747 28748 28749 28750 28751 | |