asObservationOrNull
Casts this OrchestrationTrace as a Observation and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.Observation value. Returns null if the OrchestrationTrace is not a Observation.
Casts this OrchestrationTrace as a Observation and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.Observation value. Returns null if the OrchestrationTrace is not a Observation.