Skip to content

Polly  >  Unions  >  StartSpeechSynthesisStreamActionStream

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

A text event containing content to be synthesized.

Attributes

value instance-attribute
value: TextEvent

StartSpeechSynthesisStreamActionStreamCloseStreamEvent dataclass

An event indicating the end of the input stream.

Attributes

value instance-attribute

StartSpeechSynthesisStreamActionStreamUnknown dataclass

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