@aws-sdk/client-kendra 3.43.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.
- package/CHANGELOG.md +11 -0
- package/README.md +7 -7
- package/dist-cjs/Kendra.js +180 -0
- package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +36 -0
- package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +36 -0
- package/dist-cjs/commands/CreateExperienceCommand.js +36 -0
- package/dist-cjs/commands/DeleteExperienceCommand.js +36 -0
- package/dist-cjs/commands/DescribeExperienceCommand.js +36 -0
- package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +36 -0
- package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +36 -0
- package/dist-cjs/commands/GetSnapshotsCommand.js +36 -0
- package/dist-cjs/commands/ListEntityPersonasCommand.js +36 -0
- package/dist-cjs/commands/ListExperienceEntitiesCommand.js +36 -0
- package/dist-cjs/commands/ListExperiencesCommand.js +36 -0
- package/dist-cjs/commands/UpdateExperienceCommand.js +36 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/models/models_0.js +342 -39
- package/dist-cjs/pagination/ListEntityPersonasPaginator.js +35 -0
- package/dist-cjs/pagination/ListExperienceEntitiesPaginator.js +34 -0
- package/dist-cjs/pagination/ListExperiencesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2043 -261
- package/dist-es/Kendra.js +180 -0
- package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +39 -0
- package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +39 -0
- package/dist-es/commands/CreateExperienceCommand.js +39 -0
- package/dist-es/commands/DeleteExperienceCommand.js +39 -0
- package/dist-es/commands/DescribeExperienceCommand.js +39 -0
- package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +39 -0
- package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +39 -0
- package/dist-es/commands/GetSnapshotsCommand.js +39 -0
- package/dist-es/commands/ListEntityPersonasCommand.js +39 -0
- package/dist-es/commands/ListExperienceEntitiesCommand.js +39 -0
- package/dist-es/commands/ListExperiencesCommand.js +39 -0
- package/dist-es/commands/UpdateExperienceCommand.js +39 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/models_0.js +239 -24
- package/dist-es/pagination/ListEntityPersonasPaginator.js +74 -0
- package/dist-es/pagination/ListExperienceEntitiesPaginator.js +73 -0
- package/dist-es/pagination/ListExperiencesPaginator.js +74 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +2042 -234
- package/dist-types/Kendra.d.ts +164 -1
- package/dist-types/KendraClient.d.ts +14 -2
- package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +39 -0
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +39 -0
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +3 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/CreateExperienceCommand.d.ts +37 -0
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +3 -0
- package/dist-types/commands/DeleteExperienceCommand.d.ts +37 -0
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +3 -0
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +3 -0
- package/dist-types/commands/DescribeExperienceCommand.d.ts +38 -0
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +3 -0
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +3 -0
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +39 -0
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +39 -0
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +3 -0
- package/dist-types/commands/GetSnapshotsCommand.d.ts +37 -0
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +36 -0
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +39 -0
- package/dist-types/commands/ListExperiencesCommand.d.ts +38 -0
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +3 -0
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +3 -0
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +3 -0
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +4 -1
- package/dist-types/commands/UpdateExperienceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +3 -0
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +1316 -180
- package/dist-types/pagination/ListEntityPersonasPaginator.d.ts +4 -0
- package/dist-types/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListExperiencesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/Kendra.d.ts +60 -0
- package/dist-types/ts3.4/KendraClient.d.ts +14 -2
- package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +603 -57
- package/dist-types/ts3.4/pagination/ListEntityPersonasPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExperiencesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +1 -1
|
@@ -82,6 +82,137 @@ 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
|
+
}
|
|
89
|
+
|
|
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
|
+
}
|
|
85
216
|
|
|
86
217
|
export interface DocumentAttributeValue {
|
|
87
218
|
|
|
@@ -189,46 +320,6 @@ export declare namespace ConflictException {
|
|
|
189
320
|
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
190
321
|
}
|
|
191
322
|
|
|
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
|
-
|
|
232
323
|
export interface DocumentInfo {
|
|
233
324
|
|
|
234
325
|
DocumentId: string | undefined;
|
|
@@ -295,6 +386,86 @@ export declare namespace BatchGetDocumentStatusResponse {
|
|
|
295
386
|
|
|
296
387
|
const filterSensitiveLog: (obj: BatchGetDocumentStatusResponse) => any;
|
|
297
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
|
+
}
|
|
298
469
|
export declare enum ReadAccessType {
|
|
299
470
|
ALLOW = "ALLOW",
|
|
300
471
|
DENY = "DENY"
|
|
@@ -375,6 +546,8 @@ export interface BatchPutDocumentRequest {
|
|
|
375
546
|
RoleArn?: string;
|
|
376
547
|
|
|
377
548
|
Documents: Document[] | undefined;
|
|
549
|
+
|
|
550
|
+
CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration;
|
|
378
551
|
}
|
|
379
552
|
export declare namespace BatchPutDocumentRequest {
|
|
380
553
|
|
|
@@ -1172,6 +1345,8 @@ export interface CreateDataSourceRequest {
|
|
|
1172
1345
|
ClientToken?: string;
|
|
1173
1346
|
|
|
1174
1347
|
LanguageCode?: string;
|
|
1348
|
+
|
|
1349
|
+
CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration;
|
|
1175
1350
|
}
|
|
1176
1351
|
export declare namespace CreateDataSourceRequest {
|
|
1177
1352
|
|
|
@@ -1186,14 +1361,63 @@ export declare namespace CreateDataSourceResponse {
|
|
|
1186
1361
|
const filterSensitiveLog: (obj: CreateDataSourceResponse) => any;
|
|
1187
1362
|
}
|
|
1188
1363
|
|
|
1189
|
-
export interface
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1364
|
+
export interface ContentSourceConfiguration {
|
|
1365
|
+
|
|
1366
|
+
DataSourceIds?: string[];
|
|
1367
|
+
|
|
1368
|
+
FaqIds?: string[];
|
|
1369
|
+
|
|
1370
|
+
DirectPutContent?: boolean;
|
|
1193
1371
|
}
|
|
1194
|
-
export declare namespace
|
|
1372
|
+
export declare namespace ContentSourceConfiguration {
|
|
1195
1373
|
|
|
1196
|
-
const filterSensitiveLog: (obj:
|
|
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;
|
|
1197
1421
|
}
|
|
1198
1422
|
export declare enum FaqFileFormat {
|
|
1199
1423
|
CSV = "CSV",
|
|
@@ -1409,6 +1633,22 @@ export declare namespace DeleteDataSourceRequest {
|
|
|
1409
1633
|
|
|
1410
1634
|
const filterSensitiveLog: (obj: DeleteDataSourceRequest) => any;
|
|
1411
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
|
+
}
|
|
1412
1652
|
export interface DeleteFaqRequest {
|
|
1413
1653
|
|
|
1414
1654
|
Id: string | undefined;
|
|
@@ -1505,11 +1745,71 @@ export interface DescribeDataSourceResponse {
|
|
|
1505
1745
|
ErrorMessage?: string;
|
|
1506
1746
|
|
|
1507
1747
|
LanguageCode?: string;
|
|
1748
|
+
|
|
1749
|
+
CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration;
|
|
1508
1750
|
}
|
|
1509
1751
|
export declare namespace DescribeDataSourceResponse {
|
|
1510
1752
|
|
|
1511
1753
|
const filterSensitiveLog: (obj: DescribeDataSourceResponse) => any;
|
|
1512
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
|
+
}
|
|
1513
1813
|
export interface DescribeFaqRequest {
|
|
1514
1814
|
|
|
1515
1815
|
Id: string | undefined;
|
|
@@ -1900,6 +2200,46 @@ export declare namespace DescribeThesaurusResponse {
|
|
|
1900
2200
|
|
|
1901
2201
|
const filterSensitiveLog: (obj: DescribeThesaurusResponse) => any;
|
|
1902
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
|
+
}
|
|
1903
2243
|
export interface GetQuerySuggestionsRequest {
|
|
1904
2244
|
|
|
1905
2245
|
IndexId: string | undefined;
|
|
@@ -1964,6 +2304,73 @@ export declare namespace GetQuerySuggestionsResponse {
|
|
|
1964
2304
|
|
|
1965
2305
|
const filterSensitiveLog: (obj: GetQuerySuggestionsResponse) => any;
|
|
1966
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
|
+
}
|
|
1967
2374
|
export interface ListDataSourcesRequest {
|
|
1968
2375
|
|
|
1969
2376
|
IndexId: string | undefined;
|
|
@@ -2007,17 +2414,6 @@ export declare namespace ListDataSourcesResponse {
|
|
|
2007
2414
|
|
|
2008
2415
|
const filterSensitiveLog: (obj: ListDataSourcesResponse) => any;
|
|
2009
2416
|
}
|
|
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
2417
|
export declare enum DataSourceSyncJobStatus {
|
|
2022
2418
|
ABORTED = "ABORTED",
|
|
2023
2419
|
FAILED = "FAILED",
|
|
@@ -2095,6 +2491,136 @@ export declare namespace ListDataSourceSyncJobsResponse {
|
|
|
2095
2491
|
|
|
2096
2492
|
const filterSensitiveLog: (obj: ListDataSourceSyncJobsResponse) => any;
|
|
2097
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
|
+
}
|
|
2098
2624
|
export interface ListFaqsRequest {
|
|
2099
2625
|
|
|
2100
2626
|
IndexId: string | undefined;
|
|
@@ -2645,11 +3171,31 @@ export interface UpdateDataSourceRequest {
|
|
|
2645
3171
|
RoleArn?: string;
|
|
2646
3172
|
|
|
2647
3173
|
LanguageCode?: string;
|
|
3174
|
+
|
|
3175
|
+
CustomDocumentEnrichmentConfiguration?: CustomDocumentEnrichmentConfiguration;
|
|
2648
3176
|
}
|
|
2649
3177
|
export declare namespace UpdateDataSourceRequest {
|
|
2650
3178
|
|
|
2651
3179
|
const filterSensitiveLog: (obj: UpdateDataSourceRequest) => any;
|
|
2652
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
|
+
}
|
|
2653
3199
|
export interface UpdateIndexRequest {
|
|
2654
3200
|
|
|
2655
3201
|
Id: string | undefined;
|