update_session
¶
update_session(
assistant_id: UuidOrArn,
session_id: UuidOrArn,
*,
config_overrides: Optional[QConnectClientConfig] = 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/q_connect.py
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 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 | |