Class: Aws::Context::Types::SearchAgentContextResponse

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

Overview

The response of SearchAgentContext.

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 search 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.



6266
6267
6268
6269
6270
6271
6272
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6266

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

#items ⇒ Array<Types::SearchAgentContextResultEntity>

The matching entities, ranked by relevance.



6266
6267
6268
6269
6270
6271
6272
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6266

class SearchAgentContextResponse < 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)


6266
6267
6268
6269
6270
6271
6272
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6266

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