Class: Aws::Context::Types::TraverseAgentContextResponse

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

Overview

The response of TraverseAgentContext.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#authorization_required ⇒ Types::AuthorizationRequired

Present when the end user must authorize access to a third-party resource before the traversal can run. In that case, items is empty. Show authorizationUrl to the end user, and retry after the user consents. Through the agent context's MCP server, you receive this as an MCP elicitation request that contains the URL.



7406
7407
7408
7409
7410
7411
7412
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7406

class TraverseAgentContextResponse < Struct.new(
  :next_token,
  :items,
  :authorization_required)
  SENSITIVE = []
  include Aws::Structure
end

#items ⇒ Array<Types::NeighborNode>

The neighbors reached from the seed node.

Returns:



7406
7407
7408
7409
7410
7411
7412
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7406

class TraverseAgentContextResponse < Struct.new(
  :next_token,
  :items,
  :authorization_required)
  SENSITIVE = []
  include Aws::Structure
end

#next_token ⇒ String

Pagination cursor for the next page. Absent when there are no more results.

Returns:

  • (String)


7406
7407
7408
7409
7410
7411
7412
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7406

class TraverseAgentContextResponse < Struct.new(
  :next_token,
  :items,
  :authorization_required)
  SENSITIVE = []
  include Aws::Structure
end