asCategoryEventOrNull
Casts this CallAnalyticsTranscriptResultStream as a CategoryEvent and retrieves its aws.sdk.kotlin.services.transcribestreaming.model.CategoryEvent value. Returns null if the CallAnalyticsTranscriptResultStream is not a CategoryEvent.