asMetadataEvent
Casts this ChatOutputStream as a MetadataEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.MetadataEvent value. Throws an exception if the ChatOutputStream is not a MetadataEvent.
Casts this ChatOutputStream as a MetadataEvent and retrieves its aws.sdk.kotlin.services.qbusiness.model.MetadataEvent value. Throws an exception if the ChatOutputStream is not a MetadataEvent.