asMessage

Casts this ConverseOutput as a Message and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.Message value. Throws an exception if the ConverseOutput is not a Message.