CloseStreamEvent
An event indicating the end of the input stream.
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.