OneDriveConfiguration
import type { OneDriveConfiguration } from "https://aws-api.deno.dev/v0.4/services/kendra.ts?docs=full";
Provides the configuration information to connect to OneDrive as your data source.
§Properties
A list of regular expression patterns to exclude certain documents in your OneDrive. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The pattern is applied to the file name.
A list of DataSourceToIndexFieldMapping
objects that map OneDrive data source attributes or field names to Amazon Kendra index field names.
To create custom fields, use the UpdateIndex
API before you map to OneDrive fields.
For more information, see Mapping data source fields.
The OneDrive data source field names must exist in your OneDrive custom metadata.
A list of regular expression patterns to include certain documents in your OneDrive. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The pattern is applied to the file name.
A list of user accounts whose documents should be indexed.