@aws-sdk/client-kendra 3.40.0 → 3.44.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 (130) hide show
  1. package/CHANGELOG.md +41 -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 +8 -0
  18. package/dist-cjs/models/models_0.js +345 -89
  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 +2055 -280
  24. package/dist-es/Kendra.js +180 -0
  25. package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +39 -0
  26. package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +39 -0
  27. package/dist-es/commands/CreateExperienceCommand.js +39 -0
  28. package/dist-es/commands/DeleteExperienceCommand.js +39 -0
  29. package/dist-es/commands/DescribeExperienceCommand.js +39 -0
  30. package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +39 -0
  31. package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +39 -0
  32. package/dist-es/commands/GetSnapshotsCommand.js +39 -0
  33. package/dist-es/commands/ListEntityPersonasCommand.js +39 -0
  34. package/dist-es/commands/ListExperienceEntitiesCommand.js +39 -0
  35. package/dist-es/commands/ListExperiencesCommand.js +39 -0
  36. package/dist-es/commands/UpdateExperienceCommand.js +39 -0
  37. package/dist-es/commands/index.js +12 -0
  38. package/dist-es/endpoints.js +8 -0
  39. package/dist-es/models/models_0.js +248 -68
  40. package/dist-es/pagination/ListEntityPersonasPaginator.js +74 -0
  41. package/dist-es/pagination/ListExperienceEntitiesPaginator.js +73 -0
  42. package/dist-es/pagination/ListExperiencesPaginator.js +74 -0
  43. package/dist-es/pagination/index.js +3 -0
  44. package/dist-es/protocols/Aws_json1_1.js +2067 -271
  45. package/dist-types/Kendra.d.ts +164 -1
  46. package/dist-types/KendraClient.d.ts +14 -2
  47. package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +39 -0
  48. package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +39 -0
  49. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +1 -1
  50. package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +1 -1
  51. package/dist-types/commands/BatchPutDocumentCommand.d.ts +1 -1
  52. package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +4 -1
  53. package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -1
  54. package/dist-types/commands/CreateExperienceCommand.d.ts +37 -0
  55. package/dist-types/commands/CreateFaqCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateIndexCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +4 -1
  58. package/dist-types/commands/CreateThesaurusCommand.d.ts +1 -1
  59. package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
  60. package/dist-types/commands/DeleteExperienceCommand.d.ts +37 -0
  61. package/dist-types/commands/DeleteFaqCommand.d.ts +1 -1
  62. package/dist-types/commands/DeleteIndexCommand.d.ts +1 -1
  63. package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +4 -1
  64. package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +4 -1
  65. package/dist-types/commands/DeleteThesaurusCommand.d.ts +1 -1
  66. package/dist-types/commands/DescribeDataSourceCommand.d.ts +1 -1
  67. package/dist-types/commands/DescribeExperienceCommand.d.ts +38 -0
  68. package/dist-types/commands/DescribeFaqCommand.d.ts +1 -1
  69. package/dist-types/commands/DescribeIndexCommand.d.ts +1 -1
  70. package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +4 -1
  71. package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +4 -1
  72. package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +4 -1
  73. package/dist-types/commands/DescribeThesaurusCommand.d.ts +1 -1
  74. package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +39 -0
  75. package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +39 -0
  76. package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +4 -1
  77. package/dist-types/commands/GetSnapshotsCommand.d.ts +37 -0
  78. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +1 -1
  79. package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -1
  80. package/dist-types/commands/ListEntityPersonasCommand.d.ts +36 -0
  81. package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +39 -0
  82. package/dist-types/commands/ListExperiencesCommand.d.ts +38 -0
  83. package/dist-types/commands/ListFaqsCommand.d.ts +1 -1
  84. package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +4 -1
  85. package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
  86. package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +4 -1
  87. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  88. package/dist-types/commands/ListThesauriCommand.d.ts +1 -1
  89. package/dist-types/commands/PutPrincipalMappingCommand.d.ts +4 -1
  90. package/dist-types/commands/QueryCommand.d.ts +1 -1
  91. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  92. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  93. package/dist-types/commands/SubmitFeedbackCommand.d.ts +5 -2
  94. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  95. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  96. package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
  97. package/dist-types/commands/UpdateExperienceCommand.d.ts +37 -0
  98. package/dist-types/commands/UpdateIndexCommand.d.ts +1 -1
  99. package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +4 -1
  100. package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +4 -1
  101. package/dist-types/commands/UpdateThesaurusCommand.d.ts +1 -1
  102. package/dist-types/commands/index.d.ts +12 -0
  103. package/dist-types/models/models_0.d.ts +1323 -225
  104. package/dist-types/pagination/ListEntityPersonasPaginator.d.ts +4 -0
  105. package/dist-types/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
  106. package/dist-types/pagination/ListExperiencesPaginator.d.ts +4 -0
  107. package/dist-types/pagination/index.d.ts +3 -0
  108. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  109. package/dist-types/ts3.4/Kendra.d.ts +60 -0
  110. package/dist-types/ts3.4/KendraClient.d.ts +14 -2
  111. package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +17 -0
  112. package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +17 -0
  113. package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +17 -0
  114. package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +17 -0
  115. package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +17 -0
  117. package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +17 -0
  118. package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +17 -0
  119. package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +17 -0
  120. package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +17 -0
  121. package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  124. package/dist-types/ts3.4/models/models_0.d.ts +613 -108
  125. package/dist-types/ts3.4/pagination/ListEntityPersonasPaginator.d.ts +4 -0
  126. package/dist-types/ts3.4/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
  127. package/dist-types/ts3.4/pagination/ListExperiencesPaginator.d.ts +4 -0
  128. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  129. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  130. package/package.json +4 -4
@@ -82,59 +82,149 @@ export declare namespace AdditionalResultAttribute {
82
82
 
83
83
  const filterSensitiveLog: (obj: AdditionalResultAttribute) => any;
84
84
  }
85
+ export declare enum EntityType {
86
+ GROUP = "GROUP",
87
+ USER = "USER"
88
+ }
85
89
 
86
- export declare type DocumentAttributeValue = DocumentAttributeValue.DateValueMember | DocumentAttributeValue.LongValueMember | DocumentAttributeValue.StringListValueMember | DocumentAttributeValue.StringValueMember | DocumentAttributeValue.$UnknownMember;
87
- export declare namespace DocumentAttributeValue {
90
+ export interface EntityConfiguration {
91
+
92
+ EntityId: string | undefined;
93
+
94
+ EntityType: EntityType | string | undefined;
95
+ }
96
+ export declare namespace EntityConfiguration {
97
+
98
+ const filterSensitiveLog: (obj: EntityConfiguration) => any;
99
+ }
100
+ export interface AssociateEntitiesToExperienceRequest {
101
+
102
+ Id: string | undefined;
103
+
104
+ IndexId: string | undefined;
105
+
106
+ EntityList: EntityConfiguration[] | undefined;
107
+ }
108
+ export declare namespace AssociateEntitiesToExperienceRequest {
109
+
110
+ const filterSensitiveLog: (obj: AssociateEntitiesToExperienceRequest) => any;
111
+ }
112
+
113
+ export interface FailedEntity {
114
+
115
+ EntityId?: string;
116
+
117
+ ErrorMessage?: string;
118
+ }
119
+ export declare namespace FailedEntity {
120
+
121
+ const filterSensitiveLog: (obj: FailedEntity) => any;
122
+ }
123
+ export interface AssociateEntitiesToExperienceResponse {
124
+
125
+ FailedEntityList?: FailedEntity[];
126
+ }
127
+ export declare namespace AssociateEntitiesToExperienceResponse {
128
+
129
+ const filterSensitiveLog: (obj: AssociateEntitiesToExperienceResponse) => any;
130
+ }
131
+
132
+ export interface InternalServerException extends __SmithyException, $MetadataBearer {
133
+ name: "InternalServerException";
134
+ $fault: "server";
135
+ Message?: string;
136
+ }
137
+ export declare namespace InternalServerException {
138
+
139
+ const filterSensitiveLog: (obj: InternalServerException) => any;
140
+ }
141
+
142
+ export interface ResourceAlreadyExistException extends __SmithyException, $MetadataBearer {
143
+ name: "ResourceAlreadyExistException";
144
+ $fault: "client";
145
+ Message?: string;
146
+ }
147
+ export declare namespace ResourceAlreadyExistException {
148
+
149
+ const filterSensitiveLog: (obj: ResourceAlreadyExistException) => any;
150
+ }
151
+
152
+ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
153
+ name: "ResourceNotFoundException";
154
+ $fault: "client";
155
+ Message?: string;
156
+ }
157
+ export declare namespace ResourceNotFoundException {
158
+
159
+ const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
160
+ }
161
+
162
+ export interface ThrottlingException extends __SmithyException, $MetadataBearer {
163
+ name: "ThrottlingException";
164
+ $fault: "client";
165
+ Message?: string;
166
+ }
167
+ export declare namespace ThrottlingException {
168
+
169
+ const filterSensitiveLog: (obj: ThrottlingException) => any;
170
+ }
171
+
172
+ export interface ValidationException extends __SmithyException, $MetadataBearer {
173
+ name: "ValidationException";
174
+ $fault: "client";
175
+ Message?: string;
176
+ }
177
+ export declare namespace ValidationException {
178
+
179
+ const filterSensitiveLog: (obj: ValidationException) => any;
180
+ }
181
+ export declare enum Persona {
182
+ OWNER = "OWNER",
183
+ VIEWER = "VIEWER"
184
+ }
185
+
186
+ export interface EntityPersonaConfiguration {
187
+
188
+ EntityId: string | undefined;
189
+
190
+ Persona: Persona | string | undefined;
191
+ }
192
+ export declare namespace EntityPersonaConfiguration {
193
+
194
+ const filterSensitiveLog: (obj: EntityPersonaConfiguration) => any;
195
+ }
196
+ export interface AssociatePersonasToEntitiesRequest {
197
+
198
+ Id: string | undefined;
199
+
200
+ IndexId: string | undefined;
201
+
202
+ Personas: EntityPersonaConfiguration[] | undefined;
203
+ }
204
+ export declare namespace AssociatePersonasToEntitiesRequest {
205
+
206
+ const filterSensitiveLog: (obj: AssociatePersonasToEntitiesRequest) => any;
207
+ }
208
+ export interface AssociatePersonasToEntitiesResponse {
209
+
210
+ FailedEntityList?: FailedEntity[];
211
+ }
212
+ export declare namespace AssociatePersonasToEntitiesResponse {
213
+
214
+ const filterSensitiveLog: (obj: AssociatePersonasToEntitiesResponse) => any;
215
+ }
216
+
217
+ export interface DocumentAttributeValue {
88
218
 
89
- interface StringValueMember {
90
- StringValue: string;
91
- StringListValue?: never;
92
- LongValue?: never;
93
- DateValue?: never;
94
- $unknown?: never;
95
- }
96
-
97
- interface StringListValueMember {
98
- StringValue?: never;
99
- StringListValue: string[];
100
- LongValue?: never;
101
- DateValue?: never;
102
- $unknown?: never;
103
- }
104
-
105
- interface LongValueMember {
106
- StringValue?: never;
107
- StringListValue?: never;
108
- LongValue: number;
109
- DateValue?: never;
110
- $unknown?: never;
111
- }
112
-
113
- interface DateValueMember {
114
- StringValue?: never;
115
- StringListValue?: never;
116
- LongValue?: never;
117
- DateValue: Date;
118
- $unknown?: never;
119
- }
120
- interface $UnknownMember {
121
- StringValue?: never;
122
- StringListValue?: never;
123
- LongValue?: never;
124
- DateValue?: never;
125
- $unknown: [
126
- string,
127
- any
128
- ];
129
- }
130
- interface Visitor<T> {
131
- StringValue: (value: string) => T;
132
- StringListValue: (value: string[]) => T;
133
- LongValue: (value: number) => T;
134
- DateValue: (value: Date) => T;
135
- _: (name: string, value: any) => T;
136
- }
137
- const visit: <T>(value: DocumentAttributeValue, visitor: Visitor<T>) => T;
219
+ StringValue?: string;
220
+
221
+ StringListValue?: string[];
222
+
223
+ LongValue?: number;
224
+
225
+ DateValue?: Date;
226
+ }
227
+ export declare namespace DocumentAttributeValue {
138
228
 
139
229
  const filterSensitiveLog: (obj: DocumentAttributeValue) => any;
140
230
  }
@@ -230,46 +320,6 @@ export declare namespace ConflictException {
230
320
  const filterSensitiveLog: (obj: ConflictException) => any;
231
321
  }
232
322
 
233
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
234
- name: "InternalServerException";
235
- $fault: "server";
236
- Message?: string;
237
- }
238
- export declare namespace InternalServerException {
239
-
240
- const filterSensitiveLog: (obj: InternalServerException) => any;
241
- }
242
-
243
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
244
- name: "ResourceNotFoundException";
245
- $fault: "client";
246
- Message?: string;
247
- }
248
- export declare namespace ResourceNotFoundException {
249
-
250
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
251
- }
252
-
253
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
254
- name: "ThrottlingException";
255
- $fault: "client";
256
- Message?: string;
257
- }
258
- export declare namespace ThrottlingException {
259
-
260
- const filterSensitiveLog: (obj: ThrottlingException) => any;
261
- }
262
-
263
- export interface ValidationException extends __SmithyException, $MetadataBearer {
264
- name: "ValidationException";
265
- $fault: "client";
266
- Message?: string;
267
- }
268
- export declare namespace ValidationException {
269
-
270
- const filterSensitiveLog: (obj: ValidationException) => any;
271
- }
272
-
273
323
  export interface DocumentInfo {
274
324
 
275
325
  DocumentId: string | undefined;
@@ -336,6 +386,86 @@ export declare namespace BatchGetDocumentStatusResponse {
336
386
 
337
387
  const filterSensitiveLog: (obj: BatchGetDocumentStatusResponse) => any;
338
388
  }
389
+ export declare enum ConditionOperator {
390
+ BeginsWith = "BeginsWith",
391
+ Contains = "Contains",
392
+ Equals = "Equals",
393
+ Exists = "Exists",
394
+ GreaterThan = "GreaterThan",
395
+ GreaterThanOrEquals = "GreaterThanOrEquals",
396
+ LessThan = "LessThan",
397
+ LessThanOrEquals = "LessThanOrEquals",
398
+ NotContains = "NotContains",
399
+ NotEquals = "NotEquals",
400
+ NotExists = "NotExists"
401
+ }
402
+
403
+ export interface DocumentAttributeCondition {
404
+
405
+ ConditionDocumentAttributeKey: string | undefined;
406
+
407
+ Operator: ConditionOperator | string | undefined;
408
+
409
+ ConditionOnValue?: DocumentAttributeValue;
410
+ }
411
+ export declare namespace DocumentAttributeCondition {
412
+
413
+ const filterSensitiveLog: (obj: DocumentAttributeCondition) => any;
414
+ }
415
+
416
+ export interface DocumentAttributeTarget {
417
+
418
+ TargetDocumentAttributeKey?: string;
419
+
420
+ TargetDocumentAttributeValueDeletion?: boolean;
421
+
422
+ TargetDocumentAttributeValue?: DocumentAttributeValue;
423
+ }
424
+ export declare namespace DocumentAttributeTarget {
425
+
426
+ const filterSensitiveLog: (obj: DocumentAttributeTarget) => any;
427
+ }
428
+
429
+ export interface InlineCustomDocumentEnrichmentConfiguration {
430
+
431
+ Condition?: DocumentAttributeCondition;
432
+
433
+ Target?: DocumentAttributeTarget;
434
+
435
+ DocumentContentDeletion?: boolean;
436
+ }
437
+ export declare namespace InlineCustomDocumentEnrichmentConfiguration {
438
+
439
+ const filterSensitiveLog: (obj: InlineCustomDocumentEnrichmentConfiguration) => any;
440
+ }
441
+
442
+ export interface HookConfiguration {
443
+
444
+ InvocationCondition?: DocumentAttributeCondition;
445
+
446
+ LambdaArn: string | undefined;
447
+
448
+ S3Bucket: string | undefined;
449
+ }
450
+ export declare namespace HookConfiguration {
451
+
452
+ const filterSensitiveLog: (obj: HookConfiguration) => any;
453
+ }
454
+
455
+ export interface CustomDocumentEnrichmentConfiguration {
456
+
457
+ InlineConfigurations?: InlineCustomDocumentEnrichmentConfiguration[];
458
+
459
+ PreExtractionHookConfiguration?: HookConfiguration;
460
+
461
+ PostExtractionHookConfiguration?: HookConfiguration;
462
+
463
+ RoleArn?: string;
464
+ }
465
+ export declare namespace CustomDocumentEnrichmentConfiguration {
466
+
467
+ const filterSensitiveLog: (obj: CustomDocumentEnrichmentConfiguration) => any;
468
+ }
339
469
  export declare enum ReadAccessType {
340
470
  ALLOW = "ALLOW",
341
471
  DENY = "DENY"
@@ -416,6 +546,8 @@ export interface BatchPutDocumentRequest {
416
546
  RoleArn?: string;
417
547
 
418
548
  Documents: Document[] | undefined;
549
+
550
+ CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration;
419
551
  }
420
552
  export declare namespace BatchPutDocumentRequest {
421
553
 
@@ -1213,6 +1345,8 @@ export interface CreateDataSourceRequest {
1213
1345
  ClientToken?: string;
1214
1346
 
1215
1347
  LanguageCode?: string;
1348
+
1349
+ CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration;
1216
1350
  }
1217
1351
  export declare namespace CreateDataSourceRequest {
1218
1352
 
@@ -1227,14 +1361,63 @@ export declare namespace CreateDataSourceResponse {
1227
1361
  const filterSensitiveLog: (obj: CreateDataSourceResponse) => any;
1228
1362
  }
1229
1363
 
1230
- export interface ResourceAlreadyExistException extends __SmithyException, $MetadataBearer {
1231
- name: "ResourceAlreadyExistException";
1232
- $fault: "client";
1233
- Message?: string;
1364
+ export interface ContentSourceConfiguration {
1365
+
1366
+ DataSourceIds?: string[];
1367
+
1368
+ FaqIds?: string[];
1369
+
1370
+ DirectPutContent?: boolean;
1234
1371
  }
1235
- export declare namespace ResourceAlreadyExistException {
1372
+ export declare namespace ContentSourceConfiguration {
1236
1373
 
1237
- const filterSensitiveLog: (obj: ResourceAlreadyExistException) => any;
1374
+ const filterSensitiveLog: (obj: ContentSourceConfiguration) => any;
1375
+ }
1376
+
1377
+ export interface UserIdentityConfiguration {
1378
+
1379
+ IdentityAttributeName?: string;
1380
+ }
1381
+ export declare namespace UserIdentityConfiguration {
1382
+
1383
+ const filterSensitiveLog: (obj: UserIdentityConfiguration) => any;
1384
+ }
1385
+
1386
+ export interface ExperienceConfiguration {
1387
+
1388
+ ContentSourceConfiguration?: ContentSourceConfiguration;
1389
+
1390
+ UserIdentityConfiguration?: UserIdentityConfiguration;
1391
+ }
1392
+ export declare namespace ExperienceConfiguration {
1393
+
1394
+ const filterSensitiveLog: (obj: ExperienceConfiguration) => any;
1395
+ }
1396
+ export interface CreateExperienceRequest {
1397
+
1398
+ Name: string | undefined;
1399
+
1400
+ IndexId: string | undefined;
1401
+
1402
+ RoleArn?: string;
1403
+
1404
+ Configuration?: ExperienceConfiguration;
1405
+
1406
+ Description?: string;
1407
+
1408
+ ClientToken?: string;
1409
+ }
1410
+ export declare namespace CreateExperienceRequest {
1411
+
1412
+ const filterSensitiveLog: (obj: CreateExperienceRequest) => any;
1413
+ }
1414
+ export interface CreateExperienceResponse {
1415
+
1416
+ Id: string | undefined;
1417
+ }
1418
+ export declare namespace CreateExperienceResponse {
1419
+
1420
+ const filterSensitiveLog: (obj: CreateExperienceResponse) => any;
1238
1421
  }
1239
1422
  export declare enum FaqFileFormat {
1240
1423
  CSV = "CSV",
@@ -1450,6 +1633,22 @@ export declare namespace DeleteDataSourceRequest {
1450
1633
 
1451
1634
  const filterSensitiveLog: (obj: DeleteDataSourceRequest) => any;
1452
1635
  }
1636
+ export interface DeleteExperienceRequest {
1637
+
1638
+ Id: string | undefined;
1639
+
1640
+ IndexId: string | undefined;
1641
+ }
1642
+ export declare namespace DeleteExperienceRequest {
1643
+
1644
+ const filterSensitiveLog: (obj: DeleteExperienceRequest) => any;
1645
+ }
1646
+ export interface DeleteExperienceResponse {
1647
+ }
1648
+ export declare namespace DeleteExperienceResponse {
1649
+
1650
+ const filterSensitiveLog: (obj: DeleteExperienceResponse) => any;
1651
+ }
1453
1652
  export interface DeleteFaqRequest {
1454
1653
 
1455
1654
  Id: string | undefined;
@@ -1546,11 +1745,71 @@ export interface DescribeDataSourceResponse {
1546
1745
  ErrorMessage?: string;
1547
1746
 
1548
1747
  LanguageCode?: string;
1748
+
1749
+ CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration;
1549
1750
  }
1550
1751
  export declare namespace DescribeDataSourceResponse {
1551
1752
 
1552
1753
  const filterSensitiveLog: (obj: DescribeDataSourceResponse) => any;
1553
1754
  }
1755
+ export interface DescribeExperienceRequest {
1756
+
1757
+ Id: string | undefined;
1758
+
1759
+ IndexId: string | undefined;
1760
+ }
1761
+ export declare namespace DescribeExperienceRequest {
1762
+
1763
+ const filterSensitiveLog: (obj: DescribeExperienceRequest) => any;
1764
+ }
1765
+ export declare enum EndpointType {
1766
+ HOME = "HOME"
1767
+ }
1768
+
1769
+ export interface ExperienceEndpoint {
1770
+
1771
+ EndpointType?: EndpointType | string;
1772
+
1773
+ Endpoint?: string;
1774
+ }
1775
+ export declare namespace ExperienceEndpoint {
1776
+
1777
+ const filterSensitiveLog: (obj: ExperienceEndpoint) => any;
1778
+ }
1779
+ export declare enum ExperienceStatus {
1780
+ ACTIVE = "ACTIVE",
1781
+ CREATING = "CREATING",
1782
+ DELETING = "DELETING",
1783
+ FAILED = "FAILED"
1784
+ }
1785
+ export interface DescribeExperienceResponse {
1786
+
1787
+ Id?: string;
1788
+
1789
+ IndexId?: string;
1790
+
1791
+ Name?: string;
1792
+
1793
+ Endpoints?: ExperienceEndpoint[];
1794
+
1795
+ Configuration?: ExperienceConfiguration;
1796
+
1797
+ CreatedAt?: Date;
1798
+
1799
+ UpdatedAt?: Date;
1800
+
1801
+ Description?: string;
1802
+
1803
+ Status?: ExperienceStatus | string;
1804
+
1805
+ RoleArn?: string;
1806
+
1807
+ ErrorMessage?: string;
1808
+ }
1809
+ export declare namespace DescribeExperienceResponse {
1810
+
1811
+ const filterSensitiveLog: (obj: DescribeExperienceResponse) => any;
1812
+ }
1554
1813
  export interface DescribeFaqRequest {
1555
1814
 
1556
1815
  Id: string | undefined;
@@ -1941,6 +2200,46 @@ export declare namespace DescribeThesaurusResponse {
1941
2200
 
1942
2201
  const filterSensitiveLog: (obj: DescribeThesaurusResponse) => any;
1943
2202
  }
2203
+ export interface DisassociateEntitiesFromExperienceRequest {
2204
+
2205
+ Id: string | undefined;
2206
+
2207
+ IndexId: string | undefined;
2208
+
2209
+ EntityList: EntityConfiguration[] | undefined;
2210
+ }
2211
+ export declare namespace DisassociateEntitiesFromExperienceRequest {
2212
+
2213
+ const filterSensitiveLog: (obj: DisassociateEntitiesFromExperienceRequest) => any;
2214
+ }
2215
+ export interface DisassociateEntitiesFromExperienceResponse {
2216
+
2217
+ FailedEntityList?: FailedEntity[];
2218
+ }
2219
+ export declare namespace DisassociateEntitiesFromExperienceResponse {
2220
+
2221
+ const filterSensitiveLog: (obj: DisassociateEntitiesFromExperienceResponse) => any;
2222
+ }
2223
+ export interface DisassociatePersonasFromEntitiesRequest {
2224
+
2225
+ Id: string | undefined;
2226
+
2227
+ IndexId: string | undefined;
2228
+
2229
+ EntityIds: string[] | undefined;
2230
+ }
2231
+ export declare namespace DisassociatePersonasFromEntitiesRequest {
2232
+
2233
+ const filterSensitiveLog: (obj: DisassociatePersonasFromEntitiesRequest) => any;
2234
+ }
2235
+ export interface DisassociatePersonasFromEntitiesResponse {
2236
+
2237
+ FailedEntityList?: FailedEntity[];
2238
+ }
2239
+ export declare namespace DisassociatePersonasFromEntitiesResponse {
2240
+
2241
+ const filterSensitiveLog: (obj: DisassociatePersonasFromEntitiesResponse) => any;
2242
+ }
1944
2243
  export interface GetQuerySuggestionsRequest {
1945
2244
 
1946
2245
  IndexId: string | undefined;
@@ -2005,6 +2304,73 @@ export declare namespace GetQuerySuggestionsResponse {
2005
2304
 
2006
2305
  const filterSensitiveLog: (obj: GetQuerySuggestionsResponse) => any;
2007
2306
  }
2307
+ export declare enum Interval {
2308
+ ONE_MONTH_AGO = "ONE_MONTH_AGO",
2309
+ ONE_WEEK_AGO = "ONE_WEEK_AGO",
2310
+ THIS_MONTH = "THIS_MONTH",
2311
+ THIS_WEEK = "THIS_WEEK",
2312
+ TWO_MONTHS_AGO = "TWO_MONTHS_AGO",
2313
+ TWO_WEEKS_AGO = "TWO_WEEKS_AGO"
2314
+ }
2315
+ export declare enum MetricType {
2316
+ AGG_QUERY_DOC_METRICS = "AGG_QUERY_DOC_METRICS",
2317
+ DOCS_BY_CLICK_COUNT = "DOCS_BY_CLICK_COUNT",
2318
+ QUERIES_BY_COUNT = "QUERIES_BY_COUNT",
2319
+ QUERIES_BY_ZERO_CLICK_RATE = "QUERIES_BY_ZERO_CLICK_RATE",
2320
+ QUERIES_BY_ZERO_RESULT_RATE = "QUERIES_BY_ZERO_RESULT_RATE",
2321
+ TREND_QUERY_DOC_METRICS = "TREND_QUERY_DOC_METRICS"
2322
+ }
2323
+ export interface GetSnapshotsRequest {
2324
+
2325
+ IndexId: string | undefined;
2326
+
2327
+ Interval: Interval | string | undefined;
2328
+
2329
+ MetricType: MetricType | string | undefined;
2330
+
2331
+ NextToken?: string;
2332
+
2333
+ MaxResults?: number;
2334
+ }
2335
+ export declare namespace GetSnapshotsRequest {
2336
+
2337
+ const filterSensitiveLog: (obj: GetSnapshotsRequest) => any;
2338
+ }
2339
+
2340
+ export interface TimeRange {
2341
+
2342
+ StartTime?: Date;
2343
+
2344
+ EndTime?: Date;
2345
+ }
2346
+ export declare namespace TimeRange {
2347
+
2348
+ const filterSensitiveLog: (obj: TimeRange) => any;
2349
+ }
2350
+ export interface GetSnapshotsResponse {
2351
+
2352
+ SnapShotTimeFilter?: TimeRange;
2353
+
2354
+ SnapshotsDataHeader?: string[];
2355
+
2356
+ SnapshotsData?: string[][];
2357
+
2358
+ NextToken?: string;
2359
+ }
2360
+ export declare namespace GetSnapshotsResponse {
2361
+
2362
+ const filterSensitiveLog: (obj: GetSnapshotsResponse) => any;
2363
+ }
2364
+
2365
+ export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
2366
+ name: "InvalidRequestException";
2367
+ $fault: "client";
2368
+ Message?: string;
2369
+ }
2370
+ export declare namespace InvalidRequestException {
2371
+
2372
+ const filterSensitiveLog: (obj: InvalidRequestException) => any;
2373
+ }
2008
2374
  export interface ListDataSourcesRequest {
2009
2375
 
2010
2376
  IndexId: string | undefined;
@@ -2048,17 +2414,6 @@ export declare namespace ListDataSourcesResponse {
2048
2414
 
2049
2415
  const filterSensitiveLog: (obj: ListDataSourcesResponse) => any;
2050
2416
  }
2051
-
2052
- export interface TimeRange {
2053
-
2054
- StartTime?: Date;
2055
-
2056
- EndTime?: Date;
2057
- }
2058
- export declare namespace TimeRange {
2059
-
2060
- const filterSensitiveLog: (obj: TimeRange) => any;
2061
- }
2062
2417
  export declare enum DataSourceSyncJobStatus {
2063
2418
  ABORTED = "ABORTED",
2064
2419
  FAILED = "FAILED",
@@ -2136,6 +2491,136 @@ export declare namespace ListDataSourceSyncJobsResponse {
2136
2491
 
2137
2492
  const filterSensitiveLog: (obj: ListDataSourceSyncJobsResponse) => any;
2138
2493
  }
2494
+ export interface ListEntityPersonasRequest {
2495
+
2496
+ Id: string | undefined;
2497
+
2498
+ IndexId: string | undefined;
2499
+
2500
+ NextToken?: string;
2501
+
2502
+ MaxResults?: number;
2503
+ }
2504
+ export declare namespace ListEntityPersonasRequest {
2505
+
2506
+ const filterSensitiveLog: (obj: ListEntityPersonasRequest) => any;
2507
+ }
2508
+
2509
+ export interface PersonasSummary {
2510
+
2511
+ EntityId?: string;
2512
+
2513
+ Persona?: Persona | string;
2514
+
2515
+ CreatedAt?: Date;
2516
+
2517
+ UpdatedAt?: Date;
2518
+ }
2519
+ export declare namespace PersonasSummary {
2520
+
2521
+ const filterSensitiveLog: (obj: PersonasSummary) => any;
2522
+ }
2523
+ export interface ListEntityPersonasResponse {
2524
+
2525
+ SummaryItems?: PersonasSummary[];
2526
+
2527
+ NextToken?: string;
2528
+ }
2529
+ export declare namespace ListEntityPersonasResponse {
2530
+
2531
+ const filterSensitiveLog: (obj: ListEntityPersonasResponse) => any;
2532
+ }
2533
+ export interface ListExperienceEntitiesRequest {
2534
+
2535
+ Id: string | undefined;
2536
+
2537
+ IndexId: string | undefined;
2538
+
2539
+ NextToken?: string;
2540
+ }
2541
+ export declare namespace ListExperienceEntitiesRequest {
2542
+
2543
+ const filterSensitiveLog: (obj: ListExperienceEntitiesRequest) => any;
2544
+ }
2545
+
2546
+ export interface EntityDisplayData {
2547
+
2548
+ UserName?: string;
2549
+
2550
+ GroupName?: string;
2551
+
2552
+ IdentifiedUserName?: string;
2553
+
2554
+ FirstName?: string;
2555
+
2556
+ LastName?: string;
2557
+ }
2558
+ export declare namespace EntityDisplayData {
2559
+
2560
+ const filterSensitiveLog: (obj: EntityDisplayData) => any;
2561
+ }
2562
+
2563
+ export interface ExperienceEntitiesSummary {
2564
+
2565
+ EntityId?: string;
2566
+
2567
+ EntityType?: EntityType | string;
2568
+
2569
+ DisplayData?: EntityDisplayData;
2570
+ }
2571
+ export declare namespace ExperienceEntitiesSummary {
2572
+
2573
+ const filterSensitiveLog: (obj: ExperienceEntitiesSummary) => any;
2574
+ }
2575
+ export interface ListExperienceEntitiesResponse {
2576
+
2577
+ SummaryItems?: ExperienceEntitiesSummary[];
2578
+
2579
+ NextToken?: string;
2580
+ }
2581
+ export declare namespace ListExperienceEntitiesResponse {
2582
+
2583
+ const filterSensitiveLog: (obj: ListExperienceEntitiesResponse) => any;
2584
+ }
2585
+ export interface ListExperiencesRequest {
2586
+
2587
+ IndexId: string | undefined;
2588
+
2589
+ NextToken?: string;
2590
+
2591
+ MaxResults?: number;
2592
+ }
2593
+ export declare namespace ListExperiencesRequest {
2594
+
2595
+ const filterSensitiveLog: (obj: ListExperiencesRequest) => any;
2596
+ }
2597
+
2598
+ export interface ExperiencesSummary {
2599
+
2600
+ Name?: string;
2601
+
2602
+ Id?: string;
2603
+
2604
+ CreatedAt?: Date;
2605
+
2606
+ Status?: ExperienceStatus | string;
2607
+
2608
+ Endpoints?: ExperienceEndpoint[];
2609
+ }
2610
+ export declare namespace ExperiencesSummary {
2611
+
2612
+ const filterSensitiveLog: (obj: ExperiencesSummary) => any;
2613
+ }
2614
+ export interface ListExperiencesResponse {
2615
+
2616
+ SummaryItems?: ExperiencesSummary[];
2617
+
2618
+ NextToken?: string;
2619
+ }
2620
+ export declare namespace ListExperiencesResponse {
2621
+
2622
+ const filterSensitiveLog: (obj: ListExperiencesResponse) => any;
2623
+ }
2139
2624
  export interface ListFaqsRequest {
2140
2625
 
2141
2626
  IndexId: string | undefined;
@@ -2686,11 +3171,31 @@ export interface UpdateDataSourceRequest {
2686
3171
  RoleArn?: string;
2687
3172
 
2688
3173
  LanguageCode?: string;
3174
+
3175
+ CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration;
2689
3176
  }
2690
3177
  export declare namespace UpdateDataSourceRequest {
2691
3178
 
2692
3179
  const filterSensitiveLog: (obj: UpdateDataSourceRequest) => any;
2693
3180
  }
3181
+ export interface UpdateExperienceRequest {
3182
+
3183
+ Id: string | undefined;
3184
+
3185
+ Name?: string;
3186
+
3187
+ IndexId: string | undefined;
3188
+
3189
+ RoleArn?: string;
3190
+
3191
+ Configuration?: ExperienceConfiguration;
3192
+
3193
+ Description?: string;
3194
+ }
3195
+ export declare namespace UpdateExperienceRequest {
3196
+
3197
+ const filterSensitiveLog: (obj: UpdateExperienceRequest) => any;
3198
+ }
2694
3199
  export interface UpdateIndexRequest {
2695
3200
 
2696
3201
  Id: string | undefined;