asObservation
Casts this OrchestrationTrace as a Observation and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.Observation value. Throws an exception if the OrchestrationTrace is not a Observation.
Casts this OrchestrationTrace as a Observation and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.Observation value. Throws an exception if the OrchestrationTrace is not a Observation.