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