Insight Horizon
environment /

kendra — Boto3 Docs 1.17.40 documentation

{ 'Id': 'string', 'IndexId': 'string', 'Name': 'string', 'Type': 'S3'|'SHAREPOINT'|'DATABASE'|'SALESFORCE'|'ONEDRIVE'|'SERVICENOW'|'CUSTOM'|'CONFLUENCE'|'GOOGLEDRIVE', 'Configuration': { 'S3Configuration': { 'BucketName': 'string', 'InclusionPrefixes': [ 'string', ], 'InclusionPatterns': [ 'string', ], 'ExclusionPatterns': [ 'string', ], 'DocumentsMetadataConfiguration': { 'S3Prefix': 'string' }, 'AccessControlListConfiguration': { 'KeyPath': 'string' } }, 'SharePointConfiguration': { 'SharePointVersion': 'SHAREPOINT_ONLINE', 'Urls': [ 'string', ], 'SecretArn': 'string', 'CrawlAttachments': True|False, 'UseChangeLog': True|False, 'InclusionPatterns': [ 'string', ], 'ExclusionPatterns': [ 'string', ], 'VpcConfiguration': { 'SubnetIds': [ 'string', ], 'SecurityGroupIds': [ 'string', ] }, 'FieldMappings': [ { 'DataSourceFieldName': 'string', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ], 'DocumentTitleFieldName': 'string', 'DisableLocalGroups': True|False }, 'DatabaseConfiguration': { 'DatabaseEngineType': 'RDS_AURORA_MYSQL'|'RDS_AURORA_POSTGRESQL'|'RDS_MYSQL'|'RDS_POSTGRESQL', 'ConnectionConfiguration': { 'DatabaseHost': 'string', 'DatabasePort': 123, 'DatabaseName': 'string', 'TableName': 'string', 'SecretArn': 'string' }, 'VpcConfiguration': { 'SubnetIds': [ 'string', ], 'SecurityGroupIds': [ 'string', ] }, 'ColumnConfiguration': { 'DocumentIdColumnName': 'string', 'DocumentDataColumnName': 'string', 'DocumentTitleColumnName': 'string', 'FieldMappings': [ { 'DataSourceFieldName': 'string', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ], 'ChangeDetectingColumns': [ 'string', ] }, 'AclConfiguration': { 'AllowedGroupsColumnName': 'string' }, 'SqlConfiguration': { 'QueryIdentifiersEnclosingOption': 'DOUBLE_QUOTES'|'NONE' } }, 'SalesforceConfiguration': { 'ServerUrl': 'string', 'SecretArn': 'string', 'StandardObjectConfigurations': [ { 'Name': 'ACCOUNT'|'CAMPAIGN'|'CASE'|'CONTACT'|'CONTRACT'|'DOCUMENT'|'GROUP'|'IDEA'|'LEAD'|'OPPORTUNITY'|'PARTNER'|'PRICEBOOK'|'PRODUCT'|'PROFILE'|'SOLUTION'|'TASK'|'USER', 'DocumentDataFieldName': 'string', 'DocumentTitleFieldName': 'string', 'FieldMappings': [ { 'DataSourceFieldName': 'string', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ] }, ], 'KnowledgeArticleConfiguration': { 'IncludedStates': [ 'DRAFT'|'PUBLISHED'|'ARCHIVED', ], 'StandardKnowledgeArticleTypeConfiguration': { 'DocumentDataFieldName': 'string', 'DocumentTitleFieldName': 'string', 'FieldMappings': [ { 'DataSourceFieldName': 'string', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ] }, 'CustomKnowledgeArticleTypeConfigurations': [ { 'Name': 'string', 'DocumentDataFieldName': 'string', 'DocumentTitleFieldName': 'string', 'FieldMappings': [ { 'DataSourceFieldName': 'string', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ] }, ] }, 'ChatterFeedConfiguration': { 'DocumentDataFieldName': 'string', 'DocumentTitleFieldName': 'string', 'FieldMappings': [ { 'DataSourceFieldName': 'string', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ], 'IncludeFilterTypes': [ 'ACTIVE_USER'|'STANDARD_USER', ] }, 'CrawlAttachments': True|False, 'StandardObjectAttachmentConfiguration': { 'DocumentTitleFieldName': 'string', 'FieldMappings': [ { 'DataSourceFieldName': 'string', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ] }, 'IncludeAttachmentFilePatterns': [ 'string', ], 'ExcludeAttachmentFilePatterns': [ 'string', ] }, 'OneDriveConfiguration': { 'TenantDomain': 'string', 'SecretArn': 'string', 'OneDriveUsers': { 'OneDriveUserList': [ 'string', ], 'OneDriveUserS3Path': { 'Bucket': 'string', 'Key': 'string' } }, 'InclusionPatterns': [ 'string', ], 'ExclusionPatterns': [ 'string', ], 'FieldMappings': [ { 'DataSourceFieldName': 'string', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ], 'DisableLocalGroups': True|False }, 'ServiceNowConfiguration': { 'HostUrl': 'string', 'SecretArn': 'string', 'ServiceNowBuildVersion': 'LONDON'|'OTHERS', 'KnowledgeArticleConfiguration': { 'CrawlAttachments': True|False, 'IncludeAttachmentFilePatterns': [ 'string', ], 'ExcludeAttachmentFilePatterns': [ 'string', ], 'DocumentDataFieldName': 'string', 'DocumentTitleFieldName': 'string', 'FieldMappings': [ { 'DataSourceFieldName': 'string', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ] }, 'ServiceCatalogConfiguration': { 'CrawlAttachments': True|False, 'IncludeAttachmentFilePatterns': [ 'string', ], 'ExcludeAttachmentFilePatterns': [ 'string', ], 'DocumentDataFieldName': 'string', 'DocumentTitleFieldName': 'string', 'FieldMappings': [ { 'DataSourceFieldName': 'string', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ] } }, 'ConfluenceConfiguration': { 'ServerUrl': 'string', 'SecretArn': 'string', 'Version': 'CLOUD'|'SERVER', 'SpaceConfiguration': { 'CrawlPersonalSpaces': True|False, 'CrawlArchivedSpaces': True|False, 'IncludeSpaces': [ 'string', ], 'ExcludeSpaces': [ 'string', ], 'SpaceFieldMappings': [ { 'DataSourceFieldName': 'DISPLAY_URL'|'ITEM_TYPE'|'SPACE_KEY'|'URL', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ] }, 'PageConfiguration': { 'PageFieldMappings': [ { 'DataSourceFieldName': 'AUTHOR'|'CONTENT_STATUS'|'CREATED_DATE'|'DISPLAY_URL'|'ITEM_TYPE'|'LABELS'|'MODIFIED_DATE'|'PARENT_ID'|'SPACE_KEY'|'SPACE_NAME'|'URL'|'VERSION', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ] }, 'BlogConfiguration': { 'BlogFieldMappings': [ { 'DataSourceFieldName': 'AUTHOR'|'DISPLAY_URL'|'ITEM_TYPE'|'LABELS'|'PUBLISH_DATE'|'SPACE_KEY'|'SPACE_NAME'|'URL'|'VERSION', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ] }, 'AttachmentConfiguration': { 'CrawlAttachments': True|False, 'AttachmentFieldMappings': [ { 'DataSourceFieldName': 'AUTHOR'|'CONTENT_TYPE'|'CREATED_DATE'|'DISPLAY_URL'|'FILE_SIZE'|'ITEM_TYPE'|'PARENT_ID'|'SPACE_KEY'|'SPACE_NAME'|'URL'|'VERSION', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ] }, 'VpcConfiguration': { 'SubnetIds': [ 'string', ], 'SecurityGroupIds': [ 'string', ] }, 'InclusionPatterns': [ 'string', ], 'ExclusionPatterns': [ 'string', ] }, 'GoogleDriveConfiguration': { 'SecretArn': 'string', 'InclusionPatterns': [ 'string', ], 'ExclusionPatterns': [ 'string', ], 'FieldMappings': [ { 'DataSourceFieldName': 'string', 'DateFieldFormat': 'string', 'IndexFieldName': 'string' }, ], 'ExcludeMimeTypes': [ 'string', ], 'ExcludeUserAccounts': [ 'string', ], 'ExcludeSharedDrives': [ 'string', ] } }, 'CreatedAt': datetime(2015, 1, 1), 'UpdatedAt': datetime(2015, 1, 1), 'Description': 'string', 'Status': 'CREATING'|'DELETING'|'FAILED'|'UPDATING'|'ACTIVE', 'Schedule': 'string', 'RoleArn': 'string', 'ErrorMessage': 'string'}