@aws-sdk/client-kendra 3.52.0 → 3.53.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/dist-cjs/index.js +3 -0
- package/dist-cjs/models/KendraServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +161 -6
- package/dist-cjs/protocols/Aws_json1_1.js +691 -2572
- package/dist-es/index.js +1 -0
- package/dist-es/models/KendraServiceException.js +12 -0
- package/dist-es/models/models_0.js +145 -1
- package/dist-es/protocols/Aws_json1_1.js +1450 -2771
- 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 +79 -34
- 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 +57 -34
- package/package.json +25 -25
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)); };
|
|
@@ -914,6 +1019,19 @@ export var GetSnapshotsResponse;
|
|
|
914
1019
|
(function (GetSnapshotsResponse) {
|
|
915
1020
|
GetSnapshotsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
916
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 };
|
|
917
1035
|
export var ListDataSourcesRequest;
|
|
918
1036
|
(function (ListDataSourcesRequest) {
|
|
919
1037
|
ListDataSourcesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1050,6 +1168,19 @@ export var ListTagsForResourceResponse;
|
|
|
1050
1168
|
(function (ListTagsForResourceResponse) {
|
|
1051
1169
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1052
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 };
|
|
1053
1184
|
export var ListThesauriRequest;
|
|
1054
1185
|
(function (ListThesauriRequest) {
|
|
1055
1186
|
ListThesauriRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1145,6 +1276,19 @@ export var QueryResult;
|
|
|
1145
1276
|
(function (QueryResult) {
|
|
1146
1277
|
QueryResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1147
1278
|
})(QueryResult || (QueryResult = {}));
|
|
1279
|
+
var ResourceInUseException = (function (_super) {
|
|
1280
|
+
__extends(ResourceInUseException, _super);
|
|
1281
|
+
function ResourceInUseException(opts) {
|
|
1282
|
+
var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
|
|
1283
|
+
_this.name = "ResourceInUseException";
|
|
1284
|
+
_this.$fault = "client";
|
|
1285
|
+
Object.setPrototypeOf(_this, ResourceInUseException.prototype);
|
|
1286
|
+
_this.Message = opts.Message;
|
|
1287
|
+
return _this;
|
|
1288
|
+
}
|
|
1289
|
+
return ResourceInUseException;
|
|
1290
|
+
}(__BaseException));
|
|
1291
|
+
export { ResourceInUseException };
|
|
1148
1292
|
export var StartDataSourceSyncJobRequest;
|
|
1149
1293
|
(function (StartDataSourceSyncJobRequest) {
|
|
1150
1294
|
StartDataSourceSyncJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|