Values.CreateSessionRequestSourceCreates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.
type nonrec t = {clientToken : ClientToken.t option;A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
*)assistantId : UuidOrArn.t;The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
*)name : Name.t;The name of the session.
*)description : Description.t option;The description.
*)tagFilter : TagFilter.t option;An object that can be used to specify Tag conditions.
*)aiAgentConfiguration : AIAgentConfigurationMap.t option;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.
*)contactArn : GenericArn.t option;The Amazon Resource Name (ARN) of the email contact in Amazon Connect. Used to retrieve email content and establish session context for AI-powered email assistance.
*)orchestratorConfigurationList : OrchestratorConfigurationList.t option;The list of orchestrator configurations for the session being created.
*)removeOrchestratorConfigurationList : Boolean.t option;The list of orchestrator configurations to remove from the session.
*)}val make :
?clientToken:??? ->
?description:??? ->
?tags:??? ->
?tagFilter:??? ->
?aiAgentConfiguration:??? ->
?contactArn:??? ->
?orchestratorConfigurationList:??? ->
?removeOrchestratorConfigurationList:??? ->
assistantId:UuidOrArn.t ->
name:Name.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `List of
[> `Structure of
(string * [> `String of UuidOrArnOrEitherWithQualifier.t ])
list ]
list
| `Map of
([> `Enum of string | `String of TagKey.t ]
* [> `String of TagValue.t
| `Structure of
(string * [> `String of UuidWithQualifier.t ]) list ])
list
| `String of ClientToken.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of TagKey.t ]) list ]
list
| `String of TagKey.t
| `Structure of
(string * [> `String of TagKey.t ]) list ])
list ]
list
| `Structure of (string * [> `String of TagKey.t ]) list ])
list ])
list ]