asTranscriptEvent
Casts this TranscriptResultStream as a TranscriptEvent and retrieves its aws.sdk.kotlin.services.transcribestreaming.model.TranscriptEvent value. Throws an exception if the TranscriptResultStream is not a TranscriptEvent.