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
3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 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 | |