asFlowOutputEventOrNull
Casts this FlowResponseStream as a FlowOutputEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FlowOutputEvent value. Returns null if the FlowResponseStream is not a FlowOutputEvent.