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