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 making an API calls you must set exactly one of the members.

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.

Defined Under Namespace

Classes: SpanContext, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#span_context ⇒ Types::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:



1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1527

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

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1527
1528
1529
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 1527

def unknown
  @unknown
end