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
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 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 | |