@aws-sdk/client-cloudsearch-domain 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/CloudSearchDomainServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +29 -1
- package/dist-cjs/protocols/Aws_restJson1.js +39 -68
- package/dist-es/index.js +1 -0
- package/dist-es/models/CloudSearchDomainServiceException.js +12 -0
- package/dist-es/models/models_0.js +27 -1
- package/dist-es/protocols/Aws_restJson1.js +63 -83
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CloudSearchDomainServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +12 -11
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/CloudSearchDomainServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -9
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-cloudsearch-domain
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudSearchDomainServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./CloudSearchDomain"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CloudSearchDomainClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var CloudSearchDomainServiceException_1 = require("./models/CloudSearchDomainServiceException");
|
|
10
|
+
Object.defineProperty(exports, "CloudSearchDomainServiceException", { enumerable: true, get: function () { return CloudSearchDomainServiceException_1.CloudSearchDomainServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudSearchDomainServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class CloudSearchDomainServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, CloudSearchDomainServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.CloudSearchDomainServiceException = CloudSearchDomainServiceException;
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UploadDocumentsResponse = exports.DocumentServiceWarning = exports.UploadDocumentsRequest = exports.SuggestResponse = exports.SuggestModel = exports.SuggestionMatch = exports.SuggestStatus = exports.SuggestRequest = exports.SearchResponse = exports.SearchStatus = exports.FieldStats = exports.Hits = exports.Hit = exports.BucketInfo = exports.Bucket = exports.SearchRequest = void 0;
|
|
3
|
+
exports.UploadDocumentsResponse = exports.DocumentServiceWarning = exports.UploadDocumentsRequest = exports.DocumentServiceException = exports.SuggestResponse = exports.SuggestModel = exports.SuggestionMatch = exports.SuggestStatus = exports.SuggestRequest = exports.SearchResponse = exports.SearchStatus = exports.FieldStats = exports.Hits = exports.Hit = exports.BucketInfo = exports.Bucket = exports.SearchRequest = exports.SearchException = void 0;
|
|
4
|
+
const CloudSearchDomainServiceException_1 = require("./CloudSearchDomainServiceException");
|
|
5
|
+
class SearchException extends CloudSearchDomainServiceException_1.CloudSearchDomainServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "SearchException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "SearchException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, SearchException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.SearchException = SearchException;
|
|
4
18
|
var SearchRequest;
|
|
5
19
|
(function (SearchRequest) {
|
|
6
20
|
SearchRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -79,6 +93,20 @@ var SuggestResponse;
|
|
|
79
93
|
...obj,
|
|
80
94
|
});
|
|
81
95
|
})(SuggestResponse = exports.SuggestResponse || (exports.SuggestResponse = {}));
|
|
96
|
+
class DocumentServiceException extends CloudSearchDomainServiceException_1.CloudSearchDomainServiceException {
|
|
97
|
+
constructor(opts) {
|
|
98
|
+
super({
|
|
99
|
+
name: "DocumentServiceException",
|
|
100
|
+
$fault: "client",
|
|
101
|
+
...opts,
|
|
102
|
+
});
|
|
103
|
+
this.name = "DocumentServiceException";
|
|
104
|
+
this.$fault = "client";
|
|
105
|
+
Object.setPrototypeOf(this, DocumentServiceException.prototype);
|
|
106
|
+
this.status = opts.status;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.DocumentServiceException = DocumentServiceException;
|
|
82
110
|
var UploadDocumentsRequest;
|
|
83
111
|
(function (UploadDocumentsRequest) {
|
|
84
112
|
UploadDocumentsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.deserializeAws_restJson1UploadDocumentsCommand = exports.deserializeAws_restJson1SuggestCommand = exports.deserializeAws_restJson1SearchCommand = exports.serializeAws_restJson1UploadDocumentsCommand = exports.serializeAws_restJson1SuggestCommand = exports.serializeAws_restJson1SearchCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const CloudSearchDomainServiceException_1 = require("../models/CloudSearchDomainServiceException");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
6
8
|
const serializeAws_restJson1SearchCommand = async (input, context) => {
|
|
7
9
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
8
10
|
const headers = {};
|
|
@@ -126,27 +128,16 @@ const deserializeAws_restJson1SearchCommandError = async (output, context) => {
|
|
|
126
128
|
switch (errorCode) {
|
|
127
129
|
case "SearchException":
|
|
128
130
|
case "com.amazonaws.cloudsearchdomain#SearchException":
|
|
129
|
-
|
|
130
|
-
...(await deserializeAws_restJson1SearchExceptionResponse(parsedOutput, context)),
|
|
131
|
-
name: errorCode,
|
|
132
|
-
$metadata: deserializeMetadata(output),
|
|
133
|
-
};
|
|
134
|
-
break;
|
|
131
|
+
throw await deserializeAws_restJson1SearchExceptionResponse(parsedOutput, context);
|
|
135
132
|
default:
|
|
136
133
|
const parsedBody = parsedOutput.body;
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
...parsedBody,
|
|
140
|
-
name: `${errorCode}`,
|
|
141
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
134
|
+
response = new CloudSearchDomainServiceException_1.CloudSearchDomainServiceException({
|
|
135
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
142
136
|
$fault: "client",
|
|
143
137
|
$metadata: deserializeMetadata(output),
|
|
144
|
-
};
|
|
138
|
+
});
|
|
139
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
145
140
|
}
|
|
146
|
-
const message = response.message || response.Message || errorCode;
|
|
147
|
-
response.message = message;
|
|
148
|
-
delete response.Message;
|
|
149
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
150
141
|
};
|
|
151
142
|
const deserializeAws_restJson1SuggestCommand = async (output, context) => {
|
|
152
143
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -178,27 +169,16 @@ const deserializeAws_restJson1SuggestCommandError = async (output, context) => {
|
|
|
178
169
|
switch (errorCode) {
|
|
179
170
|
case "SearchException":
|
|
180
171
|
case "com.amazonaws.cloudsearchdomain#SearchException":
|
|
181
|
-
|
|
182
|
-
...(await deserializeAws_restJson1SearchExceptionResponse(parsedOutput, context)),
|
|
183
|
-
name: errorCode,
|
|
184
|
-
$metadata: deserializeMetadata(output),
|
|
185
|
-
};
|
|
186
|
-
break;
|
|
172
|
+
throw await deserializeAws_restJson1SearchExceptionResponse(parsedOutput, context);
|
|
187
173
|
default:
|
|
188
174
|
const parsedBody = parsedOutput.body;
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
...parsedBody,
|
|
192
|
-
name: `${errorCode}`,
|
|
193
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
175
|
+
response = new CloudSearchDomainServiceException_1.CloudSearchDomainServiceException({
|
|
176
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
194
177
|
$fault: "client",
|
|
195
178
|
$metadata: deserializeMetadata(output),
|
|
196
|
-
};
|
|
179
|
+
});
|
|
180
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
197
181
|
}
|
|
198
|
-
const message = response.message || response.Message || errorCode;
|
|
199
|
-
response.message = message;
|
|
200
|
-
delete response.Message;
|
|
201
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
202
182
|
};
|
|
203
183
|
const deserializeAws_restJson1UploadDocumentsCommand = async (output, context) => {
|
|
204
184
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -238,36 +218,19 @@ const deserializeAws_restJson1UploadDocumentsCommandError = async (output, conte
|
|
|
238
218
|
switch (errorCode) {
|
|
239
219
|
case "DocumentServiceException":
|
|
240
220
|
case "com.amazonaws.cloudsearchdomain#DocumentServiceException":
|
|
241
|
-
|
|
242
|
-
...(await deserializeAws_restJson1DocumentServiceExceptionResponse(parsedOutput, context)),
|
|
243
|
-
name: errorCode,
|
|
244
|
-
$metadata: deserializeMetadata(output),
|
|
245
|
-
};
|
|
246
|
-
break;
|
|
221
|
+
throw await deserializeAws_restJson1DocumentServiceExceptionResponse(parsedOutput, context);
|
|
247
222
|
default:
|
|
248
223
|
const parsedBody = parsedOutput.body;
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
...parsedBody,
|
|
252
|
-
name: `${errorCode}`,
|
|
253
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
224
|
+
response = new CloudSearchDomainServiceException_1.CloudSearchDomainServiceException({
|
|
225
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
254
226
|
$fault: "client",
|
|
255
227
|
$metadata: deserializeMetadata(output),
|
|
256
|
-
};
|
|
228
|
+
});
|
|
229
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
257
230
|
}
|
|
258
|
-
const message = response.message || response.Message || errorCode;
|
|
259
|
-
response.message = message;
|
|
260
|
-
delete response.Message;
|
|
261
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
262
231
|
};
|
|
263
232
|
const deserializeAws_restJson1DocumentServiceExceptionResponse = async (parsedOutput, context) => {
|
|
264
|
-
const contents = {
|
|
265
|
-
name: "DocumentServiceException",
|
|
266
|
-
$fault: "client",
|
|
267
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
268
|
-
message: undefined,
|
|
269
|
-
status: undefined,
|
|
270
|
-
};
|
|
233
|
+
const contents = {};
|
|
271
234
|
const data = parsedOutput.body;
|
|
272
235
|
if (data.message !== undefined && data.message !== null) {
|
|
273
236
|
contents.message = smithy_client_1.expectString(data.message);
|
|
@@ -275,20 +238,23 @@ const deserializeAws_restJson1DocumentServiceExceptionResponse = async (parsedOu
|
|
|
275
238
|
if (data.status !== undefined && data.status !== null) {
|
|
276
239
|
contents.status = smithy_client_1.expectString(data.status);
|
|
277
240
|
}
|
|
278
|
-
|
|
241
|
+
const exception = new models_0_1.DocumentServiceException({
|
|
242
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
243
|
+
...contents,
|
|
244
|
+
});
|
|
245
|
+
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
279
246
|
};
|
|
280
247
|
const deserializeAws_restJson1SearchExceptionResponse = async (parsedOutput, context) => {
|
|
281
|
-
const contents = {
|
|
282
|
-
name: "SearchException",
|
|
283
|
-
$fault: "client",
|
|
284
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
285
|
-
message: undefined,
|
|
286
|
-
};
|
|
248
|
+
const contents = {};
|
|
287
249
|
const data = parsedOutput.body;
|
|
288
250
|
if (data.message !== undefined && data.message !== null) {
|
|
289
251
|
contents.message = smithy_client_1.expectString(data.message);
|
|
290
252
|
}
|
|
291
|
-
|
|
253
|
+
const exception = new models_0_1.SearchException({
|
|
254
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
255
|
+
...contents,
|
|
256
|
+
});
|
|
257
|
+
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
292
258
|
};
|
|
293
259
|
const deserializeAws_restJson1Bucket = (output, context) => {
|
|
294
260
|
return {
|
|
@@ -304,7 +270,7 @@ const deserializeAws_restJson1BucketInfo = (output, context) => {
|
|
|
304
270
|
};
|
|
305
271
|
};
|
|
306
272
|
const deserializeAws_restJson1BucketList = (output, context) => {
|
|
307
|
-
|
|
273
|
+
const retVal = (output || [])
|
|
308
274
|
.filter((e) => e != null)
|
|
309
275
|
.map((entry) => {
|
|
310
276
|
if (entry === null) {
|
|
@@ -312,6 +278,7 @@ const deserializeAws_restJson1BucketList = (output, context) => {
|
|
|
312
278
|
}
|
|
313
279
|
return deserializeAws_restJson1Bucket(entry, context);
|
|
314
280
|
});
|
|
281
|
+
return retVal;
|
|
315
282
|
};
|
|
316
283
|
const deserializeAws_restJson1DocumentServiceWarning = (output, context) => {
|
|
317
284
|
return {
|
|
@@ -319,7 +286,7 @@ const deserializeAws_restJson1DocumentServiceWarning = (output, context) => {
|
|
|
319
286
|
};
|
|
320
287
|
};
|
|
321
288
|
const deserializeAws_restJson1DocumentServiceWarnings = (output, context) => {
|
|
322
|
-
|
|
289
|
+
const retVal = (output || [])
|
|
323
290
|
.filter((e) => e != null)
|
|
324
291
|
.map((entry) => {
|
|
325
292
|
if (entry === null) {
|
|
@@ -327,6 +294,7 @@ const deserializeAws_restJson1DocumentServiceWarnings = (output, context) => {
|
|
|
327
294
|
}
|
|
328
295
|
return deserializeAws_restJson1DocumentServiceWarning(entry, context);
|
|
329
296
|
});
|
|
297
|
+
return retVal;
|
|
330
298
|
};
|
|
331
299
|
const deserializeAws_restJson1Exprs = (output, context) => {
|
|
332
300
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
@@ -374,7 +342,7 @@ const deserializeAws_restJson1FieldStats = (output, context) => {
|
|
|
374
342
|
};
|
|
375
343
|
};
|
|
376
344
|
const deserializeAws_restJson1FieldValue = (output, context) => {
|
|
377
|
-
|
|
345
|
+
const retVal = (output || [])
|
|
378
346
|
.filter((e) => e != null)
|
|
379
347
|
.map((entry) => {
|
|
380
348
|
if (entry === null) {
|
|
@@ -382,6 +350,7 @@ const deserializeAws_restJson1FieldValue = (output, context) => {
|
|
|
382
350
|
}
|
|
383
351
|
return smithy_client_1.expectString(entry);
|
|
384
352
|
});
|
|
353
|
+
return retVal;
|
|
385
354
|
};
|
|
386
355
|
const deserializeAws_restJson1Highlights = (output, context) => {
|
|
387
356
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
@@ -409,7 +378,7 @@ const deserializeAws_restJson1Hit = (output, context) => {
|
|
|
409
378
|
};
|
|
410
379
|
};
|
|
411
380
|
const deserializeAws_restJson1HitList = (output, context) => {
|
|
412
|
-
|
|
381
|
+
const retVal = (output || [])
|
|
413
382
|
.filter((e) => e != null)
|
|
414
383
|
.map((entry) => {
|
|
415
384
|
if (entry === null) {
|
|
@@ -417,6 +386,7 @@ const deserializeAws_restJson1HitList = (output, context) => {
|
|
|
417
386
|
}
|
|
418
387
|
return deserializeAws_restJson1Hit(entry, context);
|
|
419
388
|
});
|
|
389
|
+
return retVal;
|
|
420
390
|
};
|
|
421
391
|
const deserializeAws_restJson1Hits = (output, context) => {
|
|
422
392
|
return {
|
|
@@ -453,7 +423,7 @@ const deserializeAws_restJson1SuggestionMatch = (output, context) => {
|
|
|
453
423
|
};
|
|
454
424
|
};
|
|
455
425
|
const deserializeAws_restJson1Suggestions = (output, context) => {
|
|
456
|
-
|
|
426
|
+
const retVal = (output || [])
|
|
457
427
|
.filter((e) => e != null)
|
|
458
428
|
.map((entry) => {
|
|
459
429
|
if (entry === null) {
|
|
@@ -461,6 +431,7 @@ const deserializeAws_restJson1Suggestions = (output, context) => {
|
|
|
461
431
|
}
|
|
462
432
|
return deserializeAws_restJson1SuggestionMatch(entry, context);
|
|
463
433
|
});
|
|
434
|
+
return retVal;
|
|
464
435
|
};
|
|
465
436
|
const deserializeAws_restJson1SuggestModel = (output, context) => {
|
|
466
437
|
return {
|
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 CloudSearchDomainServiceException = (function (_super) {
|
|
4
|
+
__extends(CloudSearchDomainServiceException, _super);
|
|
5
|
+
function CloudSearchDomainServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, CloudSearchDomainServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return CloudSearchDomainServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { CloudSearchDomainServiceException };
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { CloudSearchDomainServiceException as __BaseException } from "./CloudSearchDomainServiceException";
|
|
3
|
+
var SearchException = (function (_super) {
|
|
4
|
+
__extends(SearchException, _super);
|
|
5
|
+
function SearchException(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "SearchException", $fault: "client" }, opts)) || this;
|
|
7
|
+
_this.name = "SearchException";
|
|
8
|
+
_this.$fault = "client";
|
|
9
|
+
Object.setPrototypeOf(_this, SearchException.prototype);
|
|
10
|
+
return _this;
|
|
11
|
+
}
|
|
12
|
+
return SearchException;
|
|
13
|
+
}(__BaseException));
|
|
14
|
+
export { SearchException };
|
|
2
15
|
export var SearchRequest;
|
|
3
16
|
(function (SearchRequest) {
|
|
4
17
|
SearchRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -51,6 +64,19 @@ export var SuggestResponse;
|
|
|
51
64
|
(function (SuggestResponse) {
|
|
52
65
|
SuggestResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
53
66
|
})(SuggestResponse || (SuggestResponse = {}));
|
|
67
|
+
var DocumentServiceException = (function (_super) {
|
|
68
|
+
__extends(DocumentServiceException, _super);
|
|
69
|
+
function DocumentServiceException(opts) {
|
|
70
|
+
var _this = _super.call(this, __assign({ name: "DocumentServiceException", $fault: "client" }, opts)) || this;
|
|
71
|
+
_this.name = "DocumentServiceException";
|
|
72
|
+
_this.$fault = "client";
|
|
73
|
+
Object.setPrototypeOf(_this, DocumentServiceException.prototype);
|
|
74
|
+
_this.status = opts.status;
|
|
75
|
+
return _this;
|
|
76
|
+
}
|
|
77
|
+
return DocumentServiceException;
|
|
78
|
+
}(__BaseException));
|
|
79
|
+
export { DocumentServiceException };
|
|
54
80
|
export var UploadDocumentsRequest;
|
|
55
81
|
(function (UploadDocumentsRequest) {
|
|
56
82
|
UploadDocumentsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CloudSearchDomainServiceException as __BaseException } from "../models/CloudSearchDomainServiceException";
|
|
5
|
+
import { DocumentServiceException, SearchException, } from "../models/models_0";
|
|
4
6
|
export var serializeAws_restJson1SearchCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
7
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
|
|
6
8
|
return __generator(this, function (_c) {
|
|
@@ -112,16 +114,16 @@ export var deserializeAws_restJson1SearchCommand = function (output, context) {
|
|
|
112
114
|
});
|
|
113
115
|
}); };
|
|
114
116
|
var deserializeAws_restJson1SearchCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
115
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
116
|
-
var
|
|
117
|
-
return __generator(this, function (
|
|
118
|
-
switch (
|
|
117
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
118
|
+
var _c;
|
|
119
|
+
return __generator(this, function (_d) {
|
|
120
|
+
switch (_d.label) {
|
|
119
121
|
case 0:
|
|
120
122
|
_a = [__assign({}, output)];
|
|
121
|
-
|
|
123
|
+
_c = {};
|
|
122
124
|
return [4, parseBody(output.body, context)];
|
|
123
125
|
case 1:
|
|
124
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
126
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
125
127
|
errorCode = "UnknownError";
|
|
126
128
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
127
129
|
_b = errorCode;
|
|
@@ -130,22 +132,16 @@ var deserializeAws_restJson1SearchCommandError = function (output, context) { re
|
|
|
130
132
|
case "com.amazonaws.cloudsearchdomain#SearchException": return [3, 2];
|
|
131
133
|
}
|
|
132
134
|
return [3, 4];
|
|
133
|
-
case 2:
|
|
134
|
-
|
|
135
|
-
return [4, deserializeAws_restJson1SearchExceptionResponse(parsedOutput, context)];
|
|
136
|
-
case 3:
|
|
137
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
138
|
-
return [3, 5];
|
|
135
|
+
case 2: return [4, deserializeAws_restJson1SearchExceptionResponse(parsedOutput, context)];
|
|
136
|
+
case 3: throw _d.sent();
|
|
139
137
|
case 4:
|
|
140
138
|
parsedBody = parsedOutput.body;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
response
|
|
147
|
-
delete response.Message;
|
|
148
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
139
|
+
response = new __BaseException({
|
|
140
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
141
|
+
$fault: "client",
|
|
142
|
+
$metadata: deserializeMetadata(output),
|
|
143
|
+
});
|
|
144
|
+
throw __decorateServiceException(response, parsedBody);
|
|
149
145
|
}
|
|
150
146
|
});
|
|
151
147
|
}); };
|
|
@@ -178,16 +174,16 @@ export var deserializeAws_restJson1SuggestCommand = function (output, context) {
|
|
|
178
174
|
});
|
|
179
175
|
}); };
|
|
180
176
|
var deserializeAws_restJson1SuggestCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
181
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
182
|
-
var
|
|
183
|
-
return __generator(this, function (
|
|
184
|
-
switch (
|
|
177
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
178
|
+
var _c;
|
|
179
|
+
return __generator(this, function (_d) {
|
|
180
|
+
switch (_d.label) {
|
|
185
181
|
case 0:
|
|
186
182
|
_a = [__assign({}, output)];
|
|
187
|
-
|
|
183
|
+
_c = {};
|
|
188
184
|
return [4, parseBody(output.body, context)];
|
|
189
185
|
case 1:
|
|
190
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
186
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
191
187
|
errorCode = "UnknownError";
|
|
192
188
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
193
189
|
_b = errorCode;
|
|
@@ -196,22 +192,16 @@ var deserializeAws_restJson1SuggestCommandError = function (output, context) { r
|
|
|
196
192
|
case "com.amazonaws.cloudsearchdomain#SearchException": return [3, 2];
|
|
197
193
|
}
|
|
198
194
|
return [3, 4];
|
|
199
|
-
case 2:
|
|
200
|
-
|
|
201
|
-
return [4, deserializeAws_restJson1SearchExceptionResponse(parsedOutput, context)];
|
|
202
|
-
case 3:
|
|
203
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
204
|
-
return [3, 5];
|
|
195
|
+
case 2: return [4, deserializeAws_restJson1SearchExceptionResponse(parsedOutput, context)];
|
|
196
|
+
case 3: throw _d.sent();
|
|
205
197
|
case 4:
|
|
206
198
|
parsedBody = parsedOutput.body;
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
response
|
|
213
|
-
delete response.Message;
|
|
214
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
199
|
+
response = new __BaseException({
|
|
200
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
201
|
+
$fault: "client",
|
|
202
|
+
$metadata: deserializeMetadata(output),
|
|
203
|
+
});
|
|
204
|
+
throw __decorateServiceException(response, parsedBody);
|
|
215
205
|
}
|
|
216
206
|
});
|
|
217
207
|
}); };
|
|
@@ -252,16 +242,16 @@ export var deserializeAws_restJson1UploadDocumentsCommand = function (output, co
|
|
|
252
242
|
});
|
|
253
243
|
}); };
|
|
254
244
|
var deserializeAws_restJson1UploadDocumentsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
255
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
256
|
-
var
|
|
257
|
-
return __generator(this, function (
|
|
258
|
-
switch (
|
|
245
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
246
|
+
var _c;
|
|
247
|
+
return __generator(this, function (_d) {
|
|
248
|
+
switch (_d.label) {
|
|
259
249
|
case 0:
|
|
260
250
|
_a = [__assign({}, output)];
|
|
261
|
-
|
|
251
|
+
_c = {};
|
|
262
252
|
return [4, parseBody(output.body, context)];
|
|
263
253
|
case 1:
|
|
264
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
254
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
265
255
|
errorCode = "UnknownError";
|
|
266
256
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
267
257
|
_b = errorCode;
|
|
@@ -270,35 +260,23 @@ var deserializeAws_restJson1UploadDocumentsCommandError = function (output, cont
|
|
|
270
260
|
case "com.amazonaws.cloudsearchdomain#DocumentServiceException": return [3, 2];
|
|
271
261
|
}
|
|
272
262
|
return [3, 4];
|
|
273
|
-
case 2:
|
|
274
|
-
|
|
275
|
-
return [4, deserializeAws_restJson1DocumentServiceExceptionResponse(parsedOutput, context)];
|
|
276
|
-
case 3:
|
|
277
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
278
|
-
return [3, 5];
|
|
263
|
+
case 2: return [4, deserializeAws_restJson1DocumentServiceExceptionResponse(parsedOutput, context)];
|
|
264
|
+
case 3: throw _d.sent();
|
|
279
265
|
case 4:
|
|
280
266
|
parsedBody = parsedOutput.body;
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
response
|
|
287
|
-
delete response.Message;
|
|
288
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
267
|
+
response = new __BaseException({
|
|
268
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
269
|
+
$fault: "client",
|
|
270
|
+
$metadata: deserializeMetadata(output),
|
|
271
|
+
});
|
|
272
|
+
throw __decorateServiceException(response, parsedBody);
|
|
289
273
|
}
|
|
290
274
|
});
|
|
291
275
|
}); };
|
|
292
276
|
var deserializeAws_restJson1DocumentServiceExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
293
|
-
var contents, data;
|
|
277
|
+
var contents, data, exception;
|
|
294
278
|
return __generator(this, function (_a) {
|
|
295
|
-
contents = {
|
|
296
|
-
name: "DocumentServiceException",
|
|
297
|
-
$fault: "client",
|
|
298
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
299
|
-
message: undefined,
|
|
300
|
-
status: undefined,
|
|
301
|
-
};
|
|
279
|
+
contents = {};
|
|
302
280
|
data = parsedOutput.body;
|
|
303
281
|
if (data.message !== undefined && data.message !== null) {
|
|
304
282
|
contents.message = __expectString(data.message);
|
|
@@ -306,23 +284,20 @@ var deserializeAws_restJson1DocumentServiceExceptionResponse = function (parsedO
|
|
|
306
284
|
if (data.status !== undefined && data.status !== null) {
|
|
307
285
|
contents.status = __expectString(data.status);
|
|
308
286
|
}
|
|
309
|
-
|
|
287
|
+
exception = new DocumentServiceException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
288
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
310
289
|
});
|
|
311
290
|
}); };
|
|
312
291
|
var deserializeAws_restJson1SearchExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
313
|
-
var contents, data;
|
|
292
|
+
var contents, data, exception;
|
|
314
293
|
return __generator(this, function (_a) {
|
|
315
|
-
contents = {
|
|
316
|
-
name: "SearchException",
|
|
317
|
-
$fault: "client",
|
|
318
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
319
|
-
message: undefined,
|
|
320
|
-
};
|
|
294
|
+
contents = {};
|
|
321
295
|
data = parsedOutput.body;
|
|
322
296
|
if (data.message !== undefined && data.message !== null) {
|
|
323
297
|
contents.message = __expectString(data.message);
|
|
324
298
|
}
|
|
325
|
-
|
|
299
|
+
exception = new SearchException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
300
|
+
return [2, __decorateServiceException(exception, parsedOutput.body)];
|
|
326
301
|
});
|
|
327
302
|
}); };
|
|
328
303
|
var deserializeAws_restJson1Bucket = function (output, context) {
|
|
@@ -339,7 +314,7 @@ var deserializeAws_restJson1BucketInfo = function (output, context) {
|
|
|
339
314
|
};
|
|
340
315
|
};
|
|
341
316
|
var deserializeAws_restJson1BucketList = function (output, context) {
|
|
342
|
-
|
|
317
|
+
var retVal = (output || [])
|
|
343
318
|
.filter(function (e) { return e != null; })
|
|
344
319
|
.map(function (entry) {
|
|
345
320
|
if (entry === null) {
|
|
@@ -347,6 +322,7 @@ var deserializeAws_restJson1BucketList = function (output, context) {
|
|
|
347
322
|
}
|
|
348
323
|
return deserializeAws_restJson1Bucket(entry, context);
|
|
349
324
|
});
|
|
325
|
+
return retVal;
|
|
350
326
|
};
|
|
351
327
|
var deserializeAws_restJson1DocumentServiceWarning = function (output, context) {
|
|
352
328
|
return {
|
|
@@ -354,7 +330,7 @@ var deserializeAws_restJson1DocumentServiceWarning = function (output, context)
|
|
|
354
330
|
};
|
|
355
331
|
};
|
|
356
332
|
var deserializeAws_restJson1DocumentServiceWarnings = function (output, context) {
|
|
357
|
-
|
|
333
|
+
var retVal = (output || [])
|
|
358
334
|
.filter(function (e) { return e != null; })
|
|
359
335
|
.map(function (entry) {
|
|
360
336
|
if (entry === null) {
|
|
@@ -362,6 +338,7 @@ var deserializeAws_restJson1DocumentServiceWarnings = function (output, context)
|
|
|
362
338
|
}
|
|
363
339
|
return deserializeAws_restJson1DocumentServiceWarning(entry, context);
|
|
364
340
|
});
|
|
341
|
+
return retVal;
|
|
365
342
|
};
|
|
366
343
|
var deserializeAws_restJson1Exprs = function (output, context) {
|
|
367
344
|
return Object.entries(output).reduce(function (acc, _a) {
|
|
@@ -406,7 +383,7 @@ var deserializeAws_restJson1FieldStats = function (output, context) {
|
|
|
406
383
|
};
|
|
407
384
|
};
|
|
408
385
|
var deserializeAws_restJson1FieldValue = function (output, context) {
|
|
409
|
-
|
|
386
|
+
var retVal = (output || [])
|
|
410
387
|
.filter(function (e) { return e != null; })
|
|
411
388
|
.map(function (entry) {
|
|
412
389
|
if (entry === null) {
|
|
@@ -414,6 +391,7 @@ var deserializeAws_restJson1FieldValue = function (output, context) {
|
|
|
414
391
|
}
|
|
415
392
|
return __expectString(entry);
|
|
416
393
|
});
|
|
394
|
+
return retVal;
|
|
417
395
|
};
|
|
418
396
|
var deserializeAws_restJson1Highlights = function (output, context) {
|
|
419
397
|
return Object.entries(output).reduce(function (acc, _a) {
|
|
@@ -440,7 +418,7 @@ var deserializeAws_restJson1Hit = function (output, context) {
|
|
|
440
418
|
};
|
|
441
419
|
};
|
|
442
420
|
var deserializeAws_restJson1HitList = function (output, context) {
|
|
443
|
-
|
|
421
|
+
var retVal = (output || [])
|
|
444
422
|
.filter(function (e) { return e != null; })
|
|
445
423
|
.map(function (entry) {
|
|
446
424
|
if (entry === null) {
|
|
@@ -448,6 +426,7 @@ var deserializeAws_restJson1HitList = function (output, context) {
|
|
|
448
426
|
}
|
|
449
427
|
return deserializeAws_restJson1Hit(entry, context);
|
|
450
428
|
});
|
|
429
|
+
return retVal;
|
|
451
430
|
};
|
|
452
431
|
var deserializeAws_restJson1Hits = function (output, context) {
|
|
453
432
|
return {
|
|
@@ -483,7 +462,7 @@ var deserializeAws_restJson1SuggestionMatch = function (output, context) {
|
|
|
483
462
|
};
|
|
484
463
|
};
|
|
485
464
|
var deserializeAws_restJson1Suggestions = function (output, context) {
|
|
486
|
-
|
|
465
|
+
var retVal = (output || [])
|
|
487
466
|
.filter(function (e) { return e != null; })
|
|
488
467
|
.map(function (entry) {
|
|
489
468
|
if (entry === null) {
|
|
@@ -491,6 +470,7 @@ var deserializeAws_restJson1Suggestions = function (output, context) {
|
|
|
491
470
|
}
|
|
492
471
|
return deserializeAws_restJson1SuggestionMatch(entry, context);
|
|
493
472
|
});
|
|
473
|
+
return retVal;
|
|
494
474
|
};
|
|
495
475
|
var deserializeAws_restJson1SuggestModel = function (output, context) {
|
|
496
476
|
return {
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from CloudSearchDomain service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class CloudSearchDomainServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import {
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
|
+
import { CloudSearchDomainServiceException as __BaseException } from "./CloudSearchDomainServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* <p>Information about any problems encountered while processing a search request.</p>
|
|
6
7
|
*/
|
|
7
|
-
export
|
|
8
|
-
name: "SearchException";
|
|
9
|
-
$fault: "client";
|
|
8
|
+
export declare class SearchException extends __BaseException {
|
|
9
|
+
readonly name: "SearchException";
|
|
10
|
+
readonly $fault: "client";
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
+
* @internal
|
|
12
13
|
*/
|
|
13
|
-
|
|
14
|
+
constructor(opts: __ExceptionOptionType<SearchException, __BaseException>);
|
|
14
15
|
}
|
|
15
16
|
export declare type QueryParser = "dismax" | "lucene" | "simple" | "structured";
|
|
16
17
|
/**
|
|
@@ -591,17 +592,17 @@ export declare namespace SuggestResponse {
|
|
|
591
592
|
/**
|
|
592
593
|
* <p>Information about any problems encountered while processing an upload request.</p>
|
|
593
594
|
*/
|
|
594
|
-
export
|
|
595
|
-
name: "DocumentServiceException";
|
|
596
|
-
$fault: "client";
|
|
595
|
+
export declare class DocumentServiceException extends __BaseException {
|
|
596
|
+
readonly name: "DocumentServiceException";
|
|
597
|
+
readonly $fault: "client";
|
|
597
598
|
/**
|
|
598
599
|
* <p>The return status of a document upload request, <code>error</code> or <code>success</code>.</p>
|
|
599
600
|
*/
|
|
600
601
|
status?: string;
|
|
601
602
|
/**
|
|
602
|
-
*
|
|
603
|
+
* @internal
|
|
603
604
|
*/
|
|
604
|
-
|
|
605
|
+
constructor(opts: __ExceptionOptionType<DocumentServiceException, __BaseException>);
|
|
605
606
|
}
|
|
606
607
|
export declare type ContentType = "application/json" | "application/xml";
|
|
607
608
|
/**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class CloudSearchDomainServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
|
+
import { CloudSearchDomainServiceException as __BaseException } from "./CloudSearchDomainServiceException";
|
|
4
5
|
|
|
5
|
-
export
|
|
6
|
-
name: "SearchException";
|
|
7
|
-
$fault: "client";
|
|
6
|
+
export declare class SearchException extends __BaseException {
|
|
7
|
+
readonly name: "SearchException";
|
|
8
|
+
readonly $fault: "client";
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
constructor(opts: __ExceptionOptionType<SearchException, __BaseException>);
|
|
10
11
|
}
|
|
11
12
|
export declare type QueryParser = "dismax" | "lucene" | "simple" | "structured";
|
|
12
13
|
|
|
@@ -215,13 +216,13 @@ export declare namespace SuggestResponse {
|
|
|
215
216
|
const filterSensitiveLog: (obj: SuggestResponse) => any;
|
|
216
217
|
}
|
|
217
218
|
|
|
218
|
-
export
|
|
219
|
-
name: "DocumentServiceException";
|
|
220
|
-
$fault: "client";
|
|
219
|
+
export declare class DocumentServiceException extends __BaseException {
|
|
220
|
+
readonly name: "DocumentServiceException";
|
|
221
|
+
readonly $fault: "client";
|
|
221
222
|
|
|
222
223
|
status?: string;
|
|
223
224
|
|
|
224
|
-
|
|
225
|
+
constructor(opts: __ExceptionOptionType<DocumentServiceException, __BaseException>);
|
|
225
226
|
}
|
|
226
227
|
export declare type ContentType = "application/json" | "application/xml";
|
|
227
228
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudsearch-domain",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudsearch Domain Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|