@aws-sdk/client-elastic-beanstalk 3.312.0 → 3.315.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/dist-cjs/protocols/Aws_query.js +95 -141
- package/dist-es/protocols/Aws_query.js +96 -142
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { ElasticBeanstalkServiceException as __BaseException } from "../models/ElasticBeanstalkServiceException";
|
|
5
5
|
import { CodeBuildNotInServiceRegionException, ElasticBeanstalkServiceException, InsufficientPrivilegesException, InvalidRequestException, ManagedActionInvalidStateException, OperationInProgressException, PlatformVersionStillReferencedException, ResourceNotFoundException, ResourceTypeNotSupportedException, S3LocationNotInServiceRegionException, S3SubscriptionRequiredException, SourceBundleDeletionException, TooManyApplicationsException, TooManyApplicationVersionsException, TooManyBucketsException, TooManyConfigurationTemplatesException, TooManyEnvironmentsException, TooManyPlatformsException, TooManyTagsException, } from "../models/models_0";
|
|
@@ -475,7 +475,7 @@ export const de_AbortEnvironmentUpdateCommand = async (output, context) => {
|
|
|
475
475
|
const response = {
|
|
476
476
|
$metadata: deserializeMetadata(output),
|
|
477
477
|
};
|
|
478
|
-
return
|
|
478
|
+
return response;
|
|
479
479
|
};
|
|
480
480
|
const de_AbortEnvironmentUpdateCommandError = async (output, context) => {
|
|
481
481
|
const parsedOutput = {
|
|
@@ -489,10 +489,9 @@ const de_AbortEnvironmentUpdateCommandError = async (output, context) => {
|
|
|
489
489
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
490
490
|
default:
|
|
491
491
|
const parsedBody = parsedOutput.body;
|
|
492
|
-
throwDefaultError({
|
|
492
|
+
return throwDefaultError({
|
|
493
493
|
output,
|
|
494
494
|
parsedBody: parsedBody.Error,
|
|
495
|
-
exceptionCtor: __BaseException,
|
|
496
495
|
errorCode,
|
|
497
496
|
});
|
|
498
497
|
}
|
|
@@ -508,7 +507,7 @@ export const de_ApplyEnvironmentManagedActionCommand = async (output, context) =
|
|
|
508
507
|
$metadata: deserializeMetadata(output),
|
|
509
508
|
...contents,
|
|
510
509
|
};
|
|
511
|
-
return
|
|
510
|
+
return response;
|
|
512
511
|
};
|
|
513
512
|
const de_ApplyEnvironmentManagedActionCommandError = async (output, context) => {
|
|
514
513
|
const parsedOutput = {
|
|
@@ -525,10 +524,9 @@ const de_ApplyEnvironmentManagedActionCommandError = async (output, context) =>
|
|
|
525
524
|
throw await de_ManagedActionInvalidStateExceptionRes(parsedOutput, context);
|
|
526
525
|
default:
|
|
527
526
|
const parsedBody = parsedOutput.body;
|
|
528
|
-
throwDefaultError({
|
|
527
|
+
return throwDefaultError({
|
|
529
528
|
output,
|
|
530
529
|
parsedBody: parsedBody.Error,
|
|
531
|
-
exceptionCtor: __BaseException,
|
|
532
530
|
errorCode,
|
|
533
531
|
});
|
|
534
532
|
}
|
|
@@ -541,7 +539,7 @@ export const de_AssociateEnvironmentOperationsRoleCommand = async (output, conte
|
|
|
541
539
|
const response = {
|
|
542
540
|
$metadata: deserializeMetadata(output),
|
|
543
541
|
};
|
|
544
|
-
return
|
|
542
|
+
return response;
|
|
545
543
|
};
|
|
546
544
|
const de_AssociateEnvironmentOperationsRoleCommandError = async (output, context) => {
|
|
547
545
|
const parsedOutput = {
|
|
@@ -555,10 +553,9 @@ const de_AssociateEnvironmentOperationsRoleCommandError = async (output, context
|
|
|
555
553
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
556
554
|
default:
|
|
557
555
|
const parsedBody = parsedOutput.body;
|
|
558
|
-
throwDefaultError({
|
|
556
|
+
return throwDefaultError({
|
|
559
557
|
output,
|
|
560
558
|
parsedBody: parsedBody.Error,
|
|
561
|
-
exceptionCtor: __BaseException,
|
|
562
559
|
errorCode,
|
|
563
560
|
});
|
|
564
561
|
}
|
|
@@ -574,7 +571,7 @@ export const de_CheckDNSAvailabilityCommand = async (output, context) => {
|
|
|
574
571
|
$metadata: deserializeMetadata(output),
|
|
575
572
|
...contents,
|
|
576
573
|
};
|
|
577
|
-
return
|
|
574
|
+
return response;
|
|
578
575
|
};
|
|
579
576
|
const de_CheckDNSAvailabilityCommandError = async (output, context) => {
|
|
580
577
|
const parsedOutput = {
|
|
@@ -583,10 +580,9 @@ const de_CheckDNSAvailabilityCommandError = async (output, context) => {
|
|
|
583
580
|
};
|
|
584
581
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
585
582
|
const parsedBody = parsedOutput.body;
|
|
586
|
-
throwDefaultError({
|
|
583
|
+
return throwDefaultError({
|
|
587
584
|
output,
|
|
588
585
|
parsedBody: parsedBody.Error,
|
|
589
|
-
exceptionCtor: __BaseException,
|
|
590
586
|
errorCode,
|
|
591
587
|
});
|
|
592
588
|
};
|
|
@@ -601,7 +597,7 @@ export const de_ComposeEnvironmentsCommand = async (output, context) => {
|
|
|
601
597
|
$metadata: deserializeMetadata(output),
|
|
602
598
|
...contents,
|
|
603
599
|
};
|
|
604
|
-
return
|
|
600
|
+
return response;
|
|
605
601
|
};
|
|
606
602
|
const de_ComposeEnvironmentsCommandError = async (output, context) => {
|
|
607
603
|
const parsedOutput = {
|
|
@@ -618,10 +614,9 @@ const de_ComposeEnvironmentsCommandError = async (output, context) => {
|
|
|
618
614
|
throw await de_TooManyEnvironmentsExceptionRes(parsedOutput, context);
|
|
619
615
|
default:
|
|
620
616
|
const parsedBody = parsedOutput.body;
|
|
621
|
-
throwDefaultError({
|
|
617
|
+
return throwDefaultError({
|
|
622
618
|
output,
|
|
623
619
|
parsedBody: parsedBody.Error,
|
|
624
|
-
exceptionCtor: __BaseException,
|
|
625
620
|
errorCode,
|
|
626
621
|
});
|
|
627
622
|
}
|
|
@@ -637,7 +632,7 @@ export const de_CreateApplicationCommand = async (output, context) => {
|
|
|
637
632
|
$metadata: deserializeMetadata(output),
|
|
638
633
|
...contents,
|
|
639
634
|
};
|
|
640
|
-
return
|
|
635
|
+
return response;
|
|
641
636
|
};
|
|
642
637
|
const de_CreateApplicationCommandError = async (output, context) => {
|
|
643
638
|
const parsedOutput = {
|
|
@@ -651,10 +646,9 @@ const de_CreateApplicationCommandError = async (output, context) => {
|
|
|
651
646
|
throw await de_TooManyApplicationsExceptionRes(parsedOutput, context);
|
|
652
647
|
default:
|
|
653
648
|
const parsedBody = parsedOutput.body;
|
|
654
|
-
throwDefaultError({
|
|
649
|
+
return throwDefaultError({
|
|
655
650
|
output,
|
|
656
651
|
parsedBody: parsedBody.Error,
|
|
657
|
-
exceptionCtor: __BaseException,
|
|
658
652
|
errorCode,
|
|
659
653
|
});
|
|
660
654
|
}
|
|
@@ -670,7 +664,7 @@ export const de_CreateApplicationVersionCommand = async (output, context) => {
|
|
|
670
664
|
$metadata: deserializeMetadata(output),
|
|
671
665
|
...contents,
|
|
672
666
|
};
|
|
673
|
-
return
|
|
667
|
+
return response;
|
|
674
668
|
};
|
|
675
669
|
const de_CreateApplicationVersionCommandError = async (output, context) => {
|
|
676
670
|
const parsedOutput = {
|
|
@@ -696,10 +690,9 @@ const de_CreateApplicationVersionCommandError = async (output, context) => {
|
|
|
696
690
|
throw await de_TooManyApplicationsExceptionRes(parsedOutput, context);
|
|
697
691
|
default:
|
|
698
692
|
const parsedBody = parsedOutput.body;
|
|
699
|
-
throwDefaultError({
|
|
693
|
+
return throwDefaultError({
|
|
700
694
|
output,
|
|
701
695
|
parsedBody: parsedBody.Error,
|
|
702
|
-
exceptionCtor: __BaseException,
|
|
703
696
|
errorCode,
|
|
704
697
|
});
|
|
705
698
|
}
|
|
@@ -715,7 +708,7 @@ export const de_CreateConfigurationTemplateCommand = async (output, context) =>
|
|
|
715
708
|
$metadata: deserializeMetadata(output),
|
|
716
709
|
...contents,
|
|
717
710
|
};
|
|
718
|
-
return
|
|
711
|
+
return response;
|
|
719
712
|
};
|
|
720
713
|
const de_CreateConfigurationTemplateCommandError = async (output, context) => {
|
|
721
714
|
const parsedOutput = {
|
|
@@ -735,10 +728,9 @@ const de_CreateConfigurationTemplateCommandError = async (output, context) => {
|
|
|
735
728
|
throw await de_TooManyConfigurationTemplatesExceptionRes(parsedOutput, context);
|
|
736
729
|
default:
|
|
737
730
|
const parsedBody = parsedOutput.body;
|
|
738
|
-
throwDefaultError({
|
|
731
|
+
return throwDefaultError({
|
|
739
732
|
output,
|
|
740
733
|
parsedBody: parsedBody.Error,
|
|
741
|
-
exceptionCtor: __BaseException,
|
|
742
734
|
errorCode,
|
|
743
735
|
});
|
|
744
736
|
}
|
|
@@ -754,7 +746,7 @@ export const de_CreateEnvironmentCommand = async (output, context) => {
|
|
|
754
746
|
$metadata: deserializeMetadata(output),
|
|
755
747
|
...contents,
|
|
756
748
|
};
|
|
757
|
-
return
|
|
749
|
+
return response;
|
|
758
750
|
};
|
|
759
751
|
const de_CreateEnvironmentCommandError = async (output, context) => {
|
|
760
752
|
const parsedOutput = {
|
|
@@ -771,10 +763,9 @@ const de_CreateEnvironmentCommandError = async (output, context) => {
|
|
|
771
763
|
throw await de_TooManyEnvironmentsExceptionRes(parsedOutput, context);
|
|
772
764
|
default:
|
|
773
765
|
const parsedBody = parsedOutput.body;
|
|
774
|
-
throwDefaultError({
|
|
766
|
+
return throwDefaultError({
|
|
775
767
|
output,
|
|
776
768
|
parsedBody: parsedBody.Error,
|
|
777
|
-
exceptionCtor: __BaseException,
|
|
778
769
|
errorCode,
|
|
779
770
|
});
|
|
780
771
|
}
|
|
@@ -790,7 +781,7 @@ export const de_CreatePlatformVersionCommand = async (output, context) => {
|
|
|
790
781
|
$metadata: deserializeMetadata(output),
|
|
791
782
|
...contents,
|
|
792
783
|
};
|
|
793
|
-
return
|
|
784
|
+
return response;
|
|
794
785
|
};
|
|
795
786
|
const de_CreatePlatformVersionCommandError = async (output, context) => {
|
|
796
787
|
const parsedOutput = {
|
|
@@ -810,10 +801,9 @@ const de_CreatePlatformVersionCommandError = async (output, context) => {
|
|
|
810
801
|
throw await de_TooManyPlatformsExceptionRes(parsedOutput, context);
|
|
811
802
|
default:
|
|
812
803
|
const parsedBody = parsedOutput.body;
|
|
813
|
-
throwDefaultError({
|
|
804
|
+
return throwDefaultError({
|
|
814
805
|
output,
|
|
815
806
|
parsedBody: parsedBody.Error,
|
|
816
|
-
exceptionCtor: __BaseException,
|
|
817
807
|
errorCode,
|
|
818
808
|
});
|
|
819
809
|
}
|
|
@@ -829,7 +819,7 @@ export const de_CreateStorageLocationCommand = async (output, context) => {
|
|
|
829
819
|
$metadata: deserializeMetadata(output),
|
|
830
820
|
...contents,
|
|
831
821
|
};
|
|
832
|
-
return
|
|
822
|
+
return response;
|
|
833
823
|
};
|
|
834
824
|
const de_CreateStorageLocationCommandError = async (output, context) => {
|
|
835
825
|
const parsedOutput = {
|
|
@@ -849,10 +839,9 @@ const de_CreateStorageLocationCommandError = async (output, context) => {
|
|
|
849
839
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
850
840
|
default:
|
|
851
841
|
const parsedBody = parsedOutput.body;
|
|
852
|
-
throwDefaultError({
|
|
842
|
+
return throwDefaultError({
|
|
853
843
|
output,
|
|
854
844
|
parsedBody: parsedBody.Error,
|
|
855
|
-
exceptionCtor: __BaseException,
|
|
856
845
|
errorCode,
|
|
857
846
|
});
|
|
858
847
|
}
|
|
@@ -865,7 +854,7 @@ export const de_DeleteApplicationCommand = async (output, context) => {
|
|
|
865
854
|
const response = {
|
|
866
855
|
$metadata: deserializeMetadata(output),
|
|
867
856
|
};
|
|
868
|
-
return
|
|
857
|
+
return response;
|
|
869
858
|
};
|
|
870
859
|
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
871
860
|
const parsedOutput = {
|
|
@@ -879,10 +868,9 @@ const de_DeleteApplicationCommandError = async (output, context) => {
|
|
|
879
868
|
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
|
880
869
|
default:
|
|
881
870
|
const parsedBody = parsedOutput.body;
|
|
882
|
-
throwDefaultError({
|
|
871
|
+
return throwDefaultError({
|
|
883
872
|
output,
|
|
884
873
|
parsedBody: parsedBody.Error,
|
|
885
|
-
exceptionCtor: __BaseException,
|
|
886
874
|
errorCode,
|
|
887
875
|
});
|
|
888
876
|
}
|
|
@@ -895,7 +883,7 @@ export const de_DeleteApplicationVersionCommand = async (output, context) => {
|
|
|
895
883
|
const response = {
|
|
896
884
|
$metadata: deserializeMetadata(output),
|
|
897
885
|
};
|
|
898
|
-
return
|
|
886
|
+
return response;
|
|
899
887
|
};
|
|
900
888
|
const de_DeleteApplicationVersionCommandError = async (output, context) => {
|
|
901
889
|
const parsedOutput = {
|
|
@@ -918,10 +906,9 @@ const de_DeleteApplicationVersionCommandError = async (output, context) => {
|
|
|
918
906
|
throw await de_SourceBundleDeletionExceptionRes(parsedOutput, context);
|
|
919
907
|
default:
|
|
920
908
|
const parsedBody = parsedOutput.body;
|
|
921
|
-
throwDefaultError({
|
|
909
|
+
return throwDefaultError({
|
|
922
910
|
output,
|
|
923
911
|
parsedBody: parsedBody.Error,
|
|
924
|
-
exceptionCtor: __BaseException,
|
|
925
912
|
errorCode,
|
|
926
913
|
});
|
|
927
914
|
}
|
|
@@ -934,7 +921,7 @@ export const de_DeleteConfigurationTemplateCommand = async (output, context) =>
|
|
|
934
921
|
const response = {
|
|
935
922
|
$metadata: deserializeMetadata(output),
|
|
936
923
|
};
|
|
937
|
-
return
|
|
924
|
+
return response;
|
|
938
925
|
};
|
|
939
926
|
const de_DeleteConfigurationTemplateCommandError = async (output, context) => {
|
|
940
927
|
const parsedOutput = {
|
|
@@ -948,10 +935,9 @@ const de_DeleteConfigurationTemplateCommandError = async (output, context) => {
|
|
|
948
935
|
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
|
949
936
|
default:
|
|
950
937
|
const parsedBody = parsedOutput.body;
|
|
951
|
-
throwDefaultError({
|
|
938
|
+
return throwDefaultError({
|
|
952
939
|
output,
|
|
953
940
|
parsedBody: parsedBody.Error,
|
|
954
|
-
exceptionCtor: __BaseException,
|
|
955
941
|
errorCode,
|
|
956
942
|
});
|
|
957
943
|
}
|
|
@@ -964,7 +950,7 @@ export const de_DeleteEnvironmentConfigurationCommand = async (output, context)
|
|
|
964
950
|
const response = {
|
|
965
951
|
$metadata: deserializeMetadata(output),
|
|
966
952
|
};
|
|
967
|
-
return
|
|
953
|
+
return response;
|
|
968
954
|
};
|
|
969
955
|
const de_DeleteEnvironmentConfigurationCommandError = async (output, context) => {
|
|
970
956
|
const parsedOutput = {
|
|
@@ -973,10 +959,9 @@ const de_DeleteEnvironmentConfigurationCommandError = async (output, context) =>
|
|
|
973
959
|
};
|
|
974
960
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
975
961
|
const parsedBody = parsedOutput.body;
|
|
976
|
-
throwDefaultError({
|
|
962
|
+
return throwDefaultError({
|
|
977
963
|
output,
|
|
978
964
|
parsedBody: parsedBody.Error,
|
|
979
|
-
exceptionCtor: __BaseException,
|
|
980
965
|
errorCode,
|
|
981
966
|
});
|
|
982
967
|
};
|
|
@@ -991,7 +976,7 @@ export const de_DeletePlatformVersionCommand = async (output, context) => {
|
|
|
991
976
|
$metadata: deserializeMetadata(output),
|
|
992
977
|
...contents,
|
|
993
978
|
};
|
|
994
|
-
return
|
|
979
|
+
return response;
|
|
995
980
|
};
|
|
996
981
|
const de_DeletePlatformVersionCommandError = async (output, context) => {
|
|
997
982
|
const parsedOutput = {
|
|
@@ -1014,10 +999,9 @@ const de_DeletePlatformVersionCommandError = async (output, context) => {
|
|
|
1014
999
|
throw await de_PlatformVersionStillReferencedExceptionRes(parsedOutput, context);
|
|
1015
1000
|
default:
|
|
1016
1001
|
const parsedBody = parsedOutput.body;
|
|
1017
|
-
throwDefaultError({
|
|
1002
|
+
return throwDefaultError({
|
|
1018
1003
|
output,
|
|
1019
1004
|
parsedBody: parsedBody.Error,
|
|
1020
|
-
exceptionCtor: __BaseException,
|
|
1021
1005
|
errorCode,
|
|
1022
1006
|
});
|
|
1023
1007
|
}
|
|
@@ -1033,7 +1017,7 @@ export const de_DescribeAccountAttributesCommand = async (output, context) => {
|
|
|
1033
1017
|
$metadata: deserializeMetadata(output),
|
|
1034
1018
|
...contents,
|
|
1035
1019
|
};
|
|
1036
|
-
return
|
|
1020
|
+
return response;
|
|
1037
1021
|
};
|
|
1038
1022
|
const de_DescribeAccountAttributesCommandError = async (output, context) => {
|
|
1039
1023
|
const parsedOutput = {
|
|
@@ -1047,10 +1031,9 @@ const de_DescribeAccountAttributesCommandError = async (output, context) => {
|
|
|
1047
1031
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1048
1032
|
default:
|
|
1049
1033
|
const parsedBody = parsedOutput.body;
|
|
1050
|
-
throwDefaultError({
|
|
1034
|
+
return throwDefaultError({
|
|
1051
1035
|
output,
|
|
1052
1036
|
parsedBody: parsedBody.Error,
|
|
1053
|
-
exceptionCtor: __BaseException,
|
|
1054
1037
|
errorCode,
|
|
1055
1038
|
});
|
|
1056
1039
|
}
|
|
@@ -1066,7 +1049,7 @@ export const de_DescribeApplicationsCommand = async (output, context) => {
|
|
|
1066
1049
|
$metadata: deserializeMetadata(output),
|
|
1067
1050
|
...contents,
|
|
1068
1051
|
};
|
|
1069
|
-
return
|
|
1052
|
+
return response;
|
|
1070
1053
|
};
|
|
1071
1054
|
const de_DescribeApplicationsCommandError = async (output, context) => {
|
|
1072
1055
|
const parsedOutput = {
|
|
@@ -1075,10 +1058,9 @@ const de_DescribeApplicationsCommandError = async (output, context) => {
|
|
|
1075
1058
|
};
|
|
1076
1059
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1077
1060
|
const parsedBody = parsedOutput.body;
|
|
1078
|
-
throwDefaultError({
|
|
1061
|
+
return throwDefaultError({
|
|
1079
1062
|
output,
|
|
1080
1063
|
parsedBody: parsedBody.Error,
|
|
1081
|
-
exceptionCtor: __BaseException,
|
|
1082
1064
|
errorCode,
|
|
1083
1065
|
});
|
|
1084
1066
|
};
|
|
@@ -1093,7 +1075,7 @@ export const de_DescribeApplicationVersionsCommand = async (output, context) =>
|
|
|
1093
1075
|
$metadata: deserializeMetadata(output),
|
|
1094
1076
|
...contents,
|
|
1095
1077
|
};
|
|
1096
|
-
return
|
|
1078
|
+
return response;
|
|
1097
1079
|
};
|
|
1098
1080
|
const de_DescribeApplicationVersionsCommandError = async (output, context) => {
|
|
1099
1081
|
const parsedOutput = {
|
|
@@ -1102,10 +1084,9 @@ const de_DescribeApplicationVersionsCommandError = async (output, context) => {
|
|
|
1102
1084
|
};
|
|
1103
1085
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1104
1086
|
const parsedBody = parsedOutput.body;
|
|
1105
|
-
throwDefaultError({
|
|
1087
|
+
return throwDefaultError({
|
|
1106
1088
|
output,
|
|
1107
1089
|
parsedBody: parsedBody.Error,
|
|
1108
|
-
exceptionCtor: __BaseException,
|
|
1109
1090
|
errorCode,
|
|
1110
1091
|
});
|
|
1111
1092
|
};
|
|
@@ -1120,7 +1101,7 @@ export const de_DescribeConfigurationOptionsCommand = async (output, context) =>
|
|
|
1120
1101
|
$metadata: deserializeMetadata(output),
|
|
1121
1102
|
...contents,
|
|
1122
1103
|
};
|
|
1123
|
-
return
|
|
1104
|
+
return response;
|
|
1124
1105
|
};
|
|
1125
1106
|
const de_DescribeConfigurationOptionsCommandError = async (output, context) => {
|
|
1126
1107
|
const parsedOutput = {
|
|
@@ -1134,10 +1115,9 @@ const de_DescribeConfigurationOptionsCommandError = async (output, context) => {
|
|
|
1134
1115
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
1135
1116
|
default:
|
|
1136
1117
|
const parsedBody = parsedOutput.body;
|
|
1137
|
-
throwDefaultError({
|
|
1118
|
+
return throwDefaultError({
|
|
1138
1119
|
output,
|
|
1139
1120
|
parsedBody: parsedBody.Error,
|
|
1140
|
-
exceptionCtor: __BaseException,
|
|
1141
1121
|
errorCode,
|
|
1142
1122
|
});
|
|
1143
1123
|
}
|
|
@@ -1153,7 +1133,7 @@ export const de_DescribeConfigurationSettingsCommand = async (output, context) =
|
|
|
1153
1133
|
$metadata: deserializeMetadata(output),
|
|
1154
1134
|
...contents,
|
|
1155
1135
|
};
|
|
1156
|
-
return
|
|
1136
|
+
return response;
|
|
1157
1137
|
};
|
|
1158
1138
|
const de_DescribeConfigurationSettingsCommandError = async (output, context) => {
|
|
1159
1139
|
const parsedOutput = {
|
|
@@ -1167,10 +1147,9 @@ const de_DescribeConfigurationSettingsCommandError = async (output, context) =>
|
|
|
1167
1147
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
1168
1148
|
default:
|
|
1169
1149
|
const parsedBody = parsedOutput.body;
|
|
1170
|
-
throwDefaultError({
|
|
1150
|
+
return throwDefaultError({
|
|
1171
1151
|
output,
|
|
1172
1152
|
parsedBody: parsedBody.Error,
|
|
1173
|
-
exceptionCtor: __BaseException,
|
|
1174
1153
|
errorCode,
|
|
1175
1154
|
});
|
|
1176
1155
|
}
|
|
@@ -1186,7 +1165,7 @@ export const de_DescribeEnvironmentHealthCommand = async (output, context) => {
|
|
|
1186
1165
|
$metadata: deserializeMetadata(output),
|
|
1187
1166
|
...contents,
|
|
1188
1167
|
};
|
|
1189
|
-
return
|
|
1168
|
+
return response;
|
|
1190
1169
|
};
|
|
1191
1170
|
const de_DescribeEnvironmentHealthCommandError = async (output, context) => {
|
|
1192
1171
|
const parsedOutput = {
|
|
@@ -1203,10 +1182,9 @@ const de_DescribeEnvironmentHealthCommandError = async (output, context) => {
|
|
|
1203
1182
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1204
1183
|
default:
|
|
1205
1184
|
const parsedBody = parsedOutput.body;
|
|
1206
|
-
throwDefaultError({
|
|
1185
|
+
return throwDefaultError({
|
|
1207
1186
|
output,
|
|
1208
1187
|
parsedBody: parsedBody.Error,
|
|
1209
|
-
exceptionCtor: __BaseException,
|
|
1210
1188
|
errorCode,
|
|
1211
1189
|
});
|
|
1212
1190
|
}
|
|
@@ -1222,7 +1200,7 @@ export const de_DescribeEnvironmentManagedActionHistoryCommand = async (output,
|
|
|
1222
1200
|
$metadata: deserializeMetadata(output),
|
|
1223
1201
|
...contents,
|
|
1224
1202
|
};
|
|
1225
|
-
return
|
|
1203
|
+
return response;
|
|
1226
1204
|
};
|
|
1227
1205
|
const de_DescribeEnvironmentManagedActionHistoryCommandError = async (output, context) => {
|
|
1228
1206
|
const parsedOutput = {
|
|
@@ -1236,10 +1214,9 @@ const de_DescribeEnvironmentManagedActionHistoryCommandError = async (output, co
|
|
|
1236
1214
|
throw await de_ElasticBeanstalkServiceExceptionRes(parsedOutput, context);
|
|
1237
1215
|
default:
|
|
1238
1216
|
const parsedBody = parsedOutput.body;
|
|
1239
|
-
throwDefaultError({
|
|
1217
|
+
return throwDefaultError({
|
|
1240
1218
|
output,
|
|
1241
1219
|
parsedBody: parsedBody.Error,
|
|
1242
|
-
exceptionCtor: __BaseException,
|
|
1243
1220
|
errorCode,
|
|
1244
1221
|
});
|
|
1245
1222
|
}
|
|
@@ -1255,7 +1232,7 @@ export const de_DescribeEnvironmentManagedActionsCommand = async (output, contex
|
|
|
1255
1232
|
$metadata: deserializeMetadata(output),
|
|
1256
1233
|
...contents,
|
|
1257
1234
|
};
|
|
1258
|
-
return
|
|
1235
|
+
return response;
|
|
1259
1236
|
};
|
|
1260
1237
|
const de_DescribeEnvironmentManagedActionsCommandError = async (output, context) => {
|
|
1261
1238
|
const parsedOutput = {
|
|
@@ -1269,10 +1246,9 @@ const de_DescribeEnvironmentManagedActionsCommandError = async (output, context)
|
|
|
1269
1246
|
throw await de_ElasticBeanstalkServiceExceptionRes(parsedOutput, context);
|
|
1270
1247
|
default:
|
|
1271
1248
|
const parsedBody = parsedOutput.body;
|
|
1272
|
-
throwDefaultError({
|
|
1249
|
+
return throwDefaultError({
|
|
1273
1250
|
output,
|
|
1274
1251
|
parsedBody: parsedBody.Error,
|
|
1275
|
-
exceptionCtor: __BaseException,
|
|
1276
1252
|
errorCode,
|
|
1277
1253
|
});
|
|
1278
1254
|
}
|
|
@@ -1288,7 +1264,7 @@ export const de_DescribeEnvironmentResourcesCommand = async (output, context) =>
|
|
|
1288
1264
|
$metadata: deserializeMetadata(output),
|
|
1289
1265
|
...contents,
|
|
1290
1266
|
};
|
|
1291
|
-
return
|
|
1267
|
+
return response;
|
|
1292
1268
|
};
|
|
1293
1269
|
const de_DescribeEnvironmentResourcesCommandError = async (output, context) => {
|
|
1294
1270
|
const parsedOutput = {
|
|
@@ -1302,10 +1278,9 @@ const de_DescribeEnvironmentResourcesCommandError = async (output, context) => {
|
|
|
1302
1278
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1303
1279
|
default:
|
|
1304
1280
|
const parsedBody = parsedOutput.body;
|
|
1305
|
-
throwDefaultError({
|
|
1281
|
+
return throwDefaultError({
|
|
1306
1282
|
output,
|
|
1307
1283
|
parsedBody: parsedBody.Error,
|
|
1308
|
-
exceptionCtor: __BaseException,
|
|
1309
1284
|
errorCode,
|
|
1310
1285
|
});
|
|
1311
1286
|
}
|
|
@@ -1321,7 +1296,7 @@ export const de_DescribeEnvironmentsCommand = async (output, context) => {
|
|
|
1321
1296
|
$metadata: deserializeMetadata(output),
|
|
1322
1297
|
...contents,
|
|
1323
1298
|
};
|
|
1324
|
-
return
|
|
1299
|
+
return response;
|
|
1325
1300
|
};
|
|
1326
1301
|
const de_DescribeEnvironmentsCommandError = async (output, context) => {
|
|
1327
1302
|
const parsedOutput = {
|
|
@@ -1330,10 +1305,9 @@ const de_DescribeEnvironmentsCommandError = async (output, context) => {
|
|
|
1330
1305
|
};
|
|
1331
1306
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1332
1307
|
const parsedBody = parsedOutput.body;
|
|
1333
|
-
throwDefaultError({
|
|
1308
|
+
return throwDefaultError({
|
|
1334
1309
|
output,
|
|
1335
1310
|
parsedBody: parsedBody.Error,
|
|
1336
|
-
exceptionCtor: __BaseException,
|
|
1337
1311
|
errorCode,
|
|
1338
1312
|
});
|
|
1339
1313
|
};
|
|
@@ -1348,7 +1322,7 @@ export const de_DescribeEventsCommand = async (output, context) => {
|
|
|
1348
1322
|
$metadata: deserializeMetadata(output),
|
|
1349
1323
|
...contents,
|
|
1350
1324
|
};
|
|
1351
|
-
return
|
|
1325
|
+
return response;
|
|
1352
1326
|
};
|
|
1353
1327
|
const de_DescribeEventsCommandError = async (output, context) => {
|
|
1354
1328
|
const parsedOutput = {
|
|
@@ -1357,10 +1331,9 @@ const de_DescribeEventsCommandError = async (output, context) => {
|
|
|
1357
1331
|
};
|
|
1358
1332
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1359
1333
|
const parsedBody = parsedOutput.body;
|
|
1360
|
-
throwDefaultError({
|
|
1334
|
+
return throwDefaultError({
|
|
1361
1335
|
output,
|
|
1362
1336
|
parsedBody: parsedBody.Error,
|
|
1363
|
-
exceptionCtor: __BaseException,
|
|
1364
1337
|
errorCode,
|
|
1365
1338
|
});
|
|
1366
1339
|
};
|
|
@@ -1375,7 +1348,7 @@ export const de_DescribeInstancesHealthCommand = async (output, context) => {
|
|
|
1375
1348
|
$metadata: deserializeMetadata(output),
|
|
1376
1349
|
...contents,
|
|
1377
1350
|
};
|
|
1378
|
-
return
|
|
1351
|
+
return response;
|
|
1379
1352
|
};
|
|
1380
1353
|
const de_DescribeInstancesHealthCommandError = async (output, context) => {
|
|
1381
1354
|
const parsedOutput = {
|
|
@@ -1392,10 +1365,9 @@ const de_DescribeInstancesHealthCommandError = async (output, context) => {
|
|
|
1392
1365
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1393
1366
|
default:
|
|
1394
1367
|
const parsedBody = parsedOutput.body;
|
|
1395
|
-
throwDefaultError({
|
|
1368
|
+
return throwDefaultError({
|
|
1396
1369
|
output,
|
|
1397
1370
|
parsedBody: parsedBody.Error,
|
|
1398
|
-
exceptionCtor: __BaseException,
|
|
1399
1371
|
errorCode,
|
|
1400
1372
|
});
|
|
1401
1373
|
}
|
|
@@ -1411,7 +1383,7 @@ export const de_DescribePlatformVersionCommand = async (output, context) => {
|
|
|
1411
1383
|
$metadata: deserializeMetadata(output),
|
|
1412
1384
|
...contents,
|
|
1413
1385
|
};
|
|
1414
|
-
return
|
|
1386
|
+
return response;
|
|
1415
1387
|
};
|
|
1416
1388
|
const de_DescribePlatformVersionCommandError = async (output, context) => {
|
|
1417
1389
|
const parsedOutput = {
|
|
@@ -1428,10 +1400,9 @@ const de_DescribePlatformVersionCommandError = async (output, context) => {
|
|
|
1428
1400
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1429
1401
|
default:
|
|
1430
1402
|
const parsedBody = parsedOutput.body;
|
|
1431
|
-
throwDefaultError({
|
|
1403
|
+
return throwDefaultError({
|
|
1432
1404
|
output,
|
|
1433
1405
|
parsedBody: parsedBody.Error,
|
|
1434
|
-
exceptionCtor: __BaseException,
|
|
1435
1406
|
errorCode,
|
|
1436
1407
|
});
|
|
1437
1408
|
}
|
|
@@ -1444,7 +1415,7 @@ export const de_DisassociateEnvironmentOperationsRoleCommand = async (output, co
|
|
|
1444
1415
|
const response = {
|
|
1445
1416
|
$metadata: deserializeMetadata(output),
|
|
1446
1417
|
};
|
|
1447
|
-
return
|
|
1418
|
+
return response;
|
|
1448
1419
|
};
|
|
1449
1420
|
const de_DisassociateEnvironmentOperationsRoleCommandError = async (output, context) => {
|
|
1450
1421
|
const parsedOutput = {
|
|
@@ -1458,10 +1429,9 @@ const de_DisassociateEnvironmentOperationsRoleCommandError = async (output, cont
|
|
|
1458
1429
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1459
1430
|
default:
|
|
1460
1431
|
const parsedBody = parsedOutput.body;
|
|
1461
|
-
throwDefaultError({
|
|
1432
|
+
return throwDefaultError({
|
|
1462
1433
|
output,
|
|
1463
1434
|
parsedBody: parsedBody.Error,
|
|
1464
|
-
exceptionCtor: __BaseException,
|
|
1465
1435
|
errorCode,
|
|
1466
1436
|
});
|
|
1467
1437
|
}
|
|
@@ -1477,7 +1447,7 @@ export const de_ListAvailableSolutionStacksCommand = async (output, context) =>
|
|
|
1477
1447
|
$metadata: deserializeMetadata(output),
|
|
1478
1448
|
...contents,
|
|
1479
1449
|
};
|
|
1480
|
-
return
|
|
1450
|
+
return response;
|
|
1481
1451
|
};
|
|
1482
1452
|
const de_ListAvailableSolutionStacksCommandError = async (output, context) => {
|
|
1483
1453
|
const parsedOutput = {
|
|
@@ -1486,10 +1456,9 @@ const de_ListAvailableSolutionStacksCommandError = async (output, context) => {
|
|
|
1486
1456
|
};
|
|
1487
1457
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1488
1458
|
const parsedBody = parsedOutput.body;
|
|
1489
|
-
throwDefaultError({
|
|
1459
|
+
return throwDefaultError({
|
|
1490
1460
|
output,
|
|
1491
1461
|
parsedBody: parsedBody.Error,
|
|
1492
|
-
exceptionCtor: __BaseException,
|
|
1493
1462
|
errorCode,
|
|
1494
1463
|
});
|
|
1495
1464
|
};
|
|
@@ -1504,7 +1473,7 @@ export const de_ListPlatformBranchesCommand = async (output, context) => {
|
|
|
1504
1473
|
$metadata: deserializeMetadata(output),
|
|
1505
1474
|
...contents,
|
|
1506
1475
|
};
|
|
1507
|
-
return
|
|
1476
|
+
return response;
|
|
1508
1477
|
};
|
|
1509
1478
|
const de_ListPlatformBranchesCommandError = async (output, context) => {
|
|
1510
1479
|
const parsedOutput = {
|
|
@@ -1513,10 +1482,9 @@ const de_ListPlatformBranchesCommandError = async (output, context) => {
|
|
|
1513
1482
|
};
|
|
1514
1483
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1515
1484
|
const parsedBody = parsedOutput.body;
|
|
1516
|
-
throwDefaultError({
|
|
1485
|
+
return throwDefaultError({
|
|
1517
1486
|
output,
|
|
1518
1487
|
parsedBody: parsedBody.Error,
|
|
1519
|
-
exceptionCtor: __BaseException,
|
|
1520
1488
|
errorCode,
|
|
1521
1489
|
});
|
|
1522
1490
|
};
|
|
@@ -1531,7 +1499,7 @@ export const de_ListPlatformVersionsCommand = async (output, context) => {
|
|
|
1531
1499
|
$metadata: deserializeMetadata(output),
|
|
1532
1500
|
...contents,
|
|
1533
1501
|
};
|
|
1534
|
-
return
|
|
1502
|
+
return response;
|
|
1535
1503
|
};
|
|
1536
1504
|
const de_ListPlatformVersionsCommandError = async (output, context) => {
|
|
1537
1505
|
const parsedOutput = {
|
|
@@ -1548,10 +1516,9 @@ const de_ListPlatformVersionsCommandError = async (output, context) => {
|
|
|
1548
1516
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1549
1517
|
default:
|
|
1550
1518
|
const parsedBody = parsedOutput.body;
|
|
1551
|
-
throwDefaultError({
|
|
1519
|
+
return throwDefaultError({
|
|
1552
1520
|
output,
|
|
1553
1521
|
parsedBody: parsedBody.Error,
|
|
1554
|
-
exceptionCtor: __BaseException,
|
|
1555
1522
|
errorCode,
|
|
1556
1523
|
});
|
|
1557
1524
|
}
|
|
@@ -1567,7 +1534,7 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1567
1534
|
$metadata: deserializeMetadata(output),
|
|
1568
1535
|
...contents,
|
|
1569
1536
|
};
|
|
1570
|
-
return
|
|
1537
|
+
return response;
|
|
1571
1538
|
};
|
|
1572
1539
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1573
1540
|
const parsedOutput = {
|
|
@@ -1587,10 +1554,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1587
1554
|
throw await de_ResourceTypeNotSupportedExceptionRes(parsedOutput, context);
|
|
1588
1555
|
default:
|
|
1589
1556
|
const parsedBody = parsedOutput.body;
|
|
1590
|
-
throwDefaultError({
|
|
1557
|
+
return throwDefaultError({
|
|
1591
1558
|
output,
|
|
1592
1559
|
parsedBody: parsedBody.Error,
|
|
1593
|
-
exceptionCtor: __BaseException,
|
|
1594
1560
|
errorCode,
|
|
1595
1561
|
});
|
|
1596
1562
|
}
|
|
@@ -1603,7 +1569,7 @@ export const de_RebuildEnvironmentCommand = async (output, context) => {
|
|
|
1603
1569
|
const response = {
|
|
1604
1570
|
$metadata: deserializeMetadata(output),
|
|
1605
1571
|
};
|
|
1606
|
-
return
|
|
1572
|
+
return response;
|
|
1607
1573
|
};
|
|
1608
1574
|
const de_RebuildEnvironmentCommandError = async (output, context) => {
|
|
1609
1575
|
const parsedOutput = {
|
|
@@ -1617,10 +1583,9 @@ const de_RebuildEnvironmentCommandError = async (output, context) => {
|
|
|
1617
1583
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1618
1584
|
default:
|
|
1619
1585
|
const parsedBody = parsedOutput.body;
|
|
1620
|
-
throwDefaultError({
|
|
1586
|
+
return throwDefaultError({
|
|
1621
1587
|
output,
|
|
1622
1588
|
parsedBody: parsedBody.Error,
|
|
1623
|
-
exceptionCtor: __BaseException,
|
|
1624
1589
|
errorCode,
|
|
1625
1590
|
});
|
|
1626
1591
|
}
|
|
@@ -1633,7 +1598,7 @@ export const de_RequestEnvironmentInfoCommand = async (output, context) => {
|
|
|
1633
1598
|
const response = {
|
|
1634
1599
|
$metadata: deserializeMetadata(output),
|
|
1635
1600
|
};
|
|
1636
|
-
return
|
|
1601
|
+
return response;
|
|
1637
1602
|
};
|
|
1638
1603
|
const de_RequestEnvironmentInfoCommandError = async (output, context) => {
|
|
1639
1604
|
const parsedOutput = {
|
|
@@ -1642,10 +1607,9 @@ const de_RequestEnvironmentInfoCommandError = async (output, context) => {
|
|
|
1642
1607
|
};
|
|
1643
1608
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1644
1609
|
const parsedBody = parsedOutput.body;
|
|
1645
|
-
throwDefaultError({
|
|
1610
|
+
return throwDefaultError({
|
|
1646
1611
|
output,
|
|
1647
1612
|
parsedBody: parsedBody.Error,
|
|
1648
|
-
exceptionCtor: __BaseException,
|
|
1649
1613
|
errorCode,
|
|
1650
1614
|
});
|
|
1651
1615
|
};
|
|
@@ -1657,7 +1621,7 @@ export const de_RestartAppServerCommand = async (output, context) => {
|
|
|
1657
1621
|
const response = {
|
|
1658
1622
|
$metadata: deserializeMetadata(output),
|
|
1659
1623
|
};
|
|
1660
|
-
return
|
|
1624
|
+
return response;
|
|
1661
1625
|
};
|
|
1662
1626
|
const de_RestartAppServerCommandError = async (output, context) => {
|
|
1663
1627
|
const parsedOutput = {
|
|
@@ -1666,10 +1630,9 @@ const de_RestartAppServerCommandError = async (output, context) => {
|
|
|
1666
1630
|
};
|
|
1667
1631
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1668
1632
|
const parsedBody = parsedOutput.body;
|
|
1669
|
-
throwDefaultError({
|
|
1633
|
+
return throwDefaultError({
|
|
1670
1634
|
output,
|
|
1671
1635
|
parsedBody: parsedBody.Error,
|
|
1672
|
-
exceptionCtor: __BaseException,
|
|
1673
1636
|
errorCode,
|
|
1674
1637
|
});
|
|
1675
1638
|
};
|
|
@@ -1684,7 +1647,7 @@ export const de_RetrieveEnvironmentInfoCommand = async (output, context) => {
|
|
|
1684
1647
|
$metadata: deserializeMetadata(output),
|
|
1685
1648
|
...contents,
|
|
1686
1649
|
};
|
|
1687
|
-
return
|
|
1650
|
+
return response;
|
|
1688
1651
|
};
|
|
1689
1652
|
const de_RetrieveEnvironmentInfoCommandError = async (output, context) => {
|
|
1690
1653
|
const parsedOutput = {
|
|
@@ -1693,10 +1656,9 @@ const de_RetrieveEnvironmentInfoCommandError = async (output, context) => {
|
|
|
1693
1656
|
};
|
|
1694
1657
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1695
1658
|
const parsedBody = parsedOutput.body;
|
|
1696
|
-
throwDefaultError({
|
|
1659
|
+
return throwDefaultError({
|
|
1697
1660
|
output,
|
|
1698
1661
|
parsedBody: parsedBody.Error,
|
|
1699
|
-
exceptionCtor: __BaseException,
|
|
1700
1662
|
errorCode,
|
|
1701
1663
|
});
|
|
1702
1664
|
};
|
|
@@ -1708,7 +1670,7 @@ export const de_SwapEnvironmentCNAMEsCommand = async (output, context) => {
|
|
|
1708
1670
|
const response = {
|
|
1709
1671
|
$metadata: deserializeMetadata(output),
|
|
1710
1672
|
};
|
|
1711
|
-
return
|
|
1673
|
+
return response;
|
|
1712
1674
|
};
|
|
1713
1675
|
const de_SwapEnvironmentCNAMEsCommandError = async (output, context) => {
|
|
1714
1676
|
const parsedOutput = {
|
|
@@ -1717,10 +1679,9 @@ const de_SwapEnvironmentCNAMEsCommandError = async (output, context) => {
|
|
|
1717
1679
|
};
|
|
1718
1680
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1719
1681
|
const parsedBody = parsedOutput.body;
|
|
1720
|
-
throwDefaultError({
|
|
1682
|
+
return throwDefaultError({
|
|
1721
1683
|
output,
|
|
1722
1684
|
parsedBody: parsedBody.Error,
|
|
1723
|
-
exceptionCtor: __BaseException,
|
|
1724
1685
|
errorCode,
|
|
1725
1686
|
});
|
|
1726
1687
|
};
|
|
@@ -1735,7 +1696,7 @@ export const de_TerminateEnvironmentCommand = async (output, context) => {
|
|
|
1735
1696
|
$metadata: deserializeMetadata(output),
|
|
1736
1697
|
...contents,
|
|
1737
1698
|
};
|
|
1738
|
-
return
|
|
1699
|
+
return response;
|
|
1739
1700
|
};
|
|
1740
1701
|
const de_TerminateEnvironmentCommandError = async (output, context) => {
|
|
1741
1702
|
const parsedOutput = {
|
|
@@ -1749,10 +1710,9 @@ const de_TerminateEnvironmentCommandError = async (output, context) => {
|
|
|
1749
1710
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1750
1711
|
default:
|
|
1751
1712
|
const parsedBody = parsedOutput.body;
|
|
1752
|
-
throwDefaultError({
|
|
1713
|
+
return throwDefaultError({
|
|
1753
1714
|
output,
|
|
1754
1715
|
parsedBody: parsedBody.Error,
|
|
1755
|
-
exceptionCtor: __BaseException,
|
|
1756
1716
|
errorCode,
|
|
1757
1717
|
});
|
|
1758
1718
|
}
|
|
@@ -1768,7 +1728,7 @@ export const de_UpdateApplicationCommand = async (output, context) => {
|
|
|
1768
1728
|
$metadata: deserializeMetadata(output),
|
|
1769
1729
|
...contents,
|
|
1770
1730
|
};
|
|
1771
|
-
return
|
|
1731
|
+
return response;
|
|
1772
1732
|
};
|
|
1773
1733
|
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
1774
1734
|
const parsedOutput = {
|
|
@@ -1777,10 +1737,9 @@ const de_UpdateApplicationCommandError = async (output, context) => {
|
|
|
1777
1737
|
};
|
|
1778
1738
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1779
1739
|
const parsedBody = parsedOutput.body;
|
|
1780
|
-
throwDefaultError({
|
|
1740
|
+
return throwDefaultError({
|
|
1781
1741
|
output,
|
|
1782
1742
|
parsedBody: parsedBody.Error,
|
|
1783
|
-
exceptionCtor: __BaseException,
|
|
1784
1743
|
errorCode,
|
|
1785
1744
|
});
|
|
1786
1745
|
};
|
|
@@ -1795,7 +1754,7 @@ export const de_UpdateApplicationResourceLifecycleCommand = async (output, conte
|
|
|
1795
1754
|
$metadata: deserializeMetadata(output),
|
|
1796
1755
|
...contents,
|
|
1797
1756
|
};
|
|
1798
|
-
return
|
|
1757
|
+
return response;
|
|
1799
1758
|
};
|
|
1800
1759
|
const de_UpdateApplicationResourceLifecycleCommandError = async (output, context) => {
|
|
1801
1760
|
const parsedOutput = {
|
|
@@ -1809,10 +1768,9 @@ const de_UpdateApplicationResourceLifecycleCommandError = async (output, context
|
|
|
1809
1768
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1810
1769
|
default:
|
|
1811
1770
|
const parsedBody = parsedOutput.body;
|
|
1812
|
-
throwDefaultError({
|
|
1771
|
+
return throwDefaultError({
|
|
1813
1772
|
output,
|
|
1814
1773
|
parsedBody: parsedBody.Error,
|
|
1815
|
-
exceptionCtor: __BaseException,
|
|
1816
1774
|
errorCode,
|
|
1817
1775
|
});
|
|
1818
1776
|
}
|
|
@@ -1828,7 +1786,7 @@ export const de_UpdateApplicationVersionCommand = async (output, context) => {
|
|
|
1828
1786
|
$metadata: deserializeMetadata(output),
|
|
1829
1787
|
...contents,
|
|
1830
1788
|
};
|
|
1831
|
-
return
|
|
1789
|
+
return response;
|
|
1832
1790
|
};
|
|
1833
1791
|
const de_UpdateApplicationVersionCommandError = async (output, context) => {
|
|
1834
1792
|
const parsedOutput = {
|
|
@@ -1837,10 +1795,9 @@ const de_UpdateApplicationVersionCommandError = async (output, context) => {
|
|
|
1837
1795
|
};
|
|
1838
1796
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1839
1797
|
const parsedBody = parsedOutput.body;
|
|
1840
|
-
throwDefaultError({
|
|
1798
|
+
return throwDefaultError({
|
|
1841
1799
|
output,
|
|
1842
1800
|
parsedBody: parsedBody.Error,
|
|
1843
|
-
exceptionCtor: __BaseException,
|
|
1844
1801
|
errorCode,
|
|
1845
1802
|
});
|
|
1846
1803
|
};
|
|
@@ -1855,7 +1812,7 @@ export const de_UpdateConfigurationTemplateCommand = async (output, context) =>
|
|
|
1855
1812
|
$metadata: deserializeMetadata(output),
|
|
1856
1813
|
...contents,
|
|
1857
1814
|
};
|
|
1858
|
-
return
|
|
1815
|
+
return response;
|
|
1859
1816
|
};
|
|
1860
1817
|
const de_UpdateConfigurationTemplateCommandError = async (output, context) => {
|
|
1861
1818
|
const parsedOutput = {
|
|
@@ -1872,10 +1829,9 @@ const de_UpdateConfigurationTemplateCommandError = async (output, context) => {
|
|
|
1872
1829
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
1873
1830
|
default:
|
|
1874
1831
|
const parsedBody = parsedOutput.body;
|
|
1875
|
-
throwDefaultError({
|
|
1832
|
+
return throwDefaultError({
|
|
1876
1833
|
output,
|
|
1877
1834
|
parsedBody: parsedBody.Error,
|
|
1878
|
-
exceptionCtor: __BaseException,
|
|
1879
1835
|
errorCode,
|
|
1880
1836
|
});
|
|
1881
1837
|
}
|
|
@@ -1891,7 +1847,7 @@ export const de_UpdateEnvironmentCommand = async (output, context) => {
|
|
|
1891
1847
|
$metadata: deserializeMetadata(output),
|
|
1892
1848
|
...contents,
|
|
1893
1849
|
};
|
|
1894
|
-
return
|
|
1850
|
+
return response;
|
|
1895
1851
|
};
|
|
1896
1852
|
const de_UpdateEnvironmentCommandError = async (output, context) => {
|
|
1897
1853
|
const parsedOutput = {
|
|
@@ -1908,10 +1864,9 @@ const de_UpdateEnvironmentCommandError = async (output, context) => {
|
|
|
1908
1864
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
1909
1865
|
default:
|
|
1910
1866
|
const parsedBody = parsedOutput.body;
|
|
1911
|
-
throwDefaultError({
|
|
1867
|
+
return throwDefaultError({
|
|
1912
1868
|
output,
|
|
1913
1869
|
parsedBody: parsedBody.Error,
|
|
1914
|
-
exceptionCtor: __BaseException,
|
|
1915
1870
|
errorCode,
|
|
1916
1871
|
});
|
|
1917
1872
|
}
|
|
@@ -1924,7 +1879,7 @@ export const de_UpdateTagsForResourceCommand = async (output, context) => {
|
|
|
1924
1879
|
const response = {
|
|
1925
1880
|
$metadata: deserializeMetadata(output),
|
|
1926
1881
|
};
|
|
1927
|
-
return
|
|
1882
|
+
return response;
|
|
1928
1883
|
};
|
|
1929
1884
|
const de_UpdateTagsForResourceCommandError = async (output, context) => {
|
|
1930
1885
|
const parsedOutput = {
|
|
@@ -1950,10 +1905,9 @@ const de_UpdateTagsForResourceCommandError = async (output, context) => {
|
|
|
1950
1905
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1951
1906
|
default:
|
|
1952
1907
|
const parsedBody = parsedOutput.body;
|
|
1953
|
-
throwDefaultError({
|
|
1908
|
+
return throwDefaultError({
|
|
1954
1909
|
output,
|
|
1955
1910
|
parsedBody: parsedBody.Error,
|
|
1956
|
-
exceptionCtor: __BaseException,
|
|
1957
1911
|
errorCode,
|
|
1958
1912
|
});
|
|
1959
1913
|
}
|
|
@@ -1969,7 +1923,7 @@ export const de_ValidateConfigurationSettingsCommand = async (output, context) =
|
|
|
1969
1923
|
$metadata: deserializeMetadata(output),
|
|
1970
1924
|
...contents,
|
|
1971
1925
|
};
|
|
1972
|
-
return
|
|
1926
|
+
return response;
|
|
1973
1927
|
};
|
|
1974
1928
|
const de_ValidateConfigurationSettingsCommandError = async (output, context) => {
|
|
1975
1929
|
const parsedOutput = {
|
|
@@ -1986,10 +1940,9 @@ const de_ValidateConfigurationSettingsCommandError = async (output, context) =>
|
|
|
1986
1940
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
1987
1941
|
default:
|
|
1988
1942
|
const parsedBody = parsedOutput.body;
|
|
1989
|
-
throwDefaultError({
|
|
1943
|
+
return throwDefaultError({
|
|
1990
1944
|
output,
|
|
1991
1945
|
parsedBody: parsedBody.Error,
|
|
1992
|
-
exceptionCtor: __BaseException,
|
|
1993
1946
|
errorCode,
|
|
1994
1947
|
});
|
|
1995
1948
|
}
|
|
@@ -5202,6 +5155,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5202
5155
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5203
5156
|
};
|
|
5204
5157
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5158
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
5205
5159
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5206
5160
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5207
5161
|
const contents = {
|