Class: Aws::BedrockAgentCore::Types::Context

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

Note:

Context is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Context corresponding to the set member.

The contextual information associated with an evaluation, including span context details that identify the specific traces and sessions being evaluated within the agent's execution flow.

Direct Known Subclasses

SpanContext, Unknown

Defined Under Namespace

Classes: SpanContext, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#span_contextTypes::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.

Returns:



541
542
543
544
545
546
547
548
549
550
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 541

class Context < Struct.new(
  :span_context,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class SpanContext < Context; end
  class Unknown < Context; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



541
542
543
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 541

def unknown
  @unknown
end