Module Values.ChatInputStreamSource

The streaming input for the Chat API.

Sourcetype nonrec t = {
  1. configurationEvent : ConfigurationEvent.t option;
    (*

    A configuration event activated by an end user request to select a specific chat mode.

    *)
  2. textEvent : TextInputEvent.t option;
    (*

    Information about the payload of the ChatInputStream event containing the end user message input.

    *)
  3. attachmentEvent : AttachmentInputEvent.t option;
    (*

    A request by an end user to upload a file during chat.

    *)
  4. actionExecutionEvent : ActionExecutionEvent.t option;
    (*

    A request from an end user to perform an Amazon Q Business plugin action.

    *)
  5. endOfInputEvent : EndOfInputEvent.t option;
    (*

    The end of the streaming input for the Chat API.

    *)
  6. authChallengeResponseEvent : AuthChallengeResponseEvent.t option;
    (*

    An authentication verification event response by a third party authentication server to Amazon Q Business.

    *)
}
Sourceval make : ?configurationEvent:??? -> ?textEvent:??? -> ?attachmentEvent:??? -> ?actionExecutionEvent:??? -> ?endOfInputEvent:??? -> ?authChallengeResponseEvent:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * Awso.Botodata.value) 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