Module Values.UpdateSessionResponseSource

Updates a session. A session is a contextual container used for generating recommendations. Amazon Connect updates the existing Amazon Q in Connect session for each contact on which Amazon Q in Connect is enabled.

Sourcetype nonrec t = {
  1. session : SessionData.t option;
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `UnauthorizedException of UnauthorizedException.t
  4. | `ValidationException of ValidationException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?session:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `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 Arn.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 | `String of GenericArn.t | `Structure of (string * [> `String of TagKey.t ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t