Module Values.InvokeModelWithBidirectionalStreamOutputSource

Output from the bidirectional stream that was used for model invocation.

Sourcetype nonrec t = {
  1. chunk : BidirectionalOutputPayloadPart.t option;
    (*

    The speech chunk that was provided as output from the invocation step.

    *)
  2. internalServerException : InternalServerException.t option;
    (*

    The request encountered an unknown internal error.

    *)
  3. modelStreamErrorException : ModelStreamErrorException.t option;
    (*

    The request encountered an error with the model stream.

    *)
  4. validationException : ValidationException.t option;
    (*

    The input fails to satisfy the constraints specified by an Amazon Web Services service.

    *)
  5. throttlingException : ThrottlingException.t option;
    (*

    The request was denied due to request throttling.

    *)
  6. modelTimeoutException : ModelTimeoutException.t option;
    (*

    The connection was closed because a request was not received within the timeout period.

    *)
  7. serviceUnavailableException : ServiceUnavailableException.t option;
    (*

    The request has failed due to a temporary failure of the server.

    *)
}
Sourceval make : ?chunk:??? -> ?internalServerException:??? -> ?modelStreamErrorException:??? -> ?validationException:??? -> ?throttlingException:??? -> ?modelTimeoutException:??? -> ?serviceUnavailableException:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Blob of PartBody.t | `Integer of StatusCode.t | `String of NonBlankString.t ]) 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