asTraceOrNull
Casts this ResponseStream as a Trace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.TracePart value. Returns null if the ResponseStream is not a Trace.
Casts this ResponseStream as a Trace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.TracePart value. Returns null if the ResponseStream is not a Trace.