@aws-sdk/client-kendra 3.934.0 → 3.936.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/dist-cjs/index.js +396 -396
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +382 -0
- package/dist-es/models/errors.js +171 -0
- package/dist-es/models/models_0.js +1 -525
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +1 -2
- package/dist-types/commands/QueryCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveCommand.d.ts +1 -1
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExperienceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFeaturedResultsSetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIndexCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +878 -0
- package/dist-types/models/errors.d.ts +185 -0
- package/dist-types/models/models_0.d.ts +1402 -1004
- package/dist-types/ts3.4/commands/GetQuerySuggestionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFeaturedResultsSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateThesaurusCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +485 -0
- package/dist-types/ts3.4/models/errors.d.ts +101 -0
- package/dist-types/ts3.4/models/models_0.d.ts +322 -559
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -29
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -1462
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -321
|
@@ -1,525 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export const HighlightType = {
|
|
17
|
-
STANDARD: "STANDARD",
|
|
18
|
-
THESAURUS_SYNONYM: "THESAURUS_SYNONYM",
|
|
19
|
-
};
|
|
20
|
-
export const AdditionalResultAttributeValueType = {
|
|
21
|
-
TEXT_WITH_HIGHLIGHTS_VALUE: "TEXT_WITH_HIGHLIGHTS_VALUE",
|
|
22
|
-
};
|
|
23
|
-
export const AlfrescoEntity = {
|
|
24
|
-
blog: "blog",
|
|
25
|
-
documentLibrary: "documentLibrary",
|
|
26
|
-
wiki: "wiki",
|
|
27
|
-
};
|
|
28
|
-
export const EntityType = {
|
|
29
|
-
GROUP: "GROUP",
|
|
30
|
-
USER: "USER",
|
|
31
|
-
};
|
|
32
|
-
export class InternalServerException extends __BaseException {
|
|
33
|
-
name = "InternalServerException";
|
|
34
|
-
$fault = "server";
|
|
35
|
-
Message;
|
|
36
|
-
constructor(opts) {
|
|
37
|
-
super({
|
|
38
|
-
name: "InternalServerException",
|
|
39
|
-
$fault: "server",
|
|
40
|
-
...opts,
|
|
41
|
-
});
|
|
42
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
43
|
-
this.Message = opts.Message;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
export class ResourceAlreadyExistException extends __BaseException {
|
|
47
|
-
name = "ResourceAlreadyExistException";
|
|
48
|
-
$fault = "client";
|
|
49
|
-
Message;
|
|
50
|
-
constructor(opts) {
|
|
51
|
-
super({
|
|
52
|
-
name: "ResourceAlreadyExistException",
|
|
53
|
-
$fault: "client",
|
|
54
|
-
...opts,
|
|
55
|
-
});
|
|
56
|
-
Object.setPrototypeOf(this, ResourceAlreadyExistException.prototype);
|
|
57
|
-
this.Message = opts.Message;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
61
|
-
name = "ResourceNotFoundException";
|
|
62
|
-
$fault = "client";
|
|
63
|
-
Message;
|
|
64
|
-
constructor(opts) {
|
|
65
|
-
super({
|
|
66
|
-
name: "ResourceNotFoundException",
|
|
67
|
-
$fault: "client",
|
|
68
|
-
...opts,
|
|
69
|
-
});
|
|
70
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
71
|
-
this.Message = opts.Message;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export class ThrottlingException extends __BaseException {
|
|
75
|
-
name = "ThrottlingException";
|
|
76
|
-
$fault = "client";
|
|
77
|
-
Message;
|
|
78
|
-
constructor(opts) {
|
|
79
|
-
super({
|
|
80
|
-
name: "ThrottlingException",
|
|
81
|
-
$fault: "client",
|
|
82
|
-
...opts,
|
|
83
|
-
});
|
|
84
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
85
|
-
this.Message = opts.Message;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
export class ValidationException extends __BaseException {
|
|
89
|
-
name = "ValidationException";
|
|
90
|
-
$fault = "client";
|
|
91
|
-
Message;
|
|
92
|
-
constructor(opts) {
|
|
93
|
-
super({
|
|
94
|
-
name: "ValidationException",
|
|
95
|
-
$fault: "client",
|
|
96
|
-
...opts,
|
|
97
|
-
});
|
|
98
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
99
|
-
this.Message = opts.Message;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
export const Persona = {
|
|
103
|
-
OWNER: "OWNER",
|
|
104
|
-
VIEWER: "VIEWER",
|
|
105
|
-
};
|
|
106
|
-
export const AttributeSuggestionsMode = {
|
|
107
|
-
ACTIVE: "ACTIVE",
|
|
108
|
-
INACTIVE: "INACTIVE",
|
|
109
|
-
};
|
|
110
|
-
export const ErrorCode = {
|
|
111
|
-
INTERNAL_ERROR: "InternalError",
|
|
112
|
-
INVALID_REQUEST: "InvalidRequest",
|
|
113
|
-
};
|
|
114
|
-
export class ConflictException extends __BaseException {
|
|
115
|
-
name = "ConflictException";
|
|
116
|
-
$fault = "client";
|
|
117
|
-
Message;
|
|
118
|
-
constructor(opts) {
|
|
119
|
-
super({
|
|
120
|
-
name: "ConflictException",
|
|
121
|
-
$fault: "client",
|
|
122
|
-
...opts,
|
|
123
|
-
});
|
|
124
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
125
|
-
this.Message = opts.Message;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
export const DocumentStatus = {
|
|
129
|
-
FAILED: "FAILED",
|
|
130
|
-
INDEXED: "INDEXED",
|
|
131
|
-
NOT_FOUND: "NOT_FOUND",
|
|
132
|
-
PROCESSING: "PROCESSING",
|
|
133
|
-
UPDATED: "UPDATED",
|
|
134
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
135
|
-
};
|
|
136
|
-
export const ConditionOperator = {
|
|
137
|
-
BeginsWith: "BeginsWith",
|
|
138
|
-
Contains: "Contains",
|
|
139
|
-
Equals: "Equals",
|
|
140
|
-
Exists: "Exists",
|
|
141
|
-
GreaterThan: "GreaterThan",
|
|
142
|
-
GreaterThanOrEquals: "GreaterThanOrEquals",
|
|
143
|
-
LessThan: "LessThan",
|
|
144
|
-
LessThanOrEquals: "LessThanOrEquals",
|
|
145
|
-
NotContains: "NotContains",
|
|
146
|
-
NotEquals: "NotEquals",
|
|
147
|
-
NotExists: "NotExists",
|
|
148
|
-
};
|
|
149
|
-
export const ReadAccessType = {
|
|
150
|
-
ALLOW: "ALLOW",
|
|
151
|
-
DENY: "DENY",
|
|
152
|
-
};
|
|
153
|
-
export const PrincipalType = {
|
|
154
|
-
GROUP: "GROUP",
|
|
155
|
-
USER: "USER",
|
|
156
|
-
};
|
|
157
|
-
export const ContentType = {
|
|
158
|
-
CSV: "CSV",
|
|
159
|
-
HTML: "HTML",
|
|
160
|
-
JSON: "JSON",
|
|
161
|
-
MD: "MD",
|
|
162
|
-
MS_EXCEL: "MS_EXCEL",
|
|
163
|
-
MS_WORD: "MS_WORD",
|
|
164
|
-
PDF: "PDF",
|
|
165
|
-
PLAIN_TEXT: "PLAIN_TEXT",
|
|
166
|
-
PPT: "PPT",
|
|
167
|
-
RTF: "RTF",
|
|
168
|
-
XML: "XML",
|
|
169
|
-
XSLT: "XSLT",
|
|
170
|
-
};
|
|
171
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
172
|
-
name = "ServiceQuotaExceededException";
|
|
173
|
-
$fault = "client";
|
|
174
|
-
Message;
|
|
175
|
-
constructor(opts) {
|
|
176
|
-
super({
|
|
177
|
-
name: "ServiceQuotaExceededException",
|
|
178
|
-
$fault: "client",
|
|
179
|
-
...opts,
|
|
180
|
-
});
|
|
181
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
182
|
-
this.Message = opts.Message;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
export const ConfluenceAttachmentFieldName = {
|
|
186
|
-
AUTHOR: "AUTHOR",
|
|
187
|
-
CONTENT_TYPE: "CONTENT_TYPE",
|
|
188
|
-
CREATED_DATE: "CREATED_DATE",
|
|
189
|
-
DISPLAY_URL: "DISPLAY_URL",
|
|
190
|
-
FILE_SIZE: "FILE_SIZE",
|
|
191
|
-
ITEM_TYPE: "ITEM_TYPE",
|
|
192
|
-
PARENT_ID: "PARENT_ID",
|
|
193
|
-
SPACE_KEY: "SPACE_KEY",
|
|
194
|
-
SPACE_NAME: "SPACE_NAME",
|
|
195
|
-
URL: "URL",
|
|
196
|
-
VERSION: "VERSION",
|
|
197
|
-
};
|
|
198
|
-
export const ConfluenceAuthenticationType = {
|
|
199
|
-
HTTP_BASIC: "HTTP_BASIC",
|
|
200
|
-
PAT: "PAT",
|
|
201
|
-
};
|
|
202
|
-
export const ConfluenceBlogFieldName = {
|
|
203
|
-
AUTHOR: "AUTHOR",
|
|
204
|
-
DISPLAY_URL: "DISPLAY_URL",
|
|
205
|
-
ITEM_TYPE: "ITEM_TYPE",
|
|
206
|
-
LABELS: "LABELS",
|
|
207
|
-
PUBLISH_DATE: "PUBLISH_DATE",
|
|
208
|
-
SPACE_KEY: "SPACE_KEY",
|
|
209
|
-
SPACE_NAME: "SPACE_NAME",
|
|
210
|
-
URL: "URL",
|
|
211
|
-
VERSION: "VERSION",
|
|
212
|
-
};
|
|
213
|
-
export const ConfluencePageFieldName = {
|
|
214
|
-
AUTHOR: "AUTHOR",
|
|
215
|
-
CONTENT_STATUS: "CONTENT_STATUS",
|
|
216
|
-
CREATED_DATE: "CREATED_DATE",
|
|
217
|
-
DISPLAY_URL: "DISPLAY_URL",
|
|
218
|
-
ITEM_TYPE: "ITEM_TYPE",
|
|
219
|
-
LABELS: "LABELS",
|
|
220
|
-
MODIFIED_DATE: "MODIFIED_DATE",
|
|
221
|
-
PARENT_ID: "PARENT_ID",
|
|
222
|
-
SPACE_KEY: "SPACE_KEY",
|
|
223
|
-
SPACE_NAME: "SPACE_NAME",
|
|
224
|
-
URL: "URL",
|
|
225
|
-
VERSION: "VERSION",
|
|
226
|
-
};
|
|
227
|
-
export const ConfluenceSpaceFieldName = {
|
|
228
|
-
DISPLAY_URL: "DISPLAY_URL",
|
|
229
|
-
ITEM_TYPE: "ITEM_TYPE",
|
|
230
|
-
SPACE_KEY: "SPACE_KEY",
|
|
231
|
-
URL: "URL",
|
|
232
|
-
};
|
|
233
|
-
export const ConfluenceVersion = {
|
|
234
|
-
CLOUD: "CLOUD",
|
|
235
|
-
SERVER: "SERVER",
|
|
236
|
-
};
|
|
237
|
-
export const DatabaseEngineType = {
|
|
238
|
-
RDS_AURORA_MYSQL: "RDS_AURORA_MYSQL",
|
|
239
|
-
RDS_AURORA_POSTGRESQL: "RDS_AURORA_POSTGRESQL",
|
|
240
|
-
RDS_MYSQL: "RDS_MYSQL",
|
|
241
|
-
RDS_POSTGRESQL: "RDS_POSTGRESQL",
|
|
242
|
-
};
|
|
243
|
-
export const QueryIdentifiersEnclosingOption = {
|
|
244
|
-
DOUBLE_QUOTES: "DOUBLE_QUOTES",
|
|
245
|
-
NONE: "NONE",
|
|
246
|
-
};
|
|
247
|
-
export const FsxFileSystemType = {
|
|
248
|
-
WINDOWS: "WINDOWS",
|
|
249
|
-
};
|
|
250
|
-
export const Type = {
|
|
251
|
-
ON_PREMISE: "ON_PREMISE",
|
|
252
|
-
SAAS: "SAAS",
|
|
253
|
-
};
|
|
254
|
-
export const IssueSubEntity = {
|
|
255
|
-
ATTACHMENTS: "ATTACHMENTS",
|
|
256
|
-
COMMENTS: "COMMENTS",
|
|
257
|
-
WORKLOGS: "WORKLOGS",
|
|
258
|
-
};
|
|
259
|
-
export const SalesforceChatterFeedIncludeFilterType = {
|
|
260
|
-
ACTIVE_USER: "ACTIVE_USER",
|
|
261
|
-
STANDARD_USER: "STANDARD_USER",
|
|
262
|
-
};
|
|
263
|
-
export const SalesforceKnowledgeArticleState = {
|
|
264
|
-
ARCHIVED: "ARCHIVED",
|
|
265
|
-
DRAFT: "DRAFT",
|
|
266
|
-
PUBLISHED: "PUBLISHED",
|
|
267
|
-
};
|
|
268
|
-
export const SalesforceStandardObjectName = {
|
|
269
|
-
ACCOUNT: "ACCOUNT",
|
|
270
|
-
CAMPAIGN: "CAMPAIGN",
|
|
271
|
-
CASE: "CASE",
|
|
272
|
-
CONTACT: "CONTACT",
|
|
273
|
-
CONTRACT: "CONTRACT",
|
|
274
|
-
DOCUMENT: "DOCUMENT",
|
|
275
|
-
GROUP: "GROUP",
|
|
276
|
-
IDEA: "IDEA",
|
|
277
|
-
LEAD: "LEAD",
|
|
278
|
-
OPPORTUNITY: "OPPORTUNITY",
|
|
279
|
-
PARTNER: "PARTNER",
|
|
280
|
-
PRICEBOOK: "PRICEBOOK",
|
|
281
|
-
PRODUCT: "PRODUCT",
|
|
282
|
-
PROFILE: "PROFILE",
|
|
283
|
-
SOLUTION: "SOLUTION",
|
|
284
|
-
TASK: "TASK",
|
|
285
|
-
USER: "USER",
|
|
286
|
-
};
|
|
287
|
-
export const ServiceNowAuthenticationType = {
|
|
288
|
-
HTTP_BASIC: "HTTP_BASIC",
|
|
289
|
-
OAUTH2: "OAUTH2",
|
|
290
|
-
};
|
|
291
|
-
export const ServiceNowBuildVersionType = {
|
|
292
|
-
LONDON: "LONDON",
|
|
293
|
-
OTHERS: "OTHERS",
|
|
294
|
-
};
|
|
295
|
-
export const SharePointOnlineAuthenticationType = {
|
|
296
|
-
HTTP_BASIC: "HTTP_BASIC",
|
|
297
|
-
OAUTH2: "OAUTH2",
|
|
298
|
-
};
|
|
299
|
-
export const SharePointVersion = {
|
|
300
|
-
SHAREPOINT_2013: "SHAREPOINT_2013",
|
|
301
|
-
SHAREPOINT_2016: "SHAREPOINT_2016",
|
|
302
|
-
SHAREPOINT_2019: "SHAREPOINT_2019",
|
|
303
|
-
SHAREPOINT_ONLINE: "SHAREPOINT_ONLINE",
|
|
304
|
-
};
|
|
305
|
-
export const SlackEntity = {
|
|
306
|
-
DIRECT_MESSAGE: "DIRECT_MESSAGE",
|
|
307
|
-
GROUP_MESSAGE: "GROUP_MESSAGE",
|
|
308
|
-
PRIVATE_CHANNEL: "PRIVATE_CHANNEL",
|
|
309
|
-
PUBLIC_CHANNEL: "PUBLIC_CHANNEL",
|
|
310
|
-
};
|
|
311
|
-
export const WebCrawlerMode = {
|
|
312
|
-
EVERYTHING: "EVERYTHING",
|
|
313
|
-
HOST_ONLY: "HOST_ONLY",
|
|
314
|
-
SUBDOMAINS: "SUBDOMAINS",
|
|
315
|
-
};
|
|
316
|
-
export const DataSourceType = {
|
|
317
|
-
ALFRESCO: "ALFRESCO",
|
|
318
|
-
BOX: "BOX",
|
|
319
|
-
CONFLUENCE: "CONFLUENCE",
|
|
320
|
-
CUSTOM: "CUSTOM",
|
|
321
|
-
DATABASE: "DATABASE",
|
|
322
|
-
FSX: "FSX",
|
|
323
|
-
GITHUB: "GITHUB",
|
|
324
|
-
GOOGLEDRIVE: "GOOGLEDRIVE",
|
|
325
|
-
JIRA: "JIRA",
|
|
326
|
-
ONEDRIVE: "ONEDRIVE",
|
|
327
|
-
QUIP: "QUIP",
|
|
328
|
-
S3: "S3",
|
|
329
|
-
SALESFORCE: "SALESFORCE",
|
|
330
|
-
SERVICENOW: "SERVICENOW",
|
|
331
|
-
SHAREPOINT: "SHAREPOINT",
|
|
332
|
-
SLACK: "SLACK",
|
|
333
|
-
TEMPLATE: "TEMPLATE",
|
|
334
|
-
WEBCRAWLER: "WEBCRAWLER",
|
|
335
|
-
WORKDOCS: "WORKDOCS",
|
|
336
|
-
};
|
|
337
|
-
export const FaqFileFormat = {
|
|
338
|
-
CSV: "CSV",
|
|
339
|
-
CSV_WITH_HEADER: "CSV_WITH_HEADER",
|
|
340
|
-
JSON: "JSON",
|
|
341
|
-
};
|
|
342
|
-
export const FeaturedResultsSetStatus = {
|
|
343
|
-
ACTIVE: "ACTIVE",
|
|
344
|
-
INACTIVE: "INACTIVE",
|
|
345
|
-
};
|
|
346
|
-
export class FeaturedResultsConflictException extends __BaseException {
|
|
347
|
-
name = "FeaturedResultsConflictException";
|
|
348
|
-
$fault = "client";
|
|
349
|
-
Message;
|
|
350
|
-
ConflictingItems;
|
|
351
|
-
constructor(opts) {
|
|
352
|
-
super({
|
|
353
|
-
name: "FeaturedResultsConflictException",
|
|
354
|
-
$fault: "client",
|
|
355
|
-
...opts,
|
|
356
|
-
});
|
|
357
|
-
Object.setPrototypeOf(this, FeaturedResultsConflictException.prototype);
|
|
358
|
-
this.Message = opts.Message;
|
|
359
|
-
this.ConflictingItems = opts.ConflictingItems;
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
export const IndexEdition = {
|
|
363
|
-
DEVELOPER_EDITION: "DEVELOPER_EDITION",
|
|
364
|
-
ENTERPRISE_EDITION: "ENTERPRISE_EDITION",
|
|
365
|
-
GEN_AI_ENTERPRISE_EDITION: "GEN_AI_ENTERPRISE_EDITION",
|
|
366
|
-
};
|
|
367
|
-
export const UserContextPolicy = {
|
|
368
|
-
ATTRIBUTE_FILTER: "ATTRIBUTE_FILTER",
|
|
369
|
-
USER_TOKEN: "USER_TOKEN",
|
|
370
|
-
};
|
|
371
|
-
export const UserGroupResolutionMode = {
|
|
372
|
-
AWS_SSO: "AWS_SSO",
|
|
373
|
-
NONE: "NONE",
|
|
374
|
-
};
|
|
375
|
-
export const KeyLocation = {
|
|
376
|
-
SECRET_MANAGER: "SECRET_MANAGER",
|
|
377
|
-
URL: "URL",
|
|
378
|
-
};
|
|
379
|
-
export const DataSourceStatus = {
|
|
380
|
-
ACTIVE: "ACTIVE",
|
|
381
|
-
CREATING: "CREATING",
|
|
382
|
-
DELETING: "DELETING",
|
|
383
|
-
FAILED: "FAILED",
|
|
384
|
-
UPDATING: "UPDATING",
|
|
385
|
-
};
|
|
386
|
-
export const EndpointType = {
|
|
387
|
-
HOME: "HOME",
|
|
388
|
-
};
|
|
389
|
-
export const ExperienceStatus = {
|
|
390
|
-
ACTIVE: "ACTIVE",
|
|
391
|
-
CREATING: "CREATING",
|
|
392
|
-
DELETING: "DELETING",
|
|
393
|
-
FAILED: "FAILED",
|
|
394
|
-
};
|
|
395
|
-
export const FaqStatus = {
|
|
396
|
-
ACTIVE: "ACTIVE",
|
|
397
|
-
CREATING: "CREATING",
|
|
398
|
-
DELETING: "DELETING",
|
|
399
|
-
FAILED: "FAILED",
|
|
400
|
-
UPDATING: "UPDATING",
|
|
401
|
-
};
|
|
402
|
-
export const Order = {
|
|
403
|
-
ASCENDING: "ASCENDING",
|
|
404
|
-
DESCENDING: "DESCENDING",
|
|
405
|
-
};
|
|
406
|
-
export const DocumentAttributeValueType = {
|
|
407
|
-
DATE_VALUE: "DATE_VALUE",
|
|
408
|
-
LONG_VALUE: "LONG_VALUE",
|
|
409
|
-
STRING_LIST_VALUE: "STRING_LIST_VALUE",
|
|
410
|
-
STRING_VALUE: "STRING_VALUE",
|
|
411
|
-
};
|
|
412
|
-
export const IndexStatus = {
|
|
413
|
-
ACTIVE: "ACTIVE",
|
|
414
|
-
CREATING: "CREATING",
|
|
415
|
-
DELETING: "DELETING",
|
|
416
|
-
FAILED: "FAILED",
|
|
417
|
-
SYSTEM_UPDATING: "SYSTEM_UPDATING",
|
|
418
|
-
UPDATING: "UPDATING",
|
|
419
|
-
};
|
|
420
|
-
export const PrincipalMappingStatus = {
|
|
421
|
-
DELETED: "DELETED",
|
|
422
|
-
DELETING: "DELETING",
|
|
423
|
-
FAILED: "FAILED",
|
|
424
|
-
PROCESSING: "PROCESSING",
|
|
425
|
-
SUCCEEDED: "SUCCEEDED",
|
|
426
|
-
};
|
|
427
|
-
export const QuerySuggestionsBlockListStatus = {
|
|
428
|
-
ACTIVE: "ACTIVE",
|
|
429
|
-
ACTIVE_BUT_UPDATE_FAILED: "ACTIVE_BUT_UPDATE_FAILED",
|
|
430
|
-
CREATING: "CREATING",
|
|
431
|
-
DELETING: "DELETING",
|
|
432
|
-
FAILED: "FAILED",
|
|
433
|
-
UPDATING: "UPDATING",
|
|
434
|
-
};
|
|
435
|
-
export const Mode = {
|
|
436
|
-
ENABLED: "ENABLED",
|
|
437
|
-
LEARN_ONLY: "LEARN_ONLY",
|
|
438
|
-
};
|
|
439
|
-
export const QuerySuggestionsStatus = {
|
|
440
|
-
ACTIVE: "ACTIVE",
|
|
441
|
-
UPDATING: "UPDATING",
|
|
442
|
-
};
|
|
443
|
-
export const ThesaurusStatus = {
|
|
444
|
-
ACTIVE: "ACTIVE",
|
|
445
|
-
ACTIVE_BUT_UPDATE_FAILED: "ACTIVE_BUT_UPDATE_FAILED",
|
|
446
|
-
CREATING: "CREATING",
|
|
447
|
-
DELETING: "DELETING",
|
|
448
|
-
FAILED: "FAILED",
|
|
449
|
-
UPDATING: "UPDATING",
|
|
450
|
-
};
|
|
451
|
-
export const SuggestionType = {
|
|
452
|
-
DOCUMENT_ATTRIBUTES: "DOCUMENT_ATTRIBUTES",
|
|
453
|
-
QUERY: "QUERY",
|
|
454
|
-
};
|
|
455
|
-
export const Interval = {
|
|
456
|
-
ONE_MONTH_AGO: "ONE_MONTH_AGO",
|
|
457
|
-
ONE_WEEK_AGO: "ONE_WEEK_AGO",
|
|
458
|
-
THIS_MONTH: "THIS_MONTH",
|
|
459
|
-
THIS_WEEK: "THIS_WEEK",
|
|
460
|
-
TWO_MONTHS_AGO: "TWO_MONTHS_AGO",
|
|
461
|
-
TWO_WEEKS_AGO: "TWO_WEEKS_AGO",
|
|
462
|
-
};
|
|
463
|
-
export const MetricType = {
|
|
464
|
-
AGG_QUERY_DOC_METRICS: "AGG_QUERY_DOC_METRICS",
|
|
465
|
-
DOCS_BY_CLICK_COUNT: "DOCS_BY_CLICK_COUNT",
|
|
466
|
-
QUERIES_BY_COUNT: "QUERIES_BY_COUNT",
|
|
467
|
-
QUERIES_BY_ZERO_CLICK_RATE: "QUERIES_BY_ZERO_CLICK_RATE",
|
|
468
|
-
QUERIES_BY_ZERO_RESULT_RATE: "QUERIES_BY_ZERO_RESULT_RATE",
|
|
469
|
-
TREND_QUERY_DOC_METRICS: "TREND_QUERY_DOC_METRICS",
|
|
470
|
-
};
|
|
471
|
-
export class InvalidRequestException extends __BaseException {
|
|
472
|
-
name = "InvalidRequestException";
|
|
473
|
-
$fault = "client";
|
|
474
|
-
Message;
|
|
475
|
-
constructor(opts) {
|
|
476
|
-
super({
|
|
477
|
-
name: "InvalidRequestException",
|
|
478
|
-
$fault: "client",
|
|
479
|
-
...opts,
|
|
480
|
-
});
|
|
481
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
482
|
-
this.Message = opts.Message;
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
export const DataSourceSyncJobStatus = {
|
|
486
|
-
ABORTED: "ABORTED",
|
|
487
|
-
FAILED: "FAILED",
|
|
488
|
-
INCOMPLETE: "INCOMPLETE",
|
|
489
|
-
STOPPING: "STOPPING",
|
|
490
|
-
SUCCEEDED: "SUCCEEDED",
|
|
491
|
-
SYNCING: "SYNCING",
|
|
492
|
-
SYNCING_INDEXING: "SYNCING_INDEXING",
|
|
493
|
-
};
|
|
494
|
-
export class ResourceUnavailableException extends __BaseException {
|
|
495
|
-
name = "ResourceUnavailableException";
|
|
496
|
-
$fault = "client";
|
|
497
|
-
Message;
|
|
498
|
-
constructor(opts) {
|
|
499
|
-
super({
|
|
500
|
-
name: "ResourceUnavailableException",
|
|
501
|
-
$fault: "client",
|
|
502
|
-
...opts,
|
|
503
|
-
});
|
|
504
|
-
Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
|
|
505
|
-
this.Message = opts.Message;
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
export const MissingAttributeKeyStrategy = {
|
|
509
|
-
COLLAPSE: "COLLAPSE",
|
|
510
|
-
EXPAND: "EXPAND",
|
|
511
|
-
IGNORE: "IGNORE",
|
|
512
|
-
};
|
|
513
|
-
export const SortOrder = {
|
|
514
|
-
ASC: "ASC",
|
|
515
|
-
DESC: "DESC",
|
|
516
|
-
};
|
|
517
|
-
export const QueryResultType = {
|
|
518
|
-
ANSWER: "ANSWER",
|
|
519
|
-
DOCUMENT: "DOCUMENT",
|
|
520
|
-
QUESTION_ANSWER: "QUESTION_ANSWER",
|
|
521
|
-
};
|
|
522
|
-
export const QueryResultFormat = {
|
|
523
|
-
TABLE: "TABLE",
|
|
524
|
-
TEXT: "TEXT",
|
|
525
|
-
};
|
|
1
|
+
export {};
|
|
@@ -811,7 +811,7 @@ const _s = "server";
|
|
|
811
811
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.kendra";
|
|
812
812
|
const n0 = "com.amazonaws.kendra";
|
|
813
813
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
814
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, FeaturedResultsConflictException as __FeaturedResultsConflictException, InternalServerException as __InternalServerException, InvalidRequestException as __InvalidRequestException, ResourceAlreadyExistException as __ResourceAlreadyExistException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, ResourceUnavailableException as __ResourceUnavailableException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
814
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, FeaturedResultsConflictException as __FeaturedResultsConflictException, InternalServerException as __InternalServerException, InvalidRequestException as __InvalidRequestException, ResourceAlreadyExistException as __ResourceAlreadyExistException, ResourceInUseException as __ResourceInUseException, ResourceNotFoundException as __ResourceNotFoundException, ResourceUnavailableException as __ResourceUnavailableException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
815
815
|
import { KendraServiceException as __KendraServiceException } from "../models/KendraServiceException";
|
|
816
816
|
export var KmsKeyId = [0, n0, _KKI, 8, 0];
|
|
817
817
|
export var NameType = [0, n0, _NT, 8, 0];
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { GetQuerySuggestionsResponse } from "../models/models_0";
|
|
5
|
-
import { GetQuerySuggestionsRequest } from "../models/models_1";
|
|
4
|
+
import { GetQuerySuggestionsRequest, GetQuerySuggestionsResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { QueryRequest, QueryResult } from "../models/
|
|
4
|
+
import { QueryRequest, QueryResult } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { RetrieveRequest, RetrieveResult } from "../models/
|
|
4
|
+
import { RetrieveRequest, RetrieveResult } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { StartDataSourceSyncJobRequest, StartDataSourceSyncJobResponse } from "../models/
|
|
4
|
+
import { StartDataSourceSyncJobRequest, StartDataSourceSyncJobResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { StopDataSourceSyncJobRequest } from "../models/
|
|
4
|
+
import { StopDataSourceSyncJobRequest } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { SubmitFeedbackRequest } from "../models/
|
|
4
|
+
import { SubmitFeedbackRequest } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/
|
|
4
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/
|
|
4
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { UpdateAccessControlConfigurationRequest, UpdateAccessControlConfigurationResponse } from "../models/
|
|
4
|
+
import { UpdateAccessControlConfigurationRequest, UpdateAccessControlConfigurationResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { UpdateDataSourceRequest } from "../models/
|
|
4
|
+
import { UpdateDataSourceRequest } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { UpdateExperienceRequest } from "../models/
|
|
4
|
+
import { UpdateExperienceRequest } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { UpdateFeaturedResultsSetRequest, UpdateFeaturedResultsSetResponse } from "../models/
|
|
4
|
+
import { UpdateFeaturedResultsSetRequest, UpdateFeaturedResultsSetResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { UpdateIndexRequest } from "../models/
|
|
4
|
+
import { UpdateIndexRequest } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { UpdateQuerySuggestionsBlockListRequest } from "../models/
|
|
4
|
+
import { UpdateQuerySuggestionsBlockListRequest } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
4
|
-
import { UpdateQuerySuggestionsConfigRequest } from "../models/
|
|
4
|
+
import { UpdateQuerySuggestionsConfigRequest } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|