Module Values.ActionExecutionSource

Performs an Amazon Q Business plugin action during a non-streaming chat conversation.

Sourcetype nonrec t = {
  1. pluginId : PluginId.t;
    (*

    The identifier of the plugin the action is attached to.

    *)
  2. payload : ActionExecutionPayload.t;
    (*

    A mapping of field names to the field values in input that an end user provides to Amazon Q Business requests to perform their plugin action.

    *)
  3. payloadFieldNameSeparator : ActionPayloadFieldNameSeparator.t;
    (*

    A string used to retain information about the hierarchical contexts within an action execution event payload.

    *)
}
Sourceval context_ : string
Sourceval make : pluginId:PluginId.t -> payload:ActionExecutionPayload.t -> payloadFieldNameSeparator:ActionPayloadFieldNameSeparator.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of ActionPayloadFieldKey.t ] * [> `Structure of (string * [> `Structure of 'a list ]) list ]) list | `String of PluginId.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