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