StartSpeechSynthesisStreamActionStream
Inbound event stream for sending input and control events to manage bidirectional speech synthesis.
Inheritors
Types
Functions
Casts this StartSpeechSynthesisStreamActionStream as a CloseStreamEvent and retrieves its aws.sdk.kotlin.services.polly.model.CloseStreamEvent value. Throws an exception if the StartSpeechSynthesisStreamActionStream is not a CloseStreamEvent.
Casts this StartSpeechSynthesisStreamActionStream as a CloseStreamEvent and retrieves its aws.sdk.kotlin.services.polly.model.CloseStreamEvent value. Returns null if the StartSpeechSynthesisStreamActionStream is not a CloseStreamEvent.
Casts this StartSpeechSynthesisStreamActionStream as a TextEvent and retrieves its aws.sdk.kotlin.services.polly.model.TextEvent value. Throws an exception if the StartSpeechSynthesisStreamActionStream is not a TextEvent.
Casts this StartSpeechSynthesisStreamActionStream as a TextEvent and retrieves its aws.sdk.kotlin.services.polly.model.TextEvent value. Returns null if the StartSpeechSynthesisStreamActionStream is not a TextEvent.