kendra_batch_put_document: Adds one or more documents to an index

View source: R/kendra_operations.R

kendra_batch_put_documentR Documentation

Adds one or more documents to an index

Description

Adds one or more documents to an index.

See https://www.paws-r-sdk.com/docs/kendra_batch_put_document/ for full documentation.

Usage

kendra_batch_put_document(
  IndexId,
  RoleArn = NULL,
  Documents,
  CustomDocumentEnrichmentConfiguration = NULL
)

Arguments

IndexId

[required] The identifier of the index to add the documents to. You need to create the index first using the create_index API.

RoleArn

The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket. For more information, see IAM access roles for Amazon Kendra.

Documents

[required] One or more documents to add to the index.

Documents have the following file size limits.

  • 50 MB total size for any file

  • 5 MB extracted text for any file

For more information, see Quotas.

CustomDocumentEnrichmentConfiguration

Configuration information for altering your document metadata and content during the document ingestion process when you use the batch_put_document API.

For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.


paws.analytics documentation built on Sept. 11, 2023, 5:06 p.m.