Module Values.CreateSessionRequestSource

Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is enabled.

Sourcetype nonrec t = {
  1. assistantId : UuidOrArn.t;
    (*

    The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

    *)
  2. 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.

    *)
  3. description : Description.t option;
    (*

    The description.

    *)
  4. name : Name.t;
    (*

    The name of the session.

    *)
  5. tags : Tags.t option;
    (*

    The tags used to organize, track, or control access for this resource.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?description:??? -> ?tags:??? -> assistantId:UuidOrArn.t -> name:Name.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of UuidOrArn.t ]) 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