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
25449 25450 25451 25452 25453 25454 25455 25456 25457 25458 25459 25460 25461 25462 25463 25464 25465 25466 25467 25468 25469 25470 25471 25472 25473 25474 25475 25476 25477 25478 25479 25480 25481 25482 25483 25484 25485 25486 25487 25488 25489 25490 25491 25492 25493 25494 25495 25496 25497 25498 25499 25500 25501 25502 25503 25504 25505 25506 25507 25508 25509 25510 25511 25512 25513 25514 25515 25516 25517 25518 25519 25520 25521 25522 25523 25524 25525 25526 25527 25528 25529 25530 25531 25532 25533 25534 25535 25536 25537 25538 | |