SpanContext

data class SpanContext(val value: SpanContext) : Context

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.

Constructors

Link copied to clipboard
constructor(value: SpanContext)

Properties

Link copied to clipboard

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.