update_authentication_profile
async
¶
update_authentication_profile(
authentication_profile_id: AuthenticationProfileId,
instance_id: InstanceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
name: Optional[AuthenticationProfileName] = None,
description: Optional[AuthenticationProfileDescription] = None,
allowed_ips: Optional[IpCidrList] = None,
blocked_ips: Optional[IpCidrList] = None,
periodic_session_duration: Optional[AccessTokenDuration] = None,
session_inactivity_duration: Optional[InactivityDuration] = None,
session_inactivity_handling_enabled: Optional[Boolean] = None,
) -> None
This API is in preview release for Connect Customer and is subject to change. To request access to this API, contact Amazon Web Services Support.
Updates the selected authentication profile.
Parameters:
-
authentication_profile_id(AuthenticationProfileId) –A unique identifier for the authentication profile.
-
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.
-
name(Optional[AuthenticationProfileName], default:None) –The name for the authentication profile.
-
description(Optional[AuthenticationProfileDescription], default:None) –The description for the authentication profile.
-
allowed_ips(Optional[IpCidrList], default:None) –A list of IP address range strings that are allowed to access the instance. For more information on how to configure IP addresses, seeConfigure session timeouts in the Connect Customer Administrator Guide.
-
blocked_ips(Optional[IpCidrList], default:None) –A list of IP address range strings that are blocked from accessing the instance. For more information on how to configure IP addresses, For more information on how to configure IP addresses, see Configure IP-based access control in the Connect Customer Administrator Guide.
-
periodic_session_duration(Optional[AccessTokenDuration], default:None) –The short lived session duration configuration for users logged in to Connect Customer, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see Configure session timeouts in the Connect Customer Administrator Guide.
-
session_inactivity_duration(Optional[InactivityDuration], default:None) –The period, in minutes, before an agent is automatically signed out of the contact center when they go inactive.
-
session_inactivity_handling_enabled(Optional[Boolean], default:None) –Determines if automatic logout on user inactivity is enabled.
Raises:
-
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
25688 25689 25690 25691 25692 25693 25694 25695 25696 25697 25698 25699 25700 25701 25702 25703 25704 25705 25706 25707 25708 25709 25710 25711 25712 25713 25714 25715 25716 25717 25718 25719 25720 25721 25722 25723 25724 25725 25726 25727 25728 25729 25730 25731 25732 25733 25734 25735 25736 25737 25738 25739 25740 25741 25742 25743 25744 25745 25746 25747 25748 25749 25750 25751 25752 25753 25754 25755 25756 25757 25758 25759 25760 25761 25762 25763 25764 25765 25766 25767 25768 25769 25770 25771 25772 25773 25774 25775 25776 25777 | |