@aws-sdk/client-kendra 3.298.0 → 3.300.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 (61) hide show
  1. package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +10 -0
  2. package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +10 -0
  3. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +10 -0
  4. package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +21 -0
  5. package/dist-types/commands/BatchPutDocumentCommand.d.ts +114 -0
  6. package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +3 -0
  7. package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +26 -0
  8. package/dist-types/commands/CreateDataSourceCommand.d.ts +739 -0
  9. package/dist-types/commands/CreateExperienceCommand.d.ts +21 -0
  10. package/dist-types/commands/CreateFaqCommand.d.ts +19 -0
  11. package/dist-types/commands/CreateIndexCommand.d.ts +37 -0
  12. package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +17 -0
  13. package/dist-types/commands/CreateThesaurusCommand.d.ts +17 -0
  14. package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteDataSourceCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteExperienceCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteFaqCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteIndexCommand.d.ts +3 -0
  19. package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +6 -0
  20. package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +4 -0
  21. package/dist-types/commands/DeleteThesaurusCommand.d.ts +4 -0
  22. package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +4 -0
  23. package/dist-types/commands/DescribeDataSourceCommand.d.ts +4 -0
  24. package/dist-types/commands/DescribeExperienceCommand.d.ts +4 -0
  25. package/dist-types/commands/DescribeFaqCommand.d.ts +4 -0
  26. package/dist-types/commands/DescribeIndexCommand.d.ts +3 -0
  27. package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +5 -0
  28. package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +4 -0
  29. package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +3 -0
  30. package/dist-types/commands/DescribeThesaurusCommand.d.ts +4 -0
  31. package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +10 -0
  32. package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +7 -0
  33. package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +5 -0
  34. package/dist-types/commands/GetSnapshotsCommand.d.ts +7 -0
  35. package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +5 -0
  36. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +11 -0
  37. package/dist-types/commands/ListDataSourcesCommand.d.ts +5 -0
  38. package/dist-types/commands/ListEntityPersonasCommand.d.ts +6 -0
  39. package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +5 -0
  40. package/dist-types/commands/ListExperiencesCommand.d.ts +5 -0
  41. package/dist-types/commands/ListFaqsCommand.d.ts +5 -0
  42. package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +7 -0
  43. package/dist-types/commands/ListIndicesCommand.d.ts +4 -0
  44. package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +5 -0
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  46. package/dist-types/commands/ListThesauriCommand.d.ts +5 -0
  47. package/dist-types/commands/PutPrincipalMappingCommand.d.ts +24 -0
  48. package/dist-types/commands/QueryCommand.d.ts +264 -0
  49. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +4 -0
  50. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +4 -0
  51. package/dist-types/commands/SubmitFeedbackCommand.d.ts +16 -0
  52. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  53. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  54. package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +26 -0
  55. package/dist-types/commands/UpdateDataSourceCommand.d.ts +732 -0
  56. package/dist-types/commands/UpdateExperienceCommand.d.ts +21 -0
  57. package/dist-types/commands/UpdateIndexCommand.d.ts +52 -0
  58. package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +11 -0
  59. package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +8 -0
  60. package/dist-types/commands/UpdateThesaurusCommand.d.ts +11 -0
  61. package/package.json +12 -12
@@ -38,6 +38,745 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
38
38
  * import { KendraClient, CreateDataSourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
39
39
  * // const { KendraClient, CreateDataSourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
40
40
  * const client = new KendraClient(config);
41
+ * const input = {
42
+ * Name: "STRING_VALUE", // required
43
+ * IndexId: "STRING_VALUE", // required
44
+ * Type: "S3" || "SHAREPOINT" || "DATABASE" || "SALESFORCE" || "ONEDRIVE" || "SERVICENOW" || "CUSTOM" || "CONFLUENCE" || "GOOGLEDRIVE" || "WEBCRAWLER" || "WORKDOCS" || "FSX" || "SLACK" || "BOX" || "QUIP" || "JIRA" || "GITHUB" || "ALFRESCO" || "TEMPLATE", // required
45
+ * Configuration: {
46
+ * S3Configuration: {
47
+ * BucketName: "STRING_VALUE", // required
48
+ * InclusionPrefixes: [
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * InclusionPatterns: [
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * ExclusionPatterns: [
55
+ * "STRING_VALUE",
56
+ * ],
57
+ * DocumentsMetadataConfiguration: {
58
+ * S3Prefix: "STRING_VALUE",
59
+ * },
60
+ * AccessControlListConfiguration: {
61
+ * KeyPath: "STRING_VALUE",
62
+ * },
63
+ * },
64
+ * SharePointConfiguration: {
65
+ * SharePointVersion: "SHAREPOINT_2013" || "SHAREPOINT_2016" || "SHAREPOINT_ONLINE" || "SHAREPOINT_2019", // required
66
+ * Urls: [ // required
67
+ * "STRING_VALUE",
68
+ * ],
69
+ * SecretArn: "STRING_VALUE", // required
70
+ * CrawlAttachments: true || false,
71
+ * UseChangeLog: true || false,
72
+ * InclusionPatterns: [
73
+ * "STRING_VALUE",
74
+ * ],
75
+ * ExclusionPatterns: [
76
+ * "STRING_VALUE",
77
+ * ],
78
+ * VpcConfiguration: {
79
+ * SubnetIds: [ // required
80
+ * "STRING_VALUE",
81
+ * ],
82
+ * SecurityGroupIds: [ // required
83
+ * "STRING_VALUE",
84
+ * ],
85
+ * },
86
+ * FieldMappings: [
87
+ * {
88
+ * DataSourceFieldName: "STRING_VALUE", // required
89
+ * DateFieldFormat: "STRING_VALUE",
90
+ * IndexFieldName: "STRING_VALUE", // required
91
+ * },
92
+ * ],
93
+ * DocumentTitleFieldName: "STRING_VALUE",
94
+ * DisableLocalGroups: true || false,
95
+ * SslCertificateS3Path: {
96
+ * Bucket: "STRING_VALUE", // required
97
+ * Key: "STRING_VALUE", // required
98
+ * },
99
+ * AuthenticationType: "HTTP_BASIC" || "OAUTH2",
100
+ * ProxyConfiguration: {
101
+ * Host: "STRING_VALUE", // required
102
+ * Port: Number("int"), // required
103
+ * Credentials: "STRING_VALUE",
104
+ * },
105
+ * },
106
+ * DatabaseConfiguration: {
107
+ * DatabaseEngineType: "RDS_AURORA_MYSQL" || "RDS_AURORA_POSTGRESQL" || "RDS_MYSQL" || "RDS_POSTGRESQL", // required
108
+ * ConnectionConfiguration: {
109
+ * DatabaseHost: "STRING_VALUE", // required
110
+ * DatabasePort: Number("int"), // required
111
+ * DatabaseName: "STRING_VALUE", // required
112
+ * TableName: "STRING_VALUE", // required
113
+ * SecretArn: "STRING_VALUE", // required
114
+ * },
115
+ * VpcConfiguration: {
116
+ * SubnetIds: [ // required
117
+ * "STRING_VALUE",
118
+ * ],
119
+ * SecurityGroupIds: [ // required
120
+ * "STRING_VALUE",
121
+ * ],
122
+ * },
123
+ * ColumnConfiguration: {
124
+ * DocumentIdColumnName: "STRING_VALUE", // required
125
+ * DocumentDataColumnName: "STRING_VALUE", // required
126
+ * DocumentTitleColumnName: "STRING_VALUE",
127
+ * FieldMappings: [
128
+ * {
129
+ * DataSourceFieldName: "STRING_VALUE", // required
130
+ * DateFieldFormat: "STRING_VALUE",
131
+ * IndexFieldName: "STRING_VALUE", // required
132
+ * },
133
+ * ],
134
+ * ChangeDetectingColumns: [ // required
135
+ * "STRING_VALUE",
136
+ * ],
137
+ * },
138
+ * AclConfiguration: {
139
+ * AllowedGroupsColumnName: "STRING_VALUE", // required
140
+ * },
141
+ * SqlConfiguration: {
142
+ * QueryIdentifiersEnclosingOption: "DOUBLE_QUOTES" || "NONE",
143
+ * },
144
+ * },
145
+ * SalesforceConfiguration: {
146
+ * ServerUrl: "STRING_VALUE", // required
147
+ * SecretArn: "STRING_VALUE", // required
148
+ * StandardObjectConfigurations: [
149
+ * {
150
+ * Name: "ACCOUNT" || "CAMPAIGN" || "CASE" || "CONTACT" || "CONTRACT" || "DOCUMENT" || "GROUP" || "IDEA" || "LEAD" || "OPPORTUNITY" || "PARTNER" || "PRICEBOOK" || "PRODUCT" || "PROFILE" || "SOLUTION" || "TASK" || "USER", // required
151
+ * DocumentDataFieldName: "STRING_VALUE", // required
152
+ * DocumentTitleFieldName: "STRING_VALUE",
153
+ * FieldMappings: [
154
+ * "<DataSourceToIndexFieldMappingList>",
155
+ * ],
156
+ * },
157
+ * ],
158
+ * KnowledgeArticleConfiguration: {
159
+ * IncludedStates: [ // required
160
+ * "DRAFT" || "PUBLISHED" || "ARCHIVED",
161
+ * ],
162
+ * StandardKnowledgeArticleTypeConfiguration: {
163
+ * DocumentDataFieldName: "STRING_VALUE", // required
164
+ * DocumentTitleFieldName: "STRING_VALUE",
165
+ * FieldMappings: [
166
+ * "<DataSourceToIndexFieldMappingList>",
167
+ * ],
168
+ * },
169
+ * CustomKnowledgeArticleTypeConfigurations: [
170
+ * {
171
+ * Name: "STRING_VALUE", // required
172
+ * DocumentDataFieldName: "STRING_VALUE", // required
173
+ * DocumentTitleFieldName: "STRING_VALUE",
174
+ * FieldMappings: [
175
+ * "<DataSourceToIndexFieldMappingList>",
176
+ * ],
177
+ * },
178
+ * ],
179
+ * },
180
+ * ChatterFeedConfiguration: {
181
+ * DocumentDataFieldName: "STRING_VALUE", // required
182
+ * DocumentTitleFieldName: "STRING_VALUE",
183
+ * FieldMappings: [
184
+ * "<DataSourceToIndexFieldMappingList>",
185
+ * ],
186
+ * IncludeFilterTypes: [
187
+ * "ACTIVE_USER" || "STANDARD_USER",
188
+ * ],
189
+ * },
190
+ * CrawlAttachments: true || false,
191
+ * StandardObjectAttachmentConfiguration: {
192
+ * DocumentTitleFieldName: "STRING_VALUE",
193
+ * FieldMappings: [
194
+ * "<DataSourceToIndexFieldMappingList>",
195
+ * ],
196
+ * },
197
+ * IncludeAttachmentFilePatterns: [
198
+ * "STRING_VALUE",
199
+ * ],
200
+ * ExcludeAttachmentFilePatterns: [
201
+ * "STRING_VALUE",
202
+ * ],
203
+ * },
204
+ * OneDriveConfiguration: {
205
+ * TenantDomain: "STRING_VALUE", // required
206
+ * SecretArn: "STRING_VALUE", // required
207
+ * OneDriveUsers: {
208
+ * OneDriveUserList: [
209
+ * "STRING_VALUE",
210
+ * ],
211
+ * OneDriveUserS3Path: {
212
+ * Bucket: "STRING_VALUE", // required
213
+ * Key: "STRING_VALUE", // required
214
+ * },
215
+ * },
216
+ * InclusionPatterns: [
217
+ * "STRING_VALUE",
218
+ * ],
219
+ * ExclusionPatterns: [
220
+ * "STRING_VALUE",
221
+ * ],
222
+ * FieldMappings: [
223
+ * "<DataSourceToIndexFieldMappingList>",
224
+ * ],
225
+ * DisableLocalGroups: true || false,
226
+ * },
227
+ * ServiceNowConfiguration: {
228
+ * HostUrl: "STRING_VALUE", // required
229
+ * SecretArn: "STRING_VALUE", // required
230
+ * ServiceNowBuildVersion: "LONDON" || "OTHERS", // required
231
+ * KnowledgeArticleConfiguration: {
232
+ * CrawlAttachments: true || false,
233
+ * IncludeAttachmentFilePatterns: [
234
+ * "STRING_VALUE",
235
+ * ],
236
+ * ExcludeAttachmentFilePatterns: [
237
+ * "STRING_VALUE",
238
+ * ],
239
+ * DocumentDataFieldName: "STRING_VALUE", // required
240
+ * DocumentTitleFieldName: "STRING_VALUE",
241
+ * FieldMappings: [
242
+ * "<DataSourceToIndexFieldMappingList>",
243
+ * ],
244
+ * FilterQuery: "STRING_VALUE",
245
+ * },
246
+ * ServiceCatalogConfiguration: {
247
+ * CrawlAttachments: true || false,
248
+ * IncludeAttachmentFilePatterns: [
249
+ * "STRING_VALUE",
250
+ * ],
251
+ * ExcludeAttachmentFilePatterns: [
252
+ * "STRING_VALUE",
253
+ * ],
254
+ * DocumentDataFieldName: "STRING_VALUE", // required
255
+ * DocumentTitleFieldName: "STRING_VALUE",
256
+ * FieldMappings: [
257
+ * "<DataSourceToIndexFieldMappingList>",
258
+ * ],
259
+ * },
260
+ * AuthenticationType: "HTTP_BASIC" || "OAUTH2",
261
+ * },
262
+ * ConfluenceConfiguration: {
263
+ * ServerUrl: "STRING_VALUE", // required
264
+ * SecretArn: "STRING_VALUE", // required
265
+ * Version: "CLOUD" || "SERVER", // required
266
+ * SpaceConfiguration: {
267
+ * CrawlPersonalSpaces: true || false,
268
+ * CrawlArchivedSpaces: true || false,
269
+ * IncludeSpaces: [
270
+ * "STRING_VALUE",
271
+ * ],
272
+ * ExcludeSpaces: [
273
+ * "STRING_VALUE",
274
+ * ],
275
+ * SpaceFieldMappings: [
276
+ * {
277
+ * DataSourceFieldName: "DISPLAY_URL" || "ITEM_TYPE" || "SPACE_KEY" || "URL",
278
+ * DateFieldFormat: "STRING_VALUE",
279
+ * IndexFieldName: "STRING_VALUE",
280
+ * },
281
+ * ],
282
+ * },
283
+ * PageConfiguration: {
284
+ * PageFieldMappings: [
285
+ * {
286
+ * DataSourceFieldName: "AUTHOR" || "CONTENT_STATUS" || "CREATED_DATE" || "DISPLAY_URL" || "ITEM_TYPE" || "LABELS" || "MODIFIED_DATE" || "PARENT_ID" || "SPACE_KEY" || "SPACE_NAME" || "URL" || "VERSION",
287
+ * DateFieldFormat: "STRING_VALUE",
288
+ * IndexFieldName: "STRING_VALUE",
289
+ * },
290
+ * ],
291
+ * },
292
+ * BlogConfiguration: {
293
+ * BlogFieldMappings: [
294
+ * {
295
+ * DataSourceFieldName: "AUTHOR" || "DISPLAY_URL" || "ITEM_TYPE" || "LABELS" || "PUBLISH_DATE" || "SPACE_KEY" || "SPACE_NAME" || "URL" || "VERSION",
296
+ * DateFieldFormat: "STRING_VALUE",
297
+ * IndexFieldName: "STRING_VALUE",
298
+ * },
299
+ * ],
300
+ * },
301
+ * AttachmentConfiguration: {
302
+ * CrawlAttachments: true || false,
303
+ * AttachmentFieldMappings: [
304
+ * {
305
+ * DataSourceFieldName: "AUTHOR" || "CONTENT_TYPE" || "CREATED_DATE" || "DISPLAY_URL" || "FILE_SIZE" || "ITEM_TYPE" || "PARENT_ID" || "SPACE_KEY" || "SPACE_NAME" || "URL" || "VERSION",
306
+ * DateFieldFormat: "STRING_VALUE",
307
+ * IndexFieldName: "STRING_VALUE",
308
+ * },
309
+ * ],
310
+ * },
311
+ * VpcConfiguration: {
312
+ * SubnetIds: [ // required
313
+ * "STRING_VALUE",
314
+ * ],
315
+ * SecurityGroupIds: [ // required
316
+ * "STRING_VALUE",
317
+ * ],
318
+ * },
319
+ * InclusionPatterns: [
320
+ * "STRING_VALUE",
321
+ * ],
322
+ * ExclusionPatterns: [
323
+ * "STRING_VALUE",
324
+ * ],
325
+ * ProxyConfiguration: {
326
+ * Host: "STRING_VALUE", // required
327
+ * Port: Number("int"), // required
328
+ * Credentials: "STRING_VALUE",
329
+ * },
330
+ * AuthenticationType: "HTTP_BASIC" || "PAT",
331
+ * },
332
+ * GoogleDriveConfiguration: {
333
+ * SecretArn: "STRING_VALUE", // required
334
+ * InclusionPatterns: [
335
+ * "STRING_VALUE",
336
+ * ],
337
+ * ExclusionPatterns: [
338
+ * "STRING_VALUE",
339
+ * ],
340
+ * FieldMappings: [
341
+ * "<DataSourceToIndexFieldMappingList>",
342
+ * ],
343
+ * ExcludeMimeTypes: [
344
+ * "STRING_VALUE",
345
+ * ],
346
+ * ExcludeUserAccounts: [
347
+ * "STRING_VALUE",
348
+ * ],
349
+ * ExcludeSharedDrives: [
350
+ * "STRING_VALUE",
351
+ * ],
352
+ * },
353
+ * WebCrawlerConfiguration: {
354
+ * Urls: {
355
+ * SeedUrlConfiguration: {
356
+ * SeedUrls: [ // required
357
+ * "STRING_VALUE",
358
+ * ],
359
+ * WebCrawlerMode: "HOST_ONLY" || "SUBDOMAINS" || "EVERYTHING",
360
+ * },
361
+ * SiteMapsConfiguration: {
362
+ * SiteMaps: [ // required
363
+ * "STRING_VALUE",
364
+ * ],
365
+ * },
366
+ * },
367
+ * CrawlDepth: Number("int"),
368
+ * MaxLinksPerPage: Number("int"),
369
+ * MaxContentSizePerPageInMegaBytes: Number("float"),
370
+ * MaxUrlsPerMinuteCrawlRate: Number("int"),
371
+ * UrlInclusionPatterns: [
372
+ * "STRING_VALUE",
373
+ * ],
374
+ * UrlExclusionPatterns: [
375
+ * "STRING_VALUE",
376
+ * ],
377
+ * ProxyConfiguration: {
378
+ * Host: "STRING_VALUE", // required
379
+ * Port: Number("int"), // required
380
+ * Credentials: "STRING_VALUE",
381
+ * },
382
+ * AuthenticationConfiguration: {
383
+ * BasicAuthentication: [
384
+ * {
385
+ * Host: "STRING_VALUE", // required
386
+ * Port: Number("int"), // required
387
+ * Credentials: "STRING_VALUE", // required
388
+ * },
389
+ * ],
390
+ * },
391
+ * },
392
+ * WorkDocsConfiguration: {
393
+ * OrganizationId: "STRING_VALUE", // required
394
+ * CrawlComments: true || false,
395
+ * UseChangeLog: true || false,
396
+ * InclusionPatterns: [
397
+ * "STRING_VALUE",
398
+ * ],
399
+ * ExclusionPatterns: [
400
+ * "STRING_VALUE",
401
+ * ],
402
+ * FieldMappings: [
403
+ * "<DataSourceToIndexFieldMappingList>",
404
+ * ],
405
+ * },
406
+ * FsxConfiguration: {
407
+ * FileSystemId: "STRING_VALUE", // required
408
+ * FileSystemType: "WINDOWS", // required
409
+ * VpcConfiguration: {
410
+ * SubnetIds: [ // required
411
+ * "STRING_VALUE",
412
+ * ],
413
+ * SecurityGroupIds: [ // required
414
+ * "STRING_VALUE",
415
+ * ],
416
+ * },
417
+ * SecretArn: "STRING_VALUE",
418
+ * InclusionPatterns: [
419
+ * "STRING_VALUE",
420
+ * ],
421
+ * ExclusionPatterns: [
422
+ * "STRING_VALUE",
423
+ * ],
424
+ * FieldMappings: [
425
+ * "<DataSourceToIndexFieldMappingList>",
426
+ * ],
427
+ * },
428
+ * SlackConfiguration: {
429
+ * TeamId: "STRING_VALUE", // required
430
+ * SecretArn: "STRING_VALUE", // required
431
+ * VpcConfiguration: {
432
+ * SubnetIds: [ // required
433
+ * "STRING_VALUE",
434
+ * ],
435
+ * SecurityGroupIds: [ // required
436
+ * "STRING_VALUE",
437
+ * ],
438
+ * },
439
+ * SlackEntityList: [ // required
440
+ * "PUBLIC_CHANNEL" || "PRIVATE_CHANNEL" || "GROUP_MESSAGE" || "DIRECT_MESSAGE",
441
+ * ],
442
+ * UseChangeLog: true || false,
443
+ * CrawlBotMessage: true || false,
444
+ * ExcludeArchived: true || false,
445
+ * SinceCrawlDate: "STRING_VALUE", // required
446
+ * LookBackPeriod: Number("int"),
447
+ * PrivateChannelFilter: [
448
+ * "STRING_VALUE",
449
+ * ],
450
+ * PublicChannelFilter: [
451
+ * "STRING_VALUE",
452
+ * ],
453
+ * InclusionPatterns: [
454
+ * "STRING_VALUE",
455
+ * ],
456
+ * ExclusionPatterns: [
457
+ * "STRING_VALUE",
458
+ * ],
459
+ * FieldMappings: [
460
+ * "<DataSourceToIndexFieldMappingList>",
461
+ * ],
462
+ * },
463
+ * BoxConfiguration: {
464
+ * EnterpriseId: "STRING_VALUE", // required
465
+ * SecretArn: "STRING_VALUE", // required
466
+ * UseChangeLog: true || false,
467
+ * CrawlComments: true || false,
468
+ * CrawlTasks: true || false,
469
+ * CrawlWebLinks: true || false,
470
+ * FileFieldMappings: [
471
+ * "<DataSourceToIndexFieldMappingList>",
472
+ * ],
473
+ * TaskFieldMappings: [
474
+ * "<DataSourceToIndexFieldMappingList>",
475
+ * ],
476
+ * CommentFieldMappings: [
477
+ * "<DataSourceToIndexFieldMappingList>",
478
+ * ],
479
+ * WebLinkFieldMappings: [
480
+ * "<DataSourceToIndexFieldMappingList>",
481
+ * ],
482
+ * InclusionPatterns: [
483
+ * "STRING_VALUE",
484
+ * ],
485
+ * ExclusionPatterns: [
486
+ * "STRING_VALUE",
487
+ * ],
488
+ * VpcConfiguration: {
489
+ * SubnetIds: [ // required
490
+ * "STRING_VALUE",
491
+ * ],
492
+ * SecurityGroupIds: [ // required
493
+ * "STRING_VALUE",
494
+ * ],
495
+ * },
496
+ * },
497
+ * QuipConfiguration: {
498
+ * Domain: "STRING_VALUE", // required
499
+ * SecretArn: "STRING_VALUE", // required
500
+ * CrawlFileComments: true || false,
501
+ * CrawlChatRooms: true || false,
502
+ * CrawlAttachments: true || false,
503
+ * FolderIds: [
504
+ * "STRING_VALUE",
505
+ * ],
506
+ * ThreadFieldMappings: [
507
+ * "<DataSourceToIndexFieldMappingList>",
508
+ * ],
509
+ * MessageFieldMappings: [
510
+ * "<DataSourceToIndexFieldMappingList>",
511
+ * ],
512
+ * AttachmentFieldMappings: [
513
+ * "<DataSourceToIndexFieldMappingList>",
514
+ * ],
515
+ * InclusionPatterns: [
516
+ * "STRING_VALUE",
517
+ * ],
518
+ * ExclusionPatterns: [
519
+ * "STRING_VALUE",
520
+ * ],
521
+ * VpcConfiguration: {
522
+ * SubnetIds: [ // required
523
+ * "STRING_VALUE",
524
+ * ],
525
+ * SecurityGroupIds: [ // required
526
+ * "STRING_VALUE",
527
+ * ],
528
+ * },
529
+ * },
530
+ * JiraConfiguration: {
531
+ * JiraAccountUrl: "STRING_VALUE", // required
532
+ * SecretArn: "STRING_VALUE", // required
533
+ * UseChangeLog: true || false,
534
+ * Project: [
535
+ * "STRING_VALUE",
536
+ * ],
537
+ * IssueType: [
538
+ * "STRING_VALUE",
539
+ * ],
540
+ * Status: [
541
+ * "STRING_VALUE",
542
+ * ],
543
+ * IssueSubEntityFilter: [
544
+ * "COMMENTS" || "ATTACHMENTS" || "WORKLOGS",
545
+ * ],
546
+ * AttachmentFieldMappings: [
547
+ * "<DataSourceToIndexFieldMappingList>",
548
+ * ],
549
+ * CommentFieldMappings: [
550
+ * "<DataSourceToIndexFieldMappingList>",
551
+ * ],
552
+ * IssueFieldMappings: [
553
+ * "<DataSourceToIndexFieldMappingList>",
554
+ * ],
555
+ * ProjectFieldMappings: [
556
+ * "<DataSourceToIndexFieldMappingList>",
557
+ * ],
558
+ * WorkLogFieldMappings: [
559
+ * "<DataSourceToIndexFieldMappingList>",
560
+ * ],
561
+ * InclusionPatterns: [
562
+ * "STRING_VALUE",
563
+ * ],
564
+ * ExclusionPatterns: [
565
+ * "STRING_VALUE",
566
+ * ],
567
+ * VpcConfiguration: {
568
+ * SubnetIds: [ // required
569
+ * "STRING_VALUE",
570
+ * ],
571
+ * SecurityGroupIds: [ // required
572
+ * "STRING_VALUE",
573
+ * ],
574
+ * },
575
+ * },
576
+ * GitHubConfiguration: {
577
+ * SaaSConfiguration: {
578
+ * OrganizationName: "STRING_VALUE", // required
579
+ * HostUrl: "STRING_VALUE", // required
580
+ * },
581
+ * OnPremiseConfiguration: {
582
+ * HostUrl: "STRING_VALUE", // required
583
+ * OrganizationName: "STRING_VALUE", // required
584
+ * SslCertificateS3Path: {
585
+ * Bucket: "STRING_VALUE", // required
586
+ * Key: "STRING_VALUE", // required
587
+ * },
588
+ * },
589
+ * Type: "SAAS" || "ON_PREMISE",
590
+ * SecretArn: "STRING_VALUE", // required
591
+ * UseChangeLog: true || false,
592
+ * GitHubDocumentCrawlProperties: {
593
+ * CrawlRepositoryDocuments: true || false,
594
+ * CrawlIssue: true || false,
595
+ * CrawlIssueComment: true || false,
596
+ * CrawlIssueCommentAttachment: true || false,
597
+ * CrawlPullRequest: true || false,
598
+ * CrawlPullRequestComment: true || false,
599
+ * CrawlPullRequestCommentAttachment: true || false,
600
+ * },
601
+ * RepositoryFilter: [
602
+ * "STRING_VALUE",
603
+ * ],
604
+ * InclusionFolderNamePatterns: [
605
+ * "STRING_VALUE",
606
+ * ],
607
+ * InclusionFileTypePatterns: [
608
+ * "STRING_VALUE",
609
+ * ],
610
+ * InclusionFileNamePatterns: [
611
+ * "STRING_VALUE",
612
+ * ],
613
+ * ExclusionFolderNamePatterns: [
614
+ * "STRING_VALUE",
615
+ * ],
616
+ * ExclusionFileTypePatterns: [
617
+ * "STRING_VALUE",
618
+ * ],
619
+ * ExclusionFileNamePatterns: [
620
+ * "STRING_VALUE",
621
+ * ],
622
+ * VpcConfiguration: {
623
+ * SubnetIds: [ // required
624
+ * "STRING_VALUE",
625
+ * ],
626
+ * SecurityGroupIds: [ // required
627
+ * "STRING_VALUE",
628
+ * ],
629
+ * },
630
+ * GitHubRepositoryConfigurationFieldMappings: [
631
+ * "<DataSourceToIndexFieldMappingList>",
632
+ * ],
633
+ * GitHubCommitConfigurationFieldMappings: [
634
+ * "<DataSourceToIndexFieldMappingList>",
635
+ * ],
636
+ * GitHubIssueDocumentConfigurationFieldMappings: [
637
+ * "<DataSourceToIndexFieldMappingList>",
638
+ * ],
639
+ * GitHubIssueCommentConfigurationFieldMappings: [
640
+ * "<DataSourceToIndexFieldMappingList>",
641
+ * ],
642
+ * GitHubIssueAttachmentConfigurationFieldMappings: [
643
+ * "<DataSourceToIndexFieldMappingList>",
644
+ * ],
645
+ * GitHubPullRequestCommentConfigurationFieldMappings: [
646
+ * "<DataSourceToIndexFieldMappingList>",
647
+ * ],
648
+ * GitHubPullRequestDocumentConfigurationFieldMappings: [
649
+ * "<DataSourceToIndexFieldMappingList>",
650
+ * ],
651
+ * GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: [
652
+ * "<DataSourceToIndexFieldMappingList>",
653
+ * ],
654
+ * },
655
+ * AlfrescoConfiguration: {
656
+ * SiteUrl: "STRING_VALUE", // required
657
+ * SiteId: "STRING_VALUE", // required
658
+ * SecretArn: "STRING_VALUE", // required
659
+ * SslCertificateS3Path: {
660
+ * Bucket: "STRING_VALUE", // required
661
+ * Key: "STRING_VALUE", // required
662
+ * },
663
+ * CrawlSystemFolders: true || false,
664
+ * CrawlComments: true || false,
665
+ * EntityFilter: [
666
+ * "wiki" || "blog" || "documentLibrary",
667
+ * ],
668
+ * DocumentLibraryFieldMappings: [
669
+ * "<DataSourceToIndexFieldMappingList>",
670
+ * ],
671
+ * BlogFieldMappings: [
672
+ * "<DataSourceToIndexFieldMappingList>",
673
+ * ],
674
+ * WikiFieldMappings: [
675
+ * "<DataSourceToIndexFieldMappingList>",
676
+ * ],
677
+ * InclusionPatterns: [
678
+ * "STRING_VALUE",
679
+ * ],
680
+ * ExclusionPatterns: [
681
+ * "STRING_VALUE",
682
+ * ],
683
+ * VpcConfiguration: {
684
+ * SubnetIds: [ // required
685
+ * "STRING_VALUE",
686
+ * ],
687
+ * SecurityGroupIds: [ // required
688
+ * "STRING_VALUE",
689
+ * ],
690
+ * },
691
+ * },
692
+ * TemplateConfiguration: {
693
+ * Template: "DOCUMENT_VALUE",
694
+ * },
695
+ * },
696
+ * VpcConfiguration: {
697
+ * SubnetIds: [ // required
698
+ * "STRING_VALUE",
699
+ * ],
700
+ * SecurityGroupIds: [ // required
701
+ * "STRING_VALUE",
702
+ * ],
703
+ * },
704
+ * Description: "STRING_VALUE",
705
+ * Schedule: "STRING_VALUE",
706
+ * RoleArn: "STRING_VALUE",
707
+ * Tags: [
708
+ * {
709
+ * Key: "STRING_VALUE", // required
710
+ * Value: "STRING_VALUE", // required
711
+ * },
712
+ * ],
713
+ * ClientToken: "STRING_VALUE",
714
+ * LanguageCode: "STRING_VALUE",
715
+ * CustomDocumentEnrichmentConfiguration: {
716
+ * InlineConfigurations: [
717
+ * {
718
+ * Condition: {
719
+ * ConditionDocumentAttributeKey: "STRING_VALUE", // required
720
+ * Operator: "GreaterThan" || "GreaterThanOrEquals" || "LessThan" || "LessThanOrEquals" || "Equals" || "NotEquals" || "Contains" || "NotContains" || "Exists" || "NotExists" || "BeginsWith", // required
721
+ * ConditionOnValue: {
722
+ * StringValue: "STRING_VALUE",
723
+ * StringListValue: [
724
+ * "STRING_VALUE",
725
+ * ],
726
+ * LongValue: Number("long"),
727
+ * DateValue: new Date("TIMESTAMP"),
728
+ * },
729
+ * },
730
+ * Target: {
731
+ * TargetDocumentAttributeKey: "STRING_VALUE",
732
+ * TargetDocumentAttributeValueDeletion: true || false,
733
+ * TargetDocumentAttributeValue: {
734
+ * StringValue: "STRING_VALUE",
735
+ * StringListValue: [
736
+ * "STRING_VALUE",
737
+ * ],
738
+ * LongValue: Number("long"),
739
+ * DateValue: new Date("TIMESTAMP"),
740
+ * },
741
+ * },
742
+ * DocumentContentDeletion: true || false,
743
+ * },
744
+ * ],
745
+ * PreExtractionHookConfiguration: {
746
+ * InvocationCondition: {
747
+ * ConditionDocumentAttributeKey: "STRING_VALUE", // required
748
+ * Operator: "GreaterThan" || "GreaterThanOrEquals" || "LessThan" || "LessThanOrEquals" || "Equals" || "NotEquals" || "Contains" || "NotContains" || "Exists" || "NotExists" || "BeginsWith", // required
749
+ * ConditionOnValue: {
750
+ * StringValue: "STRING_VALUE",
751
+ * StringListValue: [
752
+ * "STRING_VALUE",
753
+ * ],
754
+ * LongValue: Number("long"),
755
+ * DateValue: new Date("TIMESTAMP"),
756
+ * },
757
+ * },
758
+ * LambdaArn: "STRING_VALUE", // required
759
+ * S3Bucket: "STRING_VALUE", // required
760
+ * },
761
+ * PostExtractionHookConfiguration: {
762
+ * InvocationCondition: {
763
+ * ConditionDocumentAttributeKey: "STRING_VALUE", // required
764
+ * Operator: "GreaterThan" || "GreaterThanOrEquals" || "LessThan" || "LessThanOrEquals" || "Equals" || "NotEquals" || "Contains" || "NotContains" || "Exists" || "NotExists" || "BeginsWith", // required
765
+ * ConditionOnValue: {
766
+ * StringValue: "STRING_VALUE",
767
+ * StringListValue: [
768
+ * "STRING_VALUE",
769
+ * ],
770
+ * LongValue: Number("long"),
771
+ * DateValue: new Date("TIMESTAMP"),
772
+ * },
773
+ * },
774
+ * LambdaArn: "STRING_VALUE", // required
775
+ * S3Bucket: "STRING_VALUE", // required
776
+ * },
777
+ * RoleArn: "STRING_VALUE",
778
+ * },
779
+ * };
41
780
  * const command = new CreateDataSourceCommand(input);
42
781
  * const response = await client.send(command);
43
782
  * ```