asFlowFailureEventOrNull
Casts this FlowExecutionEvent as a FlowFailureEvent and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FlowFailureEvent value. Returns null if the FlowExecutionEvent is not a FlowFailureEvent.