CreateDataSourceRequest
import type { CreateDataSourceRequest } from "https://aws-api.deno.dev/v0.3/services/kendra.ts?docs=full";
§Properties
A token that you provide to identify the request to create a data source.
Multiple calls to the CreateDataSource
operation with the same client token will create only one data source.
The connector configuration information that is required to access the repository.
You can't specify the Configuration
parameter when the Type
parameter is set to CUSTOM
.
If you do, you receive a ValidationException
exception.
The Configuration
parameter is required for all other data sources.
Configuration information for altering document metadata and content during the document ingestion process when you create a data source.
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.
The code for a language. This allows you to support a language for all documents when creating the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
A unique name for the data source. A data source name can't be changed without deleting and recreating the data source.
The Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see IAM Roles for Amazon Kendra.
You can't specify the RoleArn
parameter when the Type
parameter is set to CUSTOM
.
If you do, you receive a ValidationException
exception.
The RoleArn
parameter is required for all other data sources.
Sets the frequency that Amazon Kendra will check the documents in your repository and update the index.
If you don't set a schedule Amazon Kendra will not periodically update the index.
You can call the StartDataSourceSyncJob
operation to update the index.
You can't specify the Schedule
parameter when the Type
parameter is set to CUSTOM
.
If you do, you receive a ValidationException
exception.
The type of repository that contains the data source.