/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * ID of data source */ export type Id = string; export type Arn = string; /** * Name of data source */ export type Name = string; /** * ID of Index */ export type IndexId = string; /** * Data source type */ export type Type = | "S3" | "SHAREPOINT" | "SALESFORCE" | "ONEDRIVE" | "SERVICENOW" | "DATABASE" | "CUSTOM" | "CONFLUENCE" | "GOOGLEDRIVE" | "WEBCRAWLER" | "WORKDOCS"; export type DataSourceConfiguration = { S3Configuration?: S3DataSourceConfiguration; SharePointConfiguration?: SharePointConfiguration; SalesforceConfiguration?: SalesforceConfiguration; OneDriveConfiguration?: OneDriveConfiguration; ServiceNowConfiguration?: ServiceNowConfiguration; DatabaseConfiguration?: DatabaseConfiguration; ConfluenceConfiguration?: ConfluenceConfiguration; GoogleDriveConfiguration?: GoogleDriveConfiguration; WebCrawlerConfiguration?: WebCrawlerConfiguration; WorkDocsConfiguration?: WorkDocsConfiguration; } & DataSourceConfiguration1; export type S3BucketName = string; /** * @maxItems 100 */ export type DataSourceInclusionsExclusionsStrings = string[]; export type S3ObjectKey = string; export type Url = string; export type SecretArn = string; export type DataSourceFieldName = string; export type DateFieldFormat = string; export type IndexFieldName = string; /** * @maxItems 100 */ export type DataSourceToIndexFieldMappingList = DataSourceToIndexFieldMapping[]; export type DisableLocalGroups = boolean; /** * @minItems 1 * @maxItems 17 */ export type SalesforceStandardObjectConfigurationList = | [SalesforceStandardObjectConfiguration] | [SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ] | [ SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration, SalesforceStandardObjectConfiguration ]; export type SalesforceStandardObjectName = | "ACCOUNT" | "CAMPAIGN" | "CASE" | "CONTACT" | "CONTRACT" | "DOCUMENT" | "GROUP" | "IDEA" | "LEAD" | "OPPORTUNITY" | "PARTNER" | "PRICEBOOK" | "PRODUCT" | "PROFILE" | "SOLUTION" | "TASK" | "USER"; /** * @minItems 1 * @maxItems 3 */ export type SalesforceKnowledgeArticleStateList = | [SalesforceKnowledgeArticleState] | [SalesforceKnowledgeArticleState, SalesforceKnowledgeArticleState] | [SalesforceKnowledgeArticleState, SalesforceKnowledgeArticleState, SalesforceKnowledgeArticleState]; export type SalesforceKnowledgeArticleState = "DRAFT" | "PUBLISHED" | "ARCHIVED"; /** * @minItems 1 * @maxItems 10 */ export type SalesforceCustomKnowledgeArticleTypeConfigurationList = | [SalesforceCustomKnowledgeArticleTypeConfiguration] | [SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration] | [ SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration ] | [ SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration ] | [ SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration ] | [ SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration ] | [ SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration ] | [ SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration ] | [ SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration ] | [ SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration, SalesforceCustomKnowledgeArticleTypeConfiguration ]; export type SalesforceCustomKnowledgeArticleTypeName = string; /** * @minItems 1 * @maxItems 2 */ export type SalesforceChatterFeedIncludeFilterTypes = | [SalesforceChatterFeedIncludeFilterType] | [SalesforceChatterFeedIncludeFilterType, SalesforceChatterFeedIncludeFilterType]; export type SalesforceChatterFeedIncludeFilterType = "ACTIVE_USER" | "STANDARD_USER"; export type TenantDomain = string; export type OneDriveUsers = { OneDriveUserList?: OneDriveUserList; OneDriveUserS3Path?: S3Path; } & OneDriveUsers1; /** * @minItems 1 * @maxItems 100 */ export type OneDriveUserList = [OneDriveUser, ...OneDriveUser[]]; export type OneDriveUser = string; export type OneDriveUsers1 = { [k: string]: unknown; }; export type ServiceNowHostUrl = string; export type ServiceNowBuildVersionType = "LONDON" | "OTHERS"; export type ServiceNowAuthenticationType = "HTTP_BASIC" | "OAUTH2"; export type ServiceNowKnowledgeArticleFilterQuery = string; export type DatabaseEngineType = "RDS_AURORA_MYSQL" | "RDS_AURORA_POSTGRESQL" | "RDS_MYSQL" | "RDS_POSTGRESQL"; export type DatabaseHost = string; export type DatabasePort = number; export type DatabaseName = string; export type TableName = string; export type ColumnName = string; /** * @minItems 1 * @maxItems 5 */ export type ChangeDetectingColumns = | [ColumnName] | [ColumnName, ColumnName] | [ColumnName, ColumnName, ColumnName] | [ColumnName, ColumnName, ColumnName, ColumnName] | [ColumnName, ColumnName, ColumnName, ColumnName, ColumnName]; export type QueryIdentifiersEnclosingOption = "DOUBLE_QUOTES" | "NONE"; export type ConfluenceVersion = "CLOUD" | "SERVER"; /** * @minItems 1 */ export type ConfluenceSpaceList = [ConfluenceSpaceIdentifier, ...ConfluenceSpaceIdentifier[]]; export type ConfluenceSpaceIdentifier = string; /** * @minItems 1 * @maxItems 4 */ export type ConfluenceSpaceFieldMappingsList = | [ConfluenceSpaceToIndexFieldMapping] | [ConfluenceSpaceToIndexFieldMapping, ConfluenceSpaceToIndexFieldMapping] | [ConfluenceSpaceToIndexFieldMapping, ConfluenceSpaceToIndexFieldMapping, ConfluenceSpaceToIndexFieldMapping] | [ ConfluenceSpaceToIndexFieldMapping, ConfluenceSpaceToIndexFieldMapping, ConfluenceSpaceToIndexFieldMapping, ConfluenceSpaceToIndexFieldMapping ]; export type ConfluenceSpaceFieldName = "DISPLAY_URL" | "ITEM_TYPE" | "SPACE_KEY" | "URL"; /** * @minItems 1 * @maxItems 12 */ export type ConfluencePageFieldMappingsList = | [ConfluencePageToIndexFieldMapping] | [ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping] | [ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping] | [ ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping ] | [ ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping ] | [ ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping ] | [ ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping ] | [ ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping ] | [ ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping ] | [ ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping ] | [ ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping ] | [ ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping, ConfluencePageToIndexFieldMapping ]; export type ConfluencePageFieldName = | "AUTHOR" | "CONTENT_STATUS" | "CREATED_DATE" | "DISPLAY_URL" | "ITEM_TYPE" | "LABELS" | "MODIFIED_DATE" | "PARENT_ID" | "SPACE_KEY" | "SPACE_NAME" | "URL" | "VERSION"; /** * @minItems 1 * @maxItems 9 */ export type ConfluenceBlogFieldMappingsList = | [ConfluenceBlogToIndexFieldMapping] | [ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping] | [ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping] | [ ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping ] | [ ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping ] | [ ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping ] | [ ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping ] | [ ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping ] | [ ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping, ConfluenceBlogToIndexFieldMapping ]; export type ConfluenceBlogFieldName = | "AUTHOR" | "DISPLAY_URL" | "ITEM_TYPE" | "LABELS" | "PUBLISH_DATE" | "SPACE_KEY" | "SPACE_NAME" | "URL" | "VERSION"; /** * @minItems 1 * @maxItems 11 */ export type ConfluenceAttachmentFieldMappingsList = | [ConfluenceAttachmentToIndexFieldMapping] | [ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping] | [ ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping ] | [ ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping ] | [ ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping ] | [ ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping ] | [ ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping ] | [ ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping ] | [ ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping ] | [ ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping ] | [ ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping, ConfluenceAttachmentToIndexFieldMapping ]; export type ConfluenceAttachmentFieldName = | "AUTHOR" | "CONTENT_TYPE" | "CREATED_DATE" | "DISPLAY_URL" | "FILE_SIZE" | "ITEM_TYPE" | "PARENT_ID" | "SPACE_KEY" | "SPACE_NAME" | "URL" | "VERSION"; export type MimeType = string; /** * @minItems 0 * @maxItems 30 */ export type ExcludeMimeTypesList = MimeType[]; export type UserAccount = string; /** * @minItems 0 * @maxItems 100 */ export type ExcludeUserAccountsList = UserAccount[]; export type SharedDriveId = string; /** * @minItems 0 * @maxItems 100 */ export type ExcludeSharedDrivesList = SharedDriveId[]; export type WebCrawlerSeedUrl = string; /** * @minItems 0 * @maxItems 100 */ export type WebCrawlerSeedUrlList = WebCrawlerSeedUrl[]; /** * @minItems 0 * @maxItems 3 */ export type WebCrawlerSiteMaps = | [] | [WebCrawlerSiteMap] | [WebCrawlerSiteMap, WebCrawlerSiteMap] | [WebCrawlerSiteMap, WebCrawlerSiteMap, WebCrawlerSiteMap]; export type WebCrawlerSiteMap = string; /** * @maxItems 10 */ export type WebCrawlerBasicAuthenticationList = | [] | [WebCrawlerBasicAuthentication] | [WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication] | [WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication] | [ WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication ] | [ WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication ] | [ WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication ] | [ WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication ] | [ WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication ] | [ WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication ] | [ WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication, WebCrawlerBasicAuthentication ]; export type DataSourceConfiguration1 = { [k: string]: unknown; }; /** * Description of data source */ export type Description = string; /** * Schedule */ export type Schedule = string; /** * Role ARN */ export type RoleArn = string; /** * Tags for labeling the data source * * @maxItems 200 */ export type TagList = Tag[]; export type DocumentAttributeKey = string; export type ConditionOperator = | "GreaterThan" | "GreaterThanOrEquals" | "LessThan" | "LessThanOrEquals" | "Equals" | "NotEquals" | "Contains" | "NotContains" | "Exists" | "NotExists" | "BeginsWith"; export type Long = number; export type Timestamp = string; /** * List of InlineCustomDocumentEnrichmentConfigurations * * @maxItems 100 */ export type InlineConfigurations = InlineCustomDocumentEnrichmentConfiguration[]; export type LambdaArn = string; /** * Kendra DataSource */ export interface AwsKendraDatasource { Id?: Id; Arn?: Arn; Name: Name; IndexId: IndexId; Type: Type; DataSourceConfiguration?: DataSourceConfiguration; Description?: Description; Schedule?: Schedule; RoleArn?: RoleArn; Tags?: TagList; CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration; } /** * S3 data source configuration */ export interface S3DataSourceConfiguration { BucketName: S3BucketName; InclusionPrefixes?: DataSourceInclusionsExclusionsStrings; InclusionPatterns?: DataSourceInclusionsExclusionsStrings; ExclusionPatterns?: DataSourceInclusionsExclusionsStrings; DocumentsMetadataConfiguration?: DocumentsMetadataConfiguration; AccessControlListConfiguration?: AccessControlListConfiguration; } export interface DocumentsMetadataConfiguration { S3Prefix?: S3ObjectKey; } export interface AccessControlListConfiguration { KeyPath?: S3ObjectKey; } /** * SharePoint configuration */ export interface SharePointConfiguration { SharePointVersion: "SHAREPOINT_ONLINE" | "SHAREPOINT_2013" | "SHAREPOINT_2016"; /** * @maxItems 100 */ Urls: Url[]; SecretArn: SecretArn; CrawlAttachments?: boolean; UseChangeLog?: boolean; InclusionPatterns?: DataSourceInclusionsExclusionsStrings; ExclusionPatterns?: DataSourceInclusionsExclusionsStrings; VpcConfiguration?: DataSourceVpcConfiguration; FieldMappings?: DataSourceToIndexFieldMappingList; DocumentTitleFieldName?: DataSourceFieldName; DisableLocalGroups?: DisableLocalGroups; SslCertificateS3Path?: S3Path; } export interface DataSourceVpcConfiguration { /** * @maxItems 6 */ SubnetIds: | [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string]; /** * @maxItems 10 */ SecurityGroupIds: | [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string]; } export interface DataSourceToIndexFieldMapping { DataSourceFieldName: DataSourceFieldName; DateFieldFormat?: DateFieldFormat; IndexFieldName: IndexFieldName; } export interface S3Path { Bucket: S3BucketName; Key: S3ObjectKey; } export interface SalesforceConfiguration { ServerUrl: Url; SecretArn: SecretArn; StandardObjectConfigurations?: SalesforceStandardObjectConfigurationList; KnowledgeArticleConfiguration?: SalesforceKnowledgeArticleConfiguration; ChatterFeedConfiguration?: SalesforceChatterFeedConfiguration; CrawlAttachments?: boolean; StandardObjectAttachmentConfiguration?: SalesforceStandardObjectAttachmentConfiguration; IncludeAttachmentFilePatterns?: DataSourceInclusionsExclusionsStrings; ExcludeAttachmentFilePatterns?: DataSourceInclusionsExclusionsStrings; } export interface SalesforceStandardObjectConfiguration { Name: SalesforceStandardObjectName; DocumentDataFieldName: DataSourceFieldName; DocumentTitleFieldName?: DataSourceFieldName; FieldMappings?: DataSourceToIndexFieldMappingList; } export interface SalesforceKnowledgeArticleConfiguration { IncludedStates: SalesforceKnowledgeArticleStateList; StandardKnowledgeArticleTypeConfiguration?: SalesforceStandardKnowledgeArticleTypeConfiguration; CustomKnowledgeArticleTypeConfigurations?: SalesforceCustomKnowledgeArticleTypeConfigurationList; } export interface SalesforceStandardKnowledgeArticleTypeConfiguration { DocumentDataFieldName: DataSourceFieldName; DocumentTitleFieldName?: DataSourceFieldName; FieldMappings?: DataSourceToIndexFieldMappingList; } export interface SalesforceCustomKnowledgeArticleTypeConfiguration { Name: SalesforceCustomKnowledgeArticleTypeName; DocumentDataFieldName: DataSourceFieldName; DocumentTitleFieldName?: DataSourceFieldName; FieldMappings?: DataSourceToIndexFieldMappingList; } export interface SalesforceChatterFeedConfiguration { DocumentDataFieldName: DataSourceFieldName; DocumentTitleFieldName?: DataSourceFieldName; FieldMappings?: DataSourceToIndexFieldMappingList; IncludeFilterTypes?: SalesforceChatterFeedIncludeFilterTypes; } export interface SalesforceStandardObjectAttachmentConfiguration { DocumentTitleFieldName?: DataSourceFieldName; FieldMappings?: DataSourceToIndexFieldMappingList; } export interface OneDriveConfiguration { TenantDomain: TenantDomain; SecretArn: SecretArn; OneDriveUsers: OneDriveUsers; InclusionPatterns?: DataSourceInclusionsExclusionsStrings; ExclusionPatterns?: DataSourceInclusionsExclusionsStrings; FieldMappings?: DataSourceToIndexFieldMappingList; DisableLocalGroups?: DisableLocalGroups; } export interface ServiceNowConfiguration { HostUrl: ServiceNowHostUrl; SecretArn: SecretArn; ServiceNowBuildVersion: ServiceNowBuildVersionType; AuthenticationType?: ServiceNowAuthenticationType; KnowledgeArticleConfiguration?: ServiceNowKnowledgeArticleConfiguration; ServiceCatalogConfiguration?: ServiceNowServiceCatalogConfiguration; } export interface ServiceNowKnowledgeArticleConfiguration { CrawlAttachments?: boolean; IncludeAttachmentFilePatterns?: DataSourceInclusionsExclusionsStrings; ExcludeAttachmentFilePatterns?: DataSourceInclusionsExclusionsStrings; DocumentDataFieldName: DataSourceFieldName; DocumentTitleFieldName?: DataSourceFieldName; FieldMappings?: DataSourceToIndexFieldMappingList; FilterQuery?: ServiceNowKnowledgeArticleFilterQuery; } export interface ServiceNowServiceCatalogConfiguration { CrawlAttachments?: boolean; IncludeAttachmentFilePatterns?: DataSourceInclusionsExclusionsStrings; ExcludeAttachmentFilePatterns?: DataSourceInclusionsExclusionsStrings; DocumentDataFieldName: DataSourceFieldName; DocumentTitleFieldName?: DataSourceFieldName; FieldMappings?: DataSourceToIndexFieldMappingList; } export interface DatabaseConfiguration { DatabaseEngineType: DatabaseEngineType; ConnectionConfiguration: ConnectionConfiguration; VpcConfiguration?: DataSourceVpcConfiguration; ColumnConfiguration: ColumnConfiguration; AclConfiguration?: AclConfiguration; SqlConfiguration?: SqlConfiguration; } export interface ConnectionConfiguration { DatabaseHost: DatabaseHost; DatabasePort: DatabasePort; DatabaseName: DatabaseName; TableName: TableName; SecretArn: SecretArn; } export interface ColumnConfiguration { DocumentIdColumnName: ColumnName; DocumentDataColumnName: ColumnName; DocumentTitleColumnName?: ColumnName; FieldMappings?: DataSourceToIndexFieldMappingList; ChangeDetectingColumns: ChangeDetectingColumns; } export interface AclConfiguration { AllowedGroupsColumnName: ColumnName; } export interface SqlConfiguration { QueryIdentifiersEnclosingOption?: QueryIdentifiersEnclosingOption; } export interface ConfluenceConfiguration { ServerUrl: Url; SecretArn: SecretArn; Version: ConfluenceVersion; SpaceConfiguration?: ConfluenceSpaceConfiguration; PageConfiguration?: ConfluencePageConfiguration; BlogConfiguration?: ConfluenceBlogConfiguration; AttachmentConfiguration?: ConfluenceAttachmentConfiguration; VpcConfiguration?: DataSourceVpcConfiguration; InclusionPatterns?: DataSourceInclusionsExclusionsStrings; ExclusionPatterns?: DataSourceInclusionsExclusionsStrings; } export interface ConfluenceSpaceConfiguration { CrawlPersonalSpaces?: boolean; CrawlArchivedSpaces?: boolean; IncludeSpaces?: ConfluenceSpaceList; ExcludeSpaces?: ConfluenceSpaceList; SpaceFieldMappings?: ConfluenceSpaceFieldMappingsList; } export interface ConfluenceSpaceToIndexFieldMapping { DataSourceFieldName: ConfluenceSpaceFieldName; DateFieldFormat?: DateFieldFormat; IndexFieldName: IndexFieldName; } export interface ConfluencePageConfiguration { PageFieldMappings?: ConfluencePageFieldMappingsList; } export interface ConfluencePageToIndexFieldMapping { DataSourceFieldName: ConfluencePageFieldName; DateFieldFormat?: DateFieldFormat; IndexFieldName: IndexFieldName; } export interface ConfluenceBlogConfiguration { BlogFieldMappings?: ConfluenceBlogFieldMappingsList; } export interface ConfluenceBlogToIndexFieldMapping { DataSourceFieldName: ConfluenceBlogFieldName; DateFieldFormat?: DateFieldFormat; IndexFieldName: IndexFieldName; } export interface ConfluenceAttachmentConfiguration { CrawlAttachments?: boolean; AttachmentFieldMappings?: ConfluenceAttachmentFieldMappingsList; } export interface ConfluenceAttachmentToIndexFieldMapping { DataSourceFieldName: ConfluenceAttachmentFieldName; DateFieldFormat?: DateFieldFormat; IndexFieldName: IndexFieldName; } export interface GoogleDriveConfiguration { SecretArn: SecretArn; InclusionPatterns?: DataSourceInclusionsExclusionsStrings; ExclusionPatterns?: DataSourceInclusionsExclusionsStrings; FieldMappings?: DataSourceToIndexFieldMappingList; ExcludeMimeTypes?: ExcludeMimeTypesList; ExcludeUserAccounts?: ExcludeUserAccountsList; ExcludeSharedDrives?: ExcludeSharedDrivesList; } export interface WebCrawlerConfiguration { Urls: WebCrawlerUrls; CrawlDepth?: number; MaxLinksPerPage?: number; MaxContentSizePerPageInMegaBytes?: number; MaxUrlsPerMinuteCrawlRate?: number; UrlInclusionPatterns?: DataSourceInclusionsExclusionsStrings; UrlExclusionPatterns?: DataSourceInclusionsExclusionsStrings; ProxyConfiguration?: ProxyConfiguration; AuthenticationConfiguration?: WebCrawlerAuthenticationConfiguration; } export interface WebCrawlerUrls { SeedUrlConfiguration?: WebCrawlerSeedUrlConfiguration; SiteMapsConfiguration?: WebCrawlerSiteMapsConfiguration; } export interface WebCrawlerSeedUrlConfiguration { SeedUrls: WebCrawlerSeedUrlList; WebCrawlerMode?: "HOST_ONLY" | "SUBDOMAINS" | "EVERYTHING"; } export interface WebCrawlerSiteMapsConfiguration { SiteMaps: WebCrawlerSiteMaps; } export interface ProxyConfiguration { Host: string; Port: number; Credentials?: SecretArn; } export interface WebCrawlerAuthenticationConfiguration { BasicAuthentication?: WebCrawlerBasicAuthenticationList; } export interface WebCrawlerBasicAuthentication { Host: string; Port: number; Credentials: SecretArn; } export interface WorkDocsConfiguration { OrganizationId: string; CrawlComments?: boolean; UseChangeLog?: boolean; InclusionPatterns?: DataSourceInclusionsExclusionsStrings; ExclusionPatterns?: DataSourceInclusionsExclusionsStrings; FieldMappings?: DataSourceToIndexFieldMappingList; } /** * A label for tagging Kendra resources */ export interface Tag { /** * A string used to identify this tag */ Key: string; /** * A string containing the value for the tag */ Value: string; } export interface CustomDocumentEnrichmentConfiguration { InlineConfigurations?: InlineConfigurations; PreExtractionHookConfiguration?: HookConfiguration; PostExtractionHookConfiguration?: HookConfiguration; RoleArn?: RoleArn; } export interface InlineCustomDocumentEnrichmentConfiguration { Condition?: DocumentAttributeCondition; Target?: DocumentAttributeTarget; DocumentContentDeletion?: boolean; } export interface DocumentAttributeCondition { ConditionDocumentAttributeKey: DocumentAttributeKey; Operator: ConditionOperator; ConditionOnValue?: DocumentAttributeValue; } export interface DocumentAttributeValue { StringValue?: string; StringListValue?: string[]; LongValue?: Long; DateValue?: Timestamp; } export interface DocumentAttributeTarget { TargetDocumentAttributeKey: DocumentAttributeKey; TargetDocumentAttributeValueDeletion?: boolean; TargetDocumentAttributeValue?: DocumentAttributeValue; } export interface HookConfiguration { InvocationCondition?: DocumentAttributeCondition; LambdaArn: LambdaArn; S3Bucket: S3BucketName; }