SpanContext
The span context information that uniquely identifies the trace and span being evaluated, including session ID, trace ID, and span ID for precise targeting within the agent's execution flow.
Inherited functions
Link copied to clipboard
Casts this Context as a SpanContext and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.SpanContext value. Throws an exception if the Context is not a SpanContext.
Link copied to clipboard
Casts this Context as a SpanContext and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.SpanContext value. Returns null if the Context is not a SpanContext.