StartSpeechSynthesisStreamEventStream¶
Union Type¶
StartSpeechSynthesisStreamEventStream
module-attribute
¶
StartSpeechSynthesisStreamEventStream = Union[StartSpeechSynthesisStreamEventStreamAudioEvent | StartSpeechSynthesisStreamEventStreamStreamClosedEvent | StartSpeechSynthesisStreamEventStreamValidationException | StartSpeechSynthesisStreamEventStreamServiceQuotaExceededException | StartSpeechSynthesisStreamEventStreamServiceFailureException | StartSpeechSynthesisStreamEventStreamThrottlingException | StartSpeechSynthesisStreamEventStreamUnknown]
Outbound event stream that contains synthesized audio data and stream status events.
Union Member Types¶
StartSpeechSynthesisStreamEventStreamAudioEvent
dataclass
¶
An audio event containing synthesized speech.
Attributes¶
StartSpeechSynthesisStreamEventStreamStreamClosedEvent
dataclass
¶
An event, with summary information, indicating the stream has closed.
Attributes¶
StartSpeechSynthesisStreamEventStreamValidationException
dataclass
¶
An exception indicating the input failed validation.
Attributes¶
StartSpeechSynthesisStreamEventStreamServiceQuotaExceededException
dataclass
¶
An exception indicating a service quota would be exceeded.
Attributes¶
StartSpeechSynthesisStreamEventStreamServiceFailureException
dataclass
¶
An unknown condition has caused a service failure.