@aws-sdk/client-service-quotas 3.131.0 → 3.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/AssociateServiceQuotaTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.js +2 -2
- package/dist-cjs/commands/DisassociateServiceQuotaTemplateCommand.js +2 -2
- package/dist-cjs/commands/GetAWSDefaultServiceQuotaCommand.js +2 -2
- package/dist-cjs/commands/GetAssociationForServiceQuotaTemplateCommand.js +2 -2
- package/dist-cjs/commands/GetRequestedServiceQuotaChangeCommand.js +2 -2
- package/dist-cjs/commands/GetServiceQuotaCommand.js +2 -2
- package/dist-cjs/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.js +2 -2
- package/dist-cjs/commands/ListAWSDefaultServiceQuotasCommand.js +2 -2
- package/dist-cjs/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.js +2 -2
- package/dist-cjs/commands/ListRequestedServiceQuotaChangeHistoryCommand.js +2 -2
- package/dist-cjs/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.js +2 -2
- package/dist-cjs/commands/ListServiceQuotasCommand.js +2 -2
- package/dist-cjs/commands/ListServicesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.js +2 -2
- package/dist-cjs/commands/RequestServiceQuotaIncreaseCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/models/models_0.js +186 -278
- package/dist-cjs/protocols/Aws_json1_1.js +95 -158
- package/dist-es/commands/AssociateServiceQuotaTemplateCommand.js +3 -3
- package/dist-es/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.js +3 -3
- package/dist-es/commands/DisassociateServiceQuotaTemplateCommand.js +3 -3
- package/dist-es/commands/GetAWSDefaultServiceQuotaCommand.js +3 -3
- package/dist-es/commands/GetAssociationForServiceQuotaTemplateCommand.js +3 -3
- package/dist-es/commands/GetRequestedServiceQuotaChangeCommand.js +3 -3
- package/dist-es/commands/GetServiceQuotaCommand.js +3 -3
- package/dist-es/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.js +3 -3
- package/dist-es/commands/ListAWSDefaultServiceQuotasCommand.js +3 -3
- package/dist-es/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.js +3 -3
- package/dist-es/commands/ListRequestedServiceQuotaChangeHistoryCommand.js +3 -3
- package/dist-es/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.js +3 -3
- package/dist-es/commands/ListServiceQuotasCommand.js +3 -3
- package/dist-es/commands/ListServicesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.js +3 -3
- package/dist-es/commands/RequestServiceQuotaIncreaseCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/models/models_0.js +46 -184
- package/dist-es/protocols/Aws_json1_1.js +153 -159
- package/dist-types/models/models_0.d.ts +184 -276
- package/dist-types/ts3.4/models/models_0.d.ts +92 -184
- package/package.json +6 -6
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { AssociateServiceQuotaTemplateRequestFilterSensitiveLog, AssociateServiceQuotaTemplateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1AssociateServiceQuotaTemplateCommand, serializeAws_json1_1AssociateServiceQuotaTemplateCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var AssociateServiceQuotaTemplateCommand = (function (_super) {
|
|
7
7
|
__extends(AssociateServiceQuotaTemplateCommand, _super);
|
|
@@ -20,8 +20,8 @@ var AssociateServiceQuotaTemplateCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: AssociateServiceQuotaTemplateRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AssociateServiceQuotaTemplateResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteServiceQuotaIncreaseRequestFromTemplateRequestFilterSensitiveLog, DeleteServiceQuotaIncreaseRequestFromTemplateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand, serializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteServiceQuotaIncreaseRequestFromTemplateCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteServiceQuotaIncreaseRequestFromTemplateCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteServiceQuotaIncreaseRequestFromTemplateCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteServiceQuotaIncreaseRequestFromTemplateRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteServiceQuotaIncreaseRequestFromTemplateResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DisassociateServiceQuotaTemplateRequestFilterSensitiveLog, DisassociateServiceQuotaTemplateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DisassociateServiceQuotaTemplateCommand, serializeAws_json1_1DisassociateServiceQuotaTemplateCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DisassociateServiceQuotaTemplateCommand = (function (_super) {
|
|
7
7
|
__extends(DisassociateServiceQuotaTemplateCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DisassociateServiceQuotaTemplateCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DisassociateServiceQuotaTemplateRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DisassociateServiceQuotaTemplateResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetAWSDefaultServiceQuotaRequestFilterSensitiveLog, GetAWSDefaultServiceQuotaResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetAWSDefaultServiceQuotaCommand, serializeAws_json1_1GetAWSDefaultServiceQuotaCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetAWSDefaultServiceQuotaCommand = (function (_super) {
|
|
7
7
|
__extends(GetAWSDefaultServiceQuotaCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetAWSDefaultServiceQuotaCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetAWSDefaultServiceQuotaRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetAWSDefaultServiceQuotaResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetAssociationForServiceQuotaTemplateRequestFilterSensitiveLog, GetAssociationForServiceQuotaTemplateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetAssociationForServiceQuotaTemplateCommand, serializeAws_json1_1GetAssociationForServiceQuotaTemplateCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetAssociationForServiceQuotaTemplateCommand = (function (_super) {
|
|
7
7
|
__extends(GetAssociationForServiceQuotaTemplateCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetAssociationForServiceQuotaTemplateCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetAssociationForServiceQuotaTemplateRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetAssociationForServiceQuotaTemplateResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|