@aws-sdk/client-kendra 3.54.0 → 3.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/KendraClient.js +13 -13
  3. package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +3 -3
  4. package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +3 -3
  5. package/dist-cjs/commands/BatchDeleteDocumentCommand.js +3 -3
  6. package/dist-cjs/commands/BatchGetDocumentStatusCommand.js +3 -3
  7. package/dist-cjs/commands/BatchPutDocumentCommand.js +3 -3
  8. package/dist-cjs/commands/ClearQuerySuggestionsCommand.js +3 -3
  9. package/dist-cjs/commands/CreateDataSourceCommand.js +3 -3
  10. package/dist-cjs/commands/CreateExperienceCommand.js +3 -3
  11. package/dist-cjs/commands/CreateFaqCommand.js +3 -3
  12. package/dist-cjs/commands/CreateIndexCommand.js +3 -3
  13. package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js +3 -3
  14. package/dist-cjs/commands/CreateThesaurusCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteDataSourceCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteExperienceCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteFaqCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteIndexCommand.js +3 -3
  19. package/dist-cjs/commands/DeletePrincipalMappingCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +3 -3
  21. package/dist-cjs/commands/DeleteThesaurusCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeDataSourceCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeExperienceCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeFaqCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeIndexCommand.js +3 -3
  26. package/dist-cjs/commands/DescribePrincipalMappingCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeThesaurusCommand.js +3 -3
  30. package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +3 -3
  31. package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +3 -3
  32. package/dist-cjs/commands/GetQuerySuggestionsCommand.js +3 -3
  33. package/dist-cjs/commands/GetSnapshotsCommand.js +3 -3
  34. package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +3 -3
  35. package/dist-cjs/commands/ListDataSourcesCommand.js +3 -3
  36. package/dist-cjs/commands/ListEntityPersonasCommand.js +3 -3
  37. package/dist-cjs/commands/ListExperienceEntitiesCommand.js +3 -3
  38. package/dist-cjs/commands/ListExperiencesCommand.js +3 -3
  39. package/dist-cjs/commands/ListFaqsCommand.js +3 -3
  40. package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +3 -3
  41. package/dist-cjs/commands/ListIndicesCommand.js +3 -3
  42. package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js +3 -3
  43. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  44. package/dist-cjs/commands/ListThesauriCommand.js +3 -3
  45. package/dist-cjs/commands/PutPrincipalMappingCommand.js +3 -3
  46. package/dist-cjs/commands/QueryCommand.js +3 -3
  47. package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +3 -3
  48. package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +3 -3
  49. package/dist-cjs/commands/SubmitFeedbackCommand.js +3 -3
  50. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  51. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateDataSourceCommand.js +3 -3
  53. package/dist-cjs/commands/UpdateExperienceCommand.js +3 -3
  54. package/dist-cjs/commands/UpdateIndexCommand.js +3 -3
  55. package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +3 -3
  56. package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js +3 -3
  57. package/dist-cjs/commands/UpdateThesaurusCommand.js +3 -3
  58. package/dist-cjs/endpoints.js +1 -1
  59. package/dist-cjs/models/models_0.js +18 -4
  60. package/dist-cjs/protocols/Aws_json1_1.js +592 -447
  61. package/dist-cjs/runtimeConfig.browser.js +4 -4
  62. package/dist-cjs/runtimeConfig.js +9 -9
  63. package/dist-cjs/runtimeConfig.native.js +1 -1
  64. package/dist-es/Kendra.js +55 -55
  65. package/dist-es/models/models_0.js +12 -0
  66. package/dist-es/pagination/GetSnapshotsPaginator.js +4 -4
  67. package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +4 -4
  68. package/dist-es/pagination/ListDataSourcesPaginator.js +4 -4
  69. package/dist-es/pagination/ListEntityPersonasPaginator.js +4 -4
  70. package/dist-es/pagination/ListExperienceEntitiesPaginator.js +4 -4
  71. package/dist-es/pagination/ListExperiencesPaginator.js +4 -4
  72. package/dist-es/pagination/ListIndicesPaginator.js +4 -4
  73. package/dist-es/protocols/Aws_json1_1.js +130 -1
  74. package/dist-types/models/models_0.d.ts +359 -213
  75. package/dist-types/runtimeConfig.native.d.ts +2 -2
  76. package/dist-types/ts3.4/models/models_0.d.ts +44 -0
  77. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  78. package/package.json +34 -34
@@ -1213,10 +1213,11 @@ export declare enum ConfluenceAttachmentFieldName {
1213
1213
  VERSION = "VERSION"
1214
1214
  }
1215
1215
  /**
1216
- * <p>Defines the mapping between a field in the Confluence data source
1217
- * to a Amazon Kendra index field.</p>
1218
- * <p>You must first create the index field using the
1219
- * <code>UpdateIndex</code> API. </p>
1216
+ * <p>Maps attributes or field names of Confluence attachments to Amazon Kendra index field
1217
+ * names. To create custom fields, use the <code>UpdateIndex</code> API before
1218
+ * you map to Confluence fields.
1219
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
1220
+ * The Confuence data source field names must exist in your Confluence custom metadata.</p>
1220
1221
  */
1221
1222
  export interface ConfluenceAttachmentToIndexFieldMapping {
1222
1223
  /**
@@ -1246,7 +1247,7 @@ export declare namespace ConfluenceAttachmentToIndexFieldMapping {
1246
1247
  const filterSensitiveLog: (obj: ConfluenceAttachmentToIndexFieldMapping) => any;
1247
1248
  }
1248
1249
  /**
1249
- * <p>Specifies the attachment settings for the Confluence data source.
1250
+ * <p>Configuration of attachment settings for the Confluence data source.
1250
1251
  * Attachment settings are optional, if you don't specify settings
1251
1252
  * attachments, Amazon Kendra won't index them.</p>
1252
1253
  */
@@ -1257,12 +1258,13 @@ export interface ConfluenceAttachmentConfiguration {
1257
1258
  */
1258
1259
  CrawlAttachments?: boolean;
1259
1260
  /**
1260
- * <p>Defines how attachment metadata fields should be mapped to index
1261
- * fields. Before you can map a field, you must first create an index
1262
- * field with a matching type using the console or the
1263
- * <code>UpdateIndex</code> API.</p>
1264
- * <p>If you specify the <code>AttachentFieldMappings</code> parameter,
1265
- * you must specify at least one field mapping.</p>
1261
+ * <p>Maps attributes or field names of Confluence attachments to Amazon Kendra index field
1262
+ * names. To create custom fields, use the <code>UpdateIndex</code> API before
1263
+ * you map to Confluence fields.
1264
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
1265
+ * The Confluence data source field names must exist in your Confluence custom metadata.</p>
1266
+ * <p>If you specify the <code>AttachentFieldMappings</code> parameter, you must specify
1267
+ * at least one field mapping.</p>
1266
1268
  */
1267
1269
  AttachmentFieldMappings?: ConfluenceAttachmentToIndexFieldMapping[];
1268
1270
  }
@@ -1284,10 +1286,11 @@ export declare enum ConfluenceBlogFieldName {
1284
1286
  VERSION = "VERSION"
1285
1287
  }
1286
1288
  /**
1287
- * <p>Defines the mapping between a blog field in the Confluence data
1288
- * source to a Amazon Kendra index field.</p>
1289
- * <p>You must first create the index field using the
1290
- * <code>UpdateIndex</code> API. </p>
1289
+ * <p>Maps attributes or field names of Confluence blog to Amazon Kendra index field
1290
+ * names. To create custom fields, use the <code>UpdateIndex</code> API before
1291
+ * you map to Confluence fields.
1292
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
1293
+ * The Confluence data source field names must exist in your Confluence custom metadata.</p>
1291
1294
  */
1292
1295
  export interface ConfluenceBlogToIndexFieldMapping {
1293
1296
  /**
@@ -1315,17 +1318,18 @@ export declare namespace ConfluenceBlogToIndexFieldMapping {
1315
1318
  const filterSensitiveLog: (obj: ConfluenceBlogToIndexFieldMapping) => any;
1316
1319
  }
1317
1320
  /**
1318
- * <p>Specifies the blog settings for the Confluence data source. Blogs
1321
+ * <p>Configuration of blog settings for the Confluence data source. Blogs
1319
1322
  * are always indexed unless filtered from the index by the
1320
1323
  * <code>ExclusionPatterns</code> or <code>InclusionPatterns</code>
1321
1324
  * fields in the <code>ConfluenceConfiguration</code> object.</p>
1322
1325
  */
1323
1326
  export interface ConfluenceBlogConfiguration {
1324
1327
  /**
1325
- * <p>Defines how blog metadata fields should be mapped to index fields.
1326
- * Before you can map a field, you must first create an index field
1327
- * with a matching type using the console or the
1328
- * <code>UpdateIndex</code> API.</p>
1328
+ * <p>Maps attributes or field names of Confluence blogs to Amazon Kendra index field
1329
+ * names. To create custom fields, use the <code>UpdateIndex</code> API before
1330
+ * you map to Confluence fields.
1331
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
1332
+ * The Confluence data source field names must exist in your Confluence custom metadata.</p>
1329
1333
  * <p>If you specify the <code>BlogFieldMappings</code> parameter, you
1330
1334
  * must specify at least one field mapping.</p>
1331
1335
  */
@@ -1352,14 +1356,15 @@ export declare enum ConfluencePageFieldName {
1352
1356
  VERSION = "VERSION"
1353
1357
  }
1354
1358
  /**
1355
- * <p>Defines the mapping between a field in the Confluence data source
1356
- * to a Amazon Kendra index field.</p>
1357
- * <p>You must first create the index field using the
1358
- * <code>UpdateIndex</code> API.</p>
1359
+ * <p>>Maps attributes or field names of Confluence pages to Amazon Kendra index field
1360
+ * names. To create custom fields, use the <code>UpdateIndex</code> API before
1361
+ * you map to Confluence fields.
1362
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
1363
+ * The Confluence data source field names must exist in your Confluence custom metadata.</p>
1359
1364
  */
1360
1365
  export interface ConfluencePageToIndexFieldMapping {
1361
1366
  /**
1362
- * <p>The name of the field in the data source. </p>
1367
+ * <p>The name of the field in the data source.</p>
1363
1368
  */
1364
1369
  DataSourceFieldName?: ConfluencePageFieldName | string;
1365
1370
  /**
@@ -1383,14 +1388,15 @@ export declare namespace ConfluencePageToIndexFieldMapping {
1383
1388
  const filterSensitiveLog: (obj: ConfluencePageToIndexFieldMapping) => any;
1384
1389
  }
1385
1390
  /**
1386
- * <p>Specifies the page settings for the Confluence data source.</p>
1391
+ * <p>Configuration of the page settings for the Confluence data source.</p>
1387
1392
  */
1388
1393
  export interface ConfluencePageConfiguration {
1389
1394
  /**
1390
- * <p>Defines how page metadata fields should be mapped to index fields.
1391
- * Before you can map a field, you must first create an index field
1392
- * with a matching type using the console or the
1393
- * <code>UpdateIndex</code> API.</p>
1395
+ * <p>>Maps attributes or field names of Confluence pages to Amazon Kendra index field
1396
+ * names. To create custom fields, use the <code>UpdateIndex</code> API before
1397
+ * you map to Confluence fields.
1398
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
1399
+ * The Confluence data source field names must exist in your Confluence custom metadata.</p>
1394
1400
  * <p>If you specify the <code>PageFieldMappings</code> parameter, you
1395
1401
  * must specify at least one field mapping.</p>
1396
1402
  */
@@ -1409,10 +1415,11 @@ export declare enum ConfluenceSpaceFieldName {
1409
1415
  URL = "URL"
1410
1416
  }
1411
1417
  /**
1412
- * <p>Defines the mapping between a field in the Confluence data source
1413
- * to an Amazon Kendra index field.</p>
1414
- * <p>You must first create the index field using the
1415
- * <code>UpdateIndex</code> API.</p>
1418
+ * <p>>Maps attributes or field names of Confluence spaces to Amazon Kendra index field
1419
+ * names. To create custom fields, use the <code>UpdateIndex</code> API before
1420
+ * you map to Confluence fields.
1421
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
1422
+ * The Confluence data source field names must exist in your Confluence custom metadata.</p>
1416
1423
  */
1417
1424
  export interface ConfluenceSpaceToIndexFieldMapping {
1418
1425
  /**
@@ -1440,7 +1447,7 @@ export declare namespace ConfluenceSpaceToIndexFieldMapping {
1440
1447
  const filterSensitiveLog: (obj: ConfluenceSpaceToIndexFieldMapping) => any;
1441
1448
  }
1442
1449
  /**
1443
- * <p>Specifies the configuration for indexing Confluence spaces.</p>
1450
+ * <p>Configuration information for indexing Confluence spaces.</p>
1444
1451
  */
1445
1452
  export interface ConfluenceSpaceConfiguration {
1446
1453
  /**
@@ -1474,10 +1481,11 @@ export interface ConfluenceSpaceConfiguration {
1474
1481
  */
1475
1482
  ExcludeSpaces?: string[];
1476
1483
  /**
1477
- * <p>Defines how space metadata fields should be mapped to index
1478
- * fields. Before you can map a field, you must first create an index
1479
- * field with a matching type using the console or the
1480
- * <code>UpdateIndex</code> API.</p>
1484
+ * <p>Maps attributes or field names of Confluence spaces to Amazon Kendra index field
1485
+ * names. To create custom fields, use the <code>UpdateIndex</code> API before
1486
+ * you map to Confluence fields.
1487
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
1488
+ * The Confluence data source field names must exist in your Confluence custom metadata.</p>
1481
1489
  * <p>If you specify the <code>SpaceFieldMappings</code> parameter, you
1482
1490
  * must specify at least one field mapping.</p>
1483
1491
  */
@@ -1524,23 +1532,23 @@ export declare namespace DataSourceVpcConfiguration {
1524
1532
  export interface ConfluenceConfiguration {
1525
1533
  /**
1526
1534
  * <p>The URL of your Confluence instance. Use the full URL of the
1527
- * server. For example, <code>https://server.example.com:port/</code>.
1535
+ * server. For example, <i>https://server.example.com:port/</i>.
1528
1536
  * You can also use an IP address, for example,
1529
- * <code>https://192.168.1.113/</code>.</p>
1537
+ * <i>https://192.168.1.113/</i>.</p>
1530
1538
  */
1531
1539
  ServerUrl: string | undefined;
1532
1540
  /**
1533
1541
  * <p>The Amazon Resource Name (ARN) of an Secrets Manager secret
1534
- * that contains the key/value pairs required to connect to your
1542
+ * that contains the key-value pairs required to connect to your
1535
1543
  * Confluence server. The secret must contain a JSON structure with the
1536
1544
  * following keys:</p>
1537
1545
  * <ul>
1538
1546
  * <li>
1539
- * <p>username - The user name or email address of a user with
1547
+ * <p>usernameThe user name or email address of a user with
1540
1548
  * administrative privileges for the Confluence server.</p>
1541
1549
  * </li>
1542
1550
  * <li>
1543
- * <p>password - The password associated with the user logging
1551
+ * <p>passwordThe password associated with the user logging
1544
1552
  * in to the Confluence server.</p>
1545
1553
  * </li>
1546
1554
  * </ul>
@@ -1552,47 +1560,41 @@ export interface ConfluenceConfiguration {
1552
1560
  */
1553
1561
  Version: ConfluenceVersion | string | undefined;
1554
1562
  /**
1555
- * <p>Specifies configuration information for indexing Confluence
1556
- * spaces.</p>
1563
+ * <p>Configuration information for indexing Confluence spaces.</p>
1557
1564
  */
1558
1565
  SpaceConfiguration?: ConfluenceSpaceConfiguration;
1559
1566
  /**
1560
- * <p>Specifies configuration information for indexing Confluence
1561
- * pages.</p>
1567
+ * <p>Configuration information for indexing Confluence pages.</p>
1562
1568
  */
1563
1569
  PageConfiguration?: ConfluencePageConfiguration;
1564
1570
  /**
1565
- * <p> Specifies configuration information for indexing Confluence
1566
- * blogs.</p>
1571
+ * <p>Configuration information for indexing Confluence blogs.</p>
1567
1572
  */
1568
1573
  BlogConfiguration?: ConfluenceBlogConfiguration;
1569
1574
  /**
1570
- * <p>Specifies configuration information for indexing attachments to
1575
+ * <p>Configuration information for indexing attachments to
1571
1576
  * Confluence blogs and pages.</p>
1572
1577
  */
1573
1578
  AttachmentConfiguration?: ConfluenceAttachmentConfiguration;
1574
1579
  /**
1575
- * <p>Specifies the information for connecting to an Amazon VPC.</p>
1580
+ * <p>Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence.
1581
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html">Configuring a VPC</a>.</p>
1576
1582
  */
1577
1583
  VpcConfiguration?: DataSourceVpcConfiguration;
1578
1584
  /**
1579
- * <p>A list of regular expression patterns that apply to a URL on the
1580
- * Confluence server. An inclusion pattern can apply to a blog post, a
1581
- * page, a space, or an attachment. Items that match the patterns are
1582
- * included in the index. Items that don't match the pattern are
1583
- * excluded from the index. If an item matches both an inclusion
1584
- * pattern and an exclusion pattern, the item isn't included in the
1585
- * index.</p>
1585
+ * <p>A list of regular expression patterns to include certain blog posts, pages,
1586
+ * spaces, or attachments in your Confluence. Content that matches the patterns are
1587
+ * included in the index. Content that doesn't match the patterns is excluded from
1588
+ * the index. If content matches both an inclusion and exclusion pattern, the
1589
+ * exclusion pattern takes precedence and the content isn't included in the index.</p>
1586
1590
  */
1587
1591
  InclusionPatterns?: string[];
1588
1592
  /**
1589
- * <p>A list of regular expression patterns that apply to a URL on the
1590
- * Confluence server. An exclusion pattern can apply to a blog post, a
1591
- * page, a space, or an attachment. Items that match the pattern are
1592
- * excluded from the index. Items that don't match the pattern are
1593
- * included in the index. If a item matches both an exclusion pattern
1594
- * and an inclusion pattern, the item isn't included in the
1595
- * index.</p>
1593
+ * <p>>A list of regular expression patterns to exclude certain blog posts, pages,
1594
+ * spaces, or attachments in your Confluence. Content that matches the patterns are
1595
+ * excluded from the index. Content that doesn't match the patterns is included in
1596
+ * the index. If content matches both an inclusion and exclusion pattern, the
1597
+ * exclusion pattern takes precedence and the content isn't included in the index.</p>
1596
1598
  */
1597
1599
  ExclusionPatterns?: string[];
1598
1600
  }
@@ -1800,8 +1802,8 @@ export interface FsxConfiguration {
1800
1802
  */
1801
1803
  FileSystemType: FsxFileSystemType | string | undefined;
1802
1804
  /**
1803
- * <p>Configuration information for connecting to an
1804
- * Amazon Virtual Private Cloud for your Amazon FSx. Your Amazon FSx
1805
+ * <p>Configuration information for an Amazon Virtual Private Cloud to connect
1806
+ * to your Amazon FSx. Your Amazon FSx
1805
1807
  * instance must reside inside your VPC.</p>
1806
1808
  */
1807
1809
  VpcConfiguration: DataSourceVpcConfiguration | undefined;
@@ -1829,18 +1831,18 @@ export interface FsxConfiguration {
1829
1831
  * <p>A list of regular expression patterns to include certain files
1830
1832
  * in your Amazon FSx file system. Files that match the patterns
1831
1833
  * are included in the index. Files that don't match the patterns are
1832
- * excluded from the index. If a file matches both an inclusion pattern
1833
- * and an exclusion pattern, the exclusion pattern takes precedence
1834
- * and the file isn't included in the index.</p>
1834
+ * excluded from the index. If a file matches both an inclusion and
1835
+ * exclusion pattern, the exclusion pattern takes precedence and the file
1836
+ * isn't included in the index.</p>
1835
1837
  */
1836
1838
  InclusionPatterns?: string[];
1837
1839
  /**
1838
1840
  * <p>A list of regular expression patterns to exclude certain files
1839
1841
  * in your Amazon FSx file system. Files that match the patterns
1840
- * are excluded from the index. Files that dont match the patterns are
1841
- * included in the index. If a file matches both an inclusion pattern
1842
- * and an exclusion pattern, the exclusion pattern takes precedence
1843
- * and the file isn't included in the index.</p>
1842
+ * are excluded from the index. Files that don't match the patterns are
1843
+ * included in the index. If a file matches both an inclusion and exclusion
1844
+ * pattern, the exclusion pattern takes precedence and the file isn't included
1845
+ * in the index.</p>
1844
1846
  */
1845
1847
  ExclusionPatterns?: string[];
1846
1848
  /**
@@ -1873,30 +1875,29 @@ export interface GoogleDriveConfiguration {
1873
1875
  */
1874
1876
  SecretArn: string | undefined;
1875
1877
  /**
1876
- * <p>A list of regular expression patterns that apply to path on Google
1877
- * Drive. Items that match the pattern are included in the index from
1878
- * both shared drives and users' My Drives. Items that don't match the
1879
- * pattern are excluded from the index. If an item matches both an
1880
- * inclusion pattern and an exclusion pattern, it is excluded from the
1881
- * index.</p>
1878
+ * <p>A list of regular expression patterns to include certain items in your
1879
+ * Google Drive, including shared drives and users' My Drives. Items that
1880
+ * match the patterns are included in the index. Items that
1881
+ * don't match the patterns are excluded from the index. If an item matches both
1882
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
1883
+ * item isn't included in the index.</p>
1882
1884
  */
1883
1885
  InclusionPatterns?: string[];
1884
1886
  /**
1885
- * <p>A list of regular expression patterns that apply to the path on
1886
- * Google Drive. Items that match the pattern are excluded from the
1887
- * index from both shared drives and users' My Drives. Items that don't
1888
- * match the pattern are included in the index. If an item matches both
1889
- * an exclusion pattern and an inclusion pattern, it is excluded from
1890
- * the index.</p>
1887
+ * <p>A list of regular expression patterns to exclude certain items in your
1888
+ * Google Drive, including shared drives and users' My Drives. Items that
1889
+ * match the patterns are excluded from the index. Items that
1890
+ * don't match the patterns are included in the index. If an item matches both
1891
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
1892
+ * item isn't included in the index.</p>
1891
1893
  */
1892
1894
  ExclusionPatterns?: string[];
1893
1895
  /**
1894
- * <p>Defines mapping between a field in the Google Drive and a Amazon Kendra
1895
- * index field.</p>
1896
- * <p>If you are using the console, you can define index fields when
1897
- * creating the mapping. If you are using the API, you must first
1898
- * create the field using the <code>UpdateIndex</code>
1899
- * API.</p>
1896
+ * <p>Maps Google Drive data source attributes or field names to Amazon Kendra index
1897
+ * field names. To create custom fields, use the <code>UpdateIndex</code> API before
1898
+ * you map to Google Drive fields.
1899
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
1900
+ * The Google Drive data source field names must exist in your Google Drive custom metadata.</p>
1900
1901
  */
1901
1902
  FieldMappings?: DataSourceToIndexFieldMapping[];
1902
1903
  /**
@@ -1972,27 +1973,31 @@ export interface OneDriveConfiguration {
1972
1973
  */
1973
1974
  OneDriveUsers: OneDriveUsers | undefined;
1974
1975
  /**
1975
- * <p>A list of regular expression patterns. Documents that match the
1976
- * pattern are included in the index. Documents that don't match the
1977
- * pattern are excluded from the index. If a document matches both an
1978
- * inclusion pattern and an exclusion pattern, the document is not
1979
- * included in the index. </p>
1980
- * <p>The exclusion pattern is applied to the file name.</p>
1976
+ * <p>A list of regular expression patterns to include certain documents
1977
+ * in your OneDrive. Documents that match the
1978
+ * patterns are included in the index. Documents that don't match the
1979
+ * patterns are excluded from the index. If a document matches both an
1980
+ * inclusion and exclusion pattern, the exclusion pattern takes
1981
+ * precedence and the document isn't included in the index.</p>
1982
+ * <p>The pattern is applied to the file name.</p>
1981
1983
  */
1982
1984
  InclusionPatterns?: string[];
1983
1985
  /**
1984
- * <p>List of regular expressions applied to documents. Items that match
1985
- * the exclusion pattern are not indexed. If you provide both an
1986
- * inclusion pattern and an exclusion pattern, any item that matches
1987
- * the exclusion pattern isn't indexed. </p>
1988
- * <p>The exclusion pattern is applied to the file name.</p>
1986
+ * <p>A list of regular expression patterns to exclude certain documents
1987
+ * in your OneDrive. Documents that match the
1988
+ * patterns are excluded from the index. Documents that don't match the
1989
+ * patterns are included in the index. If a document matches both an
1990
+ * inclusion and exclusion pattern, the exclusion pattern takes
1991
+ * precedence and the document isn't included in the index.</p>
1992
+ * <p>The pattern is applied to the file name.</p>
1989
1993
  */
1990
1994
  ExclusionPatterns?: string[];
1991
1995
  /**
1992
- * <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that
1993
- * map Microsoft OneDrive fields to custom fields in the Amazon Kendra
1994
- * index. You must first create the index fields before you map
1995
- * OneDrive fields.</p>
1996
+ * <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map OneDrive data
1997
+ * source attributes or field names to Amazon Kendra index field names. To create
1998
+ * custom fields, use the <code>UpdateIndex</code> API before you map to OneDrive fields.
1999
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
2000
+ * The OneDrive data source field names must exist in your OneDrive custom metadata.</p>
1996
2001
  */
1997
2002
  FieldMappings?: DataSourceToIndexFieldMapping[];
1998
2003
  /**
@@ -2160,7 +2165,7 @@ export declare namespace SalesforceChatterFeedConfiguration {
2160
2165
  const filterSensitiveLog: (obj: SalesforceChatterFeedConfiguration) => any;
2161
2166
  }
2162
2167
  /**
2163
- * <p>Provides configuration information for indexing Salesforce custom
2168
+ * <p>Provides the configuration information for indexing Salesforce custom
2164
2169
  * articles.</p>
2165
2170
  */
2166
2171
  export interface SalesforceCustomKnowledgeArticleTypeConfiguration {
@@ -2179,8 +2184,11 @@ export interface SalesforceCustomKnowledgeArticleTypeConfiguration {
2179
2184
  */
2180
2185
  DocumentTitleFieldName?: string;
2181
2186
  /**
2182
- * <p>One or more objects that map fields in the custom knowledge
2183
- * article to fields in the Amazon Kendra index.</p>
2187
+ * <p>Maps attributes or field names of the custom knowledge article to Amazon Kendra
2188
+ * index field names. To create custom fields, use the <code>UpdateIndex</code> API
2189
+ * before you map to Salesforce fields.
2190
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
2191
+ * The Salesforce data source field names must exist in your Salesforce custom metadata.</p>
2184
2192
  */
2185
2193
  FieldMappings?: DataSourceToIndexFieldMapping[];
2186
2194
  }
@@ -2196,7 +2204,7 @@ export declare enum SalesforceKnowledgeArticleState {
2196
2204
  PUBLISHED = "PUBLISHED"
2197
2205
  }
2198
2206
  /**
2199
- * <p>Configuration information for standard Salesforce
2207
+ * <p>Provides the configuration information for standard Salesforce
2200
2208
  * knowledge articles.</p>
2201
2209
  */
2202
2210
  export interface SalesforceStandardKnowledgeArticleTypeConfiguration {
@@ -2210,9 +2218,11 @@ export interface SalesforceStandardKnowledgeArticleTypeConfiguration {
2210
2218
  */
2211
2219
  DocumentTitleFieldName?: string;
2212
2220
  /**
2213
- * <p>One or more objects that map fields in the knowledge article to
2214
- * Amazon Kendra index fields. The index field must exist before you can map
2215
- * a Salesforce field to it.</p>
2221
+ * <p>Maps attributes or field names of the knowledge article to Amazon Kendra
2222
+ * index field names. To create custom fields, use the <code>UpdateIndex</code> API
2223
+ * before you map to Salesforce fields.
2224
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
2225
+ * The Salesforce data source field names must exist in your Salesforce custom metadata.</p>
2216
2226
  */
2217
2227
  FieldMappings?: DataSourceToIndexFieldMapping[];
2218
2228
  }
@@ -2254,7 +2264,7 @@ export declare namespace SalesforceKnowledgeArticleConfiguration {
2254
2264
  }
2255
2265
  /**
2256
2266
  * <p>Provides the configuration information for processing attachments to
2257
- * Salesforce standard objects. </p>
2267
+ * Salesforce standard objects.</p>
2258
2268
  */
2259
2269
  export interface SalesforceStandardObjectAttachmentConfiguration {
2260
2270
  /**
@@ -2312,9 +2322,11 @@ export interface SalesforceStandardObjectConfiguration {
2312
2322
  */
2313
2323
  DocumentTitleFieldName?: string;
2314
2324
  /**
2315
- * <p>One or more objects that map fields in the standard object to
2316
- * Amazon Kendra index fields. The index field must exist before you can map
2317
- * a Salesforce field to it.</p>
2325
+ * <p>Maps attributes or field names of the standard object to Amazon Kendra
2326
+ * index field names. To create custom fields, use the <code>UpdateIndex</code> API
2327
+ * before you map to Salesforce fields.
2328
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
2329
+ * The Salesforce data source field names must exist in your Salesforce custom metadata.</p>
2318
2330
  */
2319
2331
  FieldMappings?: DataSourceToIndexFieldMapping[];
2320
2332
  }
@@ -2325,8 +2337,8 @@ export declare namespace SalesforceStandardObjectConfiguration {
2325
2337
  const filterSensitiveLog: (obj: SalesforceStandardObjectConfiguration) => any;
2326
2338
  }
2327
2339
  /**
2328
- * <p>Provides configuration information for connecting to a Salesforce
2329
- * data source.</p>
2340
+ * <p>Provides the configuration information to connect to Salesforce
2341
+ * as your data source.</p>
2330
2342
  */
2331
2343
  export interface SalesforceConfiguration {
2332
2344
  /**
@@ -2368,20 +2380,19 @@ export interface SalesforceConfiguration {
2368
2380
  */
2369
2381
  SecretArn: string | undefined;
2370
2382
  /**
2371
- * <p>Specifies the Salesforce standard objects that Amazon Kendra
2383
+ * <p>Configuration of the Salesforce standard objects that Amazon Kendra
2372
2384
  * indexes.</p>
2373
2385
  */
2374
2386
  StandardObjectConfigurations?: SalesforceStandardObjectConfiguration[];
2375
2387
  /**
2376
- * <p>Specifies configuration information for the knowledge article
2388
+ * <p>Configuration information for the knowledge article
2377
2389
  * types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge
2378
2390
  * articles and the standard fields of knowledge articles, or the
2379
2391
  * custom fields of custom knowledge articles, but not both.</p>
2380
2392
  */
2381
2393
  KnowledgeArticleConfiguration?: SalesforceKnowledgeArticleConfiguration;
2382
2394
  /**
2383
- * <p>Specifies configuration information for Salesforce chatter
2384
- * feeds.</p>
2395
+ * <p>Configuration information for Salesforce chatter feeds.</p>
2385
2396
  */
2386
2397
  ChatterFeedConfiguration?: SalesforceChatterFeedConfiguration;
2387
2398
  /**
@@ -2395,21 +2406,21 @@ export interface SalesforceConfiguration {
2395
2406
  */
2396
2407
  StandardObjectAttachmentConfiguration?: SalesforceStandardObjectAttachmentConfiguration;
2397
2408
  /**
2398
- * <p>A list of regular expression patterns. Documents that match the
2399
- * patterns are included in the index. Documents that don't match the
2400
- * patterns are excluded from the index. If a document matches both an
2401
- * inclusion pattern and an exclusion pattern, the document is not
2402
- * included in the index.</p>
2403
- * <p>The regex is applied to the name of the attached file.</p>
2409
+ * <p>A list of regular expression patterns to include certain documents in your Salesforce.
2410
+ * Documents that match the patterns are included in the index. Documents that
2411
+ * don't match the patterns are excluded from the index. If a document matches both
2412
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
2413
+ * document isn't included in the index.</p>
2414
+ * <p>The pattern is applied to the name of the attached file.</p>
2404
2415
  */
2405
2416
  IncludeAttachmentFilePatterns?: string[];
2406
2417
  /**
2407
- * <p>A list of regular expression patterns. Documents that match the
2408
- * patterns are excluded from the index. Documents that don't match the
2409
- * patterns are included in the index. If a document matches both an
2410
- * exclusion pattern and an inclusion pattern, the document is not
2411
- * included in the index.</p>
2412
- * <p>The regex is applied to the name of the attached file.</p>
2418
+ * <p>A list of regular expression patterns to exclude certain documents in your Salesforce.
2419
+ * Documents that match the patterns are excluded from the index. Documents that
2420
+ * don't match the patterns are included in the index. If a document matches both
2421
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
2422
+ * document isn't included in the index.</p>
2423
+ * <p>The pattern is applied to the name of the attached file.</p>
2413
2424
  */
2414
2425
  ExcludeAttachmentFilePatterns?: string[];
2415
2426
  }
@@ -2434,18 +2445,23 @@ export interface ServiceNowKnowledgeArticleConfiguration {
2434
2445
  */
2435
2446
  CrawlAttachments?: boolean;
2436
2447
  /**
2437
- * <p>List of regular expressions applied to knowledge articles. Items
2438
- * that don't match the inclusion pattern are not indexed. The regex is
2439
- * applied to the field specified in the
2440
- * <code>PatternTargetField</code>.</p>
2448
+ * <p>A list of regular expression patterns to include certain attachments of knowledge articles in
2449
+ * your ServiceNow. Item that match the patterns are included in the index. Items that
2450
+ * don't match the patterns are excluded from the index. If an item matches both
2451
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
2452
+ * item isn't included in the index.</p>
2453
+ * <p>The regex is
2454
+ * applied to the field specified in the <code>PatternTargetField</code>.</p>
2441
2455
  */
2442
2456
  IncludeAttachmentFilePatterns?: string[];
2443
2457
  /**
2444
- * <p>List of regular expressions applied to knowledge articles. Items
2445
- * that don't match the inclusion pattern are not indexed. The regex is
2446
- * applied to the field specified in the
2447
- * <code>PatternTargetField</code>
2448
- * </p>
2458
+ * <p>A list of regular expression patterns to exclude certain attachments of knowledge articles in
2459
+ * your ServiceNow. Item that match the patterns are excluded from the index. Items that
2460
+ * don't match the patterns are included in the index. If an item matches both
2461
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
2462
+ * item isn't included in the index.</p>
2463
+ * <p>The regex is
2464
+ * applied to the field specified in the <code>PatternTargetField</code>.</p>
2449
2465
  */
2450
2466
  ExcludeAttachmentFilePatterns?: string[];
2451
2467
  /**
@@ -2459,8 +2475,11 @@ export interface ServiceNowKnowledgeArticleConfiguration {
2459
2475
  */
2460
2476
  DocumentTitleFieldName?: string;
2461
2477
  /**
2462
- * <p>Mapping between ServiceNow fields and Amazon Kendra index fields. You
2463
- * must create the index field before you map the field.</p>
2478
+ * <p>Maps attributes or field names of knoweldge articles to Amazon Kendra index
2479
+ * field names. To create custom fields, use the <code>UpdateIndex</code> API before
2480
+ * you map to ServiceNow fields.
2481
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
2482
+ * The ServiceNow data source field names must exist in your ServiceNow custom metadata.</p>
2464
2483
  */
2465
2484
  FieldMappings?: DataSourceToIndexFieldMapping[];
2466
2485
  /**
@@ -2490,20 +2509,20 @@ export interface ServiceNowServiceCatalogConfiguration {
2490
2509
  */
2491
2510
  CrawlAttachments?: boolean;
2492
2511
  /**
2493
- * <p>A list of regular expression patterns. Documents that match the
2494
- * patterns are included in the index. Documents that don't match the
2495
- * patterns are excluded from the index. If a document matches both an
2496
- * exclusion pattern and an inclusion pattern, the document is not
2497
- * included in the index.</p>
2512
+ * <p>A list of regular expression patterns to include certain attachments of catalogs in
2513
+ * your ServiceNow. Item that match the patterns are included in the index. Items that
2514
+ * don't match the patterns are excluded from the index. If an item matches both
2515
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
2516
+ * item isn't included in the index.</p>
2498
2517
  * <p>The regex is applied to the file name of the attachment.</p>
2499
2518
  */
2500
2519
  IncludeAttachmentFilePatterns?: string[];
2501
2520
  /**
2502
- * <p>A list of regular expression patterns. Documents that match the
2503
- * patterns are excluded from the index. Documents that don't match the
2504
- * patterns are included in the index. If a document matches both an
2505
- * exclusion pattern and an inclusion pattern, the document is not
2506
- * included in the index.</p>
2521
+ * <p>A list of regular expression patterns to exclude certain attachments of catalogs in
2522
+ * your ServiceNow. Item that match the patterns are excluded from the index. Items that
2523
+ * don't match the patterns are included in the index. If an item matches both
2524
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
2525
+ * item isn't included in the index.</p>
2507
2526
  * <p>The regex is applied to the file name of the attachment.</p>
2508
2527
  */
2509
2528
  ExcludeAttachmentFilePatterns?: string[];
@@ -2518,8 +2537,11 @@ export interface ServiceNowServiceCatalogConfiguration {
2518
2537
  */
2519
2538
  DocumentTitleFieldName?: string;
2520
2539
  /**
2521
- * <p>Mapping between ServiceNow fields and Amazon Kendra index fields. You
2522
- * must create the index field before you map the field.</p>
2540
+ * <p>Maps attributes or field names of catalogs to Amazon Kendra index
2541
+ * field names. To create custom fields, use the <code>UpdateIndex</code> API before
2542
+ * you map to ServiceNow fields.
2543
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
2544
+ * The ServiceNow data source field names must exist in your ServiceNow custom metadata.</p>
2523
2545
  */
2524
2546
  FieldMappings?: DataSourceToIndexFieldMapping[];
2525
2547
  }
@@ -2541,7 +2563,7 @@ export interface ServiceNowConfiguration {
2541
2563
  /**
2542
2564
  * <p>The ServiceNow instance that the data source connects to. The host
2543
2565
  * endpoint should look like the following:
2544
- * <code>{instance}.service-now.com.</code>
2566
+ * <i>{instance}.service-now.com.</i>
2545
2567
  * </p>
2546
2568
  */
2547
2569
  HostUrl: string | undefined;
@@ -2568,7 +2590,7 @@ export interface ServiceNowConfiguration {
2568
2590
  */
2569
2591
  ServiceCatalogConfiguration?: ServiceNowServiceCatalogConfiguration;
2570
2592
  /**
2571
- * <p>Determines the type of authentication used to connect to the
2593
+ * <p>The type of authentication used to connect to the
2572
2594
  * ServiceNow instance. If you choose <code>HTTP_BASIC</code>, Amazon Kendra is
2573
2595
  * authenticated using the user name and password provided in the
2574
2596
  * Secrets Manager secret in the <code>SecretArn</code> field. When you
@@ -2629,30 +2651,29 @@ export interface SharePointConfiguration {
2629
2651
  */
2630
2652
  CrawlAttachments?: boolean;
2631
2653
  /**
2632
- * <p>Set to <code>TRUE</code> to use the Microsoft SharePoint change
2633
- * log to determine the documents that need to be updated in the index.
2634
- * Depending on the size of the SharePoint change log, it may take
2635
- * longer for Amazon Kendra to use the change log than it takes it to
2636
- * determine the changed documents using the Amazon Kendra document
2637
- * crawler.</p>
2654
+ * <p>
2655
+ * <code>TRUE</code> to use the SharePoint change log to determine which documents
2656
+ * require updating in the index. Depending on the change log's
2657
+ * size, it may take longer for Amazon Kendra to use the change log than to
2658
+ * scan all of your documents in SharePoint.</p>
2638
2659
  */
2639
2660
  UseChangeLog?: boolean;
2640
2661
  /**
2641
- * <p>A list of regular expression patterns. Documents that match the
2642
- * patterns are included in the index. Documents that don't match the
2643
- * patterns are excluded from the index. If a document matches both an
2644
- * inclusion pattern and an exclusion pattern, the document is not
2645
- * included in the index.</p>
2662
+ * <p>A list of regular expression patterns to include certain documents in your SharePoint.
2663
+ * Documents that match the patterns are included in the index. Documents that
2664
+ * don't match the patterns are excluded from the index. If a document matches both
2665
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
2666
+ * document isn't included in the index.</p>
2646
2667
  * <p>The regex is applied to the display URL of the SharePoint
2647
2668
  * document.</p>
2648
2669
  */
2649
2670
  InclusionPatterns?: string[];
2650
2671
  /**
2651
- * <p>A list of regular expression patterns. Documents that match the
2652
- * patterns are excluded from the index. Documents that don't match the
2653
- * patterns are included in the index. If a document matches both an
2654
- * exclusion pattern and an inclusion pattern, the document is not
2655
- * included in the index.</p>
2672
+ * <p>A list of regular expression patterns to exclude certain documents in your SharePoint.
2673
+ * Documents that match the patterns are excluded from the index. Documents that
2674
+ * don't match the patterns are included in the index. If a document matches both
2675
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
2676
+ * document isn't included in the index.</p>
2656
2677
  * <p>The regex is applied to the display URL of the SharePoint
2657
2678
  * document.</p>
2658
2679
  */
@@ -2662,12 +2683,11 @@ export interface SharePointConfiguration {
2662
2683
  */
2663
2684
  VpcConfiguration?: DataSourceVpcConfiguration;
2664
2685
  /**
2665
- * <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that
2666
- * map Microsoft SharePoint attributes to custom fields in the Amazon Kendra
2667
- * index. You must first create the index fields using the
2668
- * <code>UpdateIndex</code> API before you map SharePoint
2669
- * attributes. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping Data Source
2670
- * Fields</a>.</p>
2686
+ * <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map SharePoint data
2687
+ * source attributes or field names to Amazon Kendra index field names. To create
2688
+ * custom fields, use the <code>UpdateIndex</code> API before you map to SharePoint fields.
2689
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
2690
+ * The SharePoint data source field names must exist in your SharePoint custom metadata.</p>
2671
2691
  */
2672
2692
  FieldMappings?: DataSourceToIndexFieldMapping[];
2673
2693
  /**
@@ -2693,6 +2713,125 @@ export declare namespace SharePointConfiguration {
2693
2713
  */
2694
2714
  const filterSensitiveLog: (obj: SharePointConfiguration) => any;
2695
2715
  }
2716
+ export declare enum SlackEntity {
2717
+ DIRECT_MESSAGE = "DIRECT_MESSAGE",
2718
+ GROUP_MESSAGE = "GROUP_MESSAGE",
2719
+ PRIVATE_CHANNEL = "PRIVATE_CHANNEL",
2720
+ PUBLIC_CHANNEL = "PUBLIC_CHANNEL"
2721
+ }
2722
+ /**
2723
+ * <p>Provides the configuration information to connect to Slack as your
2724
+ * data source.</p>
2725
+ */
2726
+ export interface SlackConfiguration {
2727
+ /**
2728
+ * <p>The identifier of the team in the Slack workspace. For example,
2729
+ * <i>T0123456789</i>.</p>
2730
+ * <p>You can find your team ID in the URL of the main page of your Slack workspace.
2731
+ * When you log in to Slack via a browser, you are directed to the URL of the main
2732
+ * page. For example, <i>https://app.slack.com/client/<b>T0123456789</b>/...</i>.</p>
2733
+ */
2734
+ TeamId: string | undefined;
2735
+ /**
2736
+ * <p>The Amazon Resource Name (ARN) of an Secrets Manager secret that contains
2737
+ * the key-value pairs required to connect to your Slack workspace team. The secret
2738
+ * must contain a JSON structure with the following keys:</p>
2739
+ * <ul>
2740
+ * <li>
2741
+ * <p>slackToken—The user or bot token created in Slack. For more
2742
+ * information on creating a token in Slack, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-slack.html#slack-authentication">Authentication
2743
+ * for a Slack data source</a>.</p>
2744
+ * </li>
2745
+ * </ul>
2746
+ */
2747
+ SecretArn: string | undefined;
2748
+ /**
2749
+ * <p>Configuration information for an Amazon Virtual Private Cloud to connect to your Slack.
2750
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html">Configuring a VPC</a>.</p>
2751
+ */
2752
+ VpcConfiguration?: DataSourceVpcConfiguration;
2753
+ /**
2754
+ * <p>Specify whether to index public channels, private channels, group messages, and
2755
+ * direct messages. You can specify one or more of these options.</p>
2756
+ */
2757
+ SlackEntityList: (SlackEntity | string)[] | undefined;
2758
+ /**
2759
+ * <p>
2760
+ * <code>TRUE</code> to use the Slack change log to determine which documents
2761
+ * require updating in the index. Depending on the Slack change log's
2762
+ * size, it may take longer for Amazon Kendra to use the change log than to
2763
+ * scan all of your documents in Slack.</p>
2764
+ */
2765
+ UseChangeLog?: boolean;
2766
+ /**
2767
+ * <p>
2768
+ * <code>TRUE</code> to index bot messages from your Slack workspace team.</p>
2769
+ */
2770
+ CrawlBotMessage?: boolean;
2771
+ /**
2772
+ * <p>
2773
+ * <code>TRUE</code> to exclude archived messages to index from your Slack
2774
+ * workspace team.</p>
2775
+ */
2776
+ ExcludeArchived?: boolean;
2777
+ /**
2778
+ * <p>The date to start crawling your data from your Slack workspace team. The date
2779
+ * must follow this format: <code>yyyy-mm-dd</code>.</p>
2780
+ */
2781
+ SinceCrawlDate: string | undefined;
2782
+ /**
2783
+ * <p>The number of hours for change log to look back from when you last synchronized
2784
+ * your data. You can look back up to 7 days or 168 hours.</p>
2785
+ * <p>Change log updates your index only if new content was added since you
2786
+ * last synced your data. Updated or deleted content from before you last synced
2787
+ * does not get updated in your index. To capture updated or deleted content before you
2788
+ * last synced, set the <code>LookBackPeriod</code> to the number of hours you want
2789
+ * change log to look back.</p>
2790
+ */
2791
+ LookBackPeriod?: number;
2792
+ /**
2793
+ * <p>The list of private channel names from your Slack workspace team. You use this if
2794
+ * you want to index specific private channels, not all private channels. You can also
2795
+ * use regular expression patterns to filter private channels.</p>
2796
+ */
2797
+ PrivateChannelFilter?: string[];
2798
+ /**
2799
+ * <p>The list of public channel names to index from your Slack workspace team. You use
2800
+ * this if you want to index specific public channels, not all public channels. You can
2801
+ * also use regular expression patterns to filter public channels.</p>
2802
+ */
2803
+ PublicChannelFilter?: string[];
2804
+ /**
2805
+ * <p>A list of regular expression patterns to include certain attached files in your Slack
2806
+ * workspace team. Files that match the patterns are included in the index. Files that
2807
+ * don't match the patterns are excluded from the index. If a file matches both
2808
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
2809
+ * file isn't included in the index.</p>
2810
+ */
2811
+ InclusionPatterns?: string[];
2812
+ /**
2813
+ * <p>A list of regular expression patterns to exclude certain attached files in your Slack
2814
+ * workspace team. Files that match the patterns are excluded from the index. Files that
2815
+ * don’t match the patterns are included in the index. If a file matches both
2816
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file
2817
+ * isn't included in the index.</p>
2818
+ */
2819
+ ExclusionPatterns?: string[];
2820
+ /**
2821
+ * <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map Slack data
2822
+ * source attributes or field names to Amazon Kendra index field names. To create
2823
+ * custom fields, use the <code>UpdateIndex</code> API before you map to Slack fields.
2824
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping data source fields</a>.
2825
+ * The Slack data source field names must exist in your Slack custom metadata.</p>
2826
+ */
2827
+ FieldMappings?: DataSourceToIndexFieldMapping[];
2828
+ }
2829
+ export declare namespace SlackConfiguration {
2830
+ /**
2831
+ * @internal
2832
+ */
2833
+ const filterSensitiveLog: (obj: SlackConfiguration) => any;
2834
+ }
2696
2835
  /**
2697
2836
  * <p>Provides the configuration information for a web proxy to connect to
2698
2837
  * website hosts.</p>
@@ -2894,15 +3033,19 @@ export interface WebCrawlerConfiguration {
2894
3033
  */
2895
3034
  MaxUrlsPerMinuteCrawlRate?: number;
2896
3035
  /**
2897
- * <p>The regular expression pattern to include certain URLs to crawl.</p>
2898
- * <p>If there is a regular expression pattern to exclude certain URLs that
2899
- * conflicts with the include pattern, the exclude pattern takes precedence.</p>
3036
+ * <p>A list of regular expression patterns to include certain URLs to crawl. URLs
3037
+ * that match the patterns are included in the index. URLs that
3038
+ * don't match the patterns are excluded from the index. If a URL matches both
3039
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
3040
+ * URL file isn't included in the index.</p>
2900
3041
  */
2901
3042
  UrlInclusionPatterns?: string[];
2902
3043
  /**
2903
- * <p>The regular expression pattern to exclude certain URLs to crawl.</p>
2904
- * <p>If there is a regular expression pattern to include certain URLs that
2905
- * conflicts with the exclude pattern, the exclude pattern takes precedence.</p>
3044
+ * <p>A list of regular expression patterns to exclude certain URLs to crawl. URLs
3045
+ * that match the patterns are excluded from the index. URLs that
3046
+ * don't match the patterns are included in the index. If a URL matches both
3047
+ * an inclusion and exclusion pattern, the exclusion pattern takes precedence and the
3048
+ * URL file isn't included in the index.</p>
2906
3049
  */
2907
3050
  UrlExclusionPatterns?: string[];
2908
3051
  /**
@@ -2962,41 +3105,38 @@ export interface WorkDocsConfiguration {
2962
3105
  CrawlComments?: boolean;
2963
3106
  /**
2964
3107
  * <p>
2965
- * <code>TRUE</code> to use the change logs to update documents in your
2966
- * index instead of scanning all documents.</p>
2967
- * <p>If you are syncing your Amazon WorkDocs data source with your index for the
2968
- * first time, all documents are scanned. After your first sync, you can
2969
- * use the change logs to update your documents in your index for
2970
- * future syncs.</p>
2971
- * <p>The default is set to <code>FALSE</code>.</p>
3108
+ * <code>TRUE</code> to use the Amazon WorkDocs change log to determine
3109
+ * which documents require updating in the index. Depending on the change log's
3110
+ * size, it may take longer for Amazon Kendra to use the change log than to
3111
+ * scan all of your documents in Amazon WorkDocs.</p>
2972
3112
  */
2973
3113
  UseChangeLog?: boolean;
2974
3114
  /**
2975
3115
  * <p>A list of regular expression patterns to include certain files
2976
3116
  * in your Amazon WorkDocs site repository. Files that match the patterns
2977
3117
  * are included in the index. Files that don't match the patterns are
2978
- * excluded from the index. If a file matches both an inclusion pattern
2979
- * and an exclusion pattern, the exclusion pattern takes precedence and
2980
- * the file isn’t included in the index.</p>
3118
+ * excluded from the index. If a file matches both an inclusion and exclusion
3119
+ * pattern, the exclusion pattern takes precedence and the file isn't included
3120
+ * in the index.</p>
2981
3121
  */
2982
3122
  InclusionPatterns?: string[];
2983
3123
  /**
2984
3124
  * <p>A list of regular expression patterns to exclude certain files
2985
3125
  * in your Amazon WorkDocs site repository. Files that match the patterns
2986
3126
  * are excluded from the index. Files that don’t match the patterns
2987
- * are included in the index. If a file matches both an inclusion
2988
- * pattern and an exclusion pattern, the exclusion pattern takes
2989
- * precedence and the file isn’t included in the index.</p>
3127
+ * are included in the index. If a file matches both an inclusion and exclusion
3128
+ * pattern, the exclusion pattern takes precedence and the file isn't included
3129
+ * in the index.</p>
2990
3130
  */
2991
3131
  ExclusionPatterns?: string[];
2992
3132
  /**
2993
- * <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map
2994
- * Amazon WorkDocs field names to custom index field names in Amazon Kendra. You must first
2995
- * create the custom index fields using the <code>UpdateIndex</code> API before
2996
- * you map to Amazon WorkDocs fields. For more information, see
2997
- * <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping
2998
- * Data Source Fields</a>. The Amazon WorkDocs data source field names
2999
- * need to exist in your Amazon WorkDocs custom metadata.</p>
3133
+ * <p>A list of <code>DataSourceToIndexFieldMapping</code> objects that
3134
+ * map Amazon WorkDocs data source attributes or field names to Amazon Kendra
3135
+ * index field names. To create custom fields, use the
3136
+ * <code>UpdateIndex</code> API before you map to Amazon WorkDocs fields.
3137
+ * For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html">Mapping
3138
+ * data source fields</a>. The Amazon WorkDocs data source field names
3139
+ * must exist in your Amazon WorkDocs custom metadata.</p>
3000
3140
  */
3001
3141
  FieldMappings?: DataSourceToIndexFieldMapping[];
3002
3142
  }
@@ -3041,13 +3181,13 @@ export interface DataSourceConfiguration {
3041
3181
  */
3042
3182
  ServiceNowConfiguration?: ServiceNowConfiguration;
3043
3183
  /**
3044
- * <p>Provides configuration information for connecting to a Confluence
3045
- * data source.</p>
3184
+ * <p>Provides the configuration information to connect to Confluence
3185
+ * as your data source.</p>
3046
3186
  */
3047
3187
  ConfluenceConfiguration?: ConfluenceConfiguration;
3048
3188
  /**
3049
3189
  * <p>Provides the configuration information to connect to Google
3050
- * Drive as your data source. </p>
3190
+ * Drive as your data source.</p>
3051
3191
  */
3052
3192
  GoogleDriveConfiguration?: GoogleDriveConfiguration;
3053
3193
  /**
@@ -3065,6 +3205,11 @@ export interface DataSourceConfiguration {
3065
3205
  * your data source.</p>
3066
3206
  */
3067
3207
  FsxConfiguration?: FsxConfiguration;
3208
+ /**
3209
+ * <p>Provides the configuration information to connect to Slack as your
3210
+ * data source.</p>
3211
+ */
3212
+ SlackConfiguration?: SlackConfiguration;
3068
3213
  }
3069
3214
  export declare namespace DataSourceConfiguration {
3070
3215
  /**
@@ -3106,6 +3251,7 @@ export declare enum DataSourceType {
3106
3251
  SALESFORCE = "SALESFORCE",
3107
3252
  SERVICENOW = "SERVICENOW",
3108
3253
  SHAREPOINT = "SHAREPOINT",
3254
+ SLACK = "SLACK",
3109
3255
  WEBCRAWLER = "WEBCRAWLER",
3110
3256
  WORKDOCS = "WORKDOCS"
3111
3257
  }