Module Values.CreateSessionRequestSource

Creates a new session context within a workflow run to manage conversation state and acts.

Sourcetype nonrec t = {
  1. workflowDefinitionName : WorkflowDefinitionName.t;
    (*

    The name of the workflow definition containing the workflow run.

    *)
  2. workflowRunId : UuidString.t;
    (*

    The unique identifier of the workflow run to create the session in.

    *)
  3. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> workflowDefinitionName:WorkflowDefinitionName.t -> workflowRunId:UuidString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of WorkflowDefinitionName.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