@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
|
@@ -526,7 +526,7 @@ const de_AbortEnvironmentUpdateCommand = async (output, context) => {
|
|
|
526
526
|
const response = {
|
|
527
527
|
$metadata: deserializeMetadata(output),
|
|
528
528
|
};
|
|
529
|
-
return
|
|
529
|
+
return response;
|
|
530
530
|
};
|
|
531
531
|
exports.de_AbortEnvironmentUpdateCommand = de_AbortEnvironmentUpdateCommand;
|
|
532
532
|
const de_AbortEnvironmentUpdateCommandError = async (output, context) => {
|
|
@@ -541,10 +541,9 @@ const de_AbortEnvironmentUpdateCommandError = async (output, context) => {
|
|
|
541
541
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
542
542
|
default:
|
|
543
543
|
const parsedBody = parsedOutput.body;
|
|
544
|
-
|
|
544
|
+
return throwDefaultError({
|
|
545
545
|
output,
|
|
546
546
|
parsedBody: parsedBody.Error,
|
|
547
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
548
547
|
errorCode,
|
|
549
548
|
});
|
|
550
549
|
}
|
|
@@ -560,7 +559,7 @@ const de_ApplyEnvironmentManagedActionCommand = async (output, context) => {
|
|
|
560
559
|
$metadata: deserializeMetadata(output),
|
|
561
560
|
...contents,
|
|
562
561
|
};
|
|
563
|
-
return
|
|
562
|
+
return response;
|
|
564
563
|
};
|
|
565
564
|
exports.de_ApplyEnvironmentManagedActionCommand = de_ApplyEnvironmentManagedActionCommand;
|
|
566
565
|
const de_ApplyEnvironmentManagedActionCommandError = async (output, context) => {
|
|
@@ -578,10 +577,9 @@ const de_ApplyEnvironmentManagedActionCommandError = async (output, context) =>
|
|
|
578
577
|
throw await de_ManagedActionInvalidStateExceptionRes(parsedOutput, context);
|
|
579
578
|
default:
|
|
580
579
|
const parsedBody = parsedOutput.body;
|
|
581
|
-
|
|
580
|
+
return throwDefaultError({
|
|
582
581
|
output,
|
|
583
582
|
parsedBody: parsedBody.Error,
|
|
584
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
585
583
|
errorCode,
|
|
586
584
|
});
|
|
587
585
|
}
|
|
@@ -594,7 +592,7 @@ const de_AssociateEnvironmentOperationsRoleCommand = async (output, context) =>
|
|
|
594
592
|
const response = {
|
|
595
593
|
$metadata: deserializeMetadata(output),
|
|
596
594
|
};
|
|
597
|
-
return
|
|
595
|
+
return response;
|
|
598
596
|
};
|
|
599
597
|
exports.de_AssociateEnvironmentOperationsRoleCommand = de_AssociateEnvironmentOperationsRoleCommand;
|
|
600
598
|
const de_AssociateEnvironmentOperationsRoleCommandError = async (output, context) => {
|
|
@@ -609,10 +607,9 @@ const de_AssociateEnvironmentOperationsRoleCommandError = async (output, context
|
|
|
609
607
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
610
608
|
default:
|
|
611
609
|
const parsedBody = parsedOutput.body;
|
|
612
|
-
|
|
610
|
+
return throwDefaultError({
|
|
613
611
|
output,
|
|
614
612
|
parsedBody: parsedBody.Error,
|
|
615
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
616
613
|
errorCode,
|
|
617
614
|
});
|
|
618
615
|
}
|
|
@@ -628,7 +625,7 @@ const de_CheckDNSAvailabilityCommand = async (output, context) => {
|
|
|
628
625
|
$metadata: deserializeMetadata(output),
|
|
629
626
|
...contents,
|
|
630
627
|
};
|
|
631
|
-
return
|
|
628
|
+
return response;
|
|
632
629
|
};
|
|
633
630
|
exports.de_CheckDNSAvailabilityCommand = de_CheckDNSAvailabilityCommand;
|
|
634
631
|
const de_CheckDNSAvailabilityCommandError = async (output, context) => {
|
|
@@ -638,10 +635,9 @@ const de_CheckDNSAvailabilityCommandError = async (output, context) => {
|
|
|
638
635
|
};
|
|
639
636
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
640
637
|
const parsedBody = parsedOutput.body;
|
|
641
|
-
|
|
638
|
+
return throwDefaultError({
|
|
642
639
|
output,
|
|
643
640
|
parsedBody: parsedBody.Error,
|
|
644
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
645
641
|
errorCode,
|
|
646
642
|
});
|
|
647
643
|
};
|
|
@@ -656,7 +652,7 @@ const de_ComposeEnvironmentsCommand = async (output, context) => {
|
|
|
656
652
|
$metadata: deserializeMetadata(output),
|
|
657
653
|
...contents,
|
|
658
654
|
};
|
|
659
|
-
return
|
|
655
|
+
return response;
|
|
660
656
|
};
|
|
661
657
|
exports.de_ComposeEnvironmentsCommand = de_ComposeEnvironmentsCommand;
|
|
662
658
|
const de_ComposeEnvironmentsCommandError = async (output, context) => {
|
|
@@ -674,10 +670,9 @@ const de_ComposeEnvironmentsCommandError = async (output, context) => {
|
|
|
674
670
|
throw await de_TooManyEnvironmentsExceptionRes(parsedOutput, context);
|
|
675
671
|
default:
|
|
676
672
|
const parsedBody = parsedOutput.body;
|
|
677
|
-
|
|
673
|
+
return throwDefaultError({
|
|
678
674
|
output,
|
|
679
675
|
parsedBody: parsedBody.Error,
|
|
680
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
681
676
|
errorCode,
|
|
682
677
|
});
|
|
683
678
|
}
|
|
@@ -693,7 +688,7 @@ const de_CreateApplicationCommand = async (output, context) => {
|
|
|
693
688
|
$metadata: deserializeMetadata(output),
|
|
694
689
|
...contents,
|
|
695
690
|
};
|
|
696
|
-
return
|
|
691
|
+
return response;
|
|
697
692
|
};
|
|
698
693
|
exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
|
|
699
694
|
const de_CreateApplicationCommandError = async (output, context) => {
|
|
@@ -708,10 +703,9 @@ const de_CreateApplicationCommandError = async (output, context) => {
|
|
|
708
703
|
throw await de_TooManyApplicationsExceptionRes(parsedOutput, context);
|
|
709
704
|
default:
|
|
710
705
|
const parsedBody = parsedOutput.body;
|
|
711
|
-
|
|
706
|
+
return throwDefaultError({
|
|
712
707
|
output,
|
|
713
708
|
parsedBody: parsedBody.Error,
|
|
714
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
715
709
|
errorCode,
|
|
716
710
|
});
|
|
717
711
|
}
|
|
@@ -727,7 +721,7 @@ const de_CreateApplicationVersionCommand = async (output, context) => {
|
|
|
727
721
|
$metadata: deserializeMetadata(output),
|
|
728
722
|
...contents,
|
|
729
723
|
};
|
|
730
|
-
return
|
|
724
|
+
return response;
|
|
731
725
|
};
|
|
732
726
|
exports.de_CreateApplicationVersionCommand = de_CreateApplicationVersionCommand;
|
|
733
727
|
const de_CreateApplicationVersionCommandError = async (output, context) => {
|
|
@@ -754,10 +748,9 @@ const de_CreateApplicationVersionCommandError = async (output, context) => {
|
|
|
754
748
|
throw await de_TooManyApplicationsExceptionRes(parsedOutput, context);
|
|
755
749
|
default:
|
|
756
750
|
const parsedBody = parsedOutput.body;
|
|
757
|
-
|
|
751
|
+
return throwDefaultError({
|
|
758
752
|
output,
|
|
759
753
|
parsedBody: parsedBody.Error,
|
|
760
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
761
754
|
errorCode,
|
|
762
755
|
});
|
|
763
756
|
}
|
|
@@ -773,7 +766,7 @@ const de_CreateConfigurationTemplateCommand = async (output, context) => {
|
|
|
773
766
|
$metadata: deserializeMetadata(output),
|
|
774
767
|
...contents,
|
|
775
768
|
};
|
|
776
|
-
return
|
|
769
|
+
return response;
|
|
777
770
|
};
|
|
778
771
|
exports.de_CreateConfigurationTemplateCommand = de_CreateConfigurationTemplateCommand;
|
|
779
772
|
const de_CreateConfigurationTemplateCommandError = async (output, context) => {
|
|
@@ -794,10 +787,9 @@ const de_CreateConfigurationTemplateCommandError = async (output, context) => {
|
|
|
794
787
|
throw await de_TooManyConfigurationTemplatesExceptionRes(parsedOutput, context);
|
|
795
788
|
default:
|
|
796
789
|
const parsedBody = parsedOutput.body;
|
|
797
|
-
|
|
790
|
+
return throwDefaultError({
|
|
798
791
|
output,
|
|
799
792
|
parsedBody: parsedBody.Error,
|
|
800
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
801
793
|
errorCode,
|
|
802
794
|
});
|
|
803
795
|
}
|
|
@@ -813,7 +805,7 @@ const de_CreateEnvironmentCommand = async (output, context) => {
|
|
|
813
805
|
$metadata: deserializeMetadata(output),
|
|
814
806
|
...contents,
|
|
815
807
|
};
|
|
816
|
-
return
|
|
808
|
+
return response;
|
|
817
809
|
};
|
|
818
810
|
exports.de_CreateEnvironmentCommand = de_CreateEnvironmentCommand;
|
|
819
811
|
const de_CreateEnvironmentCommandError = async (output, context) => {
|
|
@@ -831,10 +823,9 @@ const de_CreateEnvironmentCommandError = async (output, context) => {
|
|
|
831
823
|
throw await de_TooManyEnvironmentsExceptionRes(parsedOutput, context);
|
|
832
824
|
default:
|
|
833
825
|
const parsedBody = parsedOutput.body;
|
|
834
|
-
|
|
826
|
+
return throwDefaultError({
|
|
835
827
|
output,
|
|
836
828
|
parsedBody: parsedBody.Error,
|
|
837
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
838
829
|
errorCode,
|
|
839
830
|
});
|
|
840
831
|
}
|
|
@@ -850,7 +841,7 @@ const de_CreatePlatformVersionCommand = async (output, context) => {
|
|
|
850
841
|
$metadata: deserializeMetadata(output),
|
|
851
842
|
...contents,
|
|
852
843
|
};
|
|
853
|
-
return
|
|
844
|
+
return response;
|
|
854
845
|
};
|
|
855
846
|
exports.de_CreatePlatformVersionCommand = de_CreatePlatformVersionCommand;
|
|
856
847
|
const de_CreatePlatformVersionCommandError = async (output, context) => {
|
|
@@ -871,10 +862,9 @@ const de_CreatePlatformVersionCommandError = async (output, context) => {
|
|
|
871
862
|
throw await de_TooManyPlatformsExceptionRes(parsedOutput, context);
|
|
872
863
|
default:
|
|
873
864
|
const parsedBody = parsedOutput.body;
|
|
874
|
-
|
|
865
|
+
return throwDefaultError({
|
|
875
866
|
output,
|
|
876
867
|
parsedBody: parsedBody.Error,
|
|
877
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
878
868
|
errorCode,
|
|
879
869
|
});
|
|
880
870
|
}
|
|
@@ -890,7 +880,7 @@ const de_CreateStorageLocationCommand = async (output, context) => {
|
|
|
890
880
|
$metadata: deserializeMetadata(output),
|
|
891
881
|
...contents,
|
|
892
882
|
};
|
|
893
|
-
return
|
|
883
|
+
return response;
|
|
894
884
|
};
|
|
895
885
|
exports.de_CreateStorageLocationCommand = de_CreateStorageLocationCommand;
|
|
896
886
|
const de_CreateStorageLocationCommandError = async (output, context) => {
|
|
@@ -911,10 +901,9 @@ const de_CreateStorageLocationCommandError = async (output, context) => {
|
|
|
911
901
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
912
902
|
default:
|
|
913
903
|
const parsedBody = parsedOutput.body;
|
|
914
|
-
|
|
904
|
+
return throwDefaultError({
|
|
915
905
|
output,
|
|
916
906
|
parsedBody: parsedBody.Error,
|
|
917
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
918
907
|
errorCode,
|
|
919
908
|
});
|
|
920
909
|
}
|
|
@@ -927,7 +916,7 @@ const de_DeleteApplicationCommand = async (output, context) => {
|
|
|
927
916
|
const response = {
|
|
928
917
|
$metadata: deserializeMetadata(output),
|
|
929
918
|
};
|
|
930
|
-
return
|
|
919
|
+
return response;
|
|
931
920
|
};
|
|
932
921
|
exports.de_DeleteApplicationCommand = de_DeleteApplicationCommand;
|
|
933
922
|
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
@@ -942,10 +931,9 @@ const de_DeleteApplicationCommandError = async (output, context) => {
|
|
|
942
931
|
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
|
943
932
|
default:
|
|
944
933
|
const parsedBody = parsedOutput.body;
|
|
945
|
-
|
|
934
|
+
return throwDefaultError({
|
|
946
935
|
output,
|
|
947
936
|
parsedBody: parsedBody.Error,
|
|
948
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
949
937
|
errorCode,
|
|
950
938
|
});
|
|
951
939
|
}
|
|
@@ -958,7 +946,7 @@ const de_DeleteApplicationVersionCommand = async (output, context) => {
|
|
|
958
946
|
const response = {
|
|
959
947
|
$metadata: deserializeMetadata(output),
|
|
960
948
|
};
|
|
961
|
-
return
|
|
949
|
+
return response;
|
|
962
950
|
};
|
|
963
951
|
exports.de_DeleteApplicationVersionCommand = de_DeleteApplicationVersionCommand;
|
|
964
952
|
const de_DeleteApplicationVersionCommandError = async (output, context) => {
|
|
@@ -982,10 +970,9 @@ const de_DeleteApplicationVersionCommandError = async (output, context) => {
|
|
|
982
970
|
throw await de_SourceBundleDeletionExceptionRes(parsedOutput, context);
|
|
983
971
|
default:
|
|
984
972
|
const parsedBody = parsedOutput.body;
|
|
985
|
-
|
|
973
|
+
return throwDefaultError({
|
|
986
974
|
output,
|
|
987
975
|
parsedBody: parsedBody.Error,
|
|
988
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
989
976
|
errorCode,
|
|
990
977
|
});
|
|
991
978
|
}
|
|
@@ -998,7 +985,7 @@ const de_DeleteConfigurationTemplateCommand = async (output, context) => {
|
|
|
998
985
|
const response = {
|
|
999
986
|
$metadata: deserializeMetadata(output),
|
|
1000
987
|
};
|
|
1001
|
-
return
|
|
988
|
+
return response;
|
|
1002
989
|
};
|
|
1003
990
|
exports.de_DeleteConfigurationTemplateCommand = de_DeleteConfigurationTemplateCommand;
|
|
1004
991
|
const de_DeleteConfigurationTemplateCommandError = async (output, context) => {
|
|
@@ -1013,10 +1000,9 @@ const de_DeleteConfigurationTemplateCommandError = async (output, context) => {
|
|
|
1013
1000
|
throw await de_OperationInProgressExceptionRes(parsedOutput, context);
|
|
1014
1001
|
default:
|
|
1015
1002
|
const parsedBody = parsedOutput.body;
|
|
1016
|
-
|
|
1003
|
+
return throwDefaultError({
|
|
1017
1004
|
output,
|
|
1018
1005
|
parsedBody: parsedBody.Error,
|
|
1019
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1020
1006
|
errorCode,
|
|
1021
1007
|
});
|
|
1022
1008
|
}
|
|
@@ -1029,7 +1015,7 @@ const de_DeleteEnvironmentConfigurationCommand = async (output, context) => {
|
|
|
1029
1015
|
const response = {
|
|
1030
1016
|
$metadata: deserializeMetadata(output),
|
|
1031
1017
|
};
|
|
1032
|
-
return
|
|
1018
|
+
return response;
|
|
1033
1019
|
};
|
|
1034
1020
|
exports.de_DeleteEnvironmentConfigurationCommand = de_DeleteEnvironmentConfigurationCommand;
|
|
1035
1021
|
const de_DeleteEnvironmentConfigurationCommandError = async (output, context) => {
|
|
@@ -1039,10 +1025,9 @@ const de_DeleteEnvironmentConfigurationCommandError = async (output, context) =>
|
|
|
1039
1025
|
};
|
|
1040
1026
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1041
1027
|
const parsedBody = parsedOutput.body;
|
|
1042
|
-
|
|
1028
|
+
return throwDefaultError({
|
|
1043
1029
|
output,
|
|
1044
1030
|
parsedBody: parsedBody.Error,
|
|
1045
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1046
1031
|
errorCode,
|
|
1047
1032
|
});
|
|
1048
1033
|
};
|
|
@@ -1057,7 +1042,7 @@ const de_DeletePlatformVersionCommand = async (output, context) => {
|
|
|
1057
1042
|
$metadata: deserializeMetadata(output),
|
|
1058
1043
|
...contents,
|
|
1059
1044
|
};
|
|
1060
|
-
return
|
|
1045
|
+
return response;
|
|
1061
1046
|
};
|
|
1062
1047
|
exports.de_DeletePlatformVersionCommand = de_DeletePlatformVersionCommand;
|
|
1063
1048
|
const de_DeletePlatformVersionCommandError = async (output, context) => {
|
|
@@ -1081,10 +1066,9 @@ const de_DeletePlatformVersionCommandError = async (output, context) => {
|
|
|
1081
1066
|
throw await de_PlatformVersionStillReferencedExceptionRes(parsedOutput, context);
|
|
1082
1067
|
default:
|
|
1083
1068
|
const parsedBody = parsedOutput.body;
|
|
1084
|
-
|
|
1069
|
+
return throwDefaultError({
|
|
1085
1070
|
output,
|
|
1086
1071
|
parsedBody: parsedBody.Error,
|
|
1087
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1088
1072
|
errorCode,
|
|
1089
1073
|
});
|
|
1090
1074
|
}
|
|
@@ -1100,7 +1084,7 @@ const de_DescribeAccountAttributesCommand = async (output, context) => {
|
|
|
1100
1084
|
$metadata: deserializeMetadata(output),
|
|
1101
1085
|
...contents,
|
|
1102
1086
|
};
|
|
1103
|
-
return
|
|
1087
|
+
return response;
|
|
1104
1088
|
};
|
|
1105
1089
|
exports.de_DescribeAccountAttributesCommand = de_DescribeAccountAttributesCommand;
|
|
1106
1090
|
const de_DescribeAccountAttributesCommandError = async (output, context) => {
|
|
@@ -1115,10 +1099,9 @@ const de_DescribeAccountAttributesCommandError = async (output, context) => {
|
|
|
1115
1099
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1116
1100
|
default:
|
|
1117
1101
|
const parsedBody = parsedOutput.body;
|
|
1118
|
-
|
|
1102
|
+
return throwDefaultError({
|
|
1119
1103
|
output,
|
|
1120
1104
|
parsedBody: parsedBody.Error,
|
|
1121
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1122
1105
|
errorCode,
|
|
1123
1106
|
});
|
|
1124
1107
|
}
|
|
@@ -1134,7 +1117,7 @@ const de_DescribeApplicationsCommand = async (output, context) => {
|
|
|
1134
1117
|
$metadata: deserializeMetadata(output),
|
|
1135
1118
|
...contents,
|
|
1136
1119
|
};
|
|
1137
|
-
return
|
|
1120
|
+
return response;
|
|
1138
1121
|
};
|
|
1139
1122
|
exports.de_DescribeApplicationsCommand = de_DescribeApplicationsCommand;
|
|
1140
1123
|
const de_DescribeApplicationsCommandError = async (output, context) => {
|
|
@@ -1144,10 +1127,9 @@ const de_DescribeApplicationsCommandError = async (output, context) => {
|
|
|
1144
1127
|
};
|
|
1145
1128
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1146
1129
|
const parsedBody = parsedOutput.body;
|
|
1147
|
-
|
|
1130
|
+
return throwDefaultError({
|
|
1148
1131
|
output,
|
|
1149
1132
|
parsedBody: parsedBody.Error,
|
|
1150
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1151
1133
|
errorCode,
|
|
1152
1134
|
});
|
|
1153
1135
|
};
|
|
@@ -1162,7 +1144,7 @@ const de_DescribeApplicationVersionsCommand = async (output, context) => {
|
|
|
1162
1144
|
$metadata: deserializeMetadata(output),
|
|
1163
1145
|
...contents,
|
|
1164
1146
|
};
|
|
1165
|
-
return
|
|
1147
|
+
return response;
|
|
1166
1148
|
};
|
|
1167
1149
|
exports.de_DescribeApplicationVersionsCommand = de_DescribeApplicationVersionsCommand;
|
|
1168
1150
|
const de_DescribeApplicationVersionsCommandError = async (output, context) => {
|
|
@@ -1172,10 +1154,9 @@ const de_DescribeApplicationVersionsCommandError = async (output, context) => {
|
|
|
1172
1154
|
};
|
|
1173
1155
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1174
1156
|
const parsedBody = parsedOutput.body;
|
|
1175
|
-
|
|
1157
|
+
return throwDefaultError({
|
|
1176
1158
|
output,
|
|
1177
1159
|
parsedBody: parsedBody.Error,
|
|
1178
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1179
1160
|
errorCode,
|
|
1180
1161
|
});
|
|
1181
1162
|
};
|
|
@@ -1190,7 +1171,7 @@ const de_DescribeConfigurationOptionsCommand = async (output, context) => {
|
|
|
1190
1171
|
$metadata: deserializeMetadata(output),
|
|
1191
1172
|
...contents,
|
|
1192
1173
|
};
|
|
1193
|
-
return
|
|
1174
|
+
return response;
|
|
1194
1175
|
};
|
|
1195
1176
|
exports.de_DescribeConfigurationOptionsCommand = de_DescribeConfigurationOptionsCommand;
|
|
1196
1177
|
const de_DescribeConfigurationOptionsCommandError = async (output, context) => {
|
|
@@ -1205,10 +1186,9 @@ const de_DescribeConfigurationOptionsCommandError = async (output, context) => {
|
|
|
1205
1186
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
1206
1187
|
default:
|
|
1207
1188
|
const parsedBody = parsedOutput.body;
|
|
1208
|
-
|
|
1189
|
+
return throwDefaultError({
|
|
1209
1190
|
output,
|
|
1210
1191
|
parsedBody: parsedBody.Error,
|
|
1211
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1212
1192
|
errorCode,
|
|
1213
1193
|
});
|
|
1214
1194
|
}
|
|
@@ -1224,7 +1204,7 @@ const de_DescribeConfigurationSettingsCommand = async (output, context) => {
|
|
|
1224
1204
|
$metadata: deserializeMetadata(output),
|
|
1225
1205
|
...contents,
|
|
1226
1206
|
};
|
|
1227
|
-
return
|
|
1207
|
+
return response;
|
|
1228
1208
|
};
|
|
1229
1209
|
exports.de_DescribeConfigurationSettingsCommand = de_DescribeConfigurationSettingsCommand;
|
|
1230
1210
|
const de_DescribeConfigurationSettingsCommandError = async (output, context) => {
|
|
@@ -1239,10 +1219,9 @@ const de_DescribeConfigurationSettingsCommandError = async (output, context) =>
|
|
|
1239
1219
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
1240
1220
|
default:
|
|
1241
1221
|
const parsedBody = parsedOutput.body;
|
|
1242
|
-
|
|
1222
|
+
return throwDefaultError({
|
|
1243
1223
|
output,
|
|
1244
1224
|
parsedBody: parsedBody.Error,
|
|
1245
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1246
1225
|
errorCode,
|
|
1247
1226
|
});
|
|
1248
1227
|
}
|
|
@@ -1258,7 +1237,7 @@ const de_DescribeEnvironmentHealthCommand = async (output, context) => {
|
|
|
1258
1237
|
$metadata: deserializeMetadata(output),
|
|
1259
1238
|
...contents,
|
|
1260
1239
|
};
|
|
1261
|
-
return
|
|
1240
|
+
return response;
|
|
1262
1241
|
};
|
|
1263
1242
|
exports.de_DescribeEnvironmentHealthCommand = de_DescribeEnvironmentHealthCommand;
|
|
1264
1243
|
const de_DescribeEnvironmentHealthCommandError = async (output, context) => {
|
|
@@ -1276,10 +1255,9 @@ const de_DescribeEnvironmentHealthCommandError = async (output, context) => {
|
|
|
1276
1255
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1277
1256
|
default:
|
|
1278
1257
|
const parsedBody = parsedOutput.body;
|
|
1279
|
-
|
|
1258
|
+
return throwDefaultError({
|
|
1280
1259
|
output,
|
|
1281
1260
|
parsedBody: parsedBody.Error,
|
|
1282
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1283
1261
|
errorCode,
|
|
1284
1262
|
});
|
|
1285
1263
|
}
|
|
@@ -1295,7 +1273,7 @@ const de_DescribeEnvironmentManagedActionHistoryCommand = async (output, context
|
|
|
1295
1273
|
$metadata: deserializeMetadata(output),
|
|
1296
1274
|
...contents,
|
|
1297
1275
|
};
|
|
1298
|
-
return
|
|
1276
|
+
return response;
|
|
1299
1277
|
};
|
|
1300
1278
|
exports.de_DescribeEnvironmentManagedActionHistoryCommand = de_DescribeEnvironmentManagedActionHistoryCommand;
|
|
1301
1279
|
const de_DescribeEnvironmentManagedActionHistoryCommandError = async (output, context) => {
|
|
@@ -1310,10 +1288,9 @@ const de_DescribeEnvironmentManagedActionHistoryCommandError = async (output, co
|
|
|
1310
1288
|
throw await de_ElasticBeanstalkServiceExceptionRes(parsedOutput, context);
|
|
1311
1289
|
default:
|
|
1312
1290
|
const parsedBody = parsedOutput.body;
|
|
1313
|
-
|
|
1291
|
+
return throwDefaultError({
|
|
1314
1292
|
output,
|
|
1315
1293
|
parsedBody: parsedBody.Error,
|
|
1316
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1317
1294
|
errorCode,
|
|
1318
1295
|
});
|
|
1319
1296
|
}
|
|
@@ -1329,7 +1306,7 @@ const de_DescribeEnvironmentManagedActionsCommand = async (output, context) => {
|
|
|
1329
1306
|
$metadata: deserializeMetadata(output),
|
|
1330
1307
|
...contents,
|
|
1331
1308
|
};
|
|
1332
|
-
return
|
|
1309
|
+
return response;
|
|
1333
1310
|
};
|
|
1334
1311
|
exports.de_DescribeEnvironmentManagedActionsCommand = de_DescribeEnvironmentManagedActionsCommand;
|
|
1335
1312
|
const de_DescribeEnvironmentManagedActionsCommandError = async (output, context) => {
|
|
@@ -1344,10 +1321,9 @@ const de_DescribeEnvironmentManagedActionsCommandError = async (output, context)
|
|
|
1344
1321
|
throw await de_ElasticBeanstalkServiceExceptionRes(parsedOutput, context);
|
|
1345
1322
|
default:
|
|
1346
1323
|
const parsedBody = parsedOutput.body;
|
|
1347
|
-
|
|
1324
|
+
return throwDefaultError({
|
|
1348
1325
|
output,
|
|
1349
1326
|
parsedBody: parsedBody.Error,
|
|
1350
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1351
1327
|
errorCode,
|
|
1352
1328
|
});
|
|
1353
1329
|
}
|
|
@@ -1363,7 +1339,7 @@ const de_DescribeEnvironmentResourcesCommand = async (output, context) => {
|
|
|
1363
1339
|
$metadata: deserializeMetadata(output),
|
|
1364
1340
|
...contents,
|
|
1365
1341
|
};
|
|
1366
|
-
return
|
|
1342
|
+
return response;
|
|
1367
1343
|
};
|
|
1368
1344
|
exports.de_DescribeEnvironmentResourcesCommand = de_DescribeEnvironmentResourcesCommand;
|
|
1369
1345
|
const de_DescribeEnvironmentResourcesCommandError = async (output, context) => {
|
|
@@ -1378,10 +1354,9 @@ const de_DescribeEnvironmentResourcesCommandError = async (output, context) => {
|
|
|
1378
1354
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1379
1355
|
default:
|
|
1380
1356
|
const parsedBody = parsedOutput.body;
|
|
1381
|
-
|
|
1357
|
+
return throwDefaultError({
|
|
1382
1358
|
output,
|
|
1383
1359
|
parsedBody: parsedBody.Error,
|
|
1384
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1385
1360
|
errorCode,
|
|
1386
1361
|
});
|
|
1387
1362
|
}
|
|
@@ -1397,7 +1372,7 @@ const de_DescribeEnvironmentsCommand = async (output, context) => {
|
|
|
1397
1372
|
$metadata: deserializeMetadata(output),
|
|
1398
1373
|
...contents,
|
|
1399
1374
|
};
|
|
1400
|
-
return
|
|
1375
|
+
return response;
|
|
1401
1376
|
};
|
|
1402
1377
|
exports.de_DescribeEnvironmentsCommand = de_DescribeEnvironmentsCommand;
|
|
1403
1378
|
const de_DescribeEnvironmentsCommandError = async (output, context) => {
|
|
@@ -1407,10 +1382,9 @@ const de_DescribeEnvironmentsCommandError = async (output, context) => {
|
|
|
1407
1382
|
};
|
|
1408
1383
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1409
1384
|
const parsedBody = parsedOutput.body;
|
|
1410
|
-
|
|
1385
|
+
return throwDefaultError({
|
|
1411
1386
|
output,
|
|
1412
1387
|
parsedBody: parsedBody.Error,
|
|
1413
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1414
1388
|
errorCode,
|
|
1415
1389
|
});
|
|
1416
1390
|
};
|
|
@@ -1425,7 +1399,7 @@ const de_DescribeEventsCommand = async (output, context) => {
|
|
|
1425
1399
|
$metadata: deserializeMetadata(output),
|
|
1426
1400
|
...contents,
|
|
1427
1401
|
};
|
|
1428
|
-
return
|
|
1402
|
+
return response;
|
|
1429
1403
|
};
|
|
1430
1404
|
exports.de_DescribeEventsCommand = de_DescribeEventsCommand;
|
|
1431
1405
|
const de_DescribeEventsCommandError = async (output, context) => {
|
|
@@ -1435,10 +1409,9 @@ const de_DescribeEventsCommandError = async (output, context) => {
|
|
|
1435
1409
|
};
|
|
1436
1410
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1437
1411
|
const parsedBody = parsedOutput.body;
|
|
1438
|
-
|
|
1412
|
+
return throwDefaultError({
|
|
1439
1413
|
output,
|
|
1440
1414
|
parsedBody: parsedBody.Error,
|
|
1441
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1442
1415
|
errorCode,
|
|
1443
1416
|
});
|
|
1444
1417
|
};
|
|
@@ -1453,7 +1426,7 @@ const de_DescribeInstancesHealthCommand = async (output, context) => {
|
|
|
1453
1426
|
$metadata: deserializeMetadata(output),
|
|
1454
1427
|
...contents,
|
|
1455
1428
|
};
|
|
1456
|
-
return
|
|
1429
|
+
return response;
|
|
1457
1430
|
};
|
|
1458
1431
|
exports.de_DescribeInstancesHealthCommand = de_DescribeInstancesHealthCommand;
|
|
1459
1432
|
const de_DescribeInstancesHealthCommandError = async (output, context) => {
|
|
@@ -1471,10 +1444,9 @@ const de_DescribeInstancesHealthCommandError = async (output, context) => {
|
|
|
1471
1444
|
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1472
1445
|
default:
|
|
1473
1446
|
const parsedBody = parsedOutput.body;
|
|
1474
|
-
|
|
1447
|
+
return throwDefaultError({
|
|
1475
1448
|
output,
|
|
1476
1449
|
parsedBody: parsedBody.Error,
|
|
1477
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1478
1450
|
errorCode,
|
|
1479
1451
|
});
|
|
1480
1452
|
}
|
|
@@ -1490,7 +1462,7 @@ const de_DescribePlatformVersionCommand = async (output, context) => {
|
|
|
1490
1462
|
$metadata: deserializeMetadata(output),
|
|
1491
1463
|
...contents,
|
|
1492
1464
|
};
|
|
1493
|
-
return
|
|
1465
|
+
return response;
|
|
1494
1466
|
};
|
|
1495
1467
|
exports.de_DescribePlatformVersionCommand = de_DescribePlatformVersionCommand;
|
|
1496
1468
|
const de_DescribePlatformVersionCommandError = async (output, context) => {
|
|
@@ -1508,10 +1480,9 @@ const de_DescribePlatformVersionCommandError = async (output, context) => {
|
|
|
1508
1480
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1509
1481
|
default:
|
|
1510
1482
|
const parsedBody = parsedOutput.body;
|
|
1511
|
-
|
|
1483
|
+
return throwDefaultError({
|
|
1512
1484
|
output,
|
|
1513
1485
|
parsedBody: parsedBody.Error,
|
|
1514
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1515
1486
|
errorCode,
|
|
1516
1487
|
});
|
|
1517
1488
|
}
|
|
@@ -1524,7 +1495,7 @@ const de_DisassociateEnvironmentOperationsRoleCommand = async (output, context)
|
|
|
1524
1495
|
const response = {
|
|
1525
1496
|
$metadata: deserializeMetadata(output),
|
|
1526
1497
|
};
|
|
1527
|
-
return
|
|
1498
|
+
return response;
|
|
1528
1499
|
};
|
|
1529
1500
|
exports.de_DisassociateEnvironmentOperationsRoleCommand = de_DisassociateEnvironmentOperationsRoleCommand;
|
|
1530
1501
|
const de_DisassociateEnvironmentOperationsRoleCommandError = async (output, context) => {
|
|
@@ -1539,10 +1510,9 @@ const de_DisassociateEnvironmentOperationsRoleCommandError = async (output, cont
|
|
|
1539
1510
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1540
1511
|
default:
|
|
1541
1512
|
const parsedBody = parsedOutput.body;
|
|
1542
|
-
|
|
1513
|
+
return throwDefaultError({
|
|
1543
1514
|
output,
|
|
1544
1515
|
parsedBody: parsedBody.Error,
|
|
1545
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1546
1516
|
errorCode,
|
|
1547
1517
|
});
|
|
1548
1518
|
}
|
|
@@ -1558,7 +1528,7 @@ const de_ListAvailableSolutionStacksCommand = async (output, context) => {
|
|
|
1558
1528
|
$metadata: deserializeMetadata(output),
|
|
1559
1529
|
...contents,
|
|
1560
1530
|
};
|
|
1561
|
-
return
|
|
1531
|
+
return response;
|
|
1562
1532
|
};
|
|
1563
1533
|
exports.de_ListAvailableSolutionStacksCommand = de_ListAvailableSolutionStacksCommand;
|
|
1564
1534
|
const de_ListAvailableSolutionStacksCommandError = async (output, context) => {
|
|
@@ -1568,10 +1538,9 @@ const de_ListAvailableSolutionStacksCommandError = async (output, context) => {
|
|
|
1568
1538
|
};
|
|
1569
1539
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1570
1540
|
const parsedBody = parsedOutput.body;
|
|
1571
|
-
|
|
1541
|
+
return throwDefaultError({
|
|
1572
1542
|
output,
|
|
1573
1543
|
parsedBody: parsedBody.Error,
|
|
1574
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1575
1544
|
errorCode,
|
|
1576
1545
|
});
|
|
1577
1546
|
};
|
|
@@ -1586,7 +1555,7 @@ const de_ListPlatformBranchesCommand = async (output, context) => {
|
|
|
1586
1555
|
$metadata: deserializeMetadata(output),
|
|
1587
1556
|
...contents,
|
|
1588
1557
|
};
|
|
1589
|
-
return
|
|
1558
|
+
return response;
|
|
1590
1559
|
};
|
|
1591
1560
|
exports.de_ListPlatformBranchesCommand = de_ListPlatformBranchesCommand;
|
|
1592
1561
|
const de_ListPlatformBranchesCommandError = async (output, context) => {
|
|
@@ -1596,10 +1565,9 @@ const de_ListPlatformBranchesCommandError = async (output, context) => {
|
|
|
1596
1565
|
};
|
|
1597
1566
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1598
1567
|
const parsedBody = parsedOutput.body;
|
|
1599
|
-
|
|
1568
|
+
return throwDefaultError({
|
|
1600
1569
|
output,
|
|
1601
1570
|
parsedBody: parsedBody.Error,
|
|
1602
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1603
1571
|
errorCode,
|
|
1604
1572
|
});
|
|
1605
1573
|
};
|
|
@@ -1614,7 +1582,7 @@ const de_ListPlatformVersionsCommand = async (output, context) => {
|
|
|
1614
1582
|
$metadata: deserializeMetadata(output),
|
|
1615
1583
|
...contents,
|
|
1616
1584
|
};
|
|
1617
|
-
return
|
|
1585
|
+
return response;
|
|
1618
1586
|
};
|
|
1619
1587
|
exports.de_ListPlatformVersionsCommand = de_ListPlatformVersionsCommand;
|
|
1620
1588
|
const de_ListPlatformVersionsCommandError = async (output, context) => {
|
|
@@ -1632,10 +1600,9 @@ const de_ListPlatformVersionsCommandError = async (output, context) => {
|
|
|
1632
1600
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1633
1601
|
default:
|
|
1634
1602
|
const parsedBody = parsedOutput.body;
|
|
1635
|
-
|
|
1603
|
+
return throwDefaultError({
|
|
1636
1604
|
output,
|
|
1637
1605
|
parsedBody: parsedBody.Error,
|
|
1638
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1639
1606
|
errorCode,
|
|
1640
1607
|
});
|
|
1641
1608
|
}
|
|
@@ -1651,7 +1618,7 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1651
1618
|
$metadata: deserializeMetadata(output),
|
|
1652
1619
|
...contents,
|
|
1653
1620
|
};
|
|
1654
|
-
return
|
|
1621
|
+
return response;
|
|
1655
1622
|
};
|
|
1656
1623
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1657
1624
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -1672,10 +1639,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1672
1639
|
throw await de_ResourceTypeNotSupportedExceptionRes(parsedOutput, context);
|
|
1673
1640
|
default:
|
|
1674
1641
|
const parsedBody = parsedOutput.body;
|
|
1675
|
-
|
|
1642
|
+
return throwDefaultError({
|
|
1676
1643
|
output,
|
|
1677
1644
|
parsedBody: parsedBody.Error,
|
|
1678
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1679
1645
|
errorCode,
|
|
1680
1646
|
});
|
|
1681
1647
|
}
|
|
@@ -1688,7 +1654,7 @@ const de_RebuildEnvironmentCommand = async (output, context) => {
|
|
|
1688
1654
|
const response = {
|
|
1689
1655
|
$metadata: deserializeMetadata(output),
|
|
1690
1656
|
};
|
|
1691
|
-
return
|
|
1657
|
+
return response;
|
|
1692
1658
|
};
|
|
1693
1659
|
exports.de_RebuildEnvironmentCommand = de_RebuildEnvironmentCommand;
|
|
1694
1660
|
const de_RebuildEnvironmentCommandError = async (output, context) => {
|
|
@@ -1703,10 +1669,9 @@ const de_RebuildEnvironmentCommandError = async (output, context) => {
|
|
|
1703
1669
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1704
1670
|
default:
|
|
1705
1671
|
const parsedBody = parsedOutput.body;
|
|
1706
|
-
|
|
1672
|
+
return throwDefaultError({
|
|
1707
1673
|
output,
|
|
1708
1674
|
parsedBody: parsedBody.Error,
|
|
1709
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1710
1675
|
errorCode,
|
|
1711
1676
|
});
|
|
1712
1677
|
}
|
|
@@ -1719,7 +1684,7 @@ const de_RequestEnvironmentInfoCommand = async (output, context) => {
|
|
|
1719
1684
|
const response = {
|
|
1720
1685
|
$metadata: deserializeMetadata(output),
|
|
1721
1686
|
};
|
|
1722
|
-
return
|
|
1687
|
+
return response;
|
|
1723
1688
|
};
|
|
1724
1689
|
exports.de_RequestEnvironmentInfoCommand = de_RequestEnvironmentInfoCommand;
|
|
1725
1690
|
const de_RequestEnvironmentInfoCommandError = async (output, context) => {
|
|
@@ -1729,10 +1694,9 @@ const de_RequestEnvironmentInfoCommandError = async (output, context) => {
|
|
|
1729
1694
|
};
|
|
1730
1695
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1731
1696
|
const parsedBody = parsedOutput.body;
|
|
1732
|
-
|
|
1697
|
+
return throwDefaultError({
|
|
1733
1698
|
output,
|
|
1734
1699
|
parsedBody: parsedBody.Error,
|
|
1735
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1736
1700
|
errorCode,
|
|
1737
1701
|
});
|
|
1738
1702
|
};
|
|
@@ -1744,7 +1708,7 @@ const de_RestartAppServerCommand = async (output, context) => {
|
|
|
1744
1708
|
const response = {
|
|
1745
1709
|
$metadata: deserializeMetadata(output),
|
|
1746
1710
|
};
|
|
1747
|
-
return
|
|
1711
|
+
return response;
|
|
1748
1712
|
};
|
|
1749
1713
|
exports.de_RestartAppServerCommand = de_RestartAppServerCommand;
|
|
1750
1714
|
const de_RestartAppServerCommandError = async (output, context) => {
|
|
@@ -1754,10 +1718,9 @@ const de_RestartAppServerCommandError = async (output, context) => {
|
|
|
1754
1718
|
};
|
|
1755
1719
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1756
1720
|
const parsedBody = parsedOutput.body;
|
|
1757
|
-
|
|
1721
|
+
return throwDefaultError({
|
|
1758
1722
|
output,
|
|
1759
1723
|
parsedBody: parsedBody.Error,
|
|
1760
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1761
1724
|
errorCode,
|
|
1762
1725
|
});
|
|
1763
1726
|
};
|
|
@@ -1772,7 +1735,7 @@ const de_RetrieveEnvironmentInfoCommand = async (output, context) => {
|
|
|
1772
1735
|
$metadata: deserializeMetadata(output),
|
|
1773
1736
|
...contents,
|
|
1774
1737
|
};
|
|
1775
|
-
return
|
|
1738
|
+
return response;
|
|
1776
1739
|
};
|
|
1777
1740
|
exports.de_RetrieveEnvironmentInfoCommand = de_RetrieveEnvironmentInfoCommand;
|
|
1778
1741
|
const de_RetrieveEnvironmentInfoCommandError = async (output, context) => {
|
|
@@ -1782,10 +1745,9 @@ const de_RetrieveEnvironmentInfoCommandError = async (output, context) => {
|
|
|
1782
1745
|
};
|
|
1783
1746
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1784
1747
|
const parsedBody = parsedOutput.body;
|
|
1785
|
-
|
|
1748
|
+
return throwDefaultError({
|
|
1786
1749
|
output,
|
|
1787
1750
|
parsedBody: parsedBody.Error,
|
|
1788
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1789
1751
|
errorCode,
|
|
1790
1752
|
});
|
|
1791
1753
|
};
|
|
@@ -1797,7 +1759,7 @@ const de_SwapEnvironmentCNAMEsCommand = async (output, context) => {
|
|
|
1797
1759
|
const response = {
|
|
1798
1760
|
$metadata: deserializeMetadata(output),
|
|
1799
1761
|
};
|
|
1800
|
-
return
|
|
1762
|
+
return response;
|
|
1801
1763
|
};
|
|
1802
1764
|
exports.de_SwapEnvironmentCNAMEsCommand = de_SwapEnvironmentCNAMEsCommand;
|
|
1803
1765
|
const de_SwapEnvironmentCNAMEsCommandError = async (output, context) => {
|
|
@@ -1807,10 +1769,9 @@ const de_SwapEnvironmentCNAMEsCommandError = async (output, context) => {
|
|
|
1807
1769
|
};
|
|
1808
1770
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1809
1771
|
const parsedBody = parsedOutput.body;
|
|
1810
|
-
|
|
1772
|
+
return throwDefaultError({
|
|
1811
1773
|
output,
|
|
1812
1774
|
parsedBody: parsedBody.Error,
|
|
1813
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1814
1775
|
errorCode,
|
|
1815
1776
|
});
|
|
1816
1777
|
};
|
|
@@ -1825,7 +1786,7 @@ const de_TerminateEnvironmentCommand = async (output, context) => {
|
|
|
1825
1786
|
$metadata: deserializeMetadata(output),
|
|
1826
1787
|
...contents,
|
|
1827
1788
|
};
|
|
1828
|
-
return
|
|
1789
|
+
return response;
|
|
1829
1790
|
};
|
|
1830
1791
|
exports.de_TerminateEnvironmentCommand = de_TerminateEnvironmentCommand;
|
|
1831
1792
|
const de_TerminateEnvironmentCommandError = async (output, context) => {
|
|
@@ -1840,10 +1801,9 @@ const de_TerminateEnvironmentCommandError = async (output, context) => {
|
|
|
1840
1801
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1841
1802
|
default:
|
|
1842
1803
|
const parsedBody = parsedOutput.body;
|
|
1843
|
-
|
|
1804
|
+
return throwDefaultError({
|
|
1844
1805
|
output,
|
|
1845
1806
|
parsedBody: parsedBody.Error,
|
|
1846
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1847
1807
|
errorCode,
|
|
1848
1808
|
});
|
|
1849
1809
|
}
|
|
@@ -1859,7 +1819,7 @@ const de_UpdateApplicationCommand = async (output, context) => {
|
|
|
1859
1819
|
$metadata: deserializeMetadata(output),
|
|
1860
1820
|
...contents,
|
|
1861
1821
|
};
|
|
1862
|
-
return
|
|
1822
|
+
return response;
|
|
1863
1823
|
};
|
|
1864
1824
|
exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
|
|
1865
1825
|
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
@@ -1869,10 +1829,9 @@ const de_UpdateApplicationCommandError = async (output, context) => {
|
|
|
1869
1829
|
};
|
|
1870
1830
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1871
1831
|
const parsedBody = parsedOutput.body;
|
|
1872
|
-
|
|
1832
|
+
return throwDefaultError({
|
|
1873
1833
|
output,
|
|
1874
1834
|
parsedBody: parsedBody.Error,
|
|
1875
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1876
1835
|
errorCode,
|
|
1877
1836
|
});
|
|
1878
1837
|
};
|
|
@@ -1887,7 +1846,7 @@ const de_UpdateApplicationResourceLifecycleCommand = async (output, context) =>
|
|
|
1887
1846
|
$metadata: deserializeMetadata(output),
|
|
1888
1847
|
...contents,
|
|
1889
1848
|
};
|
|
1890
|
-
return
|
|
1849
|
+
return response;
|
|
1891
1850
|
};
|
|
1892
1851
|
exports.de_UpdateApplicationResourceLifecycleCommand = de_UpdateApplicationResourceLifecycleCommand;
|
|
1893
1852
|
const de_UpdateApplicationResourceLifecycleCommandError = async (output, context) => {
|
|
@@ -1902,10 +1861,9 @@ const de_UpdateApplicationResourceLifecycleCommandError = async (output, context
|
|
|
1902
1861
|
throw await de_InsufficientPrivilegesExceptionRes(parsedOutput, context);
|
|
1903
1862
|
default:
|
|
1904
1863
|
const parsedBody = parsedOutput.body;
|
|
1905
|
-
|
|
1864
|
+
return throwDefaultError({
|
|
1906
1865
|
output,
|
|
1907
1866
|
parsedBody: parsedBody.Error,
|
|
1908
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1909
1867
|
errorCode,
|
|
1910
1868
|
});
|
|
1911
1869
|
}
|
|
@@ -1921,7 +1879,7 @@ const de_UpdateApplicationVersionCommand = async (output, context) => {
|
|
|
1921
1879
|
$metadata: deserializeMetadata(output),
|
|
1922
1880
|
...contents,
|
|
1923
1881
|
};
|
|
1924
|
-
return
|
|
1882
|
+
return response;
|
|
1925
1883
|
};
|
|
1926
1884
|
exports.de_UpdateApplicationVersionCommand = de_UpdateApplicationVersionCommand;
|
|
1927
1885
|
const de_UpdateApplicationVersionCommandError = async (output, context) => {
|
|
@@ -1931,10 +1889,9 @@ const de_UpdateApplicationVersionCommandError = async (output, context) => {
|
|
|
1931
1889
|
};
|
|
1932
1890
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1933
1891
|
const parsedBody = parsedOutput.body;
|
|
1934
|
-
|
|
1892
|
+
return throwDefaultError({
|
|
1935
1893
|
output,
|
|
1936
1894
|
parsedBody: parsedBody.Error,
|
|
1937
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1938
1895
|
errorCode,
|
|
1939
1896
|
});
|
|
1940
1897
|
};
|
|
@@ -1949,7 +1906,7 @@ const de_UpdateConfigurationTemplateCommand = async (output, context) => {
|
|
|
1949
1906
|
$metadata: deserializeMetadata(output),
|
|
1950
1907
|
...contents,
|
|
1951
1908
|
};
|
|
1952
|
-
return
|
|
1909
|
+
return response;
|
|
1953
1910
|
};
|
|
1954
1911
|
exports.de_UpdateConfigurationTemplateCommand = de_UpdateConfigurationTemplateCommand;
|
|
1955
1912
|
const de_UpdateConfigurationTemplateCommandError = async (output, context) => {
|
|
@@ -1967,10 +1924,9 @@ const de_UpdateConfigurationTemplateCommandError = async (output, context) => {
|
|
|
1967
1924
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
1968
1925
|
default:
|
|
1969
1926
|
const parsedBody = parsedOutput.body;
|
|
1970
|
-
|
|
1927
|
+
return throwDefaultError({
|
|
1971
1928
|
output,
|
|
1972
1929
|
parsedBody: parsedBody.Error,
|
|
1973
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
1974
1930
|
errorCode,
|
|
1975
1931
|
});
|
|
1976
1932
|
}
|
|
@@ -1986,7 +1942,7 @@ const de_UpdateEnvironmentCommand = async (output, context) => {
|
|
|
1986
1942
|
$metadata: deserializeMetadata(output),
|
|
1987
1943
|
...contents,
|
|
1988
1944
|
};
|
|
1989
|
-
return
|
|
1945
|
+
return response;
|
|
1990
1946
|
};
|
|
1991
1947
|
exports.de_UpdateEnvironmentCommand = de_UpdateEnvironmentCommand;
|
|
1992
1948
|
const de_UpdateEnvironmentCommandError = async (output, context) => {
|
|
@@ -2004,10 +1960,9 @@ const de_UpdateEnvironmentCommandError = async (output, context) => {
|
|
|
2004
1960
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
2005
1961
|
default:
|
|
2006
1962
|
const parsedBody = parsedOutput.body;
|
|
2007
|
-
|
|
1963
|
+
return throwDefaultError({
|
|
2008
1964
|
output,
|
|
2009
1965
|
parsedBody: parsedBody.Error,
|
|
2010
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
2011
1966
|
errorCode,
|
|
2012
1967
|
});
|
|
2013
1968
|
}
|
|
@@ -2020,7 +1975,7 @@ const de_UpdateTagsForResourceCommand = async (output, context) => {
|
|
|
2020
1975
|
const response = {
|
|
2021
1976
|
$metadata: deserializeMetadata(output),
|
|
2022
1977
|
};
|
|
2023
|
-
return
|
|
1978
|
+
return response;
|
|
2024
1979
|
};
|
|
2025
1980
|
exports.de_UpdateTagsForResourceCommand = de_UpdateTagsForResourceCommand;
|
|
2026
1981
|
const de_UpdateTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2047,10 +2002,9 @@ const de_UpdateTagsForResourceCommandError = async (output, context) => {
|
|
|
2047
2002
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2048
2003
|
default:
|
|
2049
2004
|
const parsedBody = parsedOutput.body;
|
|
2050
|
-
|
|
2005
|
+
return throwDefaultError({
|
|
2051
2006
|
output,
|
|
2052
2007
|
parsedBody: parsedBody.Error,
|
|
2053
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
2054
2008
|
errorCode,
|
|
2055
2009
|
});
|
|
2056
2010
|
}
|
|
@@ -2066,7 +2020,7 @@ const de_ValidateConfigurationSettingsCommand = async (output, context) => {
|
|
|
2066
2020
|
$metadata: deserializeMetadata(output),
|
|
2067
2021
|
...contents,
|
|
2068
2022
|
};
|
|
2069
|
-
return
|
|
2023
|
+
return response;
|
|
2070
2024
|
};
|
|
2071
2025
|
exports.de_ValidateConfigurationSettingsCommand = de_ValidateConfigurationSettingsCommand;
|
|
2072
2026
|
const de_ValidateConfigurationSettingsCommandError = async (output, context) => {
|
|
@@ -2084,10 +2038,9 @@ const de_ValidateConfigurationSettingsCommandError = async (output, context) =>
|
|
|
2084
2038
|
throw await de_TooManyBucketsExceptionRes(parsedOutput, context);
|
|
2085
2039
|
default:
|
|
2086
2040
|
const parsedBody = parsedOutput.body;
|
|
2087
|
-
|
|
2041
|
+
return throwDefaultError({
|
|
2088
2042
|
output,
|
|
2089
2043
|
parsedBody: parsedBody.Error,
|
|
2090
|
-
exceptionCtor: ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException,
|
|
2091
2044
|
errorCode,
|
|
2092
2045
|
});
|
|
2093
2046
|
}
|
|
@@ -5300,6 +5253,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5300
5253
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5301
5254
|
};
|
|
5302
5255
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5256
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(ElasticBeanstalkServiceException_1.ElasticBeanstalkServiceException);
|
|
5303
5257
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5304
5258
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5305
5259
|
const contents = {
|