Class: Aws::BedrockAgent::Types::IngestKnowledgeBaseDocumentsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockagent/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see [Ensuring idempotency].

**A suitable default value is auto-generated.** You should normally not need to pass this option.

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html



5627
5628
5629
5630
5631
5632
5633
5634
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5627

class IngestKnowledgeBaseDocumentsRequest < Struct.new(
  :knowledge_base_id,
  :data_source_id,
  :client_token,
  :documents)
  SENSITIVE = []
  include Aws::Structure
end

#data_source_idString

The unique identifier of the data source connected to the knowledge base that you’re adding documents to.



5627
5628
5629
5630
5631
5632
5633
5634
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5627

class IngestKnowledgeBaseDocumentsRequest < Struct.new(
  :knowledge_base_id,
  :data_source_id,
  :client_token,
  :documents)
  SENSITIVE = []
  include Aws::Structure
end

#documentsArray<Types::KnowledgeBaseDocument>

A list of objects, each of which contains information about the documents to add.



5627
5628
5629
5630
5631
5632
5633
5634
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5627

class IngestKnowledgeBaseDocumentsRequest < Struct.new(
  :knowledge_base_id,
  :data_source_id,
  :client_token,
  :documents)
  SENSITIVE = []
  include Aws::Structure
end

#knowledge_base_idString

The unique identifier of the knowledge base to ingest the documents into.



5627
5628
5629
5630
5631
5632
5633
5634
# File 'lib/aws-sdk-bedrockagent/types.rb', line 5627

class IngestKnowledgeBaseDocumentsRequest < Struct.new(
  :knowledge_base_id,
  :data_source_id,
  :client_token,
  :documents)
  SENSITIVE = []
  include Aws::Structure
end