@aws-sdk/client-service-quotas 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 +95 -158
- package/dist-es/protocols/Aws_json1_1.js +153 -159
- 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-service-quotas
|
|
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-service-quotas
|
|
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
|
|
|
@@ -214,7 +214,6 @@ const deserializeAws_json1_1AssociateServiceQuotaTemplateCommandError = async (o
|
|
|
214
214
|
...output,
|
|
215
215
|
body: await parseBody(output.body, context),
|
|
216
216
|
};
|
|
217
|
-
let response;
|
|
218
217
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
219
218
|
switch (errorCode) {
|
|
220
219
|
case "AccessDeniedException":
|
|
@@ -243,14 +242,12 @@ const deserializeAws_json1_1AssociateServiceQuotaTemplateCommandError = async (o
|
|
|
243
242
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
244
243
|
default:
|
|
245
244
|
const parsedBody = parsedOutput.body;
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
$metadata,
|
|
245
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
246
|
+
output,
|
|
247
|
+
parsedBody,
|
|
248
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
249
|
+
errorCode,
|
|
252
250
|
});
|
|
253
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
254
251
|
}
|
|
255
252
|
};
|
|
256
253
|
const deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand = async (output, context) => {
|
|
@@ -272,7 +269,6 @@ const deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand
|
|
|
272
269
|
...output,
|
|
273
270
|
body: await parseBody(output.body, context),
|
|
274
271
|
};
|
|
275
|
-
let response;
|
|
276
272
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
277
273
|
switch (errorCode) {
|
|
278
274
|
case "AccessDeniedException":
|
|
@@ -304,14 +300,12 @@ const deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand
|
|
|
304
300
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
305
301
|
default:
|
|
306
302
|
const parsedBody = parsedOutput.body;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
$metadata,
|
|
303
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
304
|
+
output,
|
|
305
|
+
parsedBody,
|
|
306
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
307
|
+
errorCode,
|
|
313
308
|
});
|
|
314
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
315
309
|
}
|
|
316
310
|
};
|
|
317
311
|
const deserializeAws_json1_1DisassociateServiceQuotaTemplateCommand = async (output, context) => {
|
|
@@ -333,7 +327,6 @@ const deserializeAws_json1_1DisassociateServiceQuotaTemplateCommandError = async
|
|
|
333
327
|
...output,
|
|
334
328
|
body: await parseBody(output.body, context),
|
|
335
329
|
};
|
|
336
|
-
let response;
|
|
337
330
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
338
331
|
switch (errorCode) {
|
|
339
332
|
case "AccessDeniedException":
|
|
@@ -362,14 +355,12 @@ const deserializeAws_json1_1DisassociateServiceQuotaTemplateCommandError = async
|
|
|
362
355
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
363
356
|
default:
|
|
364
357
|
const parsedBody = parsedOutput.body;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
$metadata,
|
|
358
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
359
|
+
output,
|
|
360
|
+
parsedBody,
|
|
361
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
362
|
+
errorCode,
|
|
371
363
|
});
|
|
372
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
373
364
|
}
|
|
374
365
|
};
|
|
375
366
|
const deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommand = async (output, context) => {
|
|
@@ -391,7 +382,6 @@ const deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommandError =
|
|
|
391
382
|
...output,
|
|
392
383
|
body: await parseBody(output.body, context),
|
|
393
384
|
};
|
|
394
|
-
let response;
|
|
395
385
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
396
386
|
switch (errorCode) {
|
|
397
387
|
case "AccessDeniedException":
|
|
@@ -420,14 +410,12 @@ const deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommandError =
|
|
|
420
410
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
421
411
|
default:
|
|
422
412
|
const parsedBody = parsedOutput.body;
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
$metadata,
|
|
413
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
414
|
+
output,
|
|
415
|
+
parsedBody,
|
|
416
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
417
|
+
errorCode,
|
|
429
418
|
});
|
|
430
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
431
419
|
}
|
|
432
420
|
};
|
|
433
421
|
const deserializeAws_json1_1GetAWSDefaultServiceQuotaCommand = async (output, context) => {
|
|
@@ -449,7 +437,6 @@ const deserializeAws_json1_1GetAWSDefaultServiceQuotaCommandError = async (outpu
|
|
|
449
437
|
...output,
|
|
450
438
|
body: await parseBody(output.body, context),
|
|
451
439
|
};
|
|
452
|
-
let response;
|
|
453
440
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
454
441
|
switch (errorCode) {
|
|
455
442
|
case "AccessDeniedException":
|
|
@@ -469,14 +456,12 @@ const deserializeAws_json1_1GetAWSDefaultServiceQuotaCommandError = async (outpu
|
|
|
469
456
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
470
457
|
default:
|
|
471
458
|
const parsedBody = parsedOutput.body;
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
$metadata,
|
|
459
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
460
|
+
output,
|
|
461
|
+
parsedBody,
|
|
462
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
463
|
+
errorCode,
|
|
478
464
|
});
|
|
479
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
480
465
|
}
|
|
481
466
|
};
|
|
482
467
|
const deserializeAws_json1_1GetRequestedServiceQuotaChangeCommand = async (output, context) => {
|
|
@@ -498,7 +483,6 @@ const deserializeAws_json1_1GetRequestedServiceQuotaChangeCommandError = async (
|
|
|
498
483
|
...output,
|
|
499
484
|
body: await parseBody(output.body, context),
|
|
500
485
|
};
|
|
501
|
-
let response;
|
|
502
486
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
503
487
|
switch (errorCode) {
|
|
504
488
|
case "AccessDeniedException":
|
|
@@ -518,14 +502,12 @@ const deserializeAws_json1_1GetRequestedServiceQuotaChangeCommandError = async (
|
|
|
518
502
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
519
503
|
default:
|
|
520
504
|
const parsedBody = parsedOutput.body;
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
$metadata,
|
|
505
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
506
|
+
output,
|
|
507
|
+
parsedBody,
|
|
508
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
509
|
+
errorCode,
|
|
527
510
|
});
|
|
528
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
529
511
|
}
|
|
530
512
|
};
|
|
531
513
|
const deserializeAws_json1_1GetServiceQuotaCommand = async (output, context) => {
|
|
@@ -547,7 +529,6 @@ const deserializeAws_json1_1GetServiceQuotaCommandError = async (output, context
|
|
|
547
529
|
...output,
|
|
548
530
|
body: await parseBody(output.body, context),
|
|
549
531
|
};
|
|
550
|
-
let response;
|
|
551
532
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
552
533
|
switch (errorCode) {
|
|
553
534
|
case "AccessDeniedException":
|
|
@@ -567,14 +548,12 @@ const deserializeAws_json1_1GetServiceQuotaCommandError = async (output, context
|
|
|
567
548
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
568
549
|
default:
|
|
569
550
|
const parsedBody = parsedOutput.body;
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
$metadata,
|
|
551
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
552
|
+
output,
|
|
553
|
+
parsedBody,
|
|
554
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
555
|
+
errorCode,
|
|
576
556
|
});
|
|
577
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
578
557
|
}
|
|
579
558
|
};
|
|
580
559
|
const deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommand = async (output, context) => {
|
|
@@ -596,7 +575,6 @@ const deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommandErr
|
|
|
596
575
|
...output,
|
|
597
576
|
body: await parseBody(output.body, context),
|
|
598
577
|
};
|
|
599
|
-
let response;
|
|
600
578
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
601
579
|
switch (errorCode) {
|
|
602
580
|
case "AccessDeniedException":
|
|
@@ -628,14 +606,12 @@ const deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommandErr
|
|
|
628
606
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
629
607
|
default:
|
|
630
608
|
const parsedBody = parsedOutput.body;
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
$metadata,
|
|
609
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
610
|
+
output,
|
|
611
|
+
parsedBody,
|
|
612
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
613
|
+
errorCode,
|
|
637
614
|
});
|
|
638
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
639
615
|
}
|
|
640
616
|
};
|
|
641
617
|
const deserializeAws_json1_1ListAWSDefaultServiceQuotasCommand = async (output, context) => {
|
|
@@ -657,7 +633,6 @@ const deserializeAws_json1_1ListAWSDefaultServiceQuotasCommandError = async (out
|
|
|
657
633
|
...output,
|
|
658
634
|
body: await parseBody(output.body, context),
|
|
659
635
|
};
|
|
660
|
-
let response;
|
|
661
636
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
662
637
|
switch (errorCode) {
|
|
663
638
|
case "AccessDeniedException":
|
|
@@ -680,14 +655,12 @@ const deserializeAws_json1_1ListAWSDefaultServiceQuotasCommandError = async (out
|
|
|
680
655
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
681
656
|
default:
|
|
682
657
|
const parsedBody = parsedOutput.body;
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
$metadata,
|
|
658
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
659
|
+
output,
|
|
660
|
+
parsedBody,
|
|
661
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
662
|
+
errorCode,
|
|
689
663
|
});
|
|
690
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
691
664
|
}
|
|
692
665
|
};
|
|
693
666
|
const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommand = async (output, context) => {
|
|
@@ -709,7 +682,6 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommandError =
|
|
|
709
682
|
...output,
|
|
710
683
|
body: await parseBody(output.body, context),
|
|
711
684
|
};
|
|
712
|
-
let response;
|
|
713
685
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
714
686
|
switch (errorCode) {
|
|
715
687
|
case "AccessDeniedException":
|
|
@@ -732,14 +704,12 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommandError =
|
|
|
732
704
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
733
705
|
default:
|
|
734
706
|
const parsedBody = parsedOutput.body;
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
$metadata,
|
|
707
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
708
|
+
output,
|
|
709
|
+
parsedBody,
|
|
710
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
711
|
+
errorCode,
|
|
741
712
|
});
|
|
742
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
743
713
|
}
|
|
744
714
|
};
|
|
745
715
|
const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommand = async (output, context) => {
|
|
@@ -761,7 +731,6 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommand
|
|
|
761
731
|
...output,
|
|
762
732
|
body: await parseBody(output.body, context),
|
|
763
733
|
};
|
|
764
|
-
let response;
|
|
765
734
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
766
735
|
switch (errorCode) {
|
|
767
736
|
case "AccessDeniedException":
|
|
@@ -784,14 +753,12 @@ const deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommand
|
|
|
784
753
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
785
754
|
default:
|
|
786
755
|
const parsedBody = parsedOutput.body;
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
$metadata,
|
|
756
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
757
|
+
output,
|
|
758
|
+
parsedBody,
|
|
759
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
760
|
+
errorCode,
|
|
793
761
|
});
|
|
794
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
795
762
|
}
|
|
796
763
|
};
|
|
797
764
|
const deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommand = async (output, context) => {
|
|
@@ -813,7 +780,6 @@ const deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommandErr
|
|
|
813
780
|
...output,
|
|
814
781
|
body: await parseBody(output.body, context),
|
|
815
782
|
};
|
|
816
|
-
let response;
|
|
817
783
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
818
784
|
switch (errorCode) {
|
|
819
785
|
case "AccessDeniedException":
|
|
@@ -842,14 +808,12 @@ const deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommandErr
|
|
|
842
808
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
843
809
|
default:
|
|
844
810
|
const parsedBody = parsedOutput.body;
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
$metadata,
|
|
811
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
812
|
+
output,
|
|
813
|
+
parsedBody,
|
|
814
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
815
|
+
errorCode,
|
|
851
816
|
});
|
|
852
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
853
817
|
}
|
|
854
818
|
};
|
|
855
819
|
const deserializeAws_json1_1ListServiceQuotasCommand = async (output, context) => {
|
|
@@ -871,7 +835,6 @@ const deserializeAws_json1_1ListServiceQuotasCommandError = async (output, conte
|
|
|
871
835
|
...output,
|
|
872
836
|
body: await parseBody(output.body, context),
|
|
873
837
|
};
|
|
874
|
-
let response;
|
|
875
838
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
876
839
|
switch (errorCode) {
|
|
877
840
|
case "AccessDeniedException":
|
|
@@ -894,14 +857,12 @@ const deserializeAws_json1_1ListServiceQuotasCommandError = async (output, conte
|
|
|
894
857
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
895
858
|
default:
|
|
896
859
|
const parsedBody = parsedOutput.body;
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
$metadata,
|
|
860
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
861
|
+
output,
|
|
862
|
+
parsedBody,
|
|
863
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
864
|
+
errorCode,
|
|
903
865
|
});
|
|
904
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
905
866
|
}
|
|
906
867
|
};
|
|
907
868
|
const deserializeAws_json1_1ListServicesCommand = async (output, context) => {
|
|
@@ -923,7 +884,6 @@ const deserializeAws_json1_1ListServicesCommandError = async (output, context) =
|
|
|
923
884
|
...output,
|
|
924
885
|
body: await parseBody(output.body, context),
|
|
925
886
|
};
|
|
926
|
-
let response;
|
|
927
887
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
928
888
|
switch (errorCode) {
|
|
929
889
|
case "AccessDeniedException":
|
|
@@ -943,14 +903,12 @@ const deserializeAws_json1_1ListServicesCommandError = async (output, context) =
|
|
|
943
903
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
944
904
|
default:
|
|
945
905
|
const parsedBody = parsedOutput.body;
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
$metadata,
|
|
906
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
907
|
+
output,
|
|
908
|
+
parsedBody,
|
|
909
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
910
|
+
errorCode,
|
|
952
911
|
});
|
|
953
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
954
912
|
}
|
|
955
913
|
};
|
|
956
914
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -972,7 +930,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
972
930
|
...output,
|
|
973
931
|
body: await parseBody(output.body, context),
|
|
974
932
|
};
|
|
975
|
-
let response;
|
|
976
933
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
977
934
|
switch (errorCode) {
|
|
978
935
|
case "AccessDeniedException":
|
|
@@ -992,14 +949,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
992
949
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
993
950
|
default:
|
|
994
951
|
const parsedBody = parsedOutput.body;
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
$metadata,
|
|
952
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
953
|
+
output,
|
|
954
|
+
parsedBody,
|
|
955
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
956
|
+
errorCode,
|
|
1001
957
|
});
|
|
1002
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1003
958
|
}
|
|
1004
959
|
};
|
|
1005
960
|
const deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommand = async (output, context) => {
|
|
@@ -1021,7 +976,6 @@ const deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommandErr
|
|
|
1021
976
|
...output,
|
|
1022
977
|
body: await parseBody(output.body, context),
|
|
1023
978
|
};
|
|
1024
|
-
let response;
|
|
1025
979
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1026
980
|
switch (errorCode) {
|
|
1027
981
|
case "AccessDeniedException":
|
|
@@ -1056,14 +1010,12 @@ const deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommandErr
|
|
|
1056
1010
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
1057
1011
|
default:
|
|
1058
1012
|
const parsedBody = parsedOutput.body;
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
$metadata,
|
|
1013
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1014
|
+
output,
|
|
1015
|
+
parsedBody,
|
|
1016
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
1017
|
+
errorCode,
|
|
1065
1018
|
});
|
|
1066
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1067
1019
|
}
|
|
1068
1020
|
};
|
|
1069
1021
|
const deserializeAws_json1_1RequestServiceQuotaIncreaseCommand = async (output, context) => {
|
|
@@ -1085,7 +1037,6 @@ const deserializeAws_json1_1RequestServiceQuotaIncreaseCommandError = async (out
|
|
|
1085
1037
|
...output,
|
|
1086
1038
|
body: await parseBody(output.body, context),
|
|
1087
1039
|
};
|
|
1088
|
-
let response;
|
|
1089
1040
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1090
1041
|
switch (errorCode) {
|
|
1091
1042
|
case "AccessDeniedException":
|
|
@@ -1117,14 +1068,12 @@ const deserializeAws_json1_1RequestServiceQuotaIncreaseCommandError = async (out
|
|
|
1117
1068
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
1118
1069
|
default:
|
|
1119
1070
|
const parsedBody = parsedOutput.body;
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
$metadata,
|
|
1071
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1072
|
+
output,
|
|
1073
|
+
parsedBody,
|
|
1074
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
1075
|
+
errorCode,
|
|
1126
1076
|
});
|
|
1127
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1128
1077
|
}
|
|
1129
1078
|
};
|
|
1130
1079
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -1146,7 +1095,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1146
1095
|
...output,
|
|
1147
1096
|
body: await parseBody(output.body, context),
|
|
1148
1097
|
};
|
|
1149
|
-
let response;
|
|
1150
1098
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1151
1099
|
switch (errorCode) {
|
|
1152
1100
|
case "AccessDeniedException":
|
|
@@ -1172,14 +1120,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1172
1120
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
1173
1121
|
default:
|
|
1174
1122
|
const parsedBody = parsedOutput.body;
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
$metadata,
|
|
1123
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1124
|
+
output,
|
|
1125
|
+
parsedBody,
|
|
1126
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
1127
|
+
errorCode,
|
|
1181
1128
|
});
|
|
1182
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1183
1129
|
}
|
|
1184
1130
|
};
|
|
1185
1131
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -1201,7 +1147,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1201
1147
|
...output,
|
|
1202
1148
|
body: await parseBody(output.body, context),
|
|
1203
1149
|
};
|
|
1204
|
-
let response;
|
|
1205
1150
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1206
1151
|
switch (errorCode) {
|
|
1207
1152
|
case "AccessDeniedException":
|
|
@@ -1221,14 +1166,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1221
1166
|
throw await deserializeAws_json1_1TooManyRequestsExceptionResponse(parsedOutput, context);
|
|
1222
1167
|
default:
|
|
1223
1168
|
const parsedBody = parsedOutput.body;
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
$metadata,
|
|
1169
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1170
|
+
output,
|
|
1171
|
+
parsedBody,
|
|
1172
|
+
exceptionCtor: ServiceQuotasServiceException_1.ServiceQuotasServiceException,
|
|
1173
|
+
errorCode,
|
|
1230
1174
|
});
|
|
1231
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1232
1175
|
}
|
|
1233
1176
|
};
|
|
1234
1177
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1428,9 +1371,6 @@ const serializeAws_json1_1InputTagKeys = (input, context) => {
|
|
|
1428
1371
|
return input
|
|
1429
1372
|
.filter((e) => e != null)
|
|
1430
1373
|
.map((entry) => {
|
|
1431
|
-
if (entry === null) {
|
|
1432
|
-
return null;
|
|
1433
|
-
}
|
|
1434
1374
|
return entry;
|
|
1435
1375
|
});
|
|
1436
1376
|
};
|
|
@@ -1438,9 +1378,6 @@ const serializeAws_json1_1InputTags = (input, context) => {
|
|
|
1438
1378
|
return input
|
|
1439
1379
|
.filter((e) => e != null)
|
|
1440
1380
|
.map((entry) => {
|
|
1441
|
-
if (entry === null) {
|
|
1442
|
-
return null;
|
|
1443
|
-
}
|
|
1444
1381
|
return serializeAws_json1_1Tag(entry, context);
|
|
1445
1382
|
});
|
|
1446
1383
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { AccessDeniedException, AWSServiceAccessNotEnabledException, DependencyAccessDeniedException, IllegalArgumentException, InvalidPaginationTokenException, InvalidResourceStateException, NoAvailableOrganizationException, NoSuchResourceException, OrganizationNotInAllFeaturesModeException, QuotaExceededException, ResourceAlreadyExistsException, ServiceException, ServiceQuotaTemplateNotInUseException, TagPolicyViolationException, TemplatesNotAvailableInRegionException, TooManyRequestsException, TooManyTagsException, } from "../models/models_0";
|
|
5
5
|
import { ServiceQuotasServiceException as __BaseException } from "../models/ServiceQuotasServiceException";
|
|
6
6
|
export var serializeAws_json1_1AssociateServiceQuotaTemplateCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -231,7 +231,7 @@ export var deserializeAws_json1_1AssociateServiceQuotaTemplateCommand = function
|
|
|
231
231
|
});
|
|
232
232
|
}); };
|
|
233
233
|
var deserializeAws_json1_1AssociateServiceQuotaTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
234
|
-
var parsedOutput, _a,
|
|
234
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
235
235
|
var _c;
|
|
236
236
|
return __generator(this, function (_d) {
|
|
237
237
|
switch (_d.label) {
|
|
@@ -280,14 +280,14 @@ var deserializeAws_json1_1AssociateServiceQuotaTemplateCommandError = function (
|
|
|
280
280
|
case 17: throw _d.sent();
|
|
281
281
|
case 18:
|
|
282
282
|
parsedBody = parsedOutput.body;
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
$metadata: $metadata,
|
|
283
|
+
throwDefaultError({
|
|
284
|
+
output: output,
|
|
285
|
+
parsedBody: parsedBody,
|
|
286
|
+
exceptionCtor: __BaseException,
|
|
287
|
+
errorCode: errorCode,
|
|
289
288
|
});
|
|
290
|
-
|
|
289
|
+
_d.label = 19;
|
|
290
|
+
case 19: return [2];
|
|
291
291
|
}
|
|
292
292
|
});
|
|
293
293
|
}); };
|
|
@@ -310,7 +310,7 @@ export var deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCo
|
|
|
310
310
|
});
|
|
311
311
|
}); };
|
|
312
312
|
var deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
313
|
-
var parsedOutput, _a,
|
|
313
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
314
314
|
var _c;
|
|
315
315
|
return __generator(this, function (_d) {
|
|
316
316
|
switch (_d.label) {
|
|
@@ -363,14 +363,14 @@ var deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommandEr
|
|
|
363
363
|
case 19: throw _d.sent();
|
|
364
364
|
case 20:
|
|
365
365
|
parsedBody = parsedOutput.body;
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
$metadata: $metadata,
|
|
366
|
+
throwDefaultError({
|
|
367
|
+
output: output,
|
|
368
|
+
parsedBody: parsedBody,
|
|
369
|
+
exceptionCtor: __BaseException,
|
|
370
|
+
errorCode: errorCode,
|
|
372
371
|
});
|
|
373
|
-
|
|
372
|
+
_d.label = 21;
|
|
373
|
+
case 21: return [2];
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
376
|
}); };
|
|
@@ -393,7 +393,7 @@ export var deserializeAws_json1_1DisassociateServiceQuotaTemplateCommand = funct
|
|
|
393
393
|
});
|
|
394
394
|
}); };
|
|
395
395
|
var deserializeAws_json1_1DisassociateServiceQuotaTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
396
|
-
var parsedOutput, _a,
|
|
396
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
397
397
|
var _c;
|
|
398
398
|
return __generator(this, function (_d) {
|
|
399
399
|
switch (_d.label) {
|
|
@@ -442,14 +442,14 @@ var deserializeAws_json1_1DisassociateServiceQuotaTemplateCommandError = functio
|
|
|
442
442
|
case 17: throw _d.sent();
|
|
443
443
|
case 18:
|
|
444
444
|
parsedBody = parsedOutput.body;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
$metadata: $metadata,
|
|
445
|
+
throwDefaultError({
|
|
446
|
+
output: output,
|
|
447
|
+
parsedBody: parsedBody,
|
|
448
|
+
exceptionCtor: __BaseException,
|
|
449
|
+
errorCode: errorCode,
|
|
451
450
|
});
|
|
452
|
-
|
|
451
|
+
_d.label = 19;
|
|
452
|
+
case 19: return [2];
|
|
453
453
|
}
|
|
454
454
|
});
|
|
455
455
|
}); };
|
|
@@ -472,7 +472,7 @@ export var deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommand =
|
|
|
472
472
|
});
|
|
473
473
|
}); };
|
|
474
474
|
var deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
475
|
-
var parsedOutput, _a,
|
|
475
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
476
476
|
var _c;
|
|
477
477
|
return __generator(this, function (_d) {
|
|
478
478
|
switch (_d.label) {
|
|
@@ -521,14 +521,14 @@ var deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommandError = fu
|
|
|
521
521
|
case 17: throw _d.sent();
|
|
522
522
|
case 18:
|
|
523
523
|
parsedBody = parsedOutput.body;
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
$metadata: $metadata,
|
|
524
|
+
throwDefaultError({
|
|
525
|
+
output: output,
|
|
526
|
+
parsedBody: parsedBody,
|
|
527
|
+
exceptionCtor: __BaseException,
|
|
528
|
+
errorCode: errorCode,
|
|
530
529
|
});
|
|
531
|
-
|
|
530
|
+
_d.label = 19;
|
|
531
|
+
case 19: return [2];
|
|
532
532
|
}
|
|
533
533
|
});
|
|
534
534
|
}); };
|
|
@@ -551,7 +551,7 @@ export var deserializeAws_json1_1GetAWSDefaultServiceQuotaCommand = function (ou
|
|
|
551
551
|
});
|
|
552
552
|
}); };
|
|
553
553
|
var deserializeAws_json1_1GetAWSDefaultServiceQuotaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
554
|
-
var parsedOutput, _a,
|
|
554
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
555
555
|
var _c;
|
|
556
556
|
return __generator(this, function (_d) {
|
|
557
557
|
switch (_d.label) {
|
|
@@ -588,14 +588,14 @@ var deserializeAws_json1_1GetAWSDefaultServiceQuotaCommandError = function (outp
|
|
|
588
588
|
case 11: throw _d.sent();
|
|
589
589
|
case 12:
|
|
590
590
|
parsedBody = parsedOutput.body;
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
$metadata: $metadata,
|
|
591
|
+
throwDefaultError({
|
|
592
|
+
output: output,
|
|
593
|
+
parsedBody: parsedBody,
|
|
594
|
+
exceptionCtor: __BaseException,
|
|
595
|
+
errorCode: errorCode,
|
|
597
596
|
});
|
|
598
|
-
|
|
597
|
+
_d.label = 13;
|
|
598
|
+
case 13: return [2];
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}); };
|
|
@@ -618,7 +618,7 @@ export var deserializeAws_json1_1GetRequestedServiceQuotaChangeCommand = functio
|
|
|
618
618
|
});
|
|
619
619
|
}); };
|
|
620
620
|
var deserializeAws_json1_1GetRequestedServiceQuotaChangeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
621
|
-
var parsedOutput, _a,
|
|
621
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
622
622
|
var _c;
|
|
623
623
|
return __generator(this, function (_d) {
|
|
624
624
|
switch (_d.label) {
|
|
@@ -655,14 +655,14 @@ var deserializeAws_json1_1GetRequestedServiceQuotaChangeCommandError = function
|
|
|
655
655
|
case 11: throw _d.sent();
|
|
656
656
|
case 12:
|
|
657
657
|
parsedBody = parsedOutput.body;
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
$metadata: $metadata,
|
|
658
|
+
throwDefaultError({
|
|
659
|
+
output: output,
|
|
660
|
+
parsedBody: parsedBody,
|
|
661
|
+
exceptionCtor: __BaseException,
|
|
662
|
+
errorCode: errorCode,
|
|
664
663
|
});
|
|
665
|
-
|
|
664
|
+
_d.label = 13;
|
|
665
|
+
case 13: return [2];
|
|
666
666
|
}
|
|
667
667
|
});
|
|
668
668
|
}); };
|
|
@@ -685,7 +685,7 @@ export var deserializeAws_json1_1GetServiceQuotaCommand = function (output, cont
|
|
|
685
685
|
});
|
|
686
686
|
}); };
|
|
687
687
|
var deserializeAws_json1_1GetServiceQuotaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
688
|
-
var parsedOutput, _a,
|
|
688
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
689
689
|
var _c;
|
|
690
690
|
return __generator(this, function (_d) {
|
|
691
691
|
switch (_d.label) {
|
|
@@ -722,14 +722,14 @@ var deserializeAws_json1_1GetServiceQuotaCommandError = function (output, contex
|
|
|
722
722
|
case 11: throw _d.sent();
|
|
723
723
|
case 12:
|
|
724
724
|
parsedBody = parsedOutput.body;
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
$metadata: $metadata,
|
|
725
|
+
throwDefaultError({
|
|
726
|
+
output: output,
|
|
727
|
+
parsedBody: parsedBody,
|
|
728
|
+
exceptionCtor: __BaseException,
|
|
729
|
+
errorCode: errorCode,
|
|
731
730
|
});
|
|
732
|
-
|
|
731
|
+
_d.label = 13;
|
|
732
|
+
case 13: return [2];
|
|
733
733
|
}
|
|
734
734
|
});
|
|
735
735
|
}); };
|
|
@@ -752,7 +752,7 @@ export var deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateComma
|
|
|
752
752
|
});
|
|
753
753
|
}); };
|
|
754
754
|
var deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
755
|
-
var parsedOutput, _a,
|
|
755
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
756
756
|
var _c;
|
|
757
757
|
return __generator(this, function (_d) {
|
|
758
758
|
switch (_d.label) {
|
|
@@ -805,14 +805,14 @@ var deserializeAws_json1_1GetServiceQuotaIncreaseRequestFromTemplateCommandError
|
|
|
805
805
|
case 19: throw _d.sent();
|
|
806
806
|
case 20:
|
|
807
807
|
parsedBody = parsedOutput.body;
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
$metadata: $metadata,
|
|
808
|
+
throwDefaultError({
|
|
809
|
+
output: output,
|
|
810
|
+
parsedBody: parsedBody,
|
|
811
|
+
exceptionCtor: __BaseException,
|
|
812
|
+
errorCode: errorCode,
|
|
814
813
|
});
|
|
815
|
-
|
|
814
|
+
_d.label = 21;
|
|
815
|
+
case 21: return [2];
|
|
816
816
|
}
|
|
817
817
|
});
|
|
818
818
|
}); };
|
|
@@ -835,7 +835,7 @@ export var deserializeAws_json1_1ListAWSDefaultServiceQuotasCommand = function (
|
|
|
835
835
|
});
|
|
836
836
|
}); };
|
|
837
837
|
var deserializeAws_json1_1ListAWSDefaultServiceQuotasCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
838
|
-
var parsedOutput, _a,
|
|
838
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
839
839
|
var _c;
|
|
840
840
|
return __generator(this, function (_d) {
|
|
841
841
|
switch (_d.label) {
|
|
@@ -876,14 +876,14 @@ var deserializeAws_json1_1ListAWSDefaultServiceQuotasCommandError = function (ou
|
|
|
876
876
|
case 13: throw _d.sent();
|
|
877
877
|
case 14:
|
|
878
878
|
parsedBody = parsedOutput.body;
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
$metadata: $metadata,
|
|
879
|
+
throwDefaultError({
|
|
880
|
+
output: output,
|
|
881
|
+
parsedBody: parsedBody,
|
|
882
|
+
exceptionCtor: __BaseException,
|
|
883
|
+
errorCode: errorCode,
|
|
885
884
|
});
|
|
886
|
-
|
|
885
|
+
_d.label = 15;
|
|
886
|
+
case 15: return [2];
|
|
887
887
|
}
|
|
888
888
|
});
|
|
889
889
|
}); };
|
|
@@ -906,7 +906,7 @@ export var deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommand =
|
|
|
906
906
|
});
|
|
907
907
|
}); };
|
|
908
908
|
var deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
909
|
-
var parsedOutput, _a,
|
|
909
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
910
910
|
var _c;
|
|
911
911
|
return __generator(this, function (_d) {
|
|
912
912
|
switch (_d.label) {
|
|
@@ -947,14 +947,14 @@ var deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryCommandError = f
|
|
|
947
947
|
case 13: throw _d.sent();
|
|
948
948
|
case 14:
|
|
949
949
|
parsedBody = parsedOutput.body;
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
$metadata: $metadata,
|
|
950
|
+
throwDefaultError({
|
|
951
|
+
output: output,
|
|
952
|
+
parsedBody: parsedBody,
|
|
953
|
+
exceptionCtor: __BaseException,
|
|
954
|
+
errorCode: errorCode,
|
|
956
955
|
});
|
|
957
|
-
|
|
956
|
+
_d.label = 15;
|
|
957
|
+
case 15: return [2];
|
|
958
958
|
}
|
|
959
959
|
});
|
|
960
960
|
}); };
|
|
@@ -977,7 +977,7 @@ export var deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCo
|
|
|
977
977
|
});
|
|
978
978
|
}); };
|
|
979
979
|
var deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
980
|
-
var parsedOutput, _a,
|
|
980
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
981
981
|
var _c;
|
|
982
982
|
return __generator(this, function (_d) {
|
|
983
983
|
switch (_d.label) {
|
|
@@ -1018,14 +1018,14 @@ var deserializeAws_json1_1ListRequestedServiceQuotaChangeHistoryByQuotaCommandEr
|
|
|
1018
1018
|
case 13: throw _d.sent();
|
|
1019
1019
|
case 14:
|
|
1020
1020
|
parsedBody = parsedOutput.body;
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
$metadata: $metadata,
|
|
1021
|
+
throwDefaultError({
|
|
1022
|
+
output: output,
|
|
1023
|
+
parsedBody: parsedBody,
|
|
1024
|
+
exceptionCtor: __BaseException,
|
|
1025
|
+
errorCode: errorCode,
|
|
1027
1026
|
});
|
|
1028
|
-
|
|
1027
|
+
_d.label = 15;
|
|
1028
|
+
case 15: return [2];
|
|
1029
1029
|
}
|
|
1030
1030
|
});
|
|
1031
1031
|
}); };
|
|
@@ -1048,7 +1048,7 @@ export var deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateComma
|
|
|
1048
1048
|
});
|
|
1049
1049
|
}); };
|
|
1050
1050
|
var deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1051
|
-
var parsedOutput, _a,
|
|
1051
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1052
1052
|
var _c;
|
|
1053
1053
|
return __generator(this, function (_d) {
|
|
1054
1054
|
switch (_d.label) {
|
|
@@ -1097,14 +1097,14 @@ var deserializeAws_json1_1ListServiceQuotaIncreaseRequestsInTemplateCommandError
|
|
|
1097
1097
|
case 17: throw _d.sent();
|
|
1098
1098
|
case 18:
|
|
1099
1099
|
parsedBody = parsedOutput.body;
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
$metadata: $metadata,
|
|
1100
|
+
throwDefaultError({
|
|
1101
|
+
output: output,
|
|
1102
|
+
parsedBody: parsedBody,
|
|
1103
|
+
exceptionCtor: __BaseException,
|
|
1104
|
+
errorCode: errorCode,
|
|
1106
1105
|
});
|
|
1107
|
-
|
|
1106
|
+
_d.label = 19;
|
|
1107
|
+
case 19: return [2];
|
|
1108
1108
|
}
|
|
1109
1109
|
});
|
|
1110
1110
|
}); };
|
|
@@ -1127,7 +1127,7 @@ export var deserializeAws_json1_1ListServiceQuotasCommand = function (output, co
|
|
|
1127
1127
|
});
|
|
1128
1128
|
}); };
|
|
1129
1129
|
var deserializeAws_json1_1ListServiceQuotasCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1130
|
-
var parsedOutput, _a,
|
|
1130
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1131
1131
|
var _c;
|
|
1132
1132
|
return __generator(this, function (_d) {
|
|
1133
1133
|
switch (_d.label) {
|
|
@@ -1168,14 +1168,14 @@ var deserializeAws_json1_1ListServiceQuotasCommandError = function (output, cont
|
|
|
1168
1168
|
case 13: throw _d.sent();
|
|
1169
1169
|
case 14:
|
|
1170
1170
|
parsedBody = parsedOutput.body;
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
$metadata: $metadata,
|
|
1171
|
+
throwDefaultError({
|
|
1172
|
+
output: output,
|
|
1173
|
+
parsedBody: parsedBody,
|
|
1174
|
+
exceptionCtor: __BaseException,
|
|
1175
|
+
errorCode: errorCode,
|
|
1177
1176
|
});
|
|
1178
|
-
|
|
1177
|
+
_d.label = 15;
|
|
1178
|
+
case 15: return [2];
|
|
1179
1179
|
}
|
|
1180
1180
|
});
|
|
1181
1181
|
}); };
|
|
@@ -1198,7 +1198,7 @@ export var deserializeAws_json1_1ListServicesCommand = function (output, context
|
|
|
1198
1198
|
});
|
|
1199
1199
|
}); };
|
|
1200
1200
|
var deserializeAws_json1_1ListServicesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1201
|
-
var parsedOutput, _a,
|
|
1201
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1202
1202
|
var _c;
|
|
1203
1203
|
return __generator(this, function (_d) {
|
|
1204
1204
|
switch (_d.label) {
|
|
@@ -1235,14 +1235,14 @@ var deserializeAws_json1_1ListServicesCommandError = function (output, context)
|
|
|
1235
1235
|
case 11: throw _d.sent();
|
|
1236
1236
|
case 12:
|
|
1237
1237
|
parsedBody = parsedOutput.body;
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
$metadata: $metadata,
|
|
1238
|
+
throwDefaultError({
|
|
1239
|
+
output: output,
|
|
1240
|
+
parsedBody: parsedBody,
|
|
1241
|
+
exceptionCtor: __BaseException,
|
|
1242
|
+
errorCode: errorCode,
|
|
1244
1243
|
});
|
|
1245
|
-
|
|
1244
|
+
_d.label = 13;
|
|
1245
|
+
case 13: return [2];
|
|
1246
1246
|
}
|
|
1247
1247
|
});
|
|
1248
1248
|
}); };
|
|
@@ -1265,7 +1265,7 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
1265
1265
|
});
|
|
1266
1266
|
}); };
|
|
1267
1267
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1268
|
-
var parsedOutput, _a,
|
|
1268
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1269
1269
|
var _c;
|
|
1270
1270
|
return __generator(this, function (_d) {
|
|
1271
1271
|
switch (_d.label) {
|
|
@@ -1302,14 +1302,14 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
1302
1302
|
case 11: throw _d.sent();
|
|
1303
1303
|
case 12:
|
|
1304
1304
|
parsedBody = parsedOutput.body;
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
$metadata: $metadata,
|
|
1305
|
+
throwDefaultError({
|
|
1306
|
+
output: output,
|
|
1307
|
+
parsedBody: parsedBody,
|
|
1308
|
+
exceptionCtor: __BaseException,
|
|
1309
|
+
errorCode: errorCode,
|
|
1311
1310
|
});
|
|
1312
|
-
|
|
1311
|
+
_d.label = 13;
|
|
1312
|
+
case 13: return [2];
|
|
1313
1313
|
}
|
|
1314
1314
|
});
|
|
1315
1315
|
}); };
|
|
@@ -1332,7 +1332,7 @@ export var deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateComma
|
|
|
1332
1332
|
});
|
|
1333
1333
|
}); };
|
|
1334
1334
|
var deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1335
|
-
var parsedOutput, _a,
|
|
1335
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1336
1336
|
var _c;
|
|
1337
1337
|
return __generator(this, function (_d) {
|
|
1338
1338
|
switch (_d.label) {
|
|
@@ -1389,14 +1389,14 @@ var deserializeAws_json1_1PutServiceQuotaIncreaseRequestIntoTemplateCommandError
|
|
|
1389
1389
|
case 21: throw _d.sent();
|
|
1390
1390
|
case 22:
|
|
1391
1391
|
parsedBody = parsedOutput.body;
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
$metadata: $metadata,
|
|
1392
|
+
throwDefaultError({
|
|
1393
|
+
output: output,
|
|
1394
|
+
parsedBody: parsedBody,
|
|
1395
|
+
exceptionCtor: __BaseException,
|
|
1396
|
+
errorCode: errorCode,
|
|
1398
1397
|
});
|
|
1399
|
-
|
|
1398
|
+
_d.label = 23;
|
|
1399
|
+
case 23: return [2];
|
|
1400
1400
|
}
|
|
1401
1401
|
});
|
|
1402
1402
|
}); };
|
|
@@ -1419,7 +1419,7 @@ export var deserializeAws_json1_1RequestServiceQuotaIncreaseCommand = function (
|
|
|
1419
1419
|
});
|
|
1420
1420
|
}); };
|
|
1421
1421
|
var deserializeAws_json1_1RequestServiceQuotaIncreaseCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1422
|
-
var parsedOutput, _a,
|
|
1422
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1423
1423
|
var _c;
|
|
1424
1424
|
return __generator(this, function (_d) {
|
|
1425
1425
|
switch (_d.label) {
|
|
@@ -1472,14 +1472,14 @@ var deserializeAws_json1_1RequestServiceQuotaIncreaseCommandError = function (ou
|
|
|
1472
1472
|
case 19: throw _d.sent();
|
|
1473
1473
|
case 20:
|
|
1474
1474
|
parsedBody = parsedOutput.body;
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
$metadata: $metadata,
|
|
1475
|
+
throwDefaultError({
|
|
1476
|
+
output: output,
|
|
1477
|
+
parsedBody: parsedBody,
|
|
1478
|
+
exceptionCtor: __BaseException,
|
|
1479
|
+
errorCode: errorCode,
|
|
1481
1480
|
});
|
|
1482
|
-
|
|
1481
|
+
_d.label = 21;
|
|
1482
|
+
case 21: return [2];
|
|
1483
1483
|
}
|
|
1484
1484
|
});
|
|
1485
1485
|
}); };
|
|
@@ -1502,7 +1502,7 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
1502
1502
|
});
|
|
1503
1503
|
}); };
|
|
1504
1504
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1505
|
-
var parsedOutput, _a,
|
|
1505
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1506
1506
|
var _c;
|
|
1507
1507
|
return __generator(this, function (_d) {
|
|
1508
1508
|
switch (_d.label) {
|
|
@@ -1547,14 +1547,14 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
1547
1547
|
case 15: throw _d.sent();
|
|
1548
1548
|
case 16:
|
|
1549
1549
|
parsedBody = parsedOutput.body;
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
$metadata: $metadata,
|
|
1550
|
+
throwDefaultError({
|
|
1551
|
+
output: output,
|
|
1552
|
+
parsedBody: parsedBody,
|
|
1553
|
+
exceptionCtor: __BaseException,
|
|
1554
|
+
errorCode: errorCode,
|
|
1556
1555
|
});
|
|
1557
|
-
|
|
1556
|
+
_d.label = 17;
|
|
1557
|
+
case 17: return [2];
|
|
1558
1558
|
}
|
|
1559
1559
|
});
|
|
1560
1560
|
}); };
|
|
@@ -1577,7 +1577,7 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
1577
1577
|
});
|
|
1578
1578
|
}); };
|
|
1579
1579
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1580
|
-
var parsedOutput, _a,
|
|
1580
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1581
1581
|
var _c;
|
|
1582
1582
|
return __generator(this, function (_d) {
|
|
1583
1583
|
switch (_d.label) {
|
|
@@ -1614,14 +1614,14 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
1614
1614
|
case 11: throw _d.sent();
|
|
1615
1615
|
case 12:
|
|
1616
1616
|
parsedBody = parsedOutput.body;
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
$metadata: $metadata,
|
|
1617
|
+
throwDefaultError({
|
|
1618
|
+
output: output,
|
|
1619
|
+
parsedBody: parsedBody,
|
|
1620
|
+
exceptionCtor: __BaseException,
|
|
1621
|
+
errorCode: errorCode,
|
|
1623
1622
|
});
|
|
1624
|
-
|
|
1623
|
+
_d.label = 13;
|
|
1624
|
+
case 13: return [2];
|
|
1625
1625
|
}
|
|
1626
1626
|
});
|
|
1627
1627
|
}); };
|
|
@@ -1806,9 +1806,6 @@ var serializeAws_json1_1InputTagKeys = function (input, context) {
|
|
|
1806
1806
|
return input
|
|
1807
1807
|
.filter(function (e) { return e != null; })
|
|
1808
1808
|
.map(function (entry) {
|
|
1809
|
-
if (entry === null) {
|
|
1810
|
-
return null;
|
|
1811
|
-
}
|
|
1812
1809
|
return entry;
|
|
1813
1810
|
});
|
|
1814
1811
|
};
|
|
@@ -1816,9 +1813,6 @@ var serializeAws_json1_1InputTags = function (input, context) {
|
|
|
1816
1813
|
return input
|
|
1817
1814
|
.filter(function (e) { return e != null; })
|
|
1818
1815
|
.map(function (entry) {
|
|
1819
|
-
if (entry === null) {
|
|
1820
|
-
return null;
|
|
1821
|
-
}
|
|
1822
1816
|
return serializeAws_json1_1Tag(entry, context);
|
|
1823
1817
|
});
|
|
1824
1818
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-service-quotas",
|
|
3
3
|
"description": "AWS SDK for JavaScript Service Quotas 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
|
},
|