@aws-sdk/client-kendra 3.43.0 → 3.47.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 (112) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/Kendra.js +180 -0
  4. package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +36 -0
  5. package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +36 -0
  6. package/dist-cjs/commands/CreateExperienceCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteExperienceCommand.js +36 -0
  8. package/dist-cjs/commands/DescribeExperienceCommand.js +36 -0
  9. package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +36 -0
  10. package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +36 -0
  11. package/dist-cjs/commands/GetSnapshotsCommand.js +36 -0
  12. package/dist-cjs/commands/ListEntityPersonasCommand.js +36 -0
  13. package/dist-cjs/commands/ListExperienceEntitiesCommand.js +36 -0
  14. package/dist-cjs/commands/ListExperiencesCommand.js +36 -0
  15. package/dist-cjs/commands/UpdateExperienceCommand.js +36 -0
  16. package/dist-cjs/commands/index.js +12 -0
  17. package/dist-cjs/endpoints.js +1 -16
  18. package/dist-cjs/models/models_0.js +306 -69
  19. package/dist-cjs/pagination/ListEntityPersonasPaginator.js +35 -0
  20. package/dist-cjs/pagination/ListExperienceEntitiesPaginator.js +34 -0
  21. package/dist-cjs/pagination/ListExperiencesPaginator.js +35 -0
  22. package/dist-cjs/pagination/index.js +3 -0
  23. package/dist-cjs/protocols/Aws_json1_1.js +2043 -261
  24. package/dist-cjs/runtimeConfig.browser.js +7 -2
  25. package/dist-cjs/runtimeConfig.js +9 -3
  26. package/dist-es/Kendra.js +180 -0
  27. package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +39 -0
  28. package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +39 -0
  29. package/dist-es/commands/CreateExperienceCommand.js +39 -0
  30. package/dist-es/commands/DeleteExperienceCommand.js +39 -0
  31. package/dist-es/commands/DescribeExperienceCommand.js +39 -0
  32. package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +39 -0
  33. package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +39 -0
  34. package/dist-es/commands/GetSnapshotsCommand.js +39 -0
  35. package/dist-es/commands/ListEntityPersonasCommand.js +39 -0
  36. package/dist-es/commands/ListExperienceEntitiesCommand.js +39 -0
  37. package/dist-es/commands/ListExperiencesCommand.js +39 -0
  38. package/dist-es/commands/UpdateExperienceCommand.js +39 -0
  39. package/dist-es/commands/index.js +12 -0
  40. package/dist-es/endpoints.js +1 -16
  41. package/dist-es/models/models_0.js +215 -44
  42. package/dist-es/pagination/ListEntityPersonasPaginator.js +74 -0
  43. package/dist-es/pagination/ListExperienceEntitiesPaginator.js +73 -0
  44. package/dist-es/pagination/ListExperiencesPaginator.js +74 -0
  45. package/dist-es/pagination/index.js +3 -0
  46. package/dist-es/protocols/Aws_json1_1.js +2042 -234
  47. package/dist-es/runtimeConfig.browser.js +12 -3
  48. package/dist-es/runtimeConfig.js +13 -6
  49. package/dist-types/Kendra.d.ts +164 -1
  50. package/dist-types/KendraClient.d.ts +19 -3
  51. package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +39 -0
  52. package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +39 -0
  53. package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +3 -0
  54. package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -0
  55. package/dist-types/commands/CreateExperienceCommand.d.ts +37 -0
  56. package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +3 -0
  57. package/dist-types/commands/DeleteExperienceCommand.d.ts +37 -0
  58. package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +3 -0
  59. package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +3 -0
  60. package/dist-types/commands/DescribeExperienceCommand.d.ts +38 -0
  61. package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +3 -0
  62. package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +3 -0
  63. package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +3 -0
  64. package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +39 -0
  65. package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +39 -0
  66. package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +3 -0
  67. package/dist-types/commands/GetSnapshotsCommand.d.ts +37 -0
  68. package/dist-types/commands/ListEntityPersonasCommand.d.ts +36 -0
  69. package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +39 -0
  70. package/dist-types/commands/ListExperiencesCommand.d.ts +38 -0
  71. package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +3 -0
  72. package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +3 -0
  73. package/dist-types/commands/PutPrincipalMappingCommand.d.ts +3 -0
  74. package/dist-types/commands/SubmitFeedbackCommand.d.ts +4 -1
  75. package/dist-types/commands/UpdateExperienceCommand.d.ts +37 -0
  76. package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +3 -0
  77. package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +3 -0
  78. package/dist-types/commands/index.d.ts +12 -0
  79. package/dist-types/models/models_0.d.ts +1217 -147
  80. package/dist-types/pagination/ListEntityPersonasPaginator.d.ts +4 -0
  81. package/dist-types/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
  82. package/dist-types/pagination/ListExperiencesPaginator.d.ts +4 -0
  83. package/dist-types/pagination/index.d.ts +3 -0
  84. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  85. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  86. package/dist-types/runtimeConfig.d.ts +4 -3
  87. package/dist-types/runtimeConfig.native.d.ts +1 -0
  88. package/dist-types/ts3.4/Kendra.d.ts +60 -0
  89. package/dist-types/ts3.4/KendraClient.d.ts +17 -3
  90. package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  103. package/dist-types/ts3.4/models/models_0.d.ts +579 -77
  104. package/dist-types/ts3.4/pagination/ListEntityPersonasPaginator.d.ts +4 -0
  105. package/dist-types/ts3.4/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
  106. package/dist-types/ts3.4/pagination/ListExperiencesPaginator.d.ts +4 -0
  107. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  108. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  112. package/package.json +38 -45
@@ -14,10 +14,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
14
14
  $fault: "client";
15
15
  Message?: string;
16
16
  }
17
- export declare namespace AccessDeniedException {
18
-
19
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
20
- }
21
17
 
22
18
  export interface AclConfiguration {
23
19
 
@@ -82,6 +78,117 @@ export declare namespace AdditionalResultAttribute {
82
78
 
83
79
  const filterSensitiveLog: (obj: AdditionalResultAttribute) => any;
84
80
  }
81
+ export declare enum EntityType {
82
+ GROUP = "GROUP",
83
+ USER = "USER"
84
+ }
85
+
86
+ export interface EntityConfiguration {
87
+
88
+ EntityId: string | undefined;
89
+
90
+ EntityType: EntityType | string | undefined;
91
+ }
92
+ export declare namespace EntityConfiguration {
93
+
94
+ const filterSensitiveLog: (obj: EntityConfiguration) => any;
95
+ }
96
+ export interface AssociateEntitiesToExperienceRequest {
97
+
98
+ Id: string | undefined;
99
+
100
+ IndexId: string | undefined;
101
+
102
+ EntityList: EntityConfiguration[] | undefined;
103
+ }
104
+ export declare namespace AssociateEntitiesToExperienceRequest {
105
+
106
+ const filterSensitiveLog: (obj: AssociateEntitiesToExperienceRequest) => any;
107
+ }
108
+
109
+ export interface FailedEntity {
110
+
111
+ EntityId?: string;
112
+
113
+ ErrorMessage?: string;
114
+ }
115
+ export declare namespace FailedEntity {
116
+
117
+ const filterSensitiveLog: (obj: FailedEntity) => any;
118
+ }
119
+ export interface AssociateEntitiesToExperienceResponse {
120
+
121
+ FailedEntityList?: FailedEntity[];
122
+ }
123
+ export declare namespace AssociateEntitiesToExperienceResponse {
124
+
125
+ const filterSensitiveLog: (obj: AssociateEntitiesToExperienceResponse) => any;
126
+ }
127
+
128
+ export interface InternalServerException extends __SmithyException, $MetadataBearer {
129
+ name: "InternalServerException";
130
+ $fault: "server";
131
+ Message?: string;
132
+ }
133
+
134
+ export interface ResourceAlreadyExistException extends __SmithyException, $MetadataBearer {
135
+ name: "ResourceAlreadyExistException";
136
+ $fault: "client";
137
+ Message?: string;
138
+ }
139
+
140
+ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
141
+ name: "ResourceNotFoundException";
142
+ $fault: "client";
143
+ Message?: string;
144
+ }
145
+
146
+ export interface ThrottlingException extends __SmithyException, $MetadataBearer {
147
+ name: "ThrottlingException";
148
+ $fault: "client";
149
+ Message?: string;
150
+ }
151
+
152
+ export interface ValidationException extends __SmithyException, $MetadataBearer {
153
+ name: "ValidationException";
154
+ $fault: "client";
155
+ Message?: string;
156
+ }
157
+ export declare enum Persona {
158
+ OWNER = "OWNER",
159
+ VIEWER = "VIEWER"
160
+ }
161
+
162
+ export interface EntityPersonaConfiguration {
163
+
164
+ EntityId: string | undefined;
165
+
166
+ Persona: Persona | string | undefined;
167
+ }
168
+ export declare namespace EntityPersonaConfiguration {
169
+
170
+ const filterSensitiveLog: (obj: EntityPersonaConfiguration) => any;
171
+ }
172
+ export interface AssociatePersonasToEntitiesRequest {
173
+
174
+ Id: string | undefined;
175
+
176
+ IndexId: string | undefined;
177
+
178
+ Personas: EntityPersonaConfiguration[] | undefined;
179
+ }
180
+ export declare namespace AssociatePersonasToEntitiesRequest {
181
+
182
+ const filterSensitiveLog: (obj: AssociatePersonasToEntitiesRequest) => any;
183
+ }
184
+ export interface AssociatePersonasToEntitiesResponse {
185
+
186
+ FailedEntityList?: FailedEntity[];
187
+ }
188
+ export declare namespace AssociatePersonasToEntitiesResponse {
189
+
190
+ const filterSensitiveLog: (obj: AssociatePersonasToEntitiesResponse) => any;
191
+ }
85
192
 
86
193
  export interface DocumentAttributeValue {
87
194
 
@@ -184,50 +291,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
184
291
  $fault: "client";
185
292
  Message?: string;
186
293
  }
187
- export declare namespace ConflictException {
188
-
189
- const filterSensitiveLog: (obj: ConflictException) => any;
190
- }
191
-
192
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
193
- name: "InternalServerException";
194
- $fault: "server";
195
- Message?: string;
196
- }
197
- export declare namespace InternalServerException {
198
-
199
- const filterSensitiveLog: (obj: InternalServerException) => any;
200
- }
201
-
202
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
203
- name: "ResourceNotFoundException";
204
- $fault: "client";
205
- Message?: string;
206
- }
207
- export declare namespace ResourceNotFoundException {
208
-
209
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
210
- }
211
-
212
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
213
- name: "ThrottlingException";
214
- $fault: "client";
215
- Message?: string;
216
- }
217
- export declare namespace ThrottlingException {
218
-
219
- const filterSensitiveLog: (obj: ThrottlingException) => any;
220
- }
221
-
222
- export interface ValidationException extends __SmithyException, $MetadataBearer {
223
- name: "ValidationException";
224
- $fault: "client";
225
- Message?: string;
226
- }
227
- export declare namespace ValidationException {
228
-
229
- const filterSensitiveLog: (obj: ValidationException) => any;
230
- }
231
294
 
232
295
  export interface DocumentInfo {
233
296
 
@@ -295,6 +358,86 @@ export declare namespace BatchGetDocumentStatusResponse {
295
358
 
296
359
  const filterSensitiveLog: (obj: BatchGetDocumentStatusResponse) => any;
297
360
  }
361
+ export declare enum ConditionOperator {
362
+ BeginsWith = "BeginsWith",
363
+ Contains = "Contains",
364
+ Equals = "Equals",
365
+ Exists = "Exists",
366
+ GreaterThan = "GreaterThan",
367
+ GreaterThanOrEquals = "GreaterThanOrEquals",
368
+ LessThan = "LessThan",
369
+ LessThanOrEquals = "LessThanOrEquals",
370
+ NotContains = "NotContains",
371
+ NotEquals = "NotEquals",
372
+ NotExists = "NotExists"
373
+ }
374
+
375
+ export interface DocumentAttributeCondition {
376
+
377
+ ConditionDocumentAttributeKey: string | undefined;
378
+
379
+ Operator: ConditionOperator | string | undefined;
380
+
381
+ ConditionOnValue?: DocumentAttributeValue;
382
+ }
383
+ export declare namespace DocumentAttributeCondition {
384
+
385
+ const filterSensitiveLog: (obj: DocumentAttributeCondition) => any;
386
+ }
387
+
388
+ export interface DocumentAttributeTarget {
389
+
390
+ TargetDocumentAttributeKey?: string;
391
+
392
+ TargetDocumentAttributeValueDeletion?: boolean;
393
+
394
+ TargetDocumentAttributeValue?: DocumentAttributeValue;
395
+ }
396
+ export declare namespace DocumentAttributeTarget {
397
+
398
+ const filterSensitiveLog: (obj: DocumentAttributeTarget) => any;
399
+ }
400
+
401
+ export interface InlineCustomDocumentEnrichmentConfiguration {
402
+
403
+ Condition?: DocumentAttributeCondition;
404
+
405
+ Target?: DocumentAttributeTarget;
406
+
407
+ DocumentContentDeletion?: boolean;
408
+ }
409
+ export declare namespace InlineCustomDocumentEnrichmentConfiguration {
410
+
411
+ const filterSensitiveLog: (obj: InlineCustomDocumentEnrichmentConfiguration) => any;
412
+ }
413
+
414
+ export interface HookConfiguration {
415
+
416
+ InvocationCondition?: DocumentAttributeCondition;
417
+
418
+ LambdaArn: string | undefined;
419
+
420
+ S3Bucket: string | undefined;
421
+ }
422
+ export declare namespace HookConfiguration {
423
+
424
+ const filterSensitiveLog: (obj: HookConfiguration) => any;
425
+ }
426
+
427
+ export interface CustomDocumentEnrichmentConfiguration {
428
+
429
+ InlineConfigurations?: InlineCustomDocumentEnrichmentConfiguration[];
430
+
431
+ PreExtractionHookConfiguration?: HookConfiguration;
432
+
433
+ PostExtractionHookConfiguration?: HookConfiguration;
434
+
435
+ RoleArn?: string;
436
+ }
437
+ export declare namespace CustomDocumentEnrichmentConfiguration {
438
+
439
+ const filterSensitiveLog: (obj: CustomDocumentEnrichmentConfiguration) => any;
440
+ }
298
441
  export declare enum ReadAccessType {
299
442
  ALLOW = "ALLOW",
300
443
  DENY = "DENY"
@@ -375,6 +518,8 @@ export interface BatchPutDocumentRequest {
375
518
  RoleArn?: string;
376
519
 
377
520
  Documents: Document[] | undefined;
521
+
522
+ CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration;
378
523
  }
379
524
  export declare namespace BatchPutDocumentRequest {
380
525
 
@@ -407,10 +552,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
407
552
  $fault: "client";
408
553
  Message?: string;
409
554
  }
410
- export declare namespace ServiceQuotaExceededException {
411
-
412
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
413
- }
414
555
  export interface ClearQuerySuggestionsRequest {
415
556
 
416
557
  IndexId: string | undefined;
@@ -1172,6 +1313,8 @@ export interface CreateDataSourceRequest {
1172
1313
  ClientToken?: string;
1173
1314
 
1174
1315
  LanguageCode?: string;
1316
+
1317
+ CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration;
1175
1318
  }
1176
1319
  export declare namespace CreateDataSourceRequest {
1177
1320
 
@@ -1186,14 +1329,63 @@ export declare namespace CreateDataSourceResponse {
1186
1329
  const filterSensitiveLog: (obj: CreateDataSourceResponse) => any;
1187
1330
  }
1188
1331
 
1189
- export interface ResourceAlreadyExistException extends __SmithyException, $MetadataBearer {
1190
- name: "ResourceAlreadyExistException";
1191
- $fault: "client";
1192
- Message?: string;
1332
+ export interface ContentSourceConfiguration {
1333
+
1334
+ DataSourceIds?: string[];
1335
+
1336
+ FaqIds?: string[];
1337
+
1338
+ DirectPutContent?: boolean;
1339
+ }
1340
+ export declare namespace ContentSourceConfiguration {
1341
+
1342
+ const filterSensitiveLog: (obj: ContentSourceConfiguration) => any;
1343
+ }
1344
+
1345
+ export interface UserIdentityConfiguration {
1346
+
1347
+ IdentityAttributeName?: string;
1348
+ }
1349
+ export declare namespace UserIdentityConfiguration {
1350
+
1351
+ const filterSensitiveLog: (obj: UserIdentityConfiguration) => any;
1352
+ }
1353
+
1354
+ export interface ExperienceConfiguration {
1355
+
1356
+ ContentSourceConfiguration?: ContentSourceConfiguration;
1357
+
1358
+ UserIdentityConfiguration?: UserIdentityConfiguration;
1359
+ }
1360
+ export declare namespace ExperienceConfiguration {
1361
+
1362
+ const filterSensitiveLog: (obj: ExperienceConfiguration) => any;
1363
+ }
1364
+ export interface CreateExperienceRequest {
1365
+
1366
+ Name: string | undefined;
1367
+
1368
+ IndexId: string | undefined;
1369
+
1370
+ RoleArn?: string;
1371
+
1372
+ Configuration?: ExperienceConfiguration;
1373
+
1374
+ Description?: string;
1375
+
1376
+ ClientToken?: string;
1193
1377
  }
1194
- export declare namespace ResourceAlreadyExistException {
1378
+ export declare namespace CreateExperienceRequest {
1195
1379
 
1196
- const filterSensitiveLog: (obj: ResourceAlreadyExistException) => any;
1380
+ const filterSensitiveLog: (obj: CreateExperienceRequest) => any;
1381
+ }
1382
+ export interface CreateExperienceResponse {
1383
+
1384
+ Id: string | undefined;
1385
+ }
1386
+ export declare namespace CreateExperienceResponse {
1387
+
1388
+ const filterSensitiveLog: (obj: CreateExperienceResponse) => any;
1197
1389
  }
1198
1390
  export declare enum FaqFileFormat {
1199
1391
  CSV = "CSV",
@@ -1409,6 +1601,22 @@ export declare namespace DeleteDataSourceRequest {
1409
1601
 
1410
1602
  const filterSensitiveLog: (obj: DeleteDataSourceRequest) => any;
1411
1603
  }
1604
+ export interface DeleteExperienceRequest {
1605
+
1606
+ Id: string | undefined;
1607
+
1608
+ IndexId: string | undefined;
1609
+ }
1610
+ export declare namespace DeleteExperienceRequest {
1611
+
1612
+ const filterSensitiveLog: (obj: DeleteExperienceRequest) => any;
1613
+ }
1614
+ export interface DeleteExperienceResponse {
1615
+ }
1616
+ export declare namespace DeleteExperienceResponse {
1617
+
1618
+ const filterSensitiveLog: (obj: DeleteExperienceResponse) => any;
1619
+ }
1412
1620
  export interface DeleteFaqRequest {
1413
1621
 
1414
1622
  Id: string | undefined;
@@ -1505,11 +1713,71 @@ export interface DescribeDataSourceResponse {
1505
1713
  ErrorMessage?: string;
1506
1714
 
1507
1715
  LanguageCode?: string;
1716
+
1717
+ CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration;
1508
1718
  }
1509
1719
  export declare namespace DescribeDataSourceResponse {
1510
1720
 
1511
1721
  const filterSensitiveLog: (obj: DescribeDataSourceResponse) => any;
1512
1722
  }
1723
+ export interface DescribeExperienceRequest {
1724
+
1725
+ Id: string | undefined;
1726
+
1727
+ IndexId: string | undefined;
1728
+ }
1729
+ export declare namespace DescribeExperienceRequest {
1730
+
1731
+ const filterSensitiveLog: (obj: DescribeExperienceRequest) => any;
1732
+ }
1733
+ export declare enum EndpointType {
1734
+ HOME = "HOME"
1735
+ }
1736
+
1737
+ export interface ExperienceEndpoint {
1738
+
1739
+ EndpointType?: EndpointType | string;
1740
+
1741
+ Endpoint?: string;
1742
+ }
1743
+ export declare namespace ExperienceEndpoint {
1744
+
1745
+ const filterSensitiveLog: (obj: ExperienceEndpoint) => any;
1746
+ }
1747
+ export declare enum ExperienceStatus {
1748
+ ACTIVE = "ACTIVE",
1749
+ CREATING = "CREATING",
1750
+ DELETING = "DELETING",
1751
+ FAILED = "FAILED"
1752
+ }
1753
+ export interface DescribeExperienceResponse {
1754
+
1755
+ Id?: string;
1756
+
1757
+ IndexId?: string;
1758
+
1759
+ Name?: string;
1760
+
1761
+ Endpoints?: ExperienceEndpoint[];
1762
+
1763
+ Configuration?: ExperienceConfiguration;
1764
+
1765
+ CreatedAt?: Date;
1766
+
1767
+ UpdatedAt?: Date;
1768
+
1769
+ Description?: string;
1770
+
1771
+ Status?: ExperienceStatus | string;
1772
+
1773
+ RoleArn?: string;
1774
+
1775
+ ErrorMessage?: string;
1776
+ }
1777
+ export declare namespace DescribeExperienceResponse {
1778
+
1779
+ const filterSensitiveLog: (obj: DescribeExperienceResponse) => any;
1780
+ }
1513
1781
  export interface DescribeFaqRequest {
1514
1782
 
1515
1783
  Id: string | undefined;
@@ -1900,6 +2168,46 @@ export declare namespace DescribeThesaurusResponse {
1900
2168
 
1901
2169
  const filterSensitiveLog: (obj: DescribeThesaurusResponse) => any;
1902
2170
  }
2171
+ export interface DisassociateEntitiesFromExperienceRequest {
2172
+
2173
+ Id: string | undefined;
2174
+
2175
+ IndexId: string | undefined;
2176
+
2177
+ EntityList: EntityConfiguration[] | undefined;
2178
+ }
2179
+ export declare namespace DisassociateEntitiesFromExperienceRequest {
2180
+
2181
+ const filterSensitiveLog: (obj: DisassociateEntitiesFromExperienceRequest) => any;
2182
+ }
2183
+ export interface DisassociateEntitiesFromExperienceResponse {
2184
+
2185
+ FailedEntityList?: FailedEntity[];
2186
+ }
2187
+ export declare namespace DisassociateEntitiesFromExperienceResponse {
2188
+
2189
+ const filterSensitiveLog: (obj: DisassociateEntitiesFromExperienceResponse) => any;
2190
+ }
2191
+ export interface DisassociatePersonasFromEntitiesRequest {
2192
+
2193
+ Id: string | undefined;
2194
+
2195
+ IndexId: string | undefined;
2196
+
2197
+ EntityIds: string[] | undefined;
2198
+ }
2199
+ export declare namespace DisassociatePersonasFromEntitiesRequest {
2200
+
2201
+ const filterSensitiveLog: (obj: DisassociatePersonasFromEntitiesRequest) => any;
2202
+ }
2203
+ export interface DisassociatePersonasFromEntitiesResponse {
2204
+
2205
+ FailedEntityList?: FailedEntity[];
2206
+ }
2207
+ export declare namespace DisassociatePersonasFromEntitiesResponse {
2208
+
2209
+ const filterSensitiveLog: (obj: DisassociatePersonasFromEntitiesResponse) => any;
2210
+ }
1903
2211
  export interface GetQuerySuggestionsRequest {
1904
2212
 
1905
2213
  IndexId: string | undefined;
@@ -1964,6 +2272,69 @@ export declare namespace GetQuerySuggestionsResponse {
1964
2272
 
1965
2273
  const filterSensitiveLog: (obj: GetQuerySuggestionsResponse) => any;
1966
2274
  }
2275
+ export declare enum Interval {
2276
+ ONE_MONTH_AGO = "ONE_MONTH_AGO",
2277
+ ONE_WEEK_AGO = "ONE_WEEK_AGO",
2278
+ THIS_MONTH = "THIS_MONTH",
2279
+ THIS_WEEK = "THIS_WEEK",
2280
+ TWO_MONTHS_AGO = "TWO_MONTHS_AGO",
2281
+ TWO_WEEKS_AGO = "TWO_WEEKS_AGO"
2282
+ }
2283
+ export declare enum MetricType {
2284
+ AGG_QUERY_DOC_METRICS = "AGG_QUERY_DOC_METRICS",
2285
+ DOCS_BY_CLICK_COUNT = "DOCS_BY_CLICK_COUNT",
2286
+ QUERIES_BY_COUNT = "QUERIES_BY_COUNT",
2287
+ QUERIES_BY_ZERO_CLICK_RATE = "QUERIES_BY_ZERO_CLICK_RATE",
2288
+ QUERIES_BY_ZERO_RESULT_RATE = "QUERIES_BY_ZERO_RESULT_RATE",
2289
+ TREND_QUERY_DOC_METRICS = "TREND_QUERY_DOC_METRICS"
2290
+ }
2291
+ export interface GetSnapshotsRequest {
2292
+
2293
+ IndexId: string | undefined;
2294
+
2295
+ Interval: Interval | string | undefined;
2296
+
2297
+ MetricType: MetricType | string | undefined;
2298
+
2299
+ NextToken?: string;
2300
+
2301
+ MaxResults?: number;
2302
+ }
2303
+ export declare namespace GetSnapshotsRequest {
2304
+
2305
+ const filterSensitiveLog: (obj: GetSnapshotsRequest) => any;
2306
+ }
2307
+
2308
+ export interface TimeRange {
2309
+
2310
+ StartTime?: Date;
2311
+
2312
+ EndTime?: Date;
2313
+ }
2314
+ export declare namespace TimeRange {
2315
+
2316
+ const filterSensitiveLog: (obj: TimeRange) => any;
2317
+ }
2318
+ export interface GetSnapshotsResponse {
2319
+
2320
+ SnapShotTimeFilter?: TimeRange;
2321
+
2322
+ SnapshotsDataHeader?: string[];
2323
+
2324
+ SnapshotsData?: string[][];
2325
+
2326
+ NextToken?: string;
2327
+ }
2328
+ export declare namespace GetSnapshotsResponse {
2329
+
2330
+ const filterSensitiveLog: (obj: GetSnapshotsResponse) => any;
2331
+ }
2332
+
2333
+ export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
2334
+ name: "InvalidRequestException";
2335
+ $fault: "client";
2336
+ Message?: string;
2337
+ }
1967
2338
  export interface ListDataSourcesRequest {
1968
2339
 
1969
2340
  IndexId: string | undefined;
@@ -2007,17 +2378,6 @@ export declare namespace ListDataSourcesResponse {
2007
2378
 
2008
2379
  const filterSensitiveLog: (obj: ListDataSourcesResponse) => any;
2009
2380
  }
2010
-
2011
- export interface TimeRange {
2012
-
2013
- StartTime?: Date;
2014
-
2015
- EndTime?: Date;
2016
- }
2017
- export declare namespace TimeRange {
2018
-
2019
- const filterSensitiveLog: (obj: TimeRange) => any;
2020
- }
2021
2381
  export declare enum DataSourceSyncJobStatus {
2022
2382
  ABORTED = "ABORTED",
2023
2383
  FAILED = "FAILED",
@@ -2095,6 +2455,136 @@ export declare namespace ListDataSourceSyncJobsResponse {
2095
2455
 
2096
2456
  const filterSensitiveLog: (obj: ListDataSourceSyncJobsResponse) => any;
2097
2457
  }
2458
+ export interface ListEntityPersonasRequest {
2459
+
2460
+ Id: string | undefined;
2461
+
2462
+ IndexId: string | undefined;
2463
+
2464
+ NextToken?: string;
2465
+
2466
+ MaxResults?: number;
2467
+ }
2468
+ export declare namespace ListEntityPersonasRequest {
2469
+
2470
+ const filterSensitiveLog: (obj: ListEntityPersonasRequest) => any;
2471
+ }
2472
+
2473
+ export interface PersonasSummary {
2474
+
2475
+ EntityId?: string;
2476
+
2477
+ Persona?: Persona | string;
2478
+
2479
+ CreatedAt?: Date;
2480
+
2481
+ UpdatedAt?: Date;
2482
+ }
2483
+ export declare namespace PersonasSummary {
2484
+
2485
+ const filterSensitiveLog: (obj: PersonasSummary) => any;
2486
+ }
2487
+ export interface ListEntityPersonasResponse {
2488
+
2489
+ SummaryItems?: PersonasSummary[];
2490
+
2491
+ NextToken?: string;
2492
+ }
2493
+ export declare namespace ListEntityPersonasResponse {
2494
+
2495
+ const filterSensitiveLog: (obj: ListEntityPersonasResponse) => any;
2496
+ }
2497
+ export interface ListExperienceEntitiesRequest {
2498
+
2499
+ Id: string | undefined;
2500
+
2501
+ IndexId: string | undefined;
2502
+
2503
+ NextToken?: string;
2504
+ }
2505
+ export declare namespace ListExperienceEntitiesRequest {
2506
+
2507
+ const filterSensitiveLog: (obj: ListExperienceEntitiesRequest) => any;
2508
+ }
2509
+
2510
+ export interface EntityDisplayData {
2511
+
2512
+ UserName?: string;
2513
+
2514
+ GroupName?: string;
2515
+
2516
+ IdentifiedUserName?: string;
2517
+
2518
+ FirstName?: string;
2519
+
2520
+ LastName?: string;
2521
+ }
2522
+ export declare namespace EntityDisplayData {
2523
+
2524
+ const filterSensitiveLog: (obj: EntityDisplayData) => any;
2525
+ }
2526
+
2527
+ export interface ExperienceEntitiesSummary {
2528
+
2529
+ EntityId?: string;
2530
+
2531
+ EntityType?: EntityType | string;
2532
+
2533
+ DisplayData?: EntityDisplayData;
2534
+ }
2535
+ export declare namespace ExperienceEntitiesSummary {
2536
+
2537
+ const filterSensitiveLog: (obj: ExperienceEntitiesSummary) => any;
2538
+ }
2539
+ export interface ListExperienceEntitiesResponse {
2540
+
2541
+ SummaryItems?: ExperienceEntitiesSummary[];
2542
+
2543
+ NextToken?: string;
2544
+ }
2545
+ export declare namespace ListExperienceEntitiesResponse {
2546
+
2547
+ const filterSensitiveLog: (obj: ListExperienceEntitiesResponse) => any;
2548
+ }
2549
+ export interface ListExperiencesRequest {
2550
+
2551
+ IndexId: string | undefined;
2552
+
2553
+ NextToken?: string;
2554
+
2555
+ MaxResults?: number;
2556
+ }
2557
+ export declare namespace ListExperiencesRequest {
2558
+
2559
+ const filterSensitiveLog: (obj: ListExperiencesRequest) => any;
2560
+ }
2561
+
2562
+ export interface ExperiencesSummary {
2563
+
2564
+ Name?: string;
2565
+
2566
+ Id?: string;
2567
+
2568
+ CreatedAt?: Date;
2569
+
2570
+ Status?: ExperienceStatus | string;
2571
+
2572
+ Endpoints?: ExperienceEndpoint[];
2573
+ }
2574
+ export declare namespace ExperiencesSummary {
2575
+
2576
+ const filterSensitiveLog: (obj: ExperiencesSummary) => any;
2577
+ }
2578
+ export interface ListExperiencesResponse {
2579
+
2580
+ SummaryItems?: ExperiencesSummary[];
2581
+
2582
+ NextToken?: string;
2583
+ }
2584
+ export declare namespace ListExperiencesResponse {
2585
+
2586
+ const filterSensitiveLog: (obj: ListExperiencesResponse) => any;
2587
+ }
2098
2588
  export interface ListFaqsRequest {
2099
2589
 
2100
2590
  IndexId: string | undefined;
@@ -2277,10 +2767,6 @@ export interface ResourceUnavailableException extends __SmithyException, $Metada
2277
2767
  $fault: "client";
2278
2768
  Message?: string;
2279
2769
  }
2280
- export declare namespace ResourceUnavailableException {
2281
-
2282
- const filterSensitiveLog: (obj: ResourceUnavailableException) => any;
2283
- }
2284
2770
  export interface ListThesauriRequest {
2285
2771
 
2286
2772
  IndexId: string | undefined;
@@ -2524,10 +3010,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
2524
3010
  $fault: "client";
2525
3011
  Message?: string;
2526
3012
  }
2527
- export declare namespace ResourceInUseException {
2528
-
2529
- const filterSensitiveLog: (obj: ResourceInUseException) => any;
2530
- }
2531
3013
  export interface StartDataSourceSyncJobRequest {
2532
3014
 
2533
3015
  Id: string | undefined;
@@ -2645,11 +3127,31 @@ export interface UpdateDataSourceRequest {
2645
3127
  RoleArn?: string;
2646
3128
 
2647
3129
  LanguageCode?: string;
3130
+
3131
+ CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration;
2648
3132
  }
2649
3133
  export declare namespace UpdateDataSourceRequest {
2650
3134
 
2651
3135
  const filterSensitiveLog: (obj: UpdateDataSourceRequest) => any;
2652
3136
  }
3137
+ export interface UpdateExperienceRequest {
3138
+
3139
+ Id: string | undefined;
3140
+
3141
+ Name?: string;
3142
+
3143
+ IndexId: string | undefined;
3144
+
3145
+ RoleArn?: string;
3146
+
3147
+ Configuration?: ExperienceConfiguration;
3148
+
3149
+ Description?: string;
3150
+ }
3151
+ export declare namespace UpdateExperienceRequest {
3152
+
3153
+ const filterSensitiveLog: (obj: UpdateExperienceRequest) => any;
3154
+ }
2653
3155
  export interface UpdateIndexRequest {
2654
3156
 
2655
3157
  Id: string | undefined;