Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BatchPutDocumentRequest

import type { BatchPutDocumentRequest } from "https://aws-api.deno.dev/v0.4/services/kendra.ts?docs=full";
interface BatchPutDocumentRequest {
CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration | null;
Documents: Document[];
IndexId: string;
RoleArn?: string | null;
}

§Properties

§
CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration | null
[src]

Configuration information for altering your document metadata and content during the document ingestion process when you use the BatchPutDocument 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.

§
Documents: Document[]
[src]

One or more documents to add to the index.

Documents have the following file size limits.

  • 5 MB total size for inline documents
  • 50 MB total size for files from an S3 bucket
  • 5 MB extracted text for any file

For more information about file size and transaction per second quotas, see Quotas.

§
IndexId: string
[src]

The identifier of the index to add the documents to. You need to create the index first using the CreateIndex API.

§
RoleArn?: string | null
[src]

The Amazon Resource Name (ARN) of a role that is allowed to run the BatchPutDocument API. For more information, see IAM Roles for Amazon Kendra.