TextEvent
A text event containing content to be synthesized.
Inherited 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.