@aws-sdk/client-support 3.141.0 → 3.150.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +70 -127
- package/dist-es/protocols/Aws_json1_1.js +113 -128
- package/package.json +11 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.150.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.149.0...v3.150.0) (2022-08-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-support
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-support
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -164,7 +164,6 @@ const deserializeAws_json1_1AddAttachmentsToSetCommandError = async (output, con
|
|
|
164
164
|
...output,
|
|
165
165
|
body: await parseBody(output.body, context),
|
|
166
166
|
};
|
|
167
|
-
let response;
|
|
168
167
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
169
168
|
switch (errorCode) {
|
|
170
169
|
case "AttachmentLimitExceeded":
|
|
@@ -184,14 +183,12 @@ const deserializeAws_json1_1AddAttachmentsToSetCommandError = async (output, con
|
|
|
184
183
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
185
184
|
default:
|
|
186
185
|
const parsedBody = parsedOutput.body;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
$metadata,
|
|
186
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
187
|
+
output,
|
|
188
|
+
parsedBody,
|
|
189
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
190
|
+
errorCode,
|
|
193
191
|
});
|
|
194
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
195
192
|
}
|
|
196
193
|
};
|
|
197
194
|
const deserializeAws_json1_1AddCommunicationToCaseCommand = async (output, context) => {
|
|
@@ -213,7 +210,6 @@ const deserializeAws_json1_1AddCommunicationToCaseCommandError = async (output,
|
|
|
213
210
|
...output,
|
|
214
211
|
body: await parseBody(output.body, context),
|
|
215
212
|
};
|
|
216
|
-
let response;
|
|
217
213
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
218
214
|
switch (errorCode) {
|
|
219
215
|
case "AttachmentSetExpired":
|
|
@@ -230,14 +226,12 @@ const deserializeAws_json1_1AddCommunicationToCaseCommandError = async (output,
|
|
|
230
226
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
231
227
|
default:
|
|
232
228
|
const parsedBody = parsedOutput.body;
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
$metadata,
|
|
229
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
230
|
+
output,
|
|
231
|
+
parsedBody,
|
|
232
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
233
|
+
errorCode,
|
|
239
234
|
});
|
|
240
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
241
235
|
}
|
|
242
236
|
};
|
|
243
237
|
const deserializeAws_json1_1CreateCaseCommand = async (output, context) => {
|
|
@@ -259,7 +253,6 @@ const deserializeAws_json1_1CreateCaseCommandError = async (output, context) =>
|
|
|
259
253
|
...output,
|
|
260
254
|
body: await parseBody(output.body, context),
|
|
261
255
|
};
|
|
262
|
-
let response;
|
|
263
256
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
264
257
|
switch (errorCode) {
|
|
265
258
|
case "AttachmentSetExpired":
|
|
@@ -276,14 +269,12 @@ const deserializeAws_json1_1CreateCaseCommandError = async (output, context) =>
|
|
|
276
269
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
277
270
|
default:
|
|
278
271
|
const parsedBody = parsedOutput.body;
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
$metadata,
|
|
272
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
273
|
+
output,
|
|
274
|
+
parsedBody,
|
|
275
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
276
|
+
errorCode,
|
|
285
277
|
});
|
|
286
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
287
278
|
}
|
|
288
279
|
};
|
|
289
280
|
const deserializeAws_json1_1DescribeAttachmentCommand = async (output, context) => {
|
|
@@ -305,7 +296,6 @@ const deserializeAws_json1_1DescribeAttachmentCommandError = async (output, cont
|
|
|
305
296
|
...output,
|
|
306
297
|
body: await parseBody(output.body, context),
|
|
307
298
|
};
|
|
308
|
-
let response;
|
|
309
299
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
310
300
|
switch (errorCode) {
|
|
311
301
|
case "AttachmentIdNotFound":
|
|
@@ -319,14 +309,12 @@ const deserializeAws_json1_1DescribeAttachmentCommandError = async (output, cont
|
|
|
319
309
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
320
310
|
default:
|
|
321
311
|
const parsedBody = parsedOutput.body;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
$metadata,
|
|
312
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
313
|
+
output,
|
|
314
|
+
parsedBody,
|
|
315
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
316
|
+
errorCode,
|
|
328
317
|
});
|
|
329
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
330
318
|
}
|
|
331
319
|
};
|
|
332
320
|
const deserializeAws_json1_1DescribeCasesCommand = async (output, context) => {
|
|
@@ -348,7 +336,6 @@ const deserializeAws_json1_1DescribeCasesCommandError = async (output, context)
|
|
|
348
336
|
...output,
|
|
349
337
|
body: await parseBody(output.body, context),
|
|
350
338
|
};
|
|
351
|
-
let response;
|
|
352
339
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
353
340
|
switch (errorCode) {
|
|
354
341
|
case "CaseIdNotFound":
|
|
@@ -359,14 +346,12 @@ const deserializeAws_json1_1DescribeCasesCommandError = async (output, context)
|
|
|
359
346
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
360
347
|
default:
|
|
361
348
|
const parsedBody = parsedOutput.body;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
$metadata,
|
|
349
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
350
|
+
output,
|
|
351
|
+
parsedBody,
|
|
352
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
353
|
+
errorCode,
|
|
368
354
|
});
|
|
369
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
370
355
|
}
|
|
371
356
|
};
|
|
372
357
|
const deserializeAws_json1_1DescribeCommunicationsCommand = async (output, context) => {
|
|
@@ -388,7 +373,6 @@ const deserializeAws_json1_1DescribeCommunicationsCommandError = async (output,
|
|
|
388
373
|
...output,
|
|
389
374
|
body: await parseBody(output.body, context),
|
|
390
375
|
};
|
|
391
|
-
let response;
|
|
392
376
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
393
377
|
switch (errorCode) {
|
|
394
378
|
case "CaseIdNotFound":
|
|
@@ -399,14 +383,12 @@ const deserializeAws_json1_1DescribeCommunicationsCommandError = async (output,
|
|
|
399
383
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
400
384
|
default:
|
|
401
385
|
const parsedBody = parsedOutput.body;
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
$metadata,
|
|
386
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
387
|
+
output,
|
|
388
|
+
parsedBody,
|
|
389
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
390
|
+
errorCode,
|
|
408
391
|
});
|
|
409
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
410
392
|
}
|
|
411
393
|
};
|
|
412
394
|
const deserializeAws_json1_1DescribeServicesCommand = async (output, context) => {
|
|
@@ -428,7 +410,6 @@ const deserializeAws_json1_1DescribeServicesCommandError = async (output, contex
|
|
|
428
410
|
...output,
|
|
429
411
|
body: await parseBody(output.body, context),
|
|
430
412
|
};
|
|
431
|
-
let response;
|
|
432
413
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
433
414
|
switch (errorCode) {
|
|
434
415
|
case "InternalServerError":
|
|
@@ -436,14 +417,12 @@ const deserializeAws_json1_1DescribeServicesCommandError = async (output, contex
|
|
|
436
417
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
437
418
|
default:
|
|
438
419
|
const parsedBody = parsedOutput.body;
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
$metadata,
|
|
420
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
421
|
+
output,
|
|
422
|
+
parsedBody,
|
|
423
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
424
|
+
errorCode,
|
|
445
425
|
});
|
|
446
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
447
426
|
}
|
|
448
427
|
};
|
|
449
428
|
const deserializeAws_json1_1DescribeSeverityLevelsCommand = async (output, context) => {
|
|
@@ -465,7 +444,6 @@ const deserializeAws_json1_1DescribeSeverityLevelsCommandError = async (output,
|
|
|
465
444
|
...output,
|
|
466
445
|
body: await parseBody(output.body, context),
|
|
467
446
|
};
|
|
468
|
-
let response;
|
|
469
447
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
470
448
|
switch (errorCode) {
|
|
471
449
|
case "InternalServerError":
|
|
@@ -473,14 +451,12 @@ const deserializeAws_json1_1DescribeSeverityLevelsCommandError = async (output,
|
|
|
473
451
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
474
452
|
default:
|
|
475
453
|
const parsedBody = parsedOutput.body;
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
$metadata,
|
|
454
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
455
|
+
output,
|
|
456
|
+
parsedBody,
|
|
457
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
458
|
+
errorCode,
|
|
482
459
|
});
|
|
483
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
484
460
|
}
|
|
485
461
|
};
|
|
486
462
|
const deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommand = async (output, context) => {
|
|
@@ -502,7 +478,6 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommandErr
|
|
|
502
478
|
...output,
|
|
503
479
|
body: await parseBody(output.body, context),
|
|
504
480
|
};
|
|
505
|
-
let response;
|
|
506
481
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
507
482
|
switch (errorCode) {
|
|
508
483
|
case "InternalServerError":
|
|
@@ -510,14 +485,12 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommandErr
|
|
|
510
485
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
511
486
|
default:
|
|
512
487
|
const parsedBody = parsedOutput.body;
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
$metadata,
|
|
488
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
489
|
+
output,
|
|
490
|
+
parsedBody,
|
|
491
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
492
|
+
errorCode,
|
|
519
493
|
});
|
|
520
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
521
494
|
}
|
|
522
495
|
};
|
|
523
496
|
const deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommand = async (output, context) => {
|
|
@@ -539,7 +512,6 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommandError = asyn
|
|
|
539
512
|
...output,
|
|
540
513
|
body: await parseBody(output.body, context),
|
|
541
514
|
};
|
|
542
|
-
let response;
|
|
543
515
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
544
516
|
switch (errorCode) {
|
|
545
517
|
case "InternalServerError":
|
|
@@ -547,14 +519,12 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommandError = asyn
|
|
|
547
519
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
548
520
|
default:
|
|
549
521
|
const parsedBody = parsedOutput.body;
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
$metadata,
|
|
522
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
523
|
+
output,
|
|
524
|
+
parsedBody,
|
|
525
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
526
|
+
errorCode,
|
|
556
527
|
});
|
|
557
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
558
528
|
}
|
|
559
529
|
};
|
|
560
530
|
const deserializeAws_json1_1DescribeTrustedAdvisorChecksCommand = async (output, context) => {
|
|
@@ -576,7 +546,6 @@ const deserializeAws_json1_1DescribeTrustedAdvisorChecksCommandError = async (ou
|
|
|
576
546
|
...output,
|
|
577
547
|
body: await parseBody(output.body, context),
|
|
578
548
|
};
|
|
579
|
-
let response;
|
|
580
549
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
581
550
|
switch (errorCode) {
|
|
582
551
|
case "InternalServerError":
|
|
@@ -584,14 +553,12 @@ const deserializeAws_json1_1DescribeTrustedAdvisorChecksCommandError = async (ou
|
|
|
584
553
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
585
554
|
default:
|
|
586
555
|
const parsedBody = parsedOutput.body;
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
$metadata,
|
|
556
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
557
|
+
output,
|
|
558
|
+
parsedBody,
|
|
559
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
560
|
+
errorCode,
|
|
593
561
|
});
|
|
594
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
595
562
|
}
|
|
596
563
|
};
|
|
597
564
|
const deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommand = async (output, context) => {
|
|
@@ -613,7 +580,6 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommandError = a
|
|
|
613
580
|
...output,
|
|
614
581
|
body: await parseBody(output.body, context),
|
|
615
582
|
};
|
|
616
|
-
let response;
|
|
617
583
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
618
584
|
switch (errorCode) {
|
|
619
585
|
case "InternalServerError":
|
|
@@ -621,14 +587,12 @@ const deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommandError = a
|
|
|
621
587
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
622
588
|
default:
|
|
623
589
|
const parsedBody = parsedOutput.body;
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
$metadata,
|
|
590
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
591
|
+
output,
|
|
592
|
+
parsedBody,
|
|
593
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
594
|
+
errorCode,
|
|
630
595
|
});
|
|
631
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
632
596
|
}
|
|
633
597
|
};
|
|
634
598
|
const deserializeAws_json1_1RefreshTrustedAdvisorCheckCommand = async (output, context) => {
|
|
@@ -650,7 +614,6 @@ const deserializeAws_json1_1RefreshTrustedAdvisorCheckCommandError = async (outp
|
|
|
650
614
|
...output,
|
|
651
615
|
body: await parseBody(output.body, context),
|
|
652
616
|
};
|
|
653
|
-
let response;
|
|
654
617
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
655
618
|
switch (errorCode) {
|
|
656
619
|
case "InternalServerError":
|
|
@@ -658,14 +621,12 @@ const deserializeAws_json1_1RefreshTrustedAdvisorCheckCommandError = async (outp
|
|
|
658
621
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
659
622
|
default:
|
|
660
623
|
const parsedBody = parsedOutput.body;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
$metadata,
|
|
624
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
625
|
+
output,
|
|
626
|
+
parsedBody,
|
|
627
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
628
|
+
errorCode,
|
|
667
629
|
});
|
|
668
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
669
630
|
}
|
|
670
631
|
};
|
|
671
632
|
const deserializeAws_json1_1ResolveCaseCommand = async (output, context) => {
|
|
@@ -687,7 +648,6 @@ const deserializeAws_json1_1ResolveCaseCommandError = async (output, context) =>
|
|
|
687
648
|
...output,
|
|
688
649
|
body: await parseBody(output.body, context),
|
|
689
650
|
};
|
|
690
|
-
let response;
|
|
691
651
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
692
652
|
switch (errorCode) {
|
|
693
653
|
case "CaseIdNotFound":
|
|
@@ -698,14 +658,12 @@ const deserializeAws_json1_1ResolveCaseCommandError = async (output, context) =>
|
|
|
698
658
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
699
659
|
default:
|
|
700
660
|
const parsedBody = parsedOutput.body;
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
$metadata,
|
|
661
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
662
|
+
output,
|
|
663
|
+
parsedBody,
|
|
664
|
+
exceptionCtor: SupportServiceException_1.SupportServiceException,
|
|
665
|
+
errorCode,
|
|
707
666
|
});
|
|
708
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
709
667
|
}
|
|
710
668
|
};
|
|
711
669
|
const deserializeAws_json1_1AttachmentIdNotFoundResponse = async (parsedOutput, context) => {
|
|
@@ -815,9 +773,6 @@ const serializeAws_json1_1Attachments = (input, context) => {
|
|
|
815
773
|
return input
|
|
816
774
|
.filter((e) => e != null)
|
|
817
775
|
.map((entry) => {
|
|
818
|
-
if (entry === null) {
|
|
819
|
-
return null;
|
|
820
|
-
}
|
|
821
776
|
return serializeAws_json1_1Attachment(entry, context);
|
|
822
777
|
});
|
|
823
778
|
};
|
|
@@ -825,9 +780,6 @@ const serializeAws_json1_1CaseIdList = (input, context) => {
|
|
|
825
780
|
return input
|
|
826
781
|
.filter((e) => e != null)
|
|
827
782
|
.map((entry) => {
|
|
828
|
-
if (entry === null) {
|
|
829
|
-
return null;
|
|
830
|
-
}
|
|
831
783
|
return entry;
|
|
832
784
|
});
|
|
833
785
|
};
|
|
@@ -835,9 +787,6 @@ const serializeAws_json1_1CcEmailAddressList = (input, context) => {
|
|
|
835
787
|
return input
|
|
836
788
|
.filter((e) => e != null)
|
|
837
789
|
.map((entry) => {
|
|
838
|
-
if (entry === null) {
|
|
839
|
-
return null;
|
|
840
|
-
}
|
|
841
790
|
return entry;
|
|
842
791
|
});
|
|
843
792
|
};
|
|
@@ -931,9 +880,6 @@ const serializeAws_json1_1ServiceCodeList = (input, context) => {
|
|
|
931
880
|
return input
|
|
932
881
|
.filter((e) => e != null)
|
|
933
882
|
.map((entry) => {
|
|
934
|
-
if (entry === null) {
|
|
935
|
-
return null;
|
|
936
|
-
}
|
|
937
883
|
return entry;
|
|
938
884
|
});
|
|
939
885
|
};
|
|
@@ -941,9 +887,6 @@ const serializeAws_json1_1StringList = (input, context) => {
|
|
|
941
887
|
return input
|
|
942
888
|
.filter((e) => e != null)
|
|
943
889
|
.map((entry) => {
|
|
944
|
-
if (entry === null) {
|
|
945
|
-
return null;
|
|
946
|
-
}
|
|
947
890
|
return entry;
|
|
948
891
|
});
|
|
949
892
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectString as __expectString, limitedParseDouble as __limitedParseDouble, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectString as __expectString, limitedParseDouble as __limitedParseDouble, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { AttachmentIdNotFound, AttachmentLimitExceeded, AttachmentSetExpired, AttachmentSetIdNotFound, AttachmentSetSizeLimitExceeded, CaseCreationLimitExceeded, CaseIdNotFound, DescribeAttachmentLimitExceeded, InternalServerError, } from "../models/models_0";
|
|
5
5
|
import { SupportServiceException as __BaseException } from "../models/SupportServiceException";
|
|
6
6
|
export var serializeAws_json1_1AddAttachmentsToSetCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -176,7 +176,7 @@ export var deserializeAws_json1_1AddAttachmentsToSetCommand = function (output,
|
|
|
176
176
|
});
|
|
177
177
|
}); };
|
|
178
178
|
var deserializeAws_json1_1AddAttachmentsToSetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
179
|
-
var parsedOutput, _a,
|
|
179
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
180
180
|
var _c;
|
|
181
181
|
return __generator(this, function (_d) {
|
|
182
182
|
switch (_d.label) {
|
|
@@ -213,14 +213,14 @@ var deserializeAws_json1_1AddAttachmentsToSetCommandError = function (output, co
|
|
|
213
213
|
case 11: throw _d.sent();
|
|
214
214
|
case 12:
|
|
215
215
|
parsedBody = parsedOutput.body;
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
$metadata: $metadata,
|
|
216
|
+
throwDefaultError({
|
|
217
|
+
output: output,
|
|
218
|
+
parsedBody: parsedBody,
|
|
219
|
+
exceptionCtor: __BaseException,
|
|
220
|
+
errorCode: errorCode,
|
|
222
221
|
});
|
|
223
|
-
|
|
222
|
+
_d.label = 13;
|
|
223
|
+
case 13: return [2];
|
|
224
224
|
}
|
|
225
225
|
});
|
|
226
226
|
}); };
|
|
@@ -243,7 +243,7 @@ export var deserializeAws_json1_1AddCommunicationToCaseCommand = function (outpu
|
|
|
243
243
|
});
|
|
244
244
|
}); };
|
|
245
245
|
var deserializeAws_json1_1AddCommunicationToCaseCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
246
|
-
var parsedOutput, _a,
|
|
246
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
247
247
|
var _c;
|
|
248
248
|
return __generator(this, function (_d) {
|
|
249
249
|
switch (_d.label) {
|
|
@@ -276,14 +276,14 @@ var deserializeAws_json1_1AddCommunicationToCaseCommandError = function (output,
|
|
|
276
276
|
case 9: throw _d.sent();
|
|
277
277
|
case 10:
|
|
278
278
|
parsedBody = parsedOutput.body;
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
$metadata: $metadata,
|
|
279
|
+
throwDefaultError({
|
|
280
|
+
output: output,
|
|
281
|
+
parsedBody: parsedBody,
|
|
282
|
+
exceptionCtor: __BaseException,
|
|
283
|
+
errorCode: errorCode,
|
|
285
284
|
});
|
|
286
|
-
|
|
285
|
+
_d.label = 11;
|
|
286
|
+
case 11: return [2];
|
|
287
287
|
}
|
|
288
288
|
});
|
|
289
289
|
}); };
|
|
@@ -306,7 +306,7 @@ export var deserializeAws_json1_1CreateCaseCommand = function (output, context)
|
|
|
306
306
|
});
|
|
307
307
|
}); };
|
|
308
308
|
var deserializeAws_json1_1CreateCaseCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
309
|
-
var parsedOutput, _a,
|
|
309
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
310
310
|
var _c;
|
|
311
311
|
return __generator(this, function (_d) {
|
|
312
312
|
switch (_d.label) {
|
|
@@ -339,14 +339,14 @@ var deserializeAws_json1_1CreateCaseCommandError = function (output, context) {
|
|
|
339
339
|
case 9: throw _d.sent();
|
|
340
340
|
case 10:
|
|
341
341
|
parsedBody = parsedOutput.body;
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
$metadata: $metadata,
|
|
342
|
+
throwDefaultError({
|
|
343
|
+
output: output,
|
|
344
|
+
parsedBody: parsedBody,
|
|
345
|
+
exceptionCtor: __BaseException,
|
|
346
|
+
errorCode: errorCode,
|
|
348
347
|
});
|
|
349
|
-
|
|
348
|
+
_d.label = 11;
|
|
349
|
+
case 11: return [2];
|
|
350
350
|
}
|
|
351
351
|
});
|
|
352
352
|
}); };
|
|
@@ -369,7 +369,7 @@ export var deserializeAws_json1_1DescribeAttachmentCommand = function (output, c
|
|
|
369
369
|
});
|
|
370
370
|
}); };
|
|
371
371
|
var deserializeAws_json1_1DescribeAttachmentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
372
|
-
var parsedOutput, _a,
|
|
372
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
373
373
|
var _c;
|
|
374
374
|
return __generator(this, function (_d) {
|
|
375
375
|
switch (_d.label) {
|
|
@@ -398,14 +398,14 @@ var deserializeAws_json1_1DescribeAttachmentCommandError = function (output, con
|
|
|
398
398
|
case 7: throw _d.sent();
|
|
399
399
|
case 8:
|
|
400
400
|
parsedBody = parsedOutput.body;
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
$metadata: $metadata,
|
|
401
|
+
throwDefaultError({
|
|
402
|
+
output: output,
|
|
403
|
+
parsedBody: parsedBody,
|
|
404
|
+
exceptionCtor: __BaseException,
|
|
405
|
+
errorCode: errorCode,
|
|
407
406
|
});
|
|
408
|
-
|
|
407
|
+
_d.label = 9;
|
|
408
|
+
case 9: return [2];
|
|
409
409
|
}
|
|
410
410
|
});
|
|
411
411
|
}); };
|
|
@@ -428,7 +428,7 @@ export var deserializeAws_json1_1DescribeCasesCommand = function (output, contex
|
|
|
428
428
|
});
|
|
429
429
|
}); };
|
|
430
430
|
var deserializeAws_json1_1DescribeCasesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
431
|
-
var parsedOutput, _a,
|
|
431
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
432
432
|
var _c;
|
|
433
433
|
return __generator(this, function (_d) {
|
|
434
434
|
switch (_d.label) {
|
|
@@ -453,14 +453,14 @@ var deserializeAws_json1_1DescribeCasesCommandError = function (output, context)
|
|
|
453
453
|
case 5: throw _d.sent();
|
|
454
454
|
case 6:
|
|
455
455
|
parsedBody = parsedOutput.body;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
$metadata: $metadata,
|
|
456
|
+
throwDefaultError({
|
|
457
|
+
output: output,
|
|
458
|
+
parsedBody: parsedBody,
|
|
459
|
+
exceptionCtor: __BaseException,
|
|
460
|
+
errorCode: errorCode,
|
|
462
461
|
});
|
|
463
|
-
|
|
462
|
+
_d.label = 7;
|
|
463
|
+
case 7: return [2];
|
|
464
464
|
}
|
|
465
465
|
});
|
|
466
466
|
}); };
|
|
@@ -483,7 +483,7 @@ export var deserializeAws_json1_1DescribeCommunicationsCommand = function (outpu
|
|
|
483
483
|
});
|
|
484
484
|
}); };
|
|
485
485
|
var deserializeAws_json1_1DescribeCommunicationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
486
|
-
var parsedOutput, _a,
|
|
486
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
487
487
|
var _c;
|
|
488
488
|
return __generator(this, function (_d) {
|
|
489
489
|
switch (_d.label) {
|
|
@@ -508,14 +508,14 @@ var deserializeAws_json1_1DescribeCommunicationsCommandError = function (output,
|
|
|
508
508
|
case 5: throw _d.sent();
|
|
509
509
|
case 6:
|
|
510
510
|
parsedBody = parsedOutput.body;
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
$metadata: $metadata,
|
|
511
|
+
throwDefaultError({
|
|
512
|
+
output: output,
|
|
513
|
+
parsedBody: parsedBody,
|
|
514
|
+
exceptionCtor: __BaseException,
|
|
515
|
+
errorCode: errorCode,
|
|
517
516
|
});
|
|
518
|
-
|
|
517
|
+
_d.label = 7;
|
|
518
|
+
case 7: return [2];
|
|
519
519
|
}
|
|
520
520
|
});
|
|
521
521
|
}); };
|
|
@@ -538,7 +538,7 @@ export var deserializeAws_json1_1DescribeServicesCommand = function (output, con
|
|
|
538
538
|
});
|
|
539
539
|
}); };
|
|
540
540
|
var deserializeAws_json1_1DescribeServicesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
541
|
-
var parsedOutput, _a,
|
|
541
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
542
542
|
var _c;
|
|
543
543
|
return __generator(this, function (_d) {
|
|
544
544
|
switch (_d.label) {
|
|
@@ -559,14 +559,14 @@ var deserializeAws_json1_1DescribeServicesCommandError = function (output, conte
|
|
|
559
559
|
case 3: throw _d.sent();
|
|
560
560
|
case 4:
|
|
561
561
|
parsedBody = parsedOutput.body;
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
$metadata: $metadata,
|
|
562
|
+
throwDefaultError({
|
|
563
|
+
output: output,
|
|
564
|
+
parsedBody: parsedBody,
|
|
565
|
+
exceptionCtor: __BaseException,
|
|
566
|
+
errorCode: errorCode,
|
|
568
567
|
});
|
|
569
|
-
|
|
568
|
+
_d.label = 5;
|
|
569
|
+
case 5: return [2];
|
|
570
570
|
}
|
|
571
571
|
});
|
|
572
572
|
}); };
|
|
@@ -589,7 +589,7 @@ export var deserializeAws_json1_1DescribeSeverityLevelsCommand = function (outpu
|
|
|
589
589
|
});
|
|
590
590
|
}); };
|
|
591
591
|
var deserializeAws_json1_1DescribeSeverityLevelsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
592
|
-
var parsedOutput, _a,
|
|
592
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
593
593
|
var _c;
|
|
594
594
|
return __generator(this, function (_d) {
|
|
595
595
|
switch (_d.label) {
|
|
@@ -610,14 +610,14 @@ var deserializeAws_json1_1DescribeSeverityLevelsCommandError = function (output,
|
|
|
610
610
|
case 3: throw _d.sent();
|
|
611
611
|
case 4:
|
|
612
612
|
parsedBody = parsedOutput.body;
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
$metadata: $metadata,
|
|
613
|
+
throwDefaultError({
|
|
614
|
+
output: output,
|
|
615
|
+
parsedBody: parsedBody,
|
|
616
|
+
exceptionCtor: __BaseException,
|
|
617
|
+
errorCode: errorCode,
|
|
619
618
|
});
|
|
620
|
-
|
|
619
|
+
_d.label = 5;
|
|
620
|
+
case 5: return [2];
|
|
621
621
|
}
|
|
622
622
|
});
|
|
623
623
|
}); };
|
|
@@ -640,7 +640,7 @@ export var deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesComma
|
|
|
640
640
|
});
|
|
641
641
|
}); };
|
|
642
642
|
var deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
643
|
-
var parsedOutput, _a,
|
|
643
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
644
644
|
var _c;
|
|
645
645
|
return __generator(this, function (_d) {
|
|
646
646
|
switch (_d.label) {
|
|
@@ -661,14 +661,14 @@ var deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommandError
|
|
|
661
661
|
case 3: throw _d.sent();
|
|
662
662
|
case 4:
|
|
663
663
|
parsedBody = parsedOutput.body;
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
$metadata: $metadata,
|
|
664
|
+
throwDefaultError({
|
|
665
|
+
output: output,
|
|
666
|
+
parsedBody: parsedBody,
|
|
667
|
+
exceptionCtor: __BaseException,
|
|
668
|
+
errorCode: errorCode,
|
|
670
669
|
});
|
|
671
|
-
|
|
670
|
+
_d.label = 5;
|
|
671
|
+
case 5: return [2];
|
|
672
672
|
}
|
|
673
673
|
});
|
|
674
674
|
}); };
|
|
@@ -691,7 +691,7 @@ export var deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommand = func
|
|
|
691
691
|
});
|
|
692
692
|
}); };
|
|
693
693
|
var deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
694
|
-
var parsedOutput, _a,
|
|
694
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
695
695
|
var _c;
|
|
696
696
|
return __generator(this, function (_d) {
|
|
697
697
|
switch (_d.label) {
|
|
@@ -712,14 +712,14 @@ var deserializeAws_json1_1DescribeTrustedAdvisorCheckResultCommandError = functi
|
|
|
712
712
|
case 3: throw _d.sent();
|
|
713
713
|
case 4:
|
|
714
714
|
parsedBody = parsedOutput.body;
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
$metadata: $metadata,
|
|
715
|
+
throwDefaultError({
|
|
716
|
+
output: output,
|
|
717
|
+
parsedBody: parsedBody,
|
|
718
|
+
exceptionCtor: __BaseException,
|
|
719
|
+
errorCode: errorCode,
|
|
721
720
|
});
|
|
722
|
-
|
|
721
|
+
_d.label = 5;
|
|
722
|
+
case 5: return [2];
|
|
723
723
|
}
|
|
724
724
|
});
|
|
725
725
|
}); };
|
|
@@ -742,7 +742,7 @@ export var deserializeAws_json1_1DescribeTrustedAdvisorChecksCommand = function
|
|
|
742
742
|
});
|
|
743
743
|
}); };
|
|
744
744
|
var deserializeAws_json1_1DescribeTrustedAdvisorChecksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
745
|
-
var parsedOutput, _a,
|
|
745
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
746
746
|
var _c;
|
|
747
747
|
return __generator(this, function (_d) {
|
|
748
748
|
switch (_d.label) {
|
|
@@ -763,14 +763,14 @@ var deserializeAws_json1_1DescribeTrustedAdvisorChecksCommandError = function (o
|
|
|
763
763
|
case 3: throw _d.sent();
|
|
764
764
|
case 4:
|
|
765
765
|
parsedBody = parsedOutput.body;
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
$metadata: $metadata,
|
|
766
|
+
throwDefaultError({
|
|
767
|
+
output: output,
|
|
768
|
+
parsedBody: parsedBody,
|
|
769
|
+
exceptionCtor: __BaseException,
|
|
770
|
+
errorCode: errorCode,
|
|
772
771
|
});
|
|
773
|
-
|
|
772
|
+
_d.label = 5;
|
|
773
|
+
case 5: return [2];
|
|
774
774
|
}
|
|
775
775
|
});
|
|
776
776
|
}); };
|
|
@@ -793,7 +793,7 @@ export var deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommand = f
|
|
|
793
793
|
});
|
|
794
794
|
}); };
|
|
795
795
|
var deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
796
|
-
var parsedOutput, _a,
|
|
796
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
797
797
|
var _c;
|
|
798
798
|
return __generator(this, function (_d) {
|
|
799
799
|
switch (_d.label) {
|
|
@@ -814,14 +814,14 @@ var deserializeAws_json1_1DescribeTrustedAdvisorCheckSummariesCommandError = fun
|
|
|
814
814
|
case 3: throw _d.sent();
|
|
815
815
|
case 4:
|
|
816
816
|
parsedBody = parsedOutput.body;
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
$metadata: $metadata,
|
|
817
|
+
throwDefaultError({
|
|
818
|
+
output: output,
|
|
819
|
+
parsedBody: parsedBody,
|
|
820
|
+
exceptionCtor: __BaseException,
|
|
821
|
+
errorCode: errorCode,
|
|
823
822
|
});
|
|
824
|
-
|
|
823
|
+
_d.label = 5;
|
|
824
|
+
case 5: return [2];
|
|
825
825
|
}
|
|
826
826
|
});
|
|
827
827
|
}); };
|
|
@@ -844,7 +844,7 @@ export var deserializeAws_json1_1RefreshTrustedAdvisorCheckCommand = function (o
|
|
|
844
844
|
});
|
|
845
845
|
}); };
|
|
846
846
|
var deserializeAws_json1_1RefreshTrustedAdvisorCheckCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
847
|
-
var parsedOutput, _a,
|
|
847
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
848
848
|
var _c;
|
|
849
849
|
return __generator(this, function (_d) {
|
|
850
850
|
switch (_d.label) {
|
|
@@ -865,14 +865,14 @@ var deserializeAws_json1_1RefreshTrustedAdvisorCheckCommandError = function (out
|
|
|
865
865
|
case 3: throw _d.sent();
|
|
866
866
|
case 4:
|
|
867
867
|
parsedBody = parsedOutput.body;
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
$metadata: $metadata,
|
|
868
|
+
throwDefaultError({
|
|
869
|
+
output: output,
|
|
870
|
+
parsedBody: parsedBody,
|
|
871
|
+
exceptionCtor: __BaseException,
|
|
872
|
+
errorCode: errorCode,
|
|
874
873
|
});
|
|
875
|
-
|
|
874
|
+
_d.label = 5;
|
|
875
|
+
case 5: return [2];
|
|
876
876
|
}
|
|
877
877
|
});
|
|
878
878
|
}); };
|
|
@@ -895,7 +895,7 @@ export var deserializeAws_json1_1ResolveCaseCommand = function (output, context)
|
|
|
895
895
|
});
|
|
896
896
|
}); };
|
|
897
897
|
var deserializeAws_json1_1ResolveCaseCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
898
|
-
var parsedOutput, _a,
|
|
898
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
899
899
|
var _c;
|
|
900
900
|
return __generator(this, function (_d) {
|
|
901
901
|
switch (_d.label) {
|
|
@@ -920,14 +920,14 @@ var deserializeAws_json1_1ResolveCaseCommandError = function (output, context) {
|
|
|
920
920
|
case 5: throw _d.sent();
|
|
921
921
|
case 6:
|
|
922
922
|
parsedBody = parsedOutput.body;
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
$metadata: $metadata,
|
|
923
|
+
throwDefaultError({
|
|
924
|
+
output: output,
|
|
925
|
+
parsedBody: parsedBody,
|
|
926
|
+
exceptionCtor: __BaseException,
|
|
927
|
+
errorCode: errorCode,
|
|
929
928
|
});
|
|
930
|
-
|
|
929
|
+
_d.label = 7;
|
|
930
|
+
case 7: return [2];
|
|
931
931
|
}
|
|
932
932
|
});
|
|
933
933
|
}); };
|
|
@@ -1027,9 +1027,6 @@ var serializeAws_json1_1Attachments = function (input, context) {
|
|
|
1027
1027
|
return input
|
|
1028
1028
|
.filter(function (e) { return e != null; })
|
|
1029
1029
|
.map(function (entry) {
|
|
1030
|
-
if (entry === null) {
|
|
1031
|
-
return null;
|
|
1032
|
-
}
|
|
1033
1030
|
return serializeAws_json1_1Attachment(entry, context);
|
|
1034
1031
|
});
|
|
1035
1032
|
};
|
|
@@ -1037,9 +1034,6 @@ var serializeAws_json1_1CaseIdList = function (input, context) {
|
|
|
1037
1034
|
return input
|
|
1038
1035
|
.filter(function (e) { return e != null; })
|
|
1039
1036
|
.map(function (entry) {
|
|
1040
|
-
if (entry === null) {
|
|
1041
|
-
return null;
|
|
1042
|
-
}
|
|
1043
1037
|
return entry;
|
|
1044
1038
|
});
|
|
1045
1039
|
};
|
|
@@ -1047,9 +1041,6 @@ var serializeAws_json1_1CcEmailAddressList = function (input, context) {
|
|
|
1047
1041
|
return input
|
|
1048
1042
|
.filter(function (e) { return e != null; })
|
|
1049
1043
|
.map(function (entry) {
|
|
1050
|
-
if (entry === null) {
|
|
1051
|
-
return null;
|
|
1052
|
-
}
|
|
1053
1044
|
return entry;
|
|
1054
1045
|
});
|
|
1055
1046
|
};
|
|
@@ -1097,9 +1088,6 @@ var serializeAws_json1_1ServiceCodeList = function (input, context) {
|
|
|
1097
1088
|
return input
|
|
1098
1089
|
.filter(function (e) { return e != null; })
|
|
1099
1090
|
.map(function (entry) {
|
|
1100
|
-
if (entry === null) {
|
|
1101
|
-
return null;
|
|
1102
|
-
}
|
|
1103
1091
|
return entry;
|
|
1104
1092
|
});
|
|
1105
1093
|
};
|
|
@@ -1107,9 +1095,6 @@ var serializeAws_json1_1StringList = function (input, context) {
|
|
|
1107
1095
|
return input
|
|
1108
1096
|
.filter(function (e) { return e != null; })
|
|
1109
1097
|
.map(function (entry) {
|
|
1110
|
-
if (entry === null) {
|
|
1111
|
-
return null;
|
|
1112
|
-
}
|
|
1113
1098
|
return entry;
|
|
1114
1099
|
});
|
|
1115
1100
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-support",
|
|
3
3
|
"description": "AWS SDK for JavaScript Support Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.150.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,9 +18,9 @@
|
|
|
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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.150.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.150.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.142.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.142.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.142.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
@@ -61,6 +61,11 @@
|
|
|
61
61
|
"typedoc": "0.19.2",
|
|
62
62
|
"typescript": "~4.6.2"
|
|
63
63
|
},
|
|
64
|
+
"overrides": {
|
|
65
|
+
"typedoc": {
|
|
66
|
+
"typescript": "~4.6.2"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
64
69
|
"engines": {
|
|
65
70
|
"node": ">=12.0.0"
|
|
66
71
|
},
|