update_session
async
¶
update_session(
assistant_id: UuidOrArn,
session_id: UuidOrArn,
*,
config_overrides: Optional[AsyncQConnectClientConfig] = None,
description: Optional[Description] = None,
tag_filter: Optional[TagFilter] = None,
ai_agent_configuration: Optional[AIAgentConfigurationMap] = None,
orchestrator_configuration_list: Optional[OrchestratorConfigurationList] = None,
remove_orchestrator_configuration_list: Optional[bool] = None,
) -> UpdateSessionResponse
Updates a session. A session is a contextual container used for generating recommendations. Connect Customer updates the existing Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.
Parameters:
-
assistant_id(UuidOrArn) –The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
session_id(UuidOrArn) –The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
description(Optional[Description], default:None) –The description.
-
tag_filter(Optional[TagFilter], default:None) –An object that can be used to specify Tag conditions.
-
ai_agent_configuration(Optional[AIAgentConfigurationMap], default:None) –The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that should be used by Amazon Q in Connect for this Session.
-
orchestrator_configuration_list(Optional[OrchestratorConfigurationList], default:None) –The updated list of orchestrator configurations for the session.
-
remove_orchestrator_configuration_list(Optional[bool], default:None) –The list of orchestrator configurations to remove from the session.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ResourceNotFoundException–The specified resource does not exist.
-
UnauthorizedException–You do not have permission to perform this action.
-
ValidationException–The input fails to satisfy the constraints specified by a service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qconnect/_services/async_q_connect.py
3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 | |