Module Values.StartSpeechSynthesisStreamEventStreamSource

Outbound event stream that contains synthesized audio data and stream status events.

Sourcetype nonrec t = {
  1. audioEvent : AudioEvent.t option;
    (*

    An audio event containing synthesized speech.

    *)
  2. streamClosedEvent : StreamClosedEvent.t option;
    (*

    An event, with summary information, indicating the stream has closed.

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

    An exception indicating the input failed validation.

    *)
  4. serviceQuotaExceededException : ServiceQuotaExceededException.t option;
    (*

    An exception indicating a service quota would be exceeded.

    *)
  5. serviceFailureException : ServiceFailureException.t option;
  6. throttlingException : ThrottlingException.t option;
    (*

    An exception indicating the request was throttled.

    *)
}
Sourceval make : ?audioEvent:??? -> ?streamClosedEvent:??? -> ?validationException:??? -> ?serviceQuotaExceededException:??? -> ?serviceFailureException:??? -> ?throttlingException:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Blob of AudioChunk.t | `Enum of string | `Integer of RequestCharacters.t | `List of [> `Structure of (string * [> `String of ValidationExceptionFieldName.t ]) list ] list | `String of ErrorMessage.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