Skip to content

StartSpeechSynthesisStreamEventStreamStreamClosedEvent

rboto-polly==0.4.0 · Service index · Types

Public import: from rboto_polly.types import StartSpeechSynthesisStreamEventStreamStreamClosedEvent.

Used in: output. Typed dictionary. Presence and nullability are separate: NotRequired permits omission; | None permits a null value.

StartSpeechSynthesisStreamEventStreamStreamClosedEvent = TypedDict(
    "StartSpeechSynthesisStreamEventStreamStreamClosedEvent",
    {
        "stream_closed_event": Required['StreamClosedEvent'],
    },
    closed=True,
)

This variant is closed: it contains only its declared key. Check that key to narrow the union before reading its value.

StreamClosedEvent