@aws-sdk/client-auto-scaling 3.312.0 → 3.316.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/AutoScaling.js +69 -910
- package/dist-cjs/protocols/Aws_query.js +131 -195
- package/dist-es/AutoScaling.js +69 -910
- package/dist-es/protocols/Aws_query.js +132 -196
- package/dist-types/AutoScaling.d.ts +76 -764
- package/dist-types/ts3.4/AutoScaling.d.ts +4 -1
- 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, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32,
|
|
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, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
4
4
|
import { AutoScalingServiceException as __BaseException } from "../models/AutoScalingServiceException";
|
|
5
5
|
import { ActiveInstanceRefreshNotFoundFault, AlreadyExistsFault, InstanceRefreshInProgressFault, InvalidNextToken, IrreversibleInstanceRefreshFault, LimitExceededFault, ResourceContentionFault, ResourceInUseFault, ScalingActivityInProgressFault, ServiceLinkedRoleFailure, } from "../models/models_0";
|
|
@@ -647,7 +647,7 @@ export const de_AttachInstancesCommand = async (output, context) => {
|
|
|
647
647
|
const response = {
|
|
648
648
|
$metadata: deserializeMetadata(output),
|
|
649
649
|
};
|
|
650
|
-
return
|
|
650
|
+
return response;
|
|
651
651
|
};
|
|
652
652
|
const de_AttachInstancesCommandError = async (output, context) => {
|
|
653
653
|
const parsedOutput = {
|
|
@@ -664,10 +664,9 @@ const de_AttachInstancesCommandError = async (output, context) => {
|
|
|
664
664
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
665
665
|
default:
|
|
666
666
|
const parsedBody = parsedOutput.body;
|
|
667
|
-
throwDefaultError({
|
|
667
|
+
return throwDefaultError({
|
|
668
668
|
output,
|
|
669
669
|
parsedBody: parsedBody.Error,
|
|
670
|
-
exceptionCtor: __BaseException,
|
|
671
670
|
errorCode,
|
|
672
671
|
});
|
|
673
672
|
}
|
|
@@ -683,7 +682,7 @@ export const de_AttachLoadBalancersCommand = async (output, context) => {
|
|
|
683
682
|
$metadata: deserializeMetadata(output),
|
|
684
683
|
...contents,
|
|
685
684
|
};
|
|
686
|
-
return
|
|
685
|
+
return response;
|
|
687
686
|
};
|
|
688
687
|
const de_AttachLoadBalancersCommandError = async (output, context) => {
|
|
689
688
|
const parsedOutput = {
|
|
@@ -700,10 +699,9 @@ const de_AttachLoadBalancersCommandError = async (output, context) => {
|
|
|
700
699
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
701
700
|
default:
|
|
702
701
|
const parsedBody = parsedOutput.body;
|
|
703
|
-
throwDefaultError({
|
|
702
|
+
return throwDefaultError({
|
|
704
703
|
output,
|
|
705
704
|
parsedBody: parsedBody.Error,
|
|
706
|
-
exceptionCtor: __BaseException,
|
|
707
705
|
errorCode,
|
|
708
706
|
});
|
|
709
707
|
}
|
|
@@ -719,7 +717,7 @@ export const de_AttachLoadBalancerTargetGroupsCommand = async (output, context)
|
|
|
719
717
|
$metadata: deserializeMetadata(output),
|
|
720
718
|
...contents,
|
|
721
719
|
};
|
|
722
|
-
return
|
|
720
|
+
return response;
|
|
723
721
|
};
|
|
724
722
|
const de_AttachLoadBalancerTargetGroupsCommandError = async (output, context) => {
|
|
725
723
|
const parsedOutput = {
|
|
@@ -736,10 +734,9 @@ const de_AttachLoadBalancerTargetGroupsCommandError = async (output, context) =>
|
|
|
736
734
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
737
735
|
default:
|
|
738
736
|
const parsedBody = parsedOutput.body;
|
|
739
|
-
throwDefaultError({
|
|
737
|
+
return throwDefaultError({
|
|
740
738
|
output,
|
|
741
739
|
parsedBody: parsedBody.Error,
|
|
742
|
-
exceptionCtor: __BaseException,
|
|
743
740
|
errorCode,
|
|
744
741
|
});
|
|
745
742
|
}
|
|
@@ -755,7 +752,7 @@ export const de_AttachTrafficSourcesCommand = async (output, context) => {
|
|
|
755
752
|
$metadata: deserializeMetadata(output),
|
|
756
753
|
...contents,
|
|
757
754
|
};
|
|
758
|
-
return
|
|
755
|
+
return response;
|
|
759
756
|
};
|
|
760
757
|
const de_AttachTrafficSourcesCommandError = async (output, context) => {
|
|
761
758
|
const parsedOutput = {
|
|
@@ -772,10 +769,9 @@ const de_AttachTrafficSourcesCommandError = async (output, context) => {
|
|
|
772
769
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
773
770
|
default:
|
|
774
771
|
const parsedBody = parsedOutput.body;
|
|
775
|
-
throwDefaultError({
|
|
772
|
+
return throwDefaultError({
|
|
776
773
|
output,
|
|
777
774
|
parsedBody: parsedBody.Error,
|
|
778
|
-
exceptionCtor: __BaseException,
|
|
779
775
|
errorCode,
|
|
780
776
|
});
|
|
781
777
|
}
|
|
@@ -791,7 +787,7 @@ export const de_BatchDeleteScheduledActionCommand = async (output, context) => {
|
|
|
791
787
|
$metadata: deserializeMetadata(output),
|
|
792
788
|
...contents,
|
|
793
789
|
};
|
|
794
|
-
return
|
|
790
|
+
return response;
|
|
795
791
|
};
|
|
796
792
|
const de_BatchDeleteScheduledActionCommandError = async (output, context) => {
|
|
797
793
|
const parsedOutput = {
|
|
@@ -805,10 +801,9 @@ const de_BatchDeleteScheduledActionCommandError = async (output, context) => {
|
|
|
805
801
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
806
802
|
default:
|
|
807
803
|
const parsedBody = parsedOutput.body;
|
|
808
|
-
throwDefaultError({
|
|
804
|
+
return throwDefaultError({
|
|
809
805
|
output,
|
|
810
806
|
parsedBody: parsedBody.Error,
|
|
811
|
-
exceptionCtor: __BaseException,
|
|
812
807
|
errorCode,
|
|
813
808
|
});
|
|
814
809
|
}
|
|
@@ -824,7 +819,7 @@ export const de_BatchPutScheduledUpdateGroupActionCommand = async (output, conte
|
|
|
824
819
|
$metadata: deserializeMetadata(output),
|
|
825
820
|
...contents,
|
|
826
821
|
};
|
|
827
|
-
return
|
|
822
|
+
return response;
|
|
828
823
|
};
|
|
829
824
|
const de_BatchPutScheduledUpdateGroupActionCommandError = async (output, context) => {
|
|
830
825
|
const parsedOutput = {
|
|
@@ -844,10 +839,9 @@ const de_BatchPutScheduledUpdateGroupActionCommandError = async (output, context
|
|
|
844
839
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
845
840
|
default:
|
|
846
841
|
const parsedBody = parsedOutput.body;
|
|
847
|
-
throwDefaultError({
|
|
842
|
+
return throwDefaultError({
|
|
848
843
|
output,
|
|
849
844
|
parsedBody: parsedBody.Error,
|
|
850
|
-
exceptionCtor: __BaseException,
|
|
851
845
|
errorCode,
|
|
852
846
|
});
|
|
853
847
|
}
|
|
@@ -863,7 +857,7 @@ export const de_CancelInstanceRefreshCommand = async (output, context) => {
|
|
|
863
857
|
$metadata: deserializeMetadata(output),
|
|
864
858
|
...contents,
|
|
865
859
|
};
|
|
866
|
-
return
|
|
860
|
+
return response;
|
|
867
861
|
};
|
|
868
862
|
const de_CancelInstanceRefreshCommandError = async (output, context) => {
|
|
869
863
|
const parsedOutput = {
|
|
@@ -883,10 +877,9 @@ const de_CancelInstanceRefreshCommandError = async (output, context) => {
|
|
|
883
877
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
884
878
|
default:
|
|
885
879
|
const parsedBody = parsedOutput.body;
|
|
886
|
-
throwDefaultError({
|
|
880
|
+
return throwDefaultError({
|
|
887
881
|
output,
|
|
888
882
|
parsedBody: parsedBody.Error,
|
|
889
|
-
exceptionCtor: __BaseException,
|
|
890
883
|
errorCode,
|
|
891
884
|
});
|
|
892
885
|
}
|
|
@@ -902,7 +895,7 @@ export const de_CompleteLifecycleActionCommand = async (output, context) => {
|
|
|
902
895
|
$metadata: deserializeMetadata(output),
|
|
903
896
|
...contents,
|
|
904
897
|
};
|
|
905
|
-
return
|
|
898
|
+
return response;
|
|
906
899
|
};
|
|
907
900
|
const de_CompleteLifecycleActionCommandError = async (output, context) => {
|
|
908
901
|
const parsedOutput = {
|
|
@@ -916,10 +909,9 @@ const de_CompleteLifecycleActionCommandError = async (output, context) => {
|
|
|
916
909
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
917
910
|
default:
|
|
918
911
|
const parsedBody = parsedOutput.body;
|
|
919
|
-
throwDefaultError({
|
|
912
|
+
return throwDefaultError({
|
|
920
913
|
output,
|
|
921
914
|
parsedBody: parsedBody.Error,
|
|
922
|
-
exceptionCtor: __BaseException,
|
|
923
915
|
errorCode,
|
|
924
916
|
});
|
|
925
917
|
}
|
|
@@ -932,7 +924,7 @@ export const de_CreateAutoScalingGroupCommand = async (output, context) => {
|
|
|
932
924
|
const response = {
|
|
933
925
|
$metadata: deserializeMetadata(output),
|
|
934
926
|
};
|
|
935
|
-
return
|
|
927
|
+
return response;
|
|
936
928
|
};
|
|
937
929
|
const de_CreateAutoScalingGroupCommandError = async (output, context) => {
|
|
938
930
|
const parsedOutput = {
|
|
@@ -955,10 +947,9 @@ const de_CreateAutoScalingGroupCommandError = async (output, context) => {
|
|
|
955
947
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
956
948
|
default:
|
|
957
949
|
const parsedBody = parsedOutput.body;
|
|
958
|
-
throwDefaultError({
|
|
950
|
+
return throwDefaultError({
|
|
959
951
|
output,
|
|
960
952
|
parsedBody: parsedBody.Error,
|
|
961
|
-
exceptionCtor: __BaseException,
|
|
962
953
|
errorCode,
|
|
963
954
|
});
|
|
964
955
|
}
|
|
@@ -971,7 +962,7 @@ export const de_CreateLaunchConfigurationCommand = async (output, context) => {
|
|
|
971
962
|
const response = {
|
|
972
963
|
$metadata: deserializeMetadata(output),
|
|
973
964
|
};
|
|
974
|
-
return
|
|
965
|
+
return response;
|
|
975
966
|
};
|
|
976
967
|
const de_CreateLaunchConfigurationCommandError = async (output, context) => {
|
|
977
968
|
const parsedOutput = {
|
|
@@ -991,10 +982,9 @@ const de_CreateLaunchConfigurationCommandError = async (output, context) => {
|
|
|
991
982
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
992
983
|
default:
|
|
993
984
|
const parsedBody = parsedOutput.body;
|
|
994
|
-
throwDefaultError({
|
|
985
|
+
return throwDefaultError({
|
|
995
986
|
output,
|
|
996
987
|
parsedBody: parsedBody.Error,
|
|
997
|
-
exceptionCtor: __BaseException,
|
|
998
988
|
errorCode,
|
|
999
989
|
});
|
|
1000
990
|
}
|
|
@@ -1007,7 +997,7 @@ export const de_CreateOrUpdateTagsCommand = async (output, context) => {
|
|
|
1007
997
|
const response = {
|
|
1008
998
|
$metadata: deserializeMetadata(output),
|
|
1009
999
|
};
|
|
1010
|
-
return
|
|
1000
|
+
return response;
|
|
1011
1001
|
};
|
|
1012
1002
|
const de_CreateOrUpdateTagsCommandError = async (output, context) => {
|
|
1013
1003
|
const parsedOutput = {
|
|
@@ -1030,10 +1020,9 @@ const de_CreateOrUpdateTagsCommandError = async (output, context) => {
|
|
|
1030
1020
|
throw await de_ResourceInUseFaultRes(parsedOutput, context);
|
|
1031
1021
|
default:
|
|
1032
1022
|
const parsedBody = parsedOutput.body;
|
|
1033
|
-
throwDefaultError({
|
|
1023
|
+
return throwDefaultError({
|
|
1034
1024
|
output,
|
|
1035
1025
|
parsedBody: parsedBody.Error,
|
|
1036
|
-
exceptionCtor: __BaseException,
|
|
1037
1026
|
errorCode,
|
|
1038
1027
|
});
|
|
1039
1028
|
}
|
|
@@ -1046,7 +1035,7 @@ export const de_DeleteAutoScalingGroupCommand = async (output, context) => {
|
|
|
1046
1035
|
const response = {
|
|
1047
1036
|
$metadata: deserializeMetadata(output),
|
|
1048
1037
|
};
|
|
1049
|
-
return
|
|
1038
|
+
return response;
|
|
1050
1039
|
};
|
|
1051
1040
|
const de_DeleteAutoScalingGroupCommandError = async (output, context) => {
|
|
1052
1041
|
const parsedOutput = {
|
|
@@ -1066,10 +1055,9 @@ const de_DeleteAutoScalingGroupCommandError = async (output, context) => {
|
|
|
1066
1055
|
throw await de_ScalingActivityInProgressFaultRes(parsedOutput, context);
|
|
1067
1056
|
default:
|
|
1068
1057
|
const parsedBody = parsedOutput.body;
|
|
1069
|
-
throwDefaultError({
|
|
1058
|
+
return throwDefaultError({
|
|
1070
1059
|
output,
|
|
1071
1060
|
parsedBody: parsedBody.Error,
|
|
1072
|
-
exceptionCtor: __BaseException,
|
|
1073
1061
|
errorCode,
|
|
1074
1062
|
});
|
|
1075
1063
|
}
|
|
@@ -1082,7 +1070,7 @@ export const de_DeleteLaunchConfigurationCommand = async (output, context) => {
|
|
|
1082
1070
|
const response = {
|
|
1083
1071
|
$metadata: deserializeMetadata(output),
|
|
1084
1072
|
};
|
|
1085
|
-
return
|
|
1073
|
+
return response;
|
|
1086
1074
|
};
|
|
1087
1075
|
const de_DeleteLaunchConfigurationCommandError = async (output, context) => {
|
|
1088
1076
|
const parsedOutput = {
|
|
@@ -1099,10 +1087,9 @@ const de_DeleteLaunchConfigurationCommandError = async (output, context) => {
|
|
|
1099
1087
|
throw await de_ResourceInUseFaultRes(parsedOutput, context);
|
|
1100
1088
|
default:
|
|
1101
1089
|
const parsedBody = parsedOutput.body;
|
|
1102
|
-
throwDefaultError({
|
|
1090
|
+
return throwDefaultError({
|
|
1103
1091
|
output,
|
|
1104
1092
|
parsedBody: parsedBody.Error,
|
|
1105
|
-
exceptionCtor: __BaseException,
|
|
1106
1093
|
errorCode,
|
|
1107
1094
|
});
|
|
1108
1095
|
}
|
|
@@ -1118,7 +1105,7 @@ export const de_DeleteLifecycleHookCommand = async (output, context) => {
|
|
|
1118
1105
|
$metadata: deserializeMetadata(output),
|
|
1119
1106
|
...contents,
|
|
1120
1107
|
};
|
|
1121
|
-
return
|
|
1108
|
+
return response;
|
|
1122
1109
|
};
|
|
1123
1110
|
const de_DeleteLifecycleHookCommandError = async (output, context) => {
|
|
1124
1111
|
const parsedOutput = {
|
|
@@ -1132,10 +1119,9 @@ const de_DeleteLifecycleHookCommandError = async (output, context) => {
|
|
|
1132
1119
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1133
1120
|
default:
|
|
1134
1121
|
const parsedBody = parsedOutput.body;
|
|
1135
|
-
throwDefaultError({
|
|
1122
|
+
return throwDefaultError({
|
|
1136
1123
|
output,
|
|
1137
1124
|
parsedBody: parsedBody.Error,
|
|
1138
|
-
exceptionCtor: __BaseException,
|
|
1139
1125
|
errorCode,
|
|
1140
1126
|
});
|
|
1141
1127
|
}
|
|
@@ -1148,7 +1134,7 @@ export const de_DeleteNotificationConfigurationCommand = async (output, context)
|
|
|
1148
1134
|
const response = {
|
|
1149
1135
|
$metadata: deserializeMetadata(output),
|
|
1150
1136
|
};
|
|
1151
|
-
return
|
|
1137
|
+
return response;
|
|
1152
1138
|
};
|
|
1153
1139
|
const de_DeleteNotificationConfigurationCommandError = async (output, context) => {
|
|
1154
1140
|
const parsedOutput = {
|
|
@@ -1162,10 +1148,9 @@ const de_DeleteNotificationConfigurationCommandError = async (output, context) =
|
|
|
1162
1148
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1163
1149
|
default:
|
|
1164
1150
|
const parsedBody = parsedOutput.body;
|
|
1165
|
-
throwDefaultError({
|
|
1151
|
+
return throwDefaultError({
|
|
1166
1152
|
output,
|
|
1167
1153
|
parsedBody: parsedBody.Error,
|
|
1168
|
-
exceptionCtor: __BaseException,
|
|
1169
1154
|
errorCode,
|
|
1170
1155
|
});
|
|
1171
1156
|
}
|
|
@@ -1178,7 +1163,7 @@ export const de_DeletePolicyCommand = async (output, context) => {
|
|
|
1178
1163
|
const response = {
|
|
1179
1164
|
$metadata: deserializeMetadata(output),
|
|
1180
1165
|
};
|
|
1181
|
-
return
|
|
1166
|
+
return response;
|
|
1182
1167
|
};
|
|
1183
1168
|
const de_DeletePolicyCommandError = async (output, context) => {
|
|
1184
1169
|
const parsedOutput = {
|
|
@@ -1195,10 +1180,9 @@ const de_DeletePolicyCommandError = async (output, context) => {
|
|
|
1195
1180
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
1196
1181
|
default:
|
|
1197
1182
|
const parsedBody = parsedOutput.body;
|
|
1198
|
-
throwDefaultError({
|
|
1183
|
+
return throwDefaultError({
|
|
1199
1184
|
output,
|
|
1200
1185
|
parsedBody: parsedBody.Error,
|
|
1201
|
-
exceptionCtor: __BaseException,
|
|
1202
1186
|
errorCode,
|
|
1203
1187
|
});
|
|
1204
1188
|
}
|
|
@@ -1211,7 +1195,7 @@ export const de_DeleteScheduledActionCommand = async (output, context) => {
|
|
|
1211
1195
|
const response = {
|
|
1212
1196
|
$metadata: deserializeMetadata(output),
|
|
1213
1197
|
};
|
|
1214
|
-
return
|
|
1198
|
+
return response;
|
|
1215
1199
|
};
|
|
1216
1200
|
const de_DeleteScheduledActionCommandError = async (output, context) => {
|
|
1217
1201
|
const parsedOutput = {
|
|
@@ -1225,10 +1209,9 @@ const de_DeleteScheduledActionCommandError = async (output, context) => {
|
|
|
1225
1209
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1226
1210
|
default:
|
|
1227
1211
|
const parsedBody = parsedOutput.body;
|
|
1228
|
-
throwDefaultError({
|
|
1212
|
+
return throwDefaultError({
|
|
1229
1213
|
output,
|
|
1230
1214
|
parsedBody: parsedBody.Error,
|
|
1231
|
-
exceptionCtor: __BaseException,
|
|
1232
1215
|
errorCode,
|
|
1233
1216
|
});
|
|
1234
1217
|
}
|
|
@@ -1241,7 +1224,7 @@ export const de_DeleteTagsCommand = async (output, context) => {
|
|
|
1241
1224
|
const response = {
|
|
1242
1225
|
$metadata: deserializeMetadata(output),
|
|
1243
1226
|
};
|
|
1244
|
-
return
|
|
1227
|
+
return response;
|
|
1245
1228
|
};
|
|
1246
1229
|
const de_DeleteTagsCommandError = async (output, context) => {
|
|
1247
1230
|
const parsedOutput = {
|
|
@@ -1258,10 +1241,9 @@ const de_DeleteTagsCommandError = async (output, context) => {
|
|
|
1258
1241
|
throw await de_ResourceInUseFaultRes(parsedOutput, context);
|
|
1259
1242
|
default:
|
|
1260
1243
|
const parsedBody = parsedOutput.body;
|
|
1261
|
-
throwDefaultError({
|
|
1244
|
+
return throwDefaultError({
|
|
1262
1245
|
output,
|
|
1263
1246
|
parsedBody: parsedBody.Error,
|
|
1264
|
-
exceptionCtor: __BaseException,
|
|
1265
1247
|
errorCode,
|
|
1266
1248
|
});
|
|
1267
1249
|
}
|
|
@@ -1277,7 +1259,7 @@ export const de_DeleteWarmPoolCommand = async (output, context) => {
|
|
|
1277
1259
|
$metadata: deserializeMetadata(output),
|
|
1278
1260
|
...contents,
|
|
1279
1261
|
};
|
|
1280
|
-
return
|
|
1262
|
+
return response;
|
|
1281
1263
|
};
|
|
1282
1264
|
const de_DeleteWarmPoolCommandError = async (output, context) => {
|
|
1283
1265
|
const parsedOutput = {
|
|
@@ -1300,10 +1282,9 @@ const de_DeleteWarmPoolCommandError = async (output, context) => {
|
|
|
1300
1282
|
throw await de_ScalingActivityInProgressFaultRes(parsedOutput, context);
|
|
1301
1283
|
default:
|
|
1302
1284
|
const parsedBody = parsedOutput.body;
|
|
1303
|
-
throwDefaultError({
|
|
1285
|
+
return throwDefaultError({
|
|
1304
1286
|
output,
|
|
1305
1287
|
parsedBody: parsedBody.Error,
|
|
1306
|
-
exceptionCtor: __BaseException,
|
|
1307
1288
|
errorCode,
|
|
1308
1289
|
});
|
|
1309
1290
|
}
|
|
@@ -1319,7 +1300,7 @@ export const de_DescribeAccountLimitsCommand = async (output, context) => {
|
|
|
1319
1300
|
$metadata: deserializeMetadata(output),
|
|
1320
1301
|
...contents,
|
|
1321
1302
|
};
|
|
1322
|
-
return
|
|
1303
|
+
return response;
|
|
1323
1304
|
};
|
|
1324
1305
|
const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
1325
1306
|
const parsedOutput = {
|
|
@@ -1333,10 +1314,9 @@ const de_DescribeAccountLimitsCommandError = async (output, context) => {
|
|
|
1333
1314
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1334
1315
|
default:
|
|
1335
1316
|
const parsedBody = parsedOutput.body;
|
|
1336
|
-
throwDefaultError({
|
|
1317
|
+
return throwDefaultError({
|
|
1337
1318
|
output,
|
|
1338
1319
|
parsedBody: parsedBody.Error,
|
|
1339
|
-
exceptionCtor: __BaseException,
|
|
1340
1320
|
errorCode,
|
|
1341
1321
|
});
|
|
1342
1322
|
}
|
|
@@ -1352,7 +1332,7 @@ export const de_DescribeAdjustmentTypesCommand = async (output, context) => {
|
|
|
1352
1332
|
$metadata: deserializeMetadata(output),
|
|
1353
1333
|
...contents,
|
|
1354
1334
|
};
|
|
1355
|
-
return
|
|
1335
|
+
return response;
|
|
1356
1336
|
};
|
|
1357
1337
|
const de_DescribeAdjustmentTypesCommandError = async (output, context) => {
|
|
1358
1338
|
const parsedOutput = {
|
|
@@ -1366,10 +1346,9 @@ const de_DescribeAdjustmentTypesCommandError = async (output, context) => {
|
|
|
1366
1346
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1367
1347
|
default:
|
|
1368
1348
|
const parsedBody = parsedOutput.body;
|
|
1369
|
-
throwDefaultError({
|
|
1349
|
+
return throwDefaultError({
|
|
1370
1350
|
output,
|
|
1371
1351
|
parsedBody: parsedBody.Error,
|
|
1372
|
-
exceptionCtor: __BaseException,
|
|
1373
1352
|
errorCode,
|
|
1374
1353
|
});
|
|
1375
1354
|
}
|
|
@@ -1385,7 +1364,7 @@ export const de_DescribeAutoScalingGroupsCommand = async (output, context) => {
|
|
|
1385
1364
|
$metadata: deserializeMetadata(output),
|
|
1386
1365
|
...contents,
|
|
1387
1366
|
};
|
|
1388
|
-
return
|
|
1367
|
+
return response;
|
|
1389
1368
|
};
|
|
1390
1369
|
const de_DescribeAutoScalingGroupsCommandError = async (output, context) => {
|
|
1391
1370
|
const parsedOutput = {
|
|
@@ -1402,10 +1381,9 @@ const de_DescribeAutoScalingGroupsCommandError = async (output, context) => {
|
|
|
1402
1381
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1403
1382
|
default:
|
|
1404
1383
|
const parsedBody = parsedOutput.body;
|
|
1405
|
-
throwDefaultError({
|
|
1384
|
+
return throwDefaultError({
|
|
1406
1385
|
output,
|
|
1407
1386
|
parsedBody: parsedBody.Error,
|
|
1408
|
-
exceptionCtor: __BaseException,
|
|
1409
1387
|
errorCode,
|
|
1410
1388
|
});
|
|
1411
1389
|
}
|
|
@@ -1421,7 +1399,7 @@ export const de_DescribeAutoScalingInstancesCommand = async (output, context) =>
|
|
|
1421
1399
|
$metadata: deserializeMetadata(output),
|
|
1422
1400
|
...contents,
|
|
1423
1401
|
};
|
|
1424
|
-
return
|
|
1402
|
+
return response;
|
|
1425
1403
|
};
|
|
1426
1404
|
const de_DescribeAutoScalingInstancesCommandError = async (output, context) => {
|
|
1427
1405
|
const parsedOutput = {
|
|
@@ -1438,10 +1416,9 @@ const de_DescribeAutoScalingInstancesCommandError = async (output, context) => {
|
|
|
1438
1416
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1439
1417
|
default:
|
|
1440
1418
|
const parsedBody = parsedOutput.body;
|
|
1441
|
-
throwDefaultError({
|
|
1419
|
+
return throwDefaultError({
|
|
1442
1420
|
output,
|
|
1443
1421
|
parsedBody: parsedBody.Error,
|
|
1444
|
-
exceptionCtor: __BaseException,
|
|
1445
1422
|
errorCode,
|
|
1446
1423
|
});
|
|
1447
1424
|
}
|
|
@@ -1457,7 +1434,7 @@ export const de_DescribeAutoScalingNotificationTypesCommand = async (output, con
|
|
|
1457
1434
|
$metadata: deserializeMetadata(output),
|
|
1458
1435
|
...contents,
|
|
1459
1436
|
};
|
|
1460
|
-
return
|
|
1437
|
+
return response;
|
|
1461
1438
|
};
|
|
1462
1439
|
const de_DescribeAutoScalingNotificationTypesCommandError = async (output, context) => {
|
|
1463
1440
|
const parsedOutput = {
|
|
@@ -1471,10 +1448,9 @@ const de_DescribeAutoScalingNotificationTypesCommandError = async (output, conte
|
|
|
1471
1448
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1472
1449
|
default:
|
|
1473
1450
|
const parsedBody = parsedOutput.body;
|
|
1474
|
-
throwDefaultError({
|
|
1451
|
+
return throwDefaultError({
|
|
1475
1452
|
output,
|
|
1476
1453
|
parsedBody: parsedBody.Error,
|
|
1477
|
-
exceptionCtor: __BaseException,
|
|
1478
1454
|
errorCode,
|
|
1479
1455
|
});
|
|
1480
1456
|
}
|
|
@@ -1490,7 +1466,7 @@ export const de_DescribeInstanceRefreshesCommand = async (output, context) => {
|
|
|
1490
1466
|
$metadata: deserializeMetadata(output),
|
|
1491
1467
|
...contents,
|
|
1492
1468
|
};
|
|
1493
|
-
return
|
|
1469
|
+
return response;
|
|
1494
1470
|
};
|
|
1495
1471
|
const de_DescribeInstanceRefreshesCommandError = async (output, context) => {
|
|
1496
1472
|
const parsedOutput = {
|
|
@@ -1507,10 +1483,9 @@ const de_DescribeInstanceRefreshesCommandError = async (output, context) => {
|
|
|
1507
1483
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1508
1484
|
default:
|
|
1509
1485
|
const parsedBody = parsedOutput.body;
|
|
1510
|
-
throwDefaultError({
|
|
1486
|
+
return throwDefaultError({
|
|
1511
1487
|
output,
|
|
1512
1488
|
parsedBody: parsedBody.Error,
|
|
1513
|
-
exceptionCtor: __BaseException,
|
|
1514
1489
|
errorCode,
|
|
1515
1490
|
});
|
|
1516
1491
|
}
|
|
@@ -1526,7 +1501,7 @@ export const de_DescribeLaunchConfigurationsCommand = async (output, context) =>
|
|
|
1526
1501
|
$metadata: deserializeMetadata(output),
|
|
1527
1502
|
...contents,
|
|
1528
1503
|
};
|
|
1529
|
-
return
|
|
1504
|
+
return response;
|
|
1530
1505
|
};
|
|
1531
1506
|
const de_DescribeLaunchConfigurationsCommandError = async (output, context) => {
|
|
1532
1507
|
const parsedOutput = {
|
|
@@ -1543,10 +1518,9 @@ const de_DescribeLaunchConfigurationsCommandError = async (output, context) => {
|
|
|
1543
1518
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1544
1519
|
default:
|
|
1545
1520
|
const parsedBody = parsedOutput.body;
|
|
1546
|
-
throwDefaultError({
|
|
1521
|
+
return throwDefaultError({
|
|
1547
1522
|
output,
|
|
1548
1523
|
parsedBody: parsedBody.Error,
|
|
1549
|
-
exceptionCtor: __BaseException,
|
|
1550
1524
|
errorCode,
|
|
1551
1525
|
});
|
|
1552
1526
|
}
|
|
@@ -1562,7 +1536,7 @@ export const de_DescribeLifecycleHooksCommand = async (output, context) => {
|
|
|
1562
1536
|
$metadata: deserializeMetadata(output),
|
|
1563
1537
|
...contents,
|
|
1564
1538
|
};
|
|
1565
|
-
return
|
|
1539
|
+
return response;
|
|
1566
1540
|
};
|
|
1567
1541
|
const de_DescribeLifecycleHooksCommandError = async (output, context) => {
|
|
1568
1542
|
const parsedOutput = {
|
|
@@ -1576,10 +1550,9 @@ const de_DescribeLifecycleHooksCommandError = async (output, context) => {
|
|
|
1576
1550
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1577
1551
|
default:
|
|
1578
1552
|
const parsedBody = parsedOutput.body;
|
|
1579
|
-
throwDefaultError({
|
|
1553
|
+
return throwDefaultError({
|
|
1580
1554
|
output,
|
|
1581
1555
|
parsedBody: parsedBody.Error,
|
|
1582
|
-
exceptionCtor: __BaseException,
|
|
1583
1556
|
errorCode,
|
|
1584
1557
|
});
|
|
1585
1558
|
}
|
|
@@ -1595,7 +1568,7 @@ export const de_DescribeLifecycleHookTypesCommand = async (output, context) => {
|
|
|
1595
1568
|
$metadata: deserializeMetadata(output),
|
|
1596
1569
|
...contents,
|
|
1597
1570
|
};
|
|
1598
|
-
return
|
|
1571
|
+
return response;
|
|
1599
1572
|
};
|
|
1600
1573
|
const de_DescribeLifecycleHookTypesCommandError = async (output, context) => {
|
|
1601
1574
|
const parsedOutput = {
|
|
@@ -1609,10 +1582,9 @@ const de_DescribeLifecycleHookTypesCommandError = async (output, context) => {
|
|
|
1609
1582
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1610
1583
|
default:
|
|
1611
1584
|
const parsedBody = parsedOutput.body;
|
|
1612
|
-
throwDefaultError({
|
|
1585
|
+
return throwDefaultError({
|
|
1613
1586
|
output,
|
|
1614
1587
|
parsedBody: parsedBody.Error,
|
|
1615
|
-
exceptionCtor: __BaseException,
|
|
1616
1588
|
errorCode,
|
|
1617
1589
|
});
|
|
1618
1590
|
}
|
|
@@ -1628,7 +1600,7 @@ export const de_DescribeLoadBalancersCommand = async (output, context) => {
|
|
|
1628
1600
|
$metadata: deserializeMetadata(output),
|
|
1629
1601
|
...contents,
|
|
1630
1602
|
};
|
|
1631
|
-
return
|
|
1603
|
+
return response;
|
|
1632
1604
|
};
|
|
1633
1605
|
const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
1634
1606
|
const parsedOutput = {
|
|
@@ -1645,10 +1617,9 @@ const de_DescribeLoadBalancersCommandError = async (output, context) => {
|
|
|
1645
1617
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1646
1618
|
default:
|
|
1647
1619
|
const parsedBody = parsedOutput.body;
|
|
1648
|
-
throwDefaultError({
|
|
1620
|
+
return throwDefaultError({
|
|
1649
1621
|
output,
|
|
1650
1622
|
parsedBody: parsedBody.Error,
|
|
1651
|
-
exceptionCtor: __BaseException,
|
|
1652
1623
|
errorCode,
|
|
1653
1624
|
});
|
|
1654
1625
|
}
|
|
@@ -1664,7 +1635,7 @@ export const de_DescribeLoadBalancerTargetGroupsCommand = async (output, context
|
|
|
1664
1635
|
$metadata: deserializeMetadata(output),
|
|
1665
1636
|
...contents,
|
|
1666
1637
|
};
|
|
1667
|
-
return
|
|
1638
|
+
return response;
|
|
1668
1639
|
};
|
|
1669
1640
|
const de_DescribeLoadBalancerTargetGroupsCommandError = async (output, context) => {
|
|
1670
1641
|
const parsedOutput = {
|
|
@@ -1681,10 +1652,9 @@ const de_DescribeLoadBalancerTargetGroupsCommandError = async (output, context)
|
|
|
1681
1652
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1682
1653
|
default:
|
|
1683
1654
|
const parsedBody = parsedOutput.body;
|
|
1684
|
-
throwDefaultError({
|
|
1655
|
+
return throwDefaultError({
|
|
1685
1656
|
output,
|
|
1686
1657
|
parsedBody: parsedBody.Error,
|
|
1687
|
-
exceptionCtor: __BaseException,
|
|
1688
1658
|
errorCode,
|
|
1689
1659
|
});
|
|
1690
1660
|
}
|
|
@@ -1700,7 +1670,7 @@ export const de_DescribeMetricCollectionTypesCommand = async (output, context) =
|
|
|
1700
1670
|
$metadata: deserializeMetadata(output),
|
|
1701
1671
|
...contents,
|
|
1702
1672
|
};
|
|
1703
|
-
return
|
|
1673
|
+
return response;
|
|
1704
1674
|
};
|
|
1705
1675
|
const de_DescribeMetricCollectionTypesCommandError = async (output, context) => {
|
|
1706
1676
|
const parsedOutput = {
|
|
@@ -1714,10 +1684,9 @@ const de_DescribeMetricCollectionTypesCommandError = async (output, context) =>
|
|
|
1714
1684
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1715
1685
|
default:
|
|
1716
1686
|
const parsedBody = parsedOutput.body;
|
|
1717
|
-
throwDefaultError({
|
|
1687
|
+
return throwDefaultError({
|
|
1718
1688
|
output,
|
|
1719
1689
|
parsedBody: parsedBody.Error,
|
|
1720
|
-
exceptionCtor: __BaseException,
|
|
1721
1690
|
errorCode,
|
|
1722
1691
|
});
|
|
1723
1692
|
}
|
|
@@ -1733,7 +1702,7 @@ export const de_DescribeNotificationConfigurationsCommand = async (output, conte
|
|
|
1733
1702
|
$metadata: deserializeMetadata(output),
|
|
1734
1703
|
...contents,
|
|
1735
1704
|
};
|
|
1736
|
-
return
|
|
1705
|
+
return response;
|
|
1737
1706
|
};
|
|
1738
1707
|
const de_DescribeNotificationConfigurationsCommandError = async (output, context) => {
|
|
1739
1708
|
const parsedOutput = {
|
|
@@ -1750,10 +1719,9 @@ const de_DescribeNotificationConfigurationsCommandError = async (output, context
|
|
|
1750
1719
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1751
1720
|
default:
|
|
1752
1721
|
const parsedBody = parsedOutput.body;
|
|
1753
|
-
throwDefaultError({
|
|
1722
|
+
return throwDefaultError({
|
|
1754
1723
|
output,
|
|
1755
1724
|
parsedBody: parsedBody.Error,
|
|
1756
|
-
exceptionCtor: __BaseException,
|
|
1757
1725
|
errorCode,
|
|
1758
1726
|
});
|
|
1759
1727
|
}
|
|
@@ -1769,7 +1737,7 @@ export const de_DescribePoliciesCommand = async (output, context) => {
|
|
|
1769
1737
|
$metadata: deserializeMetadata(output),
|
|
1770
1738
|
...contents,
|
|
1771
1739
|
};
|
|
1772
|
-
return
|
|
1740
|
+
return response;
|
|
1773
1741
|
};
|
|
1774
1742
|
const de_DescribePoliciesCommandError = async (output, context) => {
|
|
1775
1743
|
const parsedOutput = {
|
|
@@ -1789,10 +1757,9 @@ const de_DescribePoliciesCommandError = async (output, context) => {
|
|
|
1789
1757
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
1790
1758
|
default:
|
|
1791
1759
|
const parsedBody = parsedOutput.body;
|
|
1792
|
-
throwDefaultError({
|
|
1760
|
+
return throwDefaultError({
|
|
1793
1761
|
output,
|
|
1794
1762
|
parsedBody: parsedBody.Error,
|
|
1795
|
-
exceptionCtor: __BaseException,
|
|
1796
1763
|
errorCode,
|
|
1797
1764
|
});
|
|
1798
1765
|
}
|
|
@@ -1808,7 +1775,7 @@ export const de_DescribeScalingActivitiesCommand = async (output, context) => {
|
|
|
1808
1775
|
$metadata: deserializeMetadata(output),
|
|
1809
1776
|
...contents,
|
|
1810
1777
|
};
|
|
1811
|
-
return
|
|
1778
|
+
return response;
|
|
1812
1779
|
};
|
|
1813
1780
|
const de_DescribeScalingActivitiesCommandError = async (output, context) => {
|
|
1814
1781
|
const parsedOutput = {
|
|
@@ -1825,10 +1792,9 @@ const de_DescribeScalingActivitiesCommandError = async (output, context) => {
|
|
|
1825
1792
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1826
1793
|
default:
|
|
1827
1794
|
const parsedBody = parsedOutput.body;
|
|
1828
|
-
throwDefaultError({
|
|
1795
|
+
return throwDefaultError({
|
|
1829
1796
|
output,
|
|
1830
1797
|
parsedBody: parsedBody.Error,
|
|
1831
|
-
exceptionCtor: __BaseException,
|
|
1832
1798
|
errorCode,
|
|
1833
1799
|
});
|
|
1834
1800
|
}
|
|
@@ -1844,7 +1810,7 @@ export const de_DescribeScalingProcessTypesCommand = async (output, context) =>
|
|
|
1844
1810
|
$metadata: deserializeMetadata(output),
|
|
1845
1811
|
...contents,
|
|
1846
1812
|
};
|
|
1847
|
-
return
|
|
1813
|
+
return response;
|
|
1848
1814
|
};
|
|
1849
1815
|
const de_DescribeScalingProcessTypesCommandError = async (output, context) => {
|
|
1850
1816
|
const parsedOutput = {
|
|
@@ -1858,10 +1824,9 @@ const de_DescribeScalingProcessTypesCommandError = async (output, context) => {
|
|
|
1858
1824
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1859
1825
|
default:
|
|
1860
1826
|
const parsedBody = parsedOutput.body;
|
|
1861
|
-
throwDefaultError({
|
|
1827
|
+
return throwDefaultError({
|
|
1862
1828
|
output,
|
|
1863
1829
|
parsedBody: parsedBody.Error,
|
|
1864
|
-
exceptionCtor: __BaseException,
|
|
1865
1830
|
errorCode,
|
|
1866
1831
|
});
|
|
1867
1832
|
}
|
|
@@ -1877,7 +1842,7 @@ export const de_DescribeScheduledActionsCommand = async (output, context) => {
|
|
|
1877
1842
|
$metadata: deserializeMetadata(output),
|
|
1878
1843
|
...contents,
|
|
1879
1844
|
};
|
|
1880
|
-
return
|
|
1845
|
+
return response;
|
|
1881
1846
|
};
|
|
1882
1847
|
const de_DescribeScheduledActionsCommandError = async (output, context) => {
|
|
1883
1848
|
const parsedOutput = {
|
|
@@ -1894,10 +1859,9 @@ const de_DescribeScheduledActionsCommandError = async (output, context) => {
|
|
|
1894
1859
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1895
1860
|
default:
|
|
1896
1861
|
const parsedBody = parsedOutput.body;
|
|
1897
|
-
throwDefaultError({
|
|
1862
|
+
return throwDefaultError({
|
|
1898
1863
|
output,
|
|
1899
1864
|
parsedBody: parsedBody.Error,
|
|
1900
|
-
exceptionCtor: __BaseException,
|
|
1901
1865
|
errorCode,
|
|
1902
1866
|
});
|
|
1903
1867
|
}
|
|
@@ -1913,7 +1877,7 @@ export const de_DescribeTagsCommand = async (output, context) => {
|
|
|
1913
1877
|
$metadata: deserializeMetadata(output),
|
|
1914
1878
|
...contents,
|
|
1915
1879
|
};
|
|
1916
|
-
return
|
|
1880
|
+
return response;
|
|
1917
1881
|
};
|
|
1918
1882
|
const de_DescribeTagsCommandError = async (output, context) => {
|
|
1919
1883
|
const parsedOutput = {
|
|
@@ -1930,10 +1894,9 @@ const de_DescribeTagsCommandError = async (output, context) => {
|
|
|
1930
1894
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1931
1895
|
default:
|
|
1932
1896
|
const parsedBody = parsedOutput.body;
|
|
1933
|
-
throwDefaultError({
|
|
1897
|
+
return throwDefaultError({
|
|
1934
1898
|
output,
|
|
1935
1899
|
parsedBody: parsedBody.Error,
|
|
1936
|
-
exceptionCtor: __BaseException,
|
|
1937
1900
|
errorCode,
|
|
1938
1901
|
});
|
|
1939
1902
|
}
|
|
@@ -1949,7 +1912,7 @@ export const de_DescribeTerminationPolicyTypesCommand = async (output, context)
|
|
|
1949
1912
|
$metadata: deserializeMetadata(output),
|
|
1950
1913
|
...contents,
|
|
1951
1914
|
};
|
|
1952
|
-
return
|
|
1915
|
+
return response;
|
|
1953
1916
|
};
|
|
1954
1917
|
const de_DescribeTerminationPolicyTypesCommandError = async (output, context) => {
|
|
1955
1918
|
const parsedOutput = {
|
|
@@ -1963,10 +1926,9 @@ const de_DescribeTerminationPolicyTypesCommandError = async (output, context) =>
|
|
|
1963
1926
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
1964
1927
|
default:
|
|
1965
1928
|
const parsedBody = parsedOutput.body;
|
|
1966
|
-
throwDefaultError({
|
|
1929
|
+
return throwDefaultError({
|
|
1967
1930
|
output,
|
|
1968
1931
|
parsedBody: parsedBody.Error,
|
|
1969
|
-
exceptionCtor: __BaseException,
|
|
1970
1932
|
errorCode,
|
|
1971
1933
|
});
|
|
1972
1934
|
}
|
|
@@ -1982,7 +1944,7 @@ export const de_DescribeTrafficSourcesCommand = async (output, context) => {
|
|
|
1982
1944
|
$metadata: deserializeMetadata(output),
|
|
1983
1945
|
...contents,
|
|
1984
1946
|
};
|
|
1985
|
-
return
|
|
1947
|
+
return response;
|
|
1986
1948
|
};
|
|
1987
1949
|
const de_DescribeTrafficSourcesCommandError = async (output, context) => {
|
|
1988
1950
|
const parsedOutput = {
|
|
@@ -1999,10 +1961,9 @@ const de_DescribeTrafficSourcesCommandError = async (output, context) => {
|
|
|
1999
1961
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2000
1962
|
default:
|
|
2001
1963
|
const parsedBody = parsedOutput.body;
|
|
2002
|
-
throwDefaultError({
|
|
1964
|
+
return throwDefaultError({
|
|
2003
1965
|
output,
|
|
2004
1966
|
parsedBody: parsedBody.Error,
|
|
2005
|
-
exceptionCtor: __BaseException,
|
|
2006
1967
|
errorCode,
|
|
2007
1968
|
});
|
|
2008
1969
|
}
|
|
@@ -2018,7 +1979,7 @@ export const de_DescribeWarmPoolCommand = async (output, context) => {
|
|
|
2018
1979
|
$metadata: deserializeMetadata(output),
|
|
2019
1980
|
...contents,
|
|
2020
1981
|
};
|
|
2021
|
-
return
|
|
1982
|
+
return response;
|
|
2022
1983
|
};
|
|
2023
1984
|
const de_DescribeWarmPoolCommandError = async (output, context) => {
|
|
2024
1985
|
const parsedOutput = {
|
|
@@ -2038,10 +1999,9 @@ const de_DescribeWarmPoolCommandError = async (output, context) => {
|
|
|
2038
1999
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2039
2000
|
default:
|
|
2040
2001
|
const parsedBody = parsedOutput.body;
|
|
2041
|
-
throwDefaultError({
|
|
2002
|
+
return throwDefaultError({
|
|
2042
2003
|
output,
|
|
2043
2004
|
parsedBody: parsedBody.Error,
|
|
2044
|
-
exceptionCtor: __BaseException,
|
|
2045
2005
|
errorCode,
|
|
2046
2006
|
});
|
|
2047
2007
|
}
|
|
@@ -2057,7 +2017,7 @@ export const de_DetachInstancesCommand = async (output, context) => {
|
|
|
2057
2017
|
$metadata: deserializeMetadata(output),
|
|
2058
2018
|
...contents,
|
|
2059
2019
|
};
|
|
2060
|
-
return
|
|
2020
|
+
return response;
|
|
2061
2021
|
};
|
|
2062
2022
|
const de_DetachInstancesCommandError = async (output, context) => {
|
|
2063
2023
|
const parsedOutput = {
|
|
@@ -2071,10 +2031,9 @@ const de_DetachInstancesCommandError = async (output, context) => {
|
|
|
2071
2031
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2072
2032
|
default:
|
|
2073
2033
|
const parsedBody = parsedOutput.body;
|
|
2074
|
-
throwDefaultError({
|
|
2034
|
+
return throwDefaultError({
|
|
2075
2035
|
output,
|
|
2076
2036
|
parsedBody: parsedBody.Error,
|
|
2077
|
-
exceptionCtor: __BaseException,
|
|
2078
2037
|
errorCode,
|
|
2079
2038
|
});
|
|
2080
2039
|
}
|
|
@@ -2090,7 +2049,7 @@ export const de_DetachLoadBalancersCommand = async (output, context) => {
|
|
|
2090
2049
|
$metadata: deserializeMetadata(output),
|
|
2091
2050
|
...contents,
|
|
2092
2051
|
};
|
|
2093
|
-
return
|
|
2052
|
+
return response;
|
|
2094
2053
|
};
|
|
2095
2054
|
const de_DetachLoadBalancersCommandError = async (output, context) => {
|
|
2096
2055
|
const parsedOutput = {
|
|
@@ -2104,10 +2063,9 @@ const de_DetachLoadBalancersCommandError = async (output, context) => {
|
|
|
2104
2063
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2105
2064
|
default:
|
|
2106
2065
|
const parsedBody = parsedOutput.body;
|
|
2107
|
-
throwDefaultError({
|
|
2066
|
+
return throwDefaultError({
|
|
2108
2067
|
output,
|
|
2109
2068
|
parsedBody: parsedBody.Error,
|
|
2110
|
-
exceptionCtor: __BaseException,
|
|
2111
2069
|
errorCode,
|
|
2112
2070
|
});
|
|
2113
2071
|
}
|
|
@@ -2123,7 +2081,7 @@ export const de_DetachLoadBalancerTargetGroupsCommand = async (output, context)
|
|
|
2123
2081
|
$metadata: deserializeMetadata(output),
|
|
2124
2082
|
...contents,
|
|
2125
2083
|
};
|
|
2126
|
-
return
|
|
2084
|
+
return response;
|
|
2127
2085
|
};
|
|
2128
2086
|
const de_DetachLoadBalancerTargetGroupsCommandError = async (output, context) => {
|
|
2129
2087
|
const parsedOutput = {
|
|
@@ -2137,10 +2095,9 @@ const de_DetachLoadBalancerTargetGroupsCommandError = async (output, context) =>
|
|
|
2137
2095
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2138
2096
|
default:
|
|
2139
2097
|
const parsedBody = parsedOutput.body;
|
|
2140
|
-
throwDefaultError({
|
|
2098
|
+
return throwDefaultError({
|
|
2141
2099
|
output,
|
|
2142
2100
|
parsedBody: parsedBody.Error,
|
|
2143
|
-
exceptionCtor: __BaseException,
|
|
2144
2101
|
errorCode,
|
|
2145
2102
|
});
|
|
2146
2103
|
}
|
|
@@ -2156,7 +2113,7 @@ export const de_DetachTrafficSourcesCommand = async (output, context) => {
|
|
|
2156
2113
|
$metadata: deserializeMetadata(output),
|
|
2157
2114
|
...contents,
|
|
2158
2115
|
};
|
|
2159
|
-
return
|
|
2116
|
+
return response;
|
|
2160
2117
|
};
|
|
2161
2118
|
const de_DetachTrafficSourcesCommandError = async (output, context) => {
|
|
2162
2119
|
const parsedOutput = {
|
|
@@ -2170,10 +2127,9 @@ const de_DetachTrafficSourcesCommandError = async (output, context) => {
|
|
|
2170
2127
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2171
2128
|
default:
|
|
2172
2129
|
const parsedBody = parsedOutput.body;
|
|
2173
|
-
throwDefaultError({
|
|
2130
|
+
return throwDefaultError({
|
|
2174
2131
|
output,
|
|
2175
2132
|
parsedBody: parsedBody.Error,
|
|
2176
|
-
exceptionCtor: __BaseException,
|
|
2177
2133
|
errorCode,
|
|
2178
2134
|
});
|
|
2179
2135
|
}
|
|
@@ -2186,7 +2142,7 @@ export const de_DisableMetricsCollectionCommand = async (output, context) => {
|
|
|
2186
2142
|
const response = {
|
|
2187
2143
|
$metadata: deserializeMetadata(output),
|
|
2188
2144
|
};
|
|
2189
|
-
return
|
|
2145
|
+
return response;
|
|
2190
2146
|
};
|
|
2191
2147
|
const de_DisableMetricsCollectionCommandError = async (output, context) => {
|
|
2192
2148
|
const parsedOutput = {
|
|
@@ -2200,10 +2156,9 @@ const de_DisableMetricsCollectionCommandError = async (output, context) => {
|
|
|
2200
2156
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2201
2157
|
default:
|
|
2202
2158
|
const parsedBody = parsedOutput.body;
|
|
2203
|
-
throwDefaultError({
|
|
2159
|
+
return throwDefaultError({
|
|
2204
2160
|
output,
|
|
2205
2161
|
parsedBody: parsedBody.Error,
|
|
2206
|
-
exceptionCtor: __BaseException,
|
|
2207
2162
|
errorCode,
|
|
2208
2163
|
});
|
|
2209
2164
|
}
|
|
@@ -2216,7 +2171,7 @@ export const de_EnableMetricsCollectionCommand = async (output, context) => {
|
|
|
2216
2171
|
const response = {
|
|
2217
2172
|
$metadata: deserializeMetadata(output),
|
|
2218
2173
|
};
|
|
2219
|
-
return
|
|
2174
|
+
return response;
|
|
2220
2175
|
};
|
|
2221
2176
|
const de_EnableMetricsCollectionCommandError = async (output, context) => {
|
|
2222
2177
|
const parsedOutput = {
|
|
@@ -2230,10 +2185,9 @@ const de_EnableMetricsCollectionCommandError = async (output, context) => {
|
|
|
2230
2185
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2231
2186
|
default:
|
|
2232
2187
|
const parsedBody = parsedOutput.body;
|
|
2233
|
-
throwDefaultError({
|
|
2188
|
+
return throwDefaultError({
|
|
2234
2189
|
output,
|
|
2235
2190
|
parsedBody: parsedBody.Error,
|
|
2236
|
-
exceptionCtor: __BaseException,
|
|
2237
2191
|
errorCode,
|
|
2238
2192
|
});
|
|
2239
2193
|
}
|
|
@@ -2249,7 +2203,7 @@ export const de_EnterStandbyCommand = async (output, context) => {
|
|
|
2249
2203
|
$metadata: deserializeMetadata(output),
|
|
2250
2204
|
...contents,
|
|
2251
2205
|
};
|
|
2252
|
-
return
|
|
2206
|
+
return response;
|
|
2253
2207
|
};
|
|
2254
2208
|
const de_EnterStandbyCommandError = async (output, context) => {
|
|
2255
2209
|
const parsedOutput = {
|
|
@@ -2263,10 +2217,9 @@ const de_EnterStandbyCommandError = async (output, context) => {
|
|
|
2263
2217
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2264
2218
|
default:
|
|
2265
2219
|
const parsedBody = parsedOutput.body;
|
|
2266
|
-
throwDefaultError({
|
|
2220
|
+
return throwDefaultError({
|
|
2267
2221
|
output,
|
|
2268
2222
|
parsedBody: parsedBody.Error,
|
|
2269
|
-
exceptionCtor: __BaseException,
|
|
2270
2223
|
errorCode,
|
|
2271
2224
|
});
|
|
2272
2225
|
}
|
|
@@ -2279,7 +2232,7 @@ export const de_ExecutePolicyCommand = async (output, context) => {
|
|
|
2279
2232
|
const response = {
|
|
2280
2233
|
$metadata: deserializeMetadata(output),
|
|
2281
2234
|
};
|
|
2282
|
-
return
|
|
2235
|
+
return response;
|
|
2283
2236
|
};
|
|
2284
2237
|
const de_ExecutePolicyCommandError = async (output, context) => {
|
|
2285
2238
|
const parsedOutput = {
|
|
@@ -2296,10 +2249,9 @@ const de_ExecutePolicyCommandError = async (output, context) => {
|
|
|
2296
2249
|
throw await de_ScalingActivityInProgressFaultRes(parsedOutput, context);
|
|
2297
2250
|
default:
|
|
2298
2251
|
const parsedBody = parsedOutput.body;
|
|
2299
|
-
throwDefaultError({
|
|
2252
|
+
return throwDefaultError({
|
|
2300
2253
|
output,
|
|
2301
2254
|
parsedBody: parsedBody.Error,
|
|
2302
|
-
exceptionCtor: __BaseException,
|
|
2303
2255
|
errorCode,
|
|
2304
2256
|
});
|
|
2305
2257
|
}
|
|
@@ -2315,7 +2267,7 @@ export const de_ExitStandbyCommand = async (output, context) => {
|
|
|
2315
2267
|
$metadata: deserializeMetadata(output),
|
|
2316
2268
|
...contents,
|
|
2317
2269
|
};
|
|
2318
|
-
return
|
|
2270
|
+
return response;
|
|
2319
2271
|
};
|
|
2320
2272
|
const de_ExitStandbyCommandError = async (output, context) => {
|
|
2321
2273
|
const parsedOutput = {
|
|
@@ -2329,10 +2281,9 @@ const de_ExitStandbyCommandError = async (output, context) => {
|
|
|
2329
2281
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2330
2282
|
default:
|
|
2331
2283
|
const parsedBody = parsedOutput.body;
|
|
2332
|
-
throwDefaultError({
|
|
2284
|
+
return throwDefaultError({
|
|
2333
2285
|
output,
|
|
2334
2286
|
parsedBody: parsedBody.Error,
|
|
2335
|
-
exceptionCtor: __BaseException,
|
|
2336
2287
|
errorCode,
|
|
2337
2288
|
});
|
|
2338
2289
|
}
|
|
@@ -2348,7 +2299,7 @@ export const de_GetPredictiveScalingForecastCommand = async (output, context) =>
|
|
|
2348
2299
|
$metadata: deserializeMetadata(output),
|
|
2349
2300
|
...contents,
|
|
2350
2301
|
};
|
|
2351
|
-
return
|
|
2302
|
+
return response;
|
|
2352
2303
|
};
|
|
2353
2304
|
const de_GetPredictiveScalingForecastCommandError = async (output, context) => {
|
|
2354
2305
|
const parsedOutput = {
|
|
@@ -2362,10 +2313,9 @@ const de_GetPredictiveScalingForecastCommandError = async (output, context) => {
|
|
|
2362
2313
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2363
2314
|
default:
|
|
2364
2315
|
const parsedBody = parsedOutput.body;
|
|
2365
|
-
throwDefaultError({
|
|
2316
|
+
return throwDefaultError({
|
|
2366
2317
|
output,
|
|
2367
2318
|
parsedBody: parsedBody.Error,
|
|
2368
|
-
exceptionCtor: __BaseException,
|
|
2369
2319
|
errorCode,
|
|
2370
2320
|
});
|
|
2371
2321
|
}
|
|
@@ -2381,7 +2331,7 @@ export const de_PutLifecycleHookCommand = async (output, context) => {
|
|
|
2381
2331
|
$metadata: deserializeMetadata(output),
|
|
2382
2332
|
...contents,
|
|
2383
2333
|
};
|
|
2384
|
-
return
|
|
2334
|
+
return response;
|
|
2385
2335
|
};
|
|
2386
2336
|
const de_PutLifecycleHookCommandError = async (output, context) => {
|
|
2387
2337
|
const parsedOutput = {
|
|
@@ -2398,10 +2348,9 @@ const de_PutLifecycleHookCommandError = async (output, context) => {
|
|
|
2398
2348
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2399
2349
|
default:
|
|
2400
2350
|
const parsedBody = parsedOutput.body;
|
|
2401
|
-
throwDefaultError({
|
|
2351
|
+
return throwDefaultError({
|
|
2402
2352
|
output,
|
|
2403
2353
|
parsedBody: parsedBody.Error,
|
|
2404
|
-
exceptionCtor: __BaseException,
|
|
2405
2354
|
errorCode,
|
|
2406
2355
|
});
|
|
2407
2356
|
}
|
|
@@ -2414,7 +2363,7 @@ export const de_PutNotificationConfigurationCommand = async (output, context) =>
|
|
|
2414
2363
|
const response = {
|
|
2415
2364
|
$metadata: deserializeMetadata(output),
|
|
2416
2365
|
};
|
|
2417
|
-
return
|
|
2366
|
+
return response;
|
|
2418
2367
|
};
|
|
2419
2368
|
const de_PutNotificationConfigurationCommandError = async (output, context) => {
|
|
2420
2369
|
const parsedOutput = {
|
|
@@ -2434,10 +2383,9 @@ const de_PutNotificationConfigurationCommandError = async (output, context) => {
|
|
|
2434
2383
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
2435
2384
|
default:
|
|
2436
2385
|
const parsedBody = parsedOutput.body;
|
|
2437
|
-
throwDefaultError({
|
|
2386
|
+
return throwDefaultError({
|
|
2438
2387
|
output,
|
|
2439
2388
|
parsedBody: parsedBody.Error,
|
|
2440
|
-
exceptionCtor: __BaseException,
|
|
2441
2389
|
errorCode,
|
|
2442
2390
|
});
|
|
2443
2391
|
}
|
|
@@ -2453,7 +2401,7 @@ export const de_PutScalingPolicyCommand = async (output, context) => {
|
|
|
2453
2401
|
$metadata: deserializeMetadata(output),
|
|
2454
2402
|
...contents,
|
|
2455
2403
|
};
|
|
2456
|
-
return
|
|
2404
|
+
return response;
|
|
2457
2405
|
};
|
|
2458
2406
|
const de_PutScalingPolicyCommandError = async (output, context) => {
|
|
2459
2407
|
const parsedOutput = {
|
|
@@ -2473,10 +2421,9 @@ const de_PutScalingPolicyCommandError = async (output, context) => {
|
|
|
2473
2421
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
2474
2422
|
default:
|
|
2475
2423
|
const parsedBody = parsedOutput.body;
|
|
2476
|
-
throwDefaultError({
|
|
2424
|
+
return throwDefaultError({
|
|
2477
2425
|
output,
|
|
2478
2426
|
parsedBody: parsedBody.Error,
|
|
2479
|
-
exceptionCtor: __BaseException,
|
|
2480
2427
|
errorCode,
|
|
2481
2428
|
});
|
|
2482
2429
|
}
|
|
@@ -2489,7 +2436,7 @@ export const de_PutScheduledUpdateGroupActionCommand = async (output, context) =
|
|
|
2489
2436
|
const response = {
|
|
2490
2437
|
$metadata: deserializeMetadata(output),
|
|
2491
2438
|
};
|
|
2492
|
-
return
|
|
2439
|
+
return response;
|
|
2493
2440
|
};
|
|
2494
2441
|
const de_PutScheduledUpdateGroupActionCommandError = async (output, context) => {
|
|
2495
2442
|
const parsedOutput = {
|
|
@@ -2509,10 +2456,9 @@ const de_PutScheduledUpdateGroupActionCommandError = async (output, context) =>
|
|
|
2509
2456
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2510
2457
|
default:
|
|
2511
2458
|
const parsedBody = parsedOutput.body;
|
|
2512
|
-
throwDefaultError({
|
|
2459
|
+
return throwDefaultError({
|
|
2513
2460
|
output,
|
|
2514
2461
|
parsedBody: parsedBody.Error,
|
|
2515
|
-
exceptionCtor: __BaseException,
|
|
2516
2462
|
errorCode,
|
|
2517
2463
|
});
|
|
2518
2464
|
}
|
|
@@ -2528,7 +2474,7 @@ export const de_PutWarmPoolCommand = async (output, context) => {
|
|
|
2528
2474
|
$metadata: deserializeMetadata(output),
|
|
2529
2475
|
...contents,
|
|
2530
2476
|
};
|
|
2531
|
-
return
|
|
2477
|
+
return response;
|
|
2532
2478
|
};
|
|
2533
2479
|
const de_PutWarmPoolCommandError = async (output, context) => {
|
|
2534
2480
|
const parsedOutput = {
|
|
@@ -2545,10 +2491,9 @@ const de_PutWarmPoolCommandError = async (output, context) => {
|
|
|
2545
2491
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2546
2492
|
default:
|
|
2547
2493
|
const parsedBody = parsedOutput.body;
|
|
2548
|
-
throwDefaultError({
|
|
2494
|
+
return throwDefaultError({
|
|
2549
2495
|
output,
|
|
2550
2496
|
parsedBody: parsedBody.Error,
|
|
2551
|
-
exceptionCtor: __BaseException,
|
|
2552
2497
|
errorCode,
|
|
2553
2498
|
});
|
|
2554
2499
|
}
|
|
@@ -2564,7 +2509,7 @@ export const de_RecordLifecycleActionHeartbeatCommand = async (output, context)
|
|
|
2564
2509
|
$metadata: deserializeMetadata(output),
|
|
2565
2510
|
...contents,
|
|
2566
2511
|
};
|
|
2567
|
-
return
|
|
2512
|
+
return response;
|
|
2568
2513
|
};
|
|
2569
2514
|
const de_RecordLifecycleActionHeartbeatCommandError = async (output, context) => {
|
|
2570
2515
|
const parsedOutput = {
|
|
@@ -2578,10 +2523,9 @@ const de_RecordLifecycleActionHeartbeatCommandError = async (output, context) =>
|
|
|
2578
2523
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2579
2524
|
default:
|
|
2580
2525
|
const parsedBody = parsedOutput.body;
|
|
2581
|
-
throwDefaultError({
|
|
2526
|
+
return throwDefaultError({
|
|
2582
2527
|
output,
|
|
2583
2528
|
parsedBody: parsedBody.Error,
|
|
2584
|
-
exceptionCtor: __BaseException,
|
|
2585
2529
|
errorCode,
|
|
2586
2530
|
});
|
|
2587
2531
|
}
|
|
@@ -2594,7 +2538,7 @@ export const de_ResumeProcessesCommand = async (output, context) => {
|
|
|
2594
2538
|
const response = {
|
|
2595
2539
|
$metadata: deserializeMetadata(output),
|
|
2596
2540
|
};
|
|
2597
|
-
return
|
|
2541
|
+
return response;
|
|
2598
2542
|
};
|
|
2599
2543
|
const de_ResumeProcessesCommandError = async (output, context) => {
|
|
2600
2544
|
const parsedOutput = {
|
|
@@ -2611,10 +2555,9 @@ const de_ResumeProcessesCommandError = async (output, context) => {
|
|
|
2611
2555
|
throw await de_ResourceInUseFaultRes(parsedOutput, context);
|
|
2612
2556
|
default:
|
|
2613
2557
|
const parsedBody = parsedOutput.body;
|
|
2614
|
-
throwDefaultError({
|
|
2558
|
+
return throwDefaultError({
|
|
2615
2559
|
output,
|
|
2616
2560
|
parsedBody: parsedBody.Error,
|
|
2617
|
-
exceptionCtor: __BaseException,
|
|
2618
2561
|
errorCode,
|
|
2619
2562
|
});
|
|
2620
2563
|
}
|
|
@@ -2630,7 +2573,7 @@ export const de_RollbackInstanceRefreshCommand = async (output, context) => {
|
|
|
2630
2573
|
$metadata: deserializeMetadata(output),
|
|
2631
2574
|
...contents,
|
|
2632
2575
|
};
|
|
2633
|
-
return
|
|
2576
|
+
return response;
|
|
2634
2577
|
};
|
|
2635
2578
|
const de_RollbackInstanceRefreshCommandError = async (output, context) => {
|
|
2636
2579
|
const parsedOutput = {
|
|
@@ -2653,10 +2596,9 @@ const de_RollbackInstanceRefreshCommandError = async (output, context) => {
|
|
|
2653
2596
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2654
2597
|
default:
|
|
2655
2598
|
const parsedBody = parsedOutput.body;
|
|
2656
|
-
throwDefaultError({
|
|
2599
|
+
return throwDefaultError({
|
|
2657
2600
|
output,
|
|
2658
2601
|
parsedBody: parsedBody.Error,
|
|
2659
|
-
exceptionCtor: __BaseException,
|
|
2660
2602
|
errorCode,
|
|
2661
2603
|
});
|
|
2662
2604
|
}
|
|
@@ -2669,7 +2611,7 @@ export const de_SetDesiredCapacityCommand = async (output, context) => {
|
|
|
2669
2611
|
const response = {
|
|
2670
2612
|
$metadata: deserializeMetadata(output),
|
|
2671
2613
|
};
|
|
2672
|
-
return
|
|
2614
|
+
return response;
|
|
2673
2615
|
};
|
|
2674
2616
|
const de_SetDesiredCapacityCommandError = async (output, context) => {
|
|
2675
2617
|
const parsedOutput = {
|
|
@@ -2686,10 +2628,9 @@ const de_SetDesiredCapacityCommandError = async (output, context) => {
|
|
|
2686
2628
|
throw await de_ScalingActivityInProgressFaultRes(parsedOutput, context);
|
|
2687
2629
|
default:
|
|
2688
2630
|
const parsedBody = parsedOutput.body;
|
|
2689
|
-
throwDefaultError({
|
|
2631
|
+
return throwDefaultError({
|
|
2690
2632
|
output,
|
|
2691
2633
|
parsedBody: parsedBody.Error,
|
|
2692
|
-
exceptionCtor: __BaseException,
|
|
2693
2634
|
errorCode,
|
|
2694
2635
|
});
|
|
2695
2636
|
}
|
|
@@ -2702,7 +2643,7 @@ export const de_SetInstanceHealthCommand = async (output, context) => {
|
|
|
2702
2643
|
const response = {
|
|
2703
2644
|
$metadata: deserializeMetadata(output),
|
|
2704
2645
|
};
|
|
2705
|
-
return
|
|
2646
|
+
return response;
|
|
2706
2647
|
};
|
|
2707
2648
|
const de_SetInstanceHealthCommandError = async (output, context) => {
|
|
2708
2649
|
const parsedOutput = {
|
|
@@ -2716,10 +2657,9 @@ const de_SetInstanceHealthCommandError = async (output, context) => {
|
|
|
2716
2657
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2717
2658
|
default:
|
|
2718
2659
|
const parsedBody = parsedOutput.body;
|
|
2719
|
-
throwDefaultError({
|
|
2660
|
+
return throwDefaultError({
|
|
2720
2661
|
output,
|
|
2721
2662
|
parsedBody: parsedBody.Error,
|
|
2722
|
-
exceptionCtor: __BaseException,
|
|
2723
2663
|
errorCode,
|
|
2724
2664
|
});
|
|
2725
2665
|
}
|
|
@@ -2735,7 +2675,7 @@ export const de_SetInstanceProtectionCommand = async (output, context) => {
|
|
|
2735
2675
|
$metadata: deserializeMetadata(output),
|
|
2736
2676
|
...contents,
|
|
2737
2677
|
};
|
|
2738
|
-
return
|
|
2678
|
+
return response;
|
|
2739
2679
|
};
|
|
2740
2680
|
const de_SetInstanceProtectionCommandError = async (output, context) => {
|
|
2741
2681
|
const parsedOutput = {
|
|
@@ -2752,10 +2692,9 @@ const de_SetInstanceProtectionCommandError = async (output, context) => {
|
|
|
2752
2692
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2753
2693
|
default:
|
|
2754
2694
|
const parsedBody = parsedOutput.body;
|
|
2755
|
-
throwDefaultError({
|
|
2695
|
+
return throwDefaultError({
|
|
2756
2696
|
output,
|
|
2757
2697
|
parsedBody: parsedBody.Error,
|
|
2758
|
-
exceptionCtor: __BaseException,
|
|
2759
2698
|
errorCode,
|
|
2760
2699
|
});
|
|
2761
2700
|
}
|
|
@@ -2771,7 +2710,7 @@ export const de_StartInstanceRefreshCommand = async (output, context) => {
|
|
|
2771
2710
|
$metadata: deserializeMetadata(output),
|
|
2772
2711
|
...contents,
|
|
2773
2712
|
};
|
|
2774
|
-
return
|
|
2713
|
+
return response;
|
|
2775
2714
|
};
|
|
2776
2715
|
const de_StartInstanceRefreshCommandError = async (output, context) => {
|
|
2777
2716
|
const parsedOutput = {
|
|
@@ -2791,10 +2730,9 @@ const de_StartInstanceRefreshCommandError = async (output, context) => {
|
|
|
2791
2730
|
throw await de_ResourceContentionFaultRes(parsedOutput, context);
|
|
2792
2731
|
default:
|
|
2793
2732
|
const parsedBody = parsedOutput.body;
|
|
2794
|
-
throwDefaultError({
|
|
2733
|
+
return throwDefaultError({
|
|
2795
2734
|
output,
|
|
2796
2735
|
parsedBody: parsedBody.Error,
|
|
2797
|
-
exceptionCtor: __BaseException,
|
|
2798
2736
|
errorCode,
|
|
2799
2737
|
});
|
|
2800
2738
|
}
|
|
@@ -2807,7 +2745,7 @@ export const de_SuspendProcessesCommand = async (output, context) => {
|
|
|
2807
2745
|
const response = {
|
|
2808
2746
|
$metadata: deserializeMetadata(output),
|
|
2809
2747
|
};
|
|
2810
|
-
return
|
|
2748
|
+
return response;
|
|
2811
2749
|
};
|
|
2812
2750
|
const de_SuspendProcessesCommandError = async (output, context) => {
|
|
2813
2751
|
const parsedOutput = {
|
|
@@ -2824,10 +2762,9 @@ const de_SuspendProcessesCommandError = async (output, context) => {
|
|
|
2824
2762
|
throw await de_ResourceInUseFaultRes(parsedOutput, context);
|
|
2825
2763
|
default:
|
|
2826
2764
|
const parsedBody = parsedOutput.body;
|
|
2827
|
-
throwDefaultError({
|
|
2765
|
+
return throwDefaultError({
|
|
2828
2766
|
output,
|
|
2829
2767
|
parsedBody: parsedBody.Error,
|
|
2830
|
-
exceptionCtor: __BaseException,
|
|
2831
2768
|
errorCode,
|
|
2832
2769
|
});
|
|
2833
2770
|
}
|
|
@@ -2843,7 +2780,7 @@ export const de_TerminateInstanceInAutoScalingGroupCommand = async (output, cont
|
|
|
2843
2780
|
$metadata: deserializeMetadata(output),
|
|
2844
2781
|
...contents,
|
|
2845
2782
|
};
|
|
2846
|
-
return
|
|
2783
|
+
return response;
|
|
2847
2784
|
};
|
|
2848
2785
|
const de_TerminateInstanceInAutoScalingGroupCommandError = async (output, context) => {
|
|
2849
2786
|
const parsedOutput = {
|
|
@@ -2860,10 +2797,9 @@ const de_TerminateInstanceInAutoScalingGroupCommandError = async (output, contex
|
|
|
2860
2797
|
throw await de_ScalingActivityInProgressFaultRes(parsedOutput, context);
|
|
2861
2798
|
default:
|
|
2862
2799
|
const parsedBody = parsedOutput.body;
|
|
2863
|
-
throwDefaultError({
|
|
2800
|
+
return throwDefaultError({
|
|
2864
2801
|
output,
|
|
2865
2802
|
parsedBody: parsedBody.Error,
|
|
2866
|
-
exceptionCtor: __BaseException,
|
|
2867
2803
|
errorCode,
|
|
2868
2804
|
});
|
|
2869
2805
|
}
|
|
@@ -2876,7 +2812,7 @@ export const de_UpdateAutoScalingGroupCommand = async (output, context) => {
|
|
|
2876
2812
|
const response = {
|
|
2877
2813
|
$metadata: deserializeMetadata(output),
|
|
2878
2814
|
};
|
|
2879
|
-
return
|
|
2815
|
+
return response;
|
|
2880
2816
|
};
|
|
2881
2817
|
const de_UpdateAutoScalingGroupCommandError = async (output, context) => {
|
|
2882
2818
|
const parsedOutput = {
|
|
@@ -2896,10 +2832,9 @@ const de_UpdateAutoScalingGroupCommandError = async (output, context) => {
|
|
|
2896
2832
|
throw await de_ServiceLinkedRoleFailureRes(parsedOutput, context);
|
|
2897
2833
|
default:
|
|
2898
2834
|
const parsedBody = parsedOutput.body;
|
|
2899
|
-
throwDefaultError({
|
|
2835
|
+
return throwDefaultError({
|
|
2900
2836
|
output,
|
|
2901
2837
|
parsedBody: parsedBody.Error,
|
|
2902
|
-
exceptionCtor: __BaseException,
|
|
2903
2838
|
errorCode,
|
|
2904
2839
|
});
|
|
2905
2840
|
}
|
|
@@ -7951,6 +7886,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
7951
7886
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
7952
7887
|
};
|
|
7953
7888
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
7889
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
7954
7890
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
7955
7891
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
7956
7892
|
const contents = {
|