asFlowOutputEvent
Casts this FlowResponseStream as a FlowOutputEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FlowOutputEvent value. Throws an exception if the FlowResponseStream is not a FlowOutputEvent.