Skip to content

StartSpeechSynthesisStreamActionStream

Union Type

StartSpeechSynthesisStreamActionStream module-attribute

Inbound event stream for sending input and control events to manage bidirectional speech synthesis.

Union Member Types

StartSpeechSynthesisStreamActionStreamTextEvent dataclass

Bases: _SerdeShape

A text event containing content to be synthesized.

Attributes

value instance-attribute
value: TextEvent

StartSpeechSynthesisStreamActionStreamCloseStreamEvent dataclass

Bases: _SerdeShape

An event indicating the end of the input stream.

Attributes

value instance-attribute

StartSpeechSynthesisStreamActionStreamUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str