@aws-sdk/client-kendra 3.51.0 → 3.54.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 +33 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/KendraServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +190 -6
- package/dist-cjs/protocols/Aws_json1_1.js +794 -2572
- package/dist-es/index.js +1 -0
- package/dist-es/models/KendraServiceException.js +12 -0
- package/dist-es/models/models_0.js +166 -1
- package/dist-es/protocols/Aws_json1_1.js +1543 -2773
- package/dist-types/Kendra.d.ts +17 -17
- package/dist-types/KendraClient.d.ts +2 -2
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +5 -5
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +2 -2
- package/dist-types/commands/CreateIndexCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIndexCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/QueryCommand.d.ts +2 -2
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/KendraServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +385 -179
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/KendraClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/KendraServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +123 -34
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var KendraServiceException = (function (_super) {
|
|
4
|
+
__extends(KendraServiceException, _super);
|
|
5
|
+
function KendraServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, KendraServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return KendraServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { KendraServiceException };
|
|
@@ -1,9 +1,23 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { KendraServiceException as __BaseException } from "./KendraServiceException";
|
|
3
4
|
export var AccessControlListConfiguration;
|
|
4
5
|
(function (AccessControlListConfiguration) {
|
|
5
6
|
AccessControlListConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
7
|
})(AccessControlListConfiguration || (AccessControlListConfiguration = {}));
|
|
8
|
+
var AccessDeniedException = (function (_super) {
|
|
9
|
+
__extends(AccessDeniedException, _super);
|
|
10
|
+
function AccessDeniedException(opts) {
|
|
11
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
12
|
+
_this.name = "AccessDeniedException";
|
|
13
|
+
_this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
15
|
+
_this.Message = opts.Message;
|
|
16
|
+
return _this;
|
|
17
|
+
}
|
|
18
|
+
return AccessDeniedException;
|
|
19
|
+
}(__BaseException));
|
|
20
|
+
export { AccessDeniedException };
|
|
7
21
|
export var AclConfiguration;
|
|
8
22
|
(function (AclConfiguration) {
|
|
9
23
|
AclConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -54,6 +68,71 @@ export var AssociateEntitiesToExperienceResponse;
|
|
|
54
68
|
(function (AssociateEntitiesToExperienceResponse) {
|
|
55
69
|
AssociateEntitiesToExperienceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
56
70
|
})(AssociateEntitiesToExperienceResponse || (AssociateEntitiesToExperienceResponse = {}));
|
|
71
|
+
var InternalServerException = (function (_super) {
|
|
72
|
+
__extends(InternalServerException, _super);
|
|
73
|
+
function InternalServerException(opts) {
|
|
74
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
75
|
+
_this.name = "InternalServerException";
|
|
76
|
+
_this.$fault = "server";
|
|
77
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
78
|
+
_this.Message = opts.Message;
|
|
79
|
+
return _this;
|
|
80
|
+
}
|
|
81
|
+
return InternalServerException;
|
|
82
|
+
}(__BaseException));
|
|
83
|
+
export { InternalServerException };
|
|
84
|
+
var ResourceAlreadyExistException = (function (_super) {
|
|
85
|
+
__extends(ResourceAlreadyExistException, _super);
|
|
86
|
+
function ResourceAlreadyExistException(opts) {
|
|
87
|
+
var _this = _super.call(this, __assign({ name: "ResourceAlreadyExistException", $fault: "client" }, opts)) || this;
|
|
88
|
+
_this.name = "ResourceAlreadyExistException";
|
|
89
|
+
_this.$fault = "client";
|
|
90
|
+
Object.setPrototypeOf(_this, ResourceAlreadyExistException.prototype);
|
|
91
|
+
_this.Message = opts.Message;
|
|
92
|
+
return _this;
|
|
93
|
+
}
|
|
94
|
+
return ResourceAlreadyExistException;
|
|
95
|
+
}(__BaseException));
|
|
96
|
+
export { ResourceAlreadyExistException };
|
|
97
|
+
var ResourceNotFoundException = (function (_super) {
|
|
98
|
+
__extends(ResourceNotFoundException, _super);
|
|
99
|
+
function ResourceNotFoundException(opts) {
|
|
100
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
101
|
+
_this.name = "ResourceNotFoundException";
|
|
102
|
+
_this.$fault = "client";
|
|
103
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
104
|
+
_this.Message = opts.Message;
|
|
105
|
+
return _this;
|
|
106
|
+
}
|
|
107
|
+
return ResourceNotFoundException;
|
|
108
|
+
}(__BaseException));
|
|
109
|
+
export { ResourceNotFoundException };
|
|
110
|
+
var ThrottlingException = (function (_super) {
|
|
111
|
+
__extends(ThrottlingException, _super);
|
|
112
|
+
function ThrottlingException(opts) {
|
|
113
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
114
|
+
_this.name = "ThrottlingException";
|
|
115
|
+
_this.$fault = "client";
|
|
116
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
117
|
+
_this.Message = opts.Message;
|
|
118
|
+
return _this;
|
|
119
|
+
}
|
|
120
|
+
return ThrottlingException;
|
|
121
|
+
}(__BaseException));
|
|
122
|
+
export { ThrottlingException };
|
|
123
|
+
var ValidationException = (function (_super) {
|
|
124
|
+
__extends(ValidationException, _super);
|
|
125
|
+
function ValidationException(opts) {
|
|
126
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
127
|
+
_this.name = "ValidationException";
|
|
128
|
+
_this.$fault = "client";
|
|
129
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
130
|
+
_this.Message = opts.Message;
|
|
131
|
+
return _this;
|
|
132
|
+
}
|
|
133
|
+
return ValidationException;
|
|
134
|
+
}(__BaseException));
|
|
135
|
+
export { ValidationException };
|
|
57
136
|
export var Persona;
|
|
58
137
|
(function (Persona) {
|
|
59
138
|
Persona["OWNER"] = "OWNER";
|
|
@@ -108,6 +187,19 @@ export var BatchDeleteDocumentResponse;
|
|
|
108
187
|
(function (BatchDeleteDocumentResponse) {
|
|
109
188
|
BatchDeleteDocumentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
110
189
|
})(BatchDeleteDocumentResponse || (BatchDeleteDocumentResponse = {}));
|
|
190
|
+
var ConflictException = (function (_super) {
|
|
191
|
+
__extends(ConflictException, _super);
|
|
192
|
+
function ConflictException(opts) {
|
|
193
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
194
|
+
_this.name = "ConflictException";
|
|
195
|
+
_this.$fault = "client";
|
|
196
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
197
|
+
_this.Message = opts.Message;
|
|
198
|
+
return _this;
|
|
199
|
+
}
|
|
200
|
+
return ConflictException;
|
|
201
|
+
}(__BaseException));
|
|
202
|
+
export { ConflictException };
|
|
111
203
|
export var DocumentInfo;
|
|
112
204
|
(function (DocumentInfo) {
|
|
113
205
|
DocumentInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -217,6 +309,19 @@ export var BatchPutDocumentResponse;
|
|
|
217
309
|
(function (BatchPutDocumentResponse) {
|
|
218
310
|
BatchPutDocumentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
219
311
|
})(BatchPutDocumentResponse || (BatchPutDocumentResponse = {}));
|
|
312
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
313
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
314
|
+
function ServiceQuotaExceededException(opts) {
|
|
315
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
316
|
+
_this.name = "ServiceQuotaExceededException";
|
|
317
|
+
_this.$fault = "client";
|
|
318
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
319
|
+
_this.Message = opts.Message;
|
|
320
|
+
return _this;
|
|
321
|
+
}
|
|
322
|
+
return ServiceQuotaExceededException;
|
|
323
|
+
}(__BaseException));
|
|
324
|
+
export { ServiceQuotaExceededException };
|
|
220
325
|
export var ClearQuerySuggestionsRequest;
|
|
221
326
|
(function (ClearQuerySuggestionsRequest) {
|
|
222
327
|
ClearQuerySuggestionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -346,6 +451,14 @@ export var DatabaseConfiguration;
|
|
|
346
451
|
(function (DatabaseConfiguration) {
|
|
347
452
|
DatabaseConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
348
453
|
})(DatabaseConfiguration || (DatabaseConfiguration = {}));
|
|
454
|
+
export var FsxFileSystemType;
|
|
455
|
+
(function (FsxFileSystemType) {
|
|
456
|
+
FsxFileSystemType["WINDOWS"] = "WINDOWS";
|
|
457
|
+
})(FsxFileSystemType || (FsxFileSystemType = {}));
|
|
458
|
+
export var FsxConfiguration;
|
|
459
|
+
(function (FsxConfiguration) {
|
|
460
|
+
FsxConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
461
|
+
})(FsxConfiguration || (FsxConfiguration = {}));
|
|
349
462
|
export var GoogleDriveConfiguration;
|
|
350
463
|
(function (GoogleDriveConfiguration) {
|
|
351
464
|
GoogleDriveConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -500,6 +613,7 @@ export var DataSourceType;
|
|
|
500
613
|
DataSourceType["CONFLUENCE"] = "CONFLUENCE";
|
|
501
614
|
DataSourceType["CUSTOM"] = "CUSTOM";
|
|
502
615
|
DataSourceType["DATABASE"] = "DATABASE";
|
|
616
|
+
DataSourceType["FSX"] = "FSX";
|
|
503
617
|
DataSourceType["GOOGLEDRIVE"] = "GOOGLEDRIVE";
|
|
504
618
|
DataSourceType["ONEDRIVE"] = "ONEDRIVE";
|
|
505
619
|
DataSourceType["S3"] = "S3";
|
|
@@ -905,6 +1019,19 @@ export var GetSnapshotsResponse;
|
|
|
905
1019
|
(function (GetSnapshotsResponse) {
|
|
906
1020
|
GetSnapshotsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
907
1021
|
})(GetSnapshotsResponse || (GetSnapshotsResponse = {}));
|
|
1022
|
+
var InvalidRequestException = (function (_super) {
|
|
1023
|
+
__extends(InvalidRequestException, _super);
|
|
1024
|
+
function InvalidRequestException(opts) {
|
|
1025
|
+
var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
|
|
1026
|
+
_this.name = "InvalidRequestException";
|
|
1027
|
+
_this.$fault = "client";
|
|
1028
|
+
Object.setPrototypeOf(_this, InvalidRequestException.prototype);
|
|
1029
|
+
_this.Message = opts.Message;
|
|
1030
|
+
return _this;
|
|
1031
|
+
}
|
|
1032
|
+
return InvalidRequestException;
|
|
1033
|
+
}(__BaseException));
|
|
1034
|
+
export { InvalidRequestException };
|
|
908
1035
|
export var ListDataSourcesRequest;
|
|
909
1036
|
(function (ListDataSourcesRequest) {
|
|
910
1037
|
ListDataSourcesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1041,6 +1168,19 @@ export var ListTagsForResourceResponse;
|
|
|
1041
1168
|
(function (ListTagsForResourceResponse) {
|
|
1042
1169
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1043
1170
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
1171
|
+
var ResourceUnavailableException = (function (_super) {
|
|
1172
|
+
__extends(ResourceUnavailableException, _super);
|
|
1173
|
+
function ResourceUnavailableException(opts) {
|
|
1174
|
+
var _this = _super.call(this, __assign({ name: "ResourceUnavailableException", $fault: "client" }, opts)) || this;
|
|
1175
|
+
_this.name = "ResourceUnavailableException";
|
|
1176
|
+
_this.$fault = "client";
|
|
1177
|
+
Object.setPrototypeOf(_this, ResourceUnavailableException.prototype);
|
|
1178
|
+
_this.Message = opts.Message;
|
|
1179
|
+
return _this;
|
|
1180
|
+
}
|
|
1181
|
+
return ResourceUnavailableException;
|
|
1182
|
+
}(__BaseException));
|
|
1183
|
+
export { ResourceUnavailableException };
|
|
1044
1184
|
export var ListThesauriRequest;
|
|
1045
1185
|
(function (ListThesauriRequest) {
|
|
1046
1186
|
ListThesauriRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1092,6 +1232,10 @@ export var SortingConfiguration;
|
|
|
1092
1232
|
(function (SortingConfiguration) {
|
|
1093
1233
|
SortingConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1094
1234
|
})(SortingConfiguration || (SortingConfiguration = {}));
|
|
1235
|
+
export var SpellCorrectionConfiguration;
|
|
1236
|
+
(function (SpellCorrectionConfiguration) {
|
|
1237
|
+
SpellCorrectionConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1238
|
+
})(SpellCorrectionConfiguration || (SpellCorrectionConfiguration = {}));
|
|
1095
1239
|
export var DataSourceGroup;
|
|
1096
1240
|
(function (DataSourceGroup) {
|
|
1097
1241
|
DataSourceGroup.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1124,6 +1268,14 @@ export var QueryResultItem;
|
|
|
1124
1268
|
(function (QueryResultItem) {
|
|
1125
1269
|
QueryResultItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1126
1270
|
})(QueryResultItem || (QueryResultItem = {}));
|
|
1271
|
+
export var Correction;
|
|
1272
|
+
(function (Correction) {
|
|
1273
|
+
Correction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1274
|
+
})(Correction || (Correction = {}));
|
|
1275
|
+
export var SpellCorrectedQuery;
|
|
1276
|
+
(function (SpellCorrectedQuery) {
|
|
1277
|
+
SpellCorrectedQuery.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1278
|
+
})(SpellCorrectedQuery || (SpellCorrectedQuery = {}));
|
|
1127
1279
|
export var WarningCode;
|
|
1128
1280
|
(function (WarningCode) {
|
|
1129
1281
|
WarningCode["QUERY_LANGUAGE_INVALID_SYNTAX"] = "QUERY_LANGUAGE_INVALID_SYNTAX";
|
|
@@ -1136,6 +1288,19 @@ export var QueryResult;
|
|
|
1136
1288
|
(function (QueryResult) {
|
|
1137
1289
|
QueryResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1138
1290
|
})(QueryResult || (QueryResult = {}));
|
|
1291
|
+
var ResourceInUseException = (function (_super) {
|
|
1292
|
+
__extends(ResourceInUseException, _super);
|
|
1293
|
+
function ResourceInUseException(opts) {
|
|
1294
|
+
var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
|
|
1295
|
+
_this.name = "ResourceInUseException";
|
|
1296
|
+
_this.$fault = "client";
|
|
1297
|
+
Object.setPrototypeOf(_this, ResourceInUseException.prototype);
|
|
1298
|
+
_this.Message = opts.Message;
|
|
1299
|
+
return _this;
|
|
1300
|
+
}
|
|
1301
|
+
return ResourceInUseException;
|
|
1302
|
+
}(__BaseException));
|
|
1303
|
+
export { ResourceInUseException };
|
|
1139
1304
|
export var StartDataSourceSyncJobRequest;
|
|
1140
1305
|
(function (StartDataSourceSyncJobRequest) {
|
|
1141
1306
|
StartDataSourceSyncJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|