@aws-sdk/client-auto-scaling 3.141.0 → 3.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_query.js +683 -1004
- package/dist-es/protocols/Aws_query.js +867 -1005
- package/package.json +11 -6
|
@@ -804,7 +804,6 @@ const deserializeAws_queryAttachInstancesCommandError = async (output, context)
|
|
|
804
804
|
...output,
|
|
805
805
|
body: await parseBody(output.body, context),
|
|
806
806
|
};
|
|
807
|
-
let response;
|
|
808
807
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
809
808
|
switch (errorCode) {
|
|
810
809
|
case "ResourceContentionFault":
|
|
@@ -815,14 +814,12 @@ const deserializeAws_queryAttachInstancesCommandError = async (output, context)
|
|
|
815
814
|
throw await deserializeAws_queryServiceLinkedRoleFailureResponse(parsedOutput, context);
|
|
816
815
|
default:
|
|
817
816
|
const parsedBody = parsedOutput.body;
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
$metadata,
|
|
817
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
818
|
+
output,
|
|
819
|
+
parsedBody: parsedBody.Error,
|
|
820
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
821
|
+
errorCode,
|
|
824
822
|
});
|
|
825
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
826
823
|
}
|
|
827
824
|
};
|
|
828
825
|
const deserializeAws_queryAttachLoadBalancersCommand = async (output, context) => {
|
|
@@ -844,7 +841,6 @@ const deserializeAws_queryAttachLoadBalancersCommandError = async (output, conte
|
|
|
844
841
|
...output,
|
|
845
842
|
body: await parseBody(output.body, context),
|
|
846
843
|
};
|
|
847
|
-
let response;
|
|
848
844
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
849
845
|
switch (errorCode) {
|
|
850
846
|
case "ResourceContentionFault":
|
|
@@ -855,14 +851,12 @@ const deserializeAws_queryAttachLoadBalancersCommandError = async (output, conte
|
|
|
855
851
|
throw await deserializeAws_queryServiceLinkedRoleFailureResponse(parsedOutput, context);
|
|
856
852
|
default:
|
|
857
853
|
const parsedBody = parsedOutput.body;
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
$metadata,
|
|
854
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
855
|
+
output,
|
|
856
|
+
parsedBody: parsedBody.Error,
|
|
857
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
858
|
+
errorCode,
|
|
864
859
|
});
|
|
865
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
866
860
|
}
|
|
867
861
|
};
|
|
868
862
|
const deserializeAws_queryAttachLoadBalancerTargetGroupsCommand = async (output, context) => {
|
|
@@ -884,7 +878,6 @@ const deserializeAws_queryAttachLoadBalancerTargetGroupsCommandError = async (ou
|
|
|
884
878
|
...output,
|
|
885
879
|
body: await parseBody(output.body, context),
|
|
886
880
|
};
|
|
887
|
-
let response;
|
|
888
881
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
889
882
|
switch (errorCode) {
|
|
890
883
|
case "ResourceContentionFault":
|
|
@@ -895,14 +888,12 @@ const deserializeAws_queryAttachLoadBalancerTargetGroupsCommandError = async (ou
|
|
|
895
888
|
throw await deserializeAws_queryServiceLinkedRoleFailureResponse(parsedOutput, context);
|
|
896
889
|
default:
|
|
897
890
|
const parsedBody = parsedOutput.body;
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
$metadata,
|
|
891
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
892
|
+
output,
|
|
893
|
+
parsedBody: parsedBody.Error,
|
|
894
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
895
|
+
errorCode,
|
|
904
896
|
});
|
|
905
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
906
897
|
}
|
|
907
898
|
};
|
|
908
899
|
const deserializeAws_queryBatchDeleteScheduledActionCommand = async (output, context) => {
|
|
@@ -924,7 +915,6 @@ const deserializeAws_queryBatchDeleteScheduledActionCommandError = async (output
|
|
|
924
915
|
...output,
|
|
925
916
|
body: await parseBody(output.body, context),
|
|
926
917
|
};
|
|
927
|
-
let response;
|
|
928
918
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
929
919
|
switch (errorCode) {
|
|
930
920
|
case "ResourceContentionFault":
|
|
@@ -932,14 +922,12 @@ const deserializeAws_queryBatchDeleteScheduledActionCommandError = async (output
|
|
|
932
922
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
933
923
|
default:
|
|
934
924
|
const parsedBody = parsedOutput.body;
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
$metadata,
|
|
925
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
926
|
+
output,
|
|
927
|
+
parsedBody: parsedBody.Error,
|
|
928
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
929
|
+
errorCode,
|
|
941
930
|
});
|
|
942
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
943
931
|
}
|
|
944
932
|
};
|
|
945
933
|
const deserializeAws_queryBatchPutScheduledUpdateGroupActionCommand = async (output, context) => {
|
|
@@ -961,7 +949,6 @@ const deserializeAws_queryBatchPutScheduledUpdateGroupActionCommandError = async
|
|
|
961
949
|
...output,
|
|
962
950
|
body: await parseBody(output.body, context),
|
|
963
951
|
};
|
|
964
|
-
let response;
|
|
965
952
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
966
953
|
switch (errorCode) {
|
|
967
954
|
case "AlreadyExistsFault":
|
|
@@ -975,14 +962,12 @@ const deserializeAws_queryBatchPutScheduledUpdateGroupActionCommandError = async
|
|
|
975
962
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
976
963
|
default:
|
|
977
964
|
const parsedBody = parsedOutput.body;
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
$metadata,
|
|
965
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
966
|
+
output,
|
|
967
|
+
parsedBody: parsedBody.Error,
|
|
968
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
969
|
+
errorCode,
|
|
984
970
|
});
|
|
985
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
986
971
|
}
|
|
987
972
|
};
|
|
988
973
|
const deserializeAws_queryCancelInstanceRefreshCommand = async (output, context) => {
|
|
@@ -1004,7 +989,6 @@ const deserializeAws_queryCancelInstanceRefreshCommandError = async (output, con
|
|
|
1004
989
|
...output,
|
|
1005
990
|
body: await parseBody(output.body, context),
|
|
1006
991
|
};
|
|
1007
|
-
let response;
|
|
1008
992
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1009
993
|
switch (errorCode) {
|
|
1010
994
|
case "ActiveInstanceRefreshNotFoundFault":
|
|
@@ -1018,14 +1002,12 @@ const deserializeAws_queryCancelInstanceRefreshCommandError = async (output, con
|
|
|
1018
1002
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1019
1003
|
default:
|
|
1020
1004
|
const parsedBody = parsedOutput.body;
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
$metadata,
|
|
1005
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1006
|
+
output,
|
|
1007
|
+
parsedBody: parsedBody.Error,
|
|
1008
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1009
|
+
errorCode,
|
|
1027
1010
|
});
|
|
1028
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1029
1011
|
}
|
|
1030
1012
|
};
|
|
1031
1013
|
const deserializeAws_queryCompleteLifecycleActionCommand = async (output, context) => {
|
|
@@ -1047,7 +1029,6 @@ const deserializeAws_queryCompleteLifecycleActionCommandError = async (output, c
|
|
|
1047
1029
|
...output,
|
|
1048
1030
|
body: await parseBody(output.body, context),
|
|
1049
1031
|
};
|
|
1050
|
-
let response;
|
|
1051
1032
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1052
1033
|
switch (errorCode) {
|
|
1053
1034
|
case "ResourceContentionFault":
|
|
@@ -1055,14 +1036,12 @@ const deserializeAws_queryCompleteLifecycleActionCommandError = async (output, c
|
|
|
1055
1036
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1056
1037
|
default:
|
|
1057
1038
|
const parsedBody = parsedOutput.body;
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
$metadata,
|
|
1039
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1040
|
+
output,
|
|
1041
|
+
parsedBody: parsedBody.Error,
|
|
1042
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1043
|
+
errorCode,
|
|
1064
1044
|
});
|
|
1065
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1066
1045
|
}
|
|
1067
1046
|
};
|
|
1068
1047
|
const deserializeAws_queryCreateAutoScalingGroupCommand = async (output, context) => {
|
|
@@ -1081,7 +1060,6 @@ const deserializeAws_queryCreateAutoScalingGroupCommandError = async (output, co
|
|
|
1081
1060
|
...output,
|
|
1082
1061
|
body: await parseBody(output.body, context),
|
|
1083
1062
|
};
|
|
1084
|
-
let response;
|
|
1085
1063
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1086
1064
|
switch (errorCode) {
|
|
1087
1065
|
case "AlreadyExistsFault":
|
|
@@ -1098,14 +1076,12 @@ const deserializeAws_queryCreateAutoScalingGroupCommandError = async (output, co
|
|
|
1098
1076
|
throw await deserializeAws_queryServiceLinkedRoleFailureResponse(parsedOutput, context);
|
|
1099
1077
|
default:
|
|
1100
1078
|
const parsedBody = parsedOutput.body;
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
$metadata,
|
|
1079
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1080
|
+
output,
|
|
1081
|
+
parsedBody: parsedBody.Error,
|
|
1082
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1083
|
+
errorCode,
|
|
1107
1084
|
});
|
|
1108
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1109
1085
|
}
|
|
1110
1086
|
};
|
|
1111
1087
|
const deserializeAws_queryCreateLaunchConfigurationCommand = async (output, context) => {
|
|
@@ -1124,7 +1100,6 @@ const deserializeAws_queryCreateLaunchConfigurationCommandError = async (output,
|
|
|
1124
1100
|
...output,
|
|
1125
1101
|
body: await parseBody(output.body, context),
|
|
1126
1102
|
};
|
|
1127
|
-
let response;
|
|
1128
1103
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1129
1104
|
switch (errorCode) {
|
|
1130
1105
|
case "AlreadyExistsFault":
|
|
@@ -1138,14 +1113,12 @@ const deserializeAws_queryCreateLaunchConfigurationCommandError = async (output,
|
|
|
1138
1113
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1139
1114
|
default:
|
|
1140
1115
|
const parsedBody = parsedOutput.body;
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
$metadata,
|
|
1116
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1117
|
+
output,
|
|
1118
|
+
parsedBody: parsedBody.Error,
|
|
1119
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1120
|
+
errorCode,
|
|
1147
1121
|
});
|
|
1148
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1149
1122
|
}
|
|
1150
1123
|
};
|
|
1151
1124
|
const deserializeAws_queryCreateOrUpdateTagsCommand = async (output, context) => {
|
|
@@ -1164,7 +1137,6 @@ const deserializeAws_queryCreateOrUpdateTagsCommandError = async (output, contex
|
|
|
1164
1137
|
...output,
|
|
1165
1138
|
body: await parseBody(output.body, context),
|
|
1166
1139
|
};
|
|
1167
|
-
let response;
|
|
1168
1140
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1169
1141
|
switch (errorCode) {
|
|
1170
1142
|
case "AlreadyExistsFault":
|
|
@@ -1181,14 +1153,12 @@ const deserializeAws_queryCreateOrUpdateTagsCommandError = async (output, contex
|
|
|
1181
1153
|
throw await deserializeAws_queryResourceInUseFaultResponse(parsedOutput, context);
|
|
1182
1154
|
default:
|
|
1183
1155
|
const parsedBody = parsedOutput.body;
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
$metadata,
|
|
1156
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1157
|
+
output,
|
|
1158
|
+
parsedBody: parsedBody.Error,
|
|
1159
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1160
|
+
errorCode,
|
|
1190
1161
|
});
|
|
1191
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1192
1162
|
}
|
|
1193
1163
|
};
|
|
1194
1164
|
const deserializeAws_queryDeleteAutoScalingGroupCommand = async (output, context) => {
|
|
@@ -1207,7 +1177,6 @@ const deserializeAws_queryDeleteAutoScalingGroupCommandError = async (output, co
|
|
|
1207
1177
|
...output,
|
|
1208
1178
|
body: await parseBody(output.body, context),
|
|
1209
1179
|
};
|
|
1210
|
-
let response;
|
|
1211
1180
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1212
1181
|
switch (errorCode) {
|
|
1213
1182
|
case "ResourceContentionFault":
|
|
@@ -1221,14 +1190,12 @@ const deserializeAws_queryDeleteAutoScalingGroupCommandError = async (output, co
|
|
|
1221
1190
|
throw await deserializeAws_queryScalingActivityInProgressFaultResponse(parsedOutput, context);
|
|
1222
1191
|
default:
|
|
1223
1192
|
const parsedBody = parsedOutput.body;
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
$metadata,
|
|
1193
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1194
|
+
output,
|
|
1195
|
+
parsedBody: parsedBody.Error,
|
|
1196
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1197
|
+
errorCode,
|
|
1230
1198
|
});
|
|
1231
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1232
1199
|
}
|
|
1233
1200
|
};
|
|
1234
1201
|
const deserializeAws_queryDeleteLaunchConfigurationCommand = async (output, context) => {
|
|
@@ -1247,7 +1214,6 @@ const deserializeAws_queryDeleteLaunchConfigurationCommandError = async (output,
|
|
|
1247
1214
|
...output,
|
|
1248
1215
|
body: await parseBody(output.body, context),
|
|
1249
1216
|
};
|
|
1250
|
-
let response;
|
|
1251
1217
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1252
1218
|
switch (errorCode) {
|
|
1253
1219
|
case "ResourceContentionFault":
|
|
@@ -1258,14 +1224,12 @@ const deserializeAws_queryDeleteLaunchConfigurationCommandError = async (output,
|
|
|
1258
1224
|
throw await deserializeAws_queryResourceInUseFaultResponse(parsedOutput, context);
|
|
1259
1225
|
default:
|
|
1260
1226
|
const parsedBody = parsedOutput.body;
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
$metadata,
|
|
1227
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1228
|
+
output,
|
|
1229
|
+
parsedBody: parsedBody.Error,
|
|
1230
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1231
|
+
errorCode,
|
|
1267
1232
|
});
|
|
1268
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1269
1233
|
}
|
|
1270
1234
|
};
|
|
1271
1235
|
const deserializeAws_queryDeleteLifecycleHookCommand = async (output, context) => {
|
|
@@ -1287,7 +1251,6 @@ const deserializeAws_queryDeleteLifecycleHookCommandError = async (output, conte
|
|
|
1287
1251
|
...output,
|
|
1288
1252
|
body: await parseBody(output.body, context),
|
|
1289
1253
|
};
|
|
1290
|
-
let response;
|
|
1291
1254
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1292
1255
|
switch (errorCode) {
|
|
1293
1256
|
case "ResourceContentionFault":
|
|
@@ -1295,14 +1258,12 @@ const deserializeAws_queryDeleteLifecycleHookCommandError = async (output, conte
|
|
|
1295
1258
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1296
1259
|
default:
|
|
1297
1260
|
const parsedBody = parsedOutput.body;
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
$metadata,
|
|
1261
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1262
|
+
output,
|
|
1263
|
+
parsedBody: parsedBody.Error,
|
|
1264
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1265
|
+
errorCode,
|
|
1304
1266
|
});
|
|
1305
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1306
1267
|
}
|
|
1307
1268
|
};
|
|
1308
1269
|
const deserializeAws_queryDeleteNotificationConfigurationCommand = async (output, context) => {
|
|
@@ -1321,7 +1282,6 @@ const deserializeAws_queryDeleteNotificationConfigurationCommandError = async (o
|
|
|
1321
1282
|
...output,
|
|
1322
1283
|
body: await parseBody(output.body, context),
|
|
1323
1284
|
};
|
|
1324
|
-
let response;
|
|
1325
1285
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1326
1286
|
switch (errorCode) {
|
|
1327
1287
|
case "ResourceContentionFault":
|
|
@@ -1329,14 +1289,12 @@ const deserializeAws_queryDeleteNotificationConfigurationCommandError = async (o
|
|
|
1329
1289
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1330
1290
|
default:
|
|
1331
1291
|
const parsedBody = parsedOutput.body;
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
$metadata,
|
|
1292
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1293
|
+
output,
|
|
1294
|
+
parsedBody: parsedBody.Error,
|
|
1295
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1296
|
+
errorCode,
|
|
1338
1297
|
});
|
|
1339
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1340
1298
|
}
|
|
1341
1299
|
};
|
|
1342
1300
|
const deserializeAws_queryDeletePolicyCommand = async (output, context) => {
|
|
@@ -1355,7 +1313,6 @@ const deserializeAws_queryDeletePolicyCommandError = async (output, context) =>
|
|
|
1355
1313
|
...output,
|
|
1356
1314
|
body: await parseBody(output.body, context),
|
|
1357
1315
|
};
|
|
1358
|
-
let response;
|
|
1359
1316
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1360
1317
|
switch (errorCode) {
|
|
1361
1318
|
case "ResourceContentionFault":
|
|
@@ -1366,14 +1323,12 @@ const deserializeAws_queryDeletePolicyCommandError = async (output, context) =>
|
|
|
1366
1323
|
throw await deserializeAws_queryServiceLinkedRoleFailureResponse(parsedOutput, context);
|
|
1367
1324
|
default:
|
|
1368
1325
|
const parsedBody = parsedOutput.body;
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
$metadata,
|
|
1326
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1327
|
+
output,
|
|
1328
|
+
parsedBody: parsedBody.Error,
|
|
1329
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1330
|
+
errorCode,
|
|
1375
1331
|
});
|
|
1376
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1377
1332
|
}
|
|
1378
1333
|
};
|
|
1379
1334
|
const deserializeAws_queryDeleteScheduledActionCommand = async (output, context) => {
|
|
@@ -1392,7 +1347,6 @@ const deserializeAws_queryDeleteScheduledActionCommandError = async (output, con
|
|
|
1392
1347
|
...output,
|
|
1393
1348
|
body: await parseBody(output.body, context),
|
|
1394
1349
|
};
|
|
1395
|
-
let response;
|
|
1396
1350
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1397
1351
|
switch (errorCode) {
|
|
1398
1352
|
case "ResourceContentionFault":
|
|
@@ -1400,14 +1354,12 @@ const deserializeAws_queryDeleteScheduledActionCommandError = async (output, con
|
|
|
1400
1354
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1401
1355
|
default:
|
|
1402
1356
|
const parsedBody = parsedOutput.body;
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
$metadata,
|
|
1357
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1358
|
+
output,
|
|
1359
|
+
parsedBody: parsedBody.Error,
|
|
1360
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1361
|
+
errorCode,
|
|
1409
1362
|
});
|
|
1410
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1411
1363
|
}
|
|
1412
1364
|
};
|
|
1413
1365
|
const deserializeAws_queryDeleteTagsCommand = async (output, context) => {
|
|
@@ -1426,7 +1378,6 @@ const deserializeAws_queryDeleteTagsCommandError = async (output, context) => {
|
|
|
1426
1378
|
...output,
|
|
1427
1379
|
body: await parseBody(output.body, context),
|
|
1428
1380
|
};
|
|
1429
|
-
let response;
|
|
1430
1381
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1431
1382
|
switch (errorCode) {
|
|
1432
1383
|
case "ResourceContentionFault":
|
|
@@ -1437,14 +1388,12 @@ const deserializeAws_queryDeleteTagsCommandError = async (output, context) => {
|
|
|
1437
1388
|
throw await deserializeAws_queryResourceInUseFaultResponse(parsedOutput, context);
|
|
1438
1389
|
default:
|
|
1439
1390
|
const parsedBody = parsedOutput.body;
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
$metadata,
|
|
1391
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1392
|
+
output,
|
|
1393
|
+
parsedBody: parsedBody.Error,
|
|
1394
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1395
|
+
errorCode,
|
|
1446
1396
|
});
|
|
1447
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1448
1397
|
}
|
|
1449
1398
|
};
|
|
1450
1399
|
const deserializeAws_queryDeleteWarmPoolCommand = async (output, context) => {
|
|
@@ -1466,7 +1415,6 @@ const deserializeAws_queryDeleteWarmPoolCommandError = async (output, context) =
|
|
|
1466
1415
|
...output,
|
|
1467
1416
|
body: await parseBody(output.body, context),
|
|
1468
1417
|
};
|
|
1469
|
-
let response;
|
|
1470
1418
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1471
1419
|
switch (errorCode) {
|
|
1472
1420
|
case "LimitExceededFault":
|
|
@@ -1483,14 +1431,12 @@ const deserializeAws_queryDeleteWarmPoolCommandError = async (output, context) =
|
|
|
1483
1431
|
throw await deserializeAws_queryScalingActivityInProgressFaultResponse(parsedOutput, context);
|
|
1484
1432
|
default:
|
|
1485
1433
|
const parsedBody = parsedOutput.body;
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
$metadata,
|
|
1434
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1435
|
+
output,
|
|
1436
|
+
parsedBody: parsedBody.Error,
|
|
1437
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1438
|
+
errorCode,
|
|
1492
1439
|
});
|
|
1493
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1494
1440
|
}
|
|
1495
1441
|
};
|
|
1496
1442
|
const deserializeAws_queryDescribeAccountLimitsCommand = async (output, context) => {
|
|
@@ -1512,7 +1458,6 @@ const deserializeAws_queryDescribeAccountLimitsCommandError = async (output, con
|
|
|
1512
1458
|
...output,
|
|
1513
1459
|
body: await parseBody(output.body, context),
|
|
1514
1460
|
};
|
|
1515
|
-
let response;
|
|
1516
1461
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1517
1462
|
switch (errorCode) {
|
|
1518
1463
|
case "ResourceContentionFault":
|
|
@@ -1520,14 +1465,12 @@ const deserializeAws_queryDescribeAccountLimitsCommandError = async (output, con
|
|
|
1520
1465
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1521
1466
|
default:
|
|
1522
1467
|
const parsedBody = parsedOutput.body;
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
$metadata,
|
|
1468
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1469
|
+
output,
|
|
1470
|
+
parsedBody: parsedBody.Error,
|
|
1471
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1472
|
+
errorCode,
|
|
1529
1473
|
});
|
|
1530
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1531
1474
|
}
|
|
1532
1475
|
};
|
|
1533
1476
|
const deserializeAws_queryDescribeAdjustmentTypesCommand = async (output, context) => {
|
|
@@ -1549,7 +1492,6 @@ const deserializeAws_queryDescribeAdjustmentTypesCommandError = async (output, c
|
|
|
1549
1492
|
...output,
|
|
1550
1493
|
body: await parseBody(output.body, context),
|
|
1551
1494
|
};
|
|
1552
|
-
let response;
|
|
1553
1495
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1554
1496
|
switch (errorCode) {
|
|
1555
1497
|
case "ResourceContentionFault":
|
|
@@ -1557,14 +1499,12 @@ const deserializeAws_queryDescribeAdjustmentTypesCommandError = async (output, c
|
|
|
1557
1499
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1558
1500
|
default:
|
|
1559
1501
|
const parsedBody = parsedOutput.body;
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
$metadata,
|
|
1502
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1503
|
+
output,
|
|
1504
|
+
parsedBody: parsedBody.Error,
|
|
1505
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1506
|
+
errorCode,
|
|
1566
1507
|
});
|
|
1567
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1568
1508
|
}
|
|
1569
1509
|
};
|
|
1570
1510
|
const deserializeAws_queryDescribeAutoScalingGroupsCommand = async (output, context) => {
|
|
@@ -1586,7 +1526,6 @@ const deserializeAws_queryDescribeAutoScalingGroupsCommandError = async (output,
|
|
|
1586
1526
|
...output,
|
|
1587
1527
|
body: await parseBody(output.body, context),
|
|
1588
1528
|
};
|
|
1589
|
-
let response;
|
|
1590
1529
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1591
1530
|
switch (errorCode) {
|
|
1592
1531
|
case "InvalidNextToken":
|
|
@@ -1597,14 +1536,12 @@ const deserializeAws_queryDescribeAutoScalingGroupsCommandError = async (output,
|
|
|
1597
1536
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1598
1537
|
default:
|
|
1599
1538
|
const parsedBody = parsedOutput.body;
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
$metadata,
|
|
1539
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1540
|
+
output,
|
|
1541
|
+
parsedBody: parsedBody.Error,
|
|
1542
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1543
|
+
errorCode,
|
|
1606
1544
|
});
|
|
1607
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1608
1545
|
}
|
|
1609
1546
|
};
|
|
1610
1547
|
const deserializeAws_queryDescribeAutoScalingInstancesCommand = async (output, context) => {
|
|
@@ -1626,7 +1563,6 @@ const deserializeAws_queryDescribeAutoScalingInstancesCommandError = async (outp
|
|
|
1626
1563
|
...output,
|
|
1627
1564
|
body: await parseBody(output.body, context),
|
|
1628
1565
|
};
|
|
1629
|
-
let response;
|
|
1630
1566
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1631
1567
|
switch (errorCode) {
|
|
1632
1568
|
case "InvalidNextToken":
|
|
@@ -1637,14 +1573,12 @@ const deserializeAws_queryDescribeAutoScalingInstancesCommandError = async (outp
|
|
|
1637
1573
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1638
1574
|
default:
|
|
1639
1575
|
const parsedBody = parsedOutput.body;
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
$metadata,
|
|
1576
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1577
|
+
output,
|
|
1578
|
+
parsedBody: parsedBody.Error,
|
|
1579
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1580
|
+
errorCode,
|
|
1646
1581
|
});
|
|
1647
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1648
1582
|
}
|
|
1649
1583
|
};
|
|
1650
1584
|
const deserializeAws_queryDescribeAutoScalingNotificationTypesCommand = async (output, context) => {
|
|
@@ -1666,7 +1600,6 @@ const deserializeAws_queryDescribeAutoScalingNotificationTypesCommandError = asy
|
|
|
1666
1600
|
...output,
|
|
1667
1601
|
body: await parseBody(output.body, context),
|
|
1668
1602
|
};
|
|
1669
|
-
let response;
|
|
1670
1603
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1671
1604
|
switch (errorCode) {
|
|
1672
1605
|
case "ResourceContentionFault":
|
|
@@ -1674,14 +1607,12 @@ const deserializeAws_queryDescribeAutoScalingNotificationTypesCommandError = asy
|
|
|
1674
1607
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1675
1608
|
default:
|
|
1676
1609
|
const parsedBody = parsedOutput.body;
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
$metadata,
|
|
1610
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1611
|
+
output,
|
|
1612
|
+
parsedBody: parsedBody.Error,
|
|
1613
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1614
|
+
errorCode,
|
|
1683
1615
|
});
|
|
1684
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1685
1616
|
}
|
|
1686
1617
|
};
|
|
1687
1618
|
const deserializeAws_queryDescribeInstanceRefreshesCommand = async (output, context) => {
|
|
@@ -1703,7 +1634,6 @@ const deserializeAws_queryDescribeInstanceRefreshesCommandError = async (output,
|
|
|
1703
1634
|
...output,
|
|
1704
1635
|
body: await parseBody(output.body, context),
|
|
1705
1636
|
};
|
|
1706
|
-
let response;
|
|
1707
1637
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1708
1638
|
switch (errorCode) {
|
|
1709
1639
|
case "InvalidNextToken":
|
|
@@ -1714,14 +1644,12 @@ const deserializeAws_queryDescribeInstanceRefreshesCommandError = async (output,
|
|
|
1714
1644
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1715
1645
|
default:
|
|
1716
1646
|
const parsedBody = parsedOutput.body;
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
$metadata,
|
|
1647
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1648
|
+
output,
|
|
1649
|
+
parsedBody: parsedBody.Error,
|
|
1650
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1651
|
+
errorCode,
|
|
1723
1652
|
});
|
|
1724
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1725
1653
|
}
|
|
1726
1654
|
};
|
|
1727
1655
|
const deserializeAws_queryDescribeLaunchConfigurationsCommand = async (output, context) => {
|
|
@@ -1743,7 +1671,6 @@ const deserializeAws_queryDescribeLaunchConfigurationsCommandError = async (outp
|
|
|
1743
1671
|
...output,
|
|
1744
1672
|
body: await parseBody(output.body, context),
|
|
1745
1673
|
};
|
|
1746
|
-
let response;
|
|
1747
1674
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1748
1675
|
switch (errorCode) {
|
|
1749
1676
|
case "InvalidNextToken":
|
|
@@ -1754,14 +1681,12 @@ const deserializeAws_queryDescribeLaunchConfigurationsCommandError = async (outp
|
|
|
1754
1681
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1755
1682
|
default:
|
|
1756
1683
|
const parsedBody = parsedOutput.body;
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
$metadata,
|
|
1684
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1685
|
+
output,
|
|
1686
|
+
parsedBody: parsedBody.Error,
|
|
1687
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1688
|
+
errorCode,
|
|
1763
1689
|
});
|
|
1764
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1765
1690
|
}
|
|
1766
1691
|
};
|
|
1767
1692
|
const deserializeAws_queryDescribeLifecycleHooksCommand = async (output, context) => {
|
|
@@ -1783,7 +1708,6 @@ const deserializeAws_queryDescribeLifecycleHooksCommandError = async (output, co
|
|
|
1783
1708
|
...output,
|
|
1784
1709
|
body: await parseBody(output.body, context),
|
|
1785
1710
|
};
|
|
1786
|
-
let response;
|
|
1787
1711
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1788
1712
|
switch (errorCode) {
|
|
1789
1713
|
case "ResourceContentionFault":
|
|
@@ -1791,14 +1715,12 @@ const deserializeAws_queryDescribeLifecycleHooksCommandError = async (output, co
|
|
|
1791
1715
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1792
1716
|
default:
|
|
1793
1717
|
const parsedBody = parsedOutput.body;
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
$metadata,
|
|
1718
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1719
|
+
output,
|
|
1720
|
+
parsedBody: parsedBody.Error,
|
|
1721
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1722
|
+
errorCode,
|
|
1800
1723
|
});
|
|
1801
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1802
1724
|
}
|
|
1803
1725
|
};
|
|
1804
1726
|
const deserializeAws_queryDescribeLifecycleHookTypesCommand = async (output, context) => {
|
|
@@ -1820,7 +1742,6 @@ const deserializeAws_queryDescribeLifecycleHookTypesCommandError = async (output
|
|
|
1820
1742
|
...output,
|
|
1821
1743
|
body: await parseBody(output.body, context),
|
|
1822
1744
|
};
|
|
1823
|
-
let response;
|
|
1824
1745
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1825
1746
|
switch (errorCode) {
|
|
1826
1747
|
case "ResourceContentionFault":
|
|
@@ -1828,14 +1749,12 @@ const deserializeAws_queryDescribeLifecycleHookTypesCommandError = async (output
|
|
|
1828
1749
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1829
1750
|
default:
|
|
1830
1751
|
const parsedBody = parsedOutput.body;
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
$metadata,
|
|
1752
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1753
|
+
output,
|
|
1754
|
+
parsedBody: parsedBody.Error,
|
|
1755
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1756
|
+
errorCode,
|
|
1837
1757
|
});
|
|
1838
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1839
1758
|
}
|
|
1840
1759
|
};
|
|
1841
1760
|
const deserializeAws_queryDescribeLoadBalancersCommand = async (output, context) => {
|
|
@@ -1857,7 +1776,6 @@ const deserializeAws_queryDescribeLoadBalancersCommandError = async (output, con
|
|
|
1857
1776
|
...output,
|
|
1858
1777
|
body: await parseBody(output.body, context),
|
|
1859
1778
|
};
|
|
1860
|
-
let response;
|
|
1861
1779
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1862
1780
|
switch (errorCode) {
|
|
1863
1781
|
case "InvalidNextToken":
|
|
@@ -1868,14 +1786,12 @@ const deserializeAws_queryDescribeLoadBalancersCommandError = async (output, con
|
|
|
1868
1786
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1869
1787
|
default:
|
|
1870
1788
|
const parsedBody = parsedOutput.body;
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
$metadata,
|
|
1789
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1790
|
+
output,
|
|
1791
|
+
parsedBody: parsedBody.Error,
|
|
1792
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1793
|
+
errorCode,
|
|
1877
1794
|
});
|
|
1878
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1879
1795
|
}
|
|
1880
1796
|
};
|
|
1881
1797
|
const deserializeAws_queryDescribeLoadBalancerTargetGroupsCommand = async (output, context) => {
|
|
@@ -1897,7 +1813,6 @@ const deserializeAws_queryDescribeLoadBalancerTargetGroupsCommandError = async (
|
|
|
1897
1813
|
...output,
|
|
1898
1814
|
body: await parseBody(output.body, context),
|
|
1899
1815
|
};
|
|
1900
|
-
let response;
|
|
1901
1816
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1902
1817
|
switch (errorCode) {
|
|
1903
1818
|
case "InvalidNextToken":
|
|
@@ -1908,14 +1823,12 @@ const deserializeAws_queryDescribeLoadBalancerTargetGroupsCommandError = async (
|
|
|
1908
1823
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1909
1824
|
default:
|
|
1910
1825
|
const parsedBody = parsedOutput.body;
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
$metadata,
|
|
1826
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1827
|
+
output,
|
|
1828
|
+
parsedBody: parsedBody.Error,
|
|
1829
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1830
|
+
errorCode,
|
|
1917
1831
|
});
|
|
1918
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1919
1832
|
}
|
|
1920
1833
|
};
|
|
1921
1834
|
const deserializeAws_queryDescribeMetricCollectionTypesCommand = async (output, context) => {
|
|
@@ -1937,7 +1850,6 @@ const deserializeAws_queryDescribeMetricCollectionTypesCommandError = async (out
|
|
|
1937
1850
|
...output,
|
|
1938
1851
|
body: await parseBody(output.body, context),
|
|
1939
1852
|
};
|
|
1940
|
-
let response;
|
|
1941
1853
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1942
1854
|
switch (errorCode) {
|
|
1943
1855
|
case "ResourceContentionFault":
|
|
@@ -1945,14 +1857,12 @@ const deserializeAws_queryDescribeMetricCollectionTypesCommandError = async (out
|
|
|
1945
1857
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1946
1858
|
default:
|
|
1947
1859
|
const parsedBody = parsedOutput.body;
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
$metadata,
|
|
1860
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1861
|
+
output,
|
|
1862
|
+
parsedBody: parsedBody.Error,
|
|
1863
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1864
|
+
errorCode,
|
|
1954
1865
|
});
|
|
1955
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1956
1866
|
}
|
|
1957
1867
|
};
|
|
1958
1868
|
const deserializeAws_queryDescribeNotificationConfigurationsCommand = async (output, context) => {
|
|
@@ -1974,7 +1884,6 @@ const deserializeAws_queryDescribeNotificationConfigurationsCommandError = async
|
|
|
1974
1884
|
...output,
|
|
1975
1885
|
body: await parseBody(output.body, context),
|
|
1976
1886
|
};
|
|
1977
|
-
let response;
|
|
1978
1887
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1979
1888
|
switch (errorCode) {
|
|
1980
1889
|
case "InvalidNextToken":
|
|
@@ -1985,14 +1894,12 @@ const deserializeAws_queryDescribeNotificationConfigurationsCommandError = async
|
|
|
1985
1894
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
1986
1895
|
default:
|
|
1987
1896
|
const parsedBody = parsedOutput.body;
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
$metadata,
|
|
1897
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1898
|
+
output,
|
|
1899
|
+
parsedBody: parsedBody.Error,
|
|
1900
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1901
|
+
errorCode,
|
|
1994
1902
|
});
|
|
1995
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1996
1903
|
}
|
|
1997
1904
|
};
|
|
1998
1905
|
const deserializeAws_queryDescribePoliciesCommand = async (output, context) => {
|
|
@@ -2014,7 +1921,6 @@ const deserializeAws_queryDescribePoliciesCommandError = async (output, context)
|
|
|
2014
1921
|
...output,
|
|
2015
1922
|
body: await parseBody(output.body, context),
|
|
2016
1923
|
};
|
|
2017
|
-
let response;
|
|
2018
1924
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2019
1925
|
switch (errorCode) {
|
|
2020
1926
|
case "InvalidNextToken":
|
|
@@ -2028,14 +1934,12 @@ const deserializeAws_queryDescribePoliciesCommandError = async (output, context)
|
|
|
2028
1934
|
throw await deserializeAws_queryServiceLinkedRoleFailureResponse(parsedOutput, context);
|
|
2029
1935
|
default:
|
|
2030
1936
|
const parsedBody = parsedOutput.body;
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
$metadata,
|
|
1937
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1938
|
+
output,
|
|
1939
|
+
parsedBody: parsedBody.Error,
|
|
1940
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1941
|
+
errorCode,
|
|
2037
1942
|
});
|
|
2038
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2039
1943
|
}
|
|
2040
1944
|
};
|
|
2041
1945
|
const deserializeAws_queryDescribeScalingActivitiesCommand = async (output, context) => {
|
|
@@ -2057,7 +1961,6 @@ const deserializeAws_queryDescribeScalingActivitiesCommandError = async (output,
|
|
|
2057
1961
|
...output,
|
|
2058
1962
|
body: await parseBody(output.body, context),
|
|
2059
1963
|
};
|
|
2060
|
-
let response;
|
|
2061
1964
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2062
1965
|
switch (errorCode) {
|
|
2063
1966
|
case "InvalidNextToken":
|
|
@@ -2068,14 +1971,12 @@ const deserializeAws_queryDescribeScalingActivitiesCommandError = async (output,
|
|
|
2068
1971
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2069
1972
|
default:
|
|
2070
1973
|
const parsedBody = parsedOutput.body;
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
$metadata,
|
|
1974
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1975
|
+
output,
|
|
1976
|
+
parsedBody: parsedBody.Error,
|
|
1977
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
1978
|
+
errorCode,
|
|
2077
1979
|
});
|
|
2078
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2079
1980
|
}
|
|
2080
1981
|
};
|
|
2081
1982
|
const deserializeAws_queryDescribeScalingProcessTypesCommand = async (output, context) => {
|
|
@@ -2097,7 +1998,6 @@ const deserializeAws_queryDescribeScalingProcessTypesCommandError = async (outpu
|
|
|
2097
1998
|
...output,
|
|
2098
1999
|
body: await parseBody(output.body, context),
|
|
2099
2000
|
};
|
|
2100
|
-
let response;
|
|
2101
2001
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2102
2002
|
switch (errorCode) {
|
|
2103
2003
|
case "ResourceContentionFault":
|
|
@@ -2105,14 +2005,12 @@ const deserializeAws_queryDescribeScalingProcessTypesCommandError = async (outpu
|
|
|
2105
2005
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2106
2006
|
default:
|
|
2107
2007
|
const parsedBody = parsedOutput.body;
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
$metadata,
|
|
2008
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2009
|
+
output,
|
|
2010
|
+
parsedBody: parsedBody.Error,
|
|
2011
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2012
|
+
errorCode,
|
|
2114
2013
|
});
|
|
2115
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2116
2014
|
}
|
|
2117
2015
|
};
|
|
2118
2016
|
const deserializeAws_queryDescribeScheduledActionsCommand = async (output, context) => {
|
|
@@ -2134,7 +2032,6 @@ const deserializeAws_queryDescribeScheduledActionsCommandError = async (output,
|
|
|
2134
2032
|
...output,
|
|
2135
2033
|
body: await parseBody(output.body, context),
|
|
2136
2034
|
};
|
|
2137
|
-
let response;
|
|
2138
2035
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2139
2036
|
switch (errorCode) {
|
|
2140
2037
|
case "InvalidNextToken":
|
|
@@ -2145,14 +2042,12 @@ const deserializeAws_queryDescribeScheduledActionsCommandError = async (output,
|
|
|
2145
2042
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2146
2043
|
default:
|
|
2147
2044
|
const parsedBody = parsedOutput.body;
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
$metadata,
|
|
2045
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2046
|
+
output,
|
|
2047
|
+
parsedBody: parsedBody.Error,
|
|
2048
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2049
|
+
errorCode,
|
|
2154
2050
|
});
|
|
2155
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2156
2051
|
}
|
|
2157
2052
|
};
|
|
2158
2053
|
const deserializeAws_queryDescribeTagsCommand = async (output, context) => {
|
|
@@ -2174,7 +2069,6 @@ const deserializeAws_queryDescribeTagsCommandError = async (output, context) =>
|
|
|
2174
2069
|
...output,
|
|
2175
2070
|
body: await parseBody(output.body, context),
|
|
2176
2071
|
};
|
|
2177
|
-
let response;
|
|
2178
2072
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2179
2073
|
switch (errorCode) {
|
|
2180
2074
|
case "InvalidNextToken":
|
|
@@ -2185,14 +2079,12 @@ const deserializeAws_queryDescribeTagsCommandError = async (output, context) =>
|
|
|
2185
2079
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2186
2080
|
default:
|
|
2187
2081
|
const parsedBody = parsedOutput.body;
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
$metadata,
|
|
2082
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2083
|
+
output,
|
|
2084
|
+
parsedBody: parsedBody.Error,
|
|
2085
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2086
|
+
errorCode,
|
|
2194
2087
|
});
|
|
2195
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2196
2088
|
}
|
|
2197
2089
|
};
|
|
2198
2090
|
const deserializeAws_queryDescribeTerminationPolicyTypesCommand = async (output, context) => {
|
|
@@ -2214,7 +2106,6 @@ const deserializeAws_queryDescribeTerminationPolicyTypesCommandError = async (ou
|
|
|
2214
2106
|
...output,
|
|
2215
2107
|
body: await parseBody(output.body, context),
|
|
2216
2108
|
};
|
|
2217
|
-
let response;
|
|
2218
2109
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2219
2110
|
switch (errorCode) {
|
|
2220
2111
|
case "ResourceContentionFault":
|
|
@@ -2222,14 +2113,12 @@ const deserializeAws_queryDescribeTerminationPolicyTypesCommandError = async (ou
|
|
|
2222
2113
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2223
2114
|
default:
|
|
2224
2115
|
const parsedBody = parsedOutput.body;
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
$metadata,
|
|
2116
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2117
|
+
output,
|
|
2118
|
+
parsedBody: parsedBody.Error,
|
|
2119
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2120
|
+
errorCode,
|
|
2231
2121
|
});
|
|
2232
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2233
2122
|
}
|
|
2234
2123
|
};
|
|
2235
2124
|
const deserializeAws_queryDescribeWarmPoolCommand = async (output, context) => {
|
|
@@ -2251,7 +2140,6 @@ const deserializeAws_queryDescribeWarmPoolCommandError = async (output, context)
|
|
|
2251
2140
|
...output,
|
|
2252
2141
|
body: await parseBody(output.body, context),
|
|
2253
2142
|
};
|
|
2254
|
-
let response;
|
|
2255
2143
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2256
2144
|
switch (errorCode) {
|
|
2257
2145
|
case "InvalidNextToken":
|
|
@@ -2265,14 +2153,12 @@ const deserializeAws_queryDescribeWarmPoolCommandError = async (output, context)
|
|
|
2265
2153
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2266
2154
|
default:
|
|
2267
2155
|
const parsedBody = parsedOutput.body;
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
$metadata,
|
|
2156
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2157
|
+
output,
|
|
2158
|
+
parsedBody: parsedBody.Error,
|
|
2159
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2160
|
+
errorCode,
|
|
2274
2161
|
});
|
|
2275
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2276
2162
|
}
|
|
2277
2163
|
};
|
|
2278
2164
|
const deserializeAws_queryDetachInstancesCommand = async (output, context) => {
|
|
@@ -2294,7 +2180,6 @@ const deserializeAws_queryDetachInstancesCommandError = async (output, context)
|
|
|
2294
2180
|
...output,
|
|
2295
2181
|
body: await parseBody(output.body, context),
|
|
2296
2182
|
};
|
|
2297
|
-
let response;
|
|
2298
2183
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2299
2184
|
switch (errorCode) {
|
|
2300
2185
|
case "ResourceContentionFault":
|
|
@@ -2302,14 +2187,12 @@ const deserializeAws_queryDetachInstancesCommandError = async (output, context)
|
|
|
2302
2187
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2303
2188
|
default:
|
|
2304
2189
|
const parsedBody = parsedOutput.body;
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
$metadata,
|
|
2190
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2191
|
+
output,
|
|
2192
|
+
parsedBody: parsedBody.Error,
|
|
2193
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2194
|
+
errorCode,
|
|
2311
2195
|
});
|
|
2312
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2313
2196
|
}
|
|
2314
2197
|
};
|
|
2315
2198
|
const deserializeAws_queryDetachLoadBalancersCommand = async (output, context) => {
|
|
@@ -2331,7 +2214,6 @@ const deserializeAws_queryDetachLoadBalancersCommandError = async (output, conte
|
|
|
2331
2214
|
...output,
|
|
2332
2215
|
body: await parseBody(output.body, context),
|
|
2333
2216
|
};
|
|
2334
|
-
let response;
|
|
2335
2217
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2336
2218
|
switch (errorCode) {
|
|
2337
2219
|
case "ResourceContentionFault":
|
|
@@ -2339,14 +2221,12 @@ const deserializeAws_queryDetachLoadBalancersCommandError = async (output, conte
|
|
|
2339
2221
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2340
2222
|
default:
|
|
2341
2223
|
const parsedBody = parsedOutput.body;
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
$metadata,
|
|
2224
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2225
|
+
output,
|
|
2226
|
+
parsedBody: parsedBody.Error,
|
|
2227
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2228
|
+
errorCode,
|
|
2348
2229
|
});
|
|
2349
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2350
2230
|
}
|
|
2351
2231
|
};
|
|
2352
2232
|
const deserializeAws_queryDetachLoadBalancerTargetGroupsCommand = async (output, context) => {
|
|
@@ -2368,7 +2248,6 @@ const deserializeAws_queryDetachLoadBalancerTargetGroupsCommandError = async (ou
|
|
|
2368
2248
|
...output,
|
|
2369
2249
|
body: await parseBody(output.body, context),
|
|
2370
2250
|
};
|
|
2371
|
-
let response;
|
|
2372
2251
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2373
2252
|
switch (errorCode) {
|
|
2374
2253
|
case "ResourceContentionFault":
|
|
@@ -2376,14 +2255,12 @@ const deserializeAws_queryDetachLoadBalancerTargetGroupsCommandError = async (ou
|
|
|
2376
2255
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2377
2256
|
default:
|
|
2378
2257
|
const parsedBody = parsedOutput.body;
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
$metadata,
|
|
2258
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2259
|
+
output,
|
|
2260
|
+
parsedBody: parsedBody.Error,
|
|
2261
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2262
|
+
errorCode,
|
|
2385
2263
|
});
|
|
2386
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2387
2264
|
}
|
|
2388
2265
|
};
|
|
2389
2266
|
const deserializeAws_queryDisableMetricsCollectionCommand = async (output, context) => {
|
|
@@ -2402,7 +2279,6 @@ const deserializeAws_queryDisableMetricsCollectionCommandError = async (output,
|
|
|
2402
2279
|
...output,
|
|
2403
2280
|
body: await parseBody(output.body, context),
|
|
2404
2281
|
};
|
|
2405
|
-
let response;
|
|
2406
2282
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2407
2283
|
switch (errorCode) {
|
|
2408
2284
|
case "ResourceContentionFault":
|
|
@@ -2410,14 +2286,12 @@ const deserializeAws_queryDisableMetricsCollectionCommandError = async (output,
|
|
|
2410
2286
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2411
2287
|
default:
|
|
2412
2288
|
const parsedBody = parsedOutput.body;
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
$metadata,
|
|
2289
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2290
|
+
output,
|
|
2291
|
+
parsedBody: parsedBody.Error,
|
|
2292
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2293
|
+
errorCode,
|
|
2419
2294
|
});
|
|
2420
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2421
2295
|
}
|
|
2422
2296
|
};
|
|
2423
2297
|
const deserializeAws_queryEnableMetricsCollectionCommand = async (output, context) => {
|
|
@@ -2436,7 +2310,6 @@ const deserializeAws_queryEnableMetricsCollectionCommandError = async (output, c
|
|
|
2436
2310
|
...output,
|
|
2437
2311
|
body: await parseBody(output.body, context),
|
|
2438
2312
|
};
|
|
2439
|
-
let response;
|
|
2440
2313
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2441
2314
|
switch (errorCode) {
|
|
2442
2315
|
case "ResourceContentionFault":
|
|
@@ -2444,14 +2317,12 @@ const deserializeAws_queryEnableMetricsCollectionCommandError = async (output, c
|
|
|
2444
2317
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2445
2318
|
default:
|
|
2446
2319
|
const parsedBody = parsedOutput.body;
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
$metadata,
|
|
2320
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2321
|
+
output,
|
|
2322
|
+
parsedBody: parsedBody.Error,
|
|
2323
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2324
|
+
errorCode,
|
|
2453
2325
|
});
|
|
2454
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2455
2326
|
}
|
|
2456
2327
|
};
|
|
2457
2328
|
const deserializeAws_queryEnterStandbyCommand = async (output, context) => {
|
|
@@ -2473,7 +2344,6 @@ const deserializeAws_queryEnterStandbyCommandError = async (output, context) =>
|
|
|
2473
2344
|
...output,
|
|
2474
2345
|
body: await parseBody(output.body, context),
|
|
2475
2346
|
};
|
|
2476
|
-
let response;
|
|
2477
2347
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2478
2348
|
switch (errorCode) {
|
|
2479
2349
|
case "ResourceContentionFault":
|
|
@@ -2481,14 +2351,12 @@ const deserializeAws_queryEnterStandbyCommandError = async (output, context) =>
|
|
|
2481
2351
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2482
2352
|
default:
|
|
2483
2353
|
const parsedBody = parsedOutput.body;
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
$metadata,
|
|
2354
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2355
|
+
output,
|
|
2356
|
+
parsedBody: parsedBody.Error,
|
|
2357
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2358
|
+
errorCode,
|
|
2490
2359
|
});
|
|
2491
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2492
2360
|
}
|
|
2493
2361
|
};
|
|
2494
2362
|
const deserializeAws_queryExecutePolicyCommand = async (output, context) => {
|
|
@@ -2507,7 +2375,6 @@ const deserializeAws_queryExecutePolicyCommandError = async (output, context) =>
|
|
|
2507
2375
|
...output,
|
|
2508
2376
|
body: await parseBody(output.body, context),
|
|
2509
2377
|
};
|
|
2510
|
-
let response;
|
|
2511
2378
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2512
2379
|
switch (errorCode) {
|
|
2513
2380
|
case "ResourceContentionFault":
|
|
@@ -2518,14 +2385,12 @@ const deserializeAws_queryExecutePolicyCommandError = async (output, context) =>
|
|
|
2518
2385
|
throw await deserializeAws_queryScalingActivityInProgressFaultResponse(parsedOutput, context);
|
|
2519
2386
|
default:
|
|
2520
2387
|
const parsedBody = parsedOutput.body;
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
$metadata,
|
|
2388
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2389
|
+
output,
|
|
2390
|
+
parsedBody: parsedBody.Error,
|
|
2391
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2392
|
+
errorCode,
|
|
2527
2393
|
});
|
|
2528
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2529
2394
|
}
|
|
2530
2395
|
};
|
|
2531
2396
|
const deserializeAws_queryExitStandbyCommand = async (output, context) => {
|
|
@@ -2547,7 +2412,6 @@ const deserializeAws_queryExitStandbyCommandError = async (output, context) => {
|
|
|
2547
2412
|
...output,
|
|
2548
2413
|
body: await parseBody(output.body, context),
|
|
2549
2414
|
};
|
|
2550
|
-
let response;
|
|
2551
2415
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2552
2416
|
switch (errorCode) {
|
|
2553
2417
|
case "ResourceContentionFault":
|
|
@@ -2555,14 +2419,12 @@ const deserializeAws_queryExitStandbyCommandError = async (output, context) => {
|
|
|
2555
2419
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2556
2420
|
default:
|
|
2557
2421
|
const parsedBody = parsedOutput.body;
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
$metadata,
|
|
2422
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2423
|
+
output,
|
|
2424
|
+
parsedBody: parsedBody.Error,
|
|
2425
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2426
|
+
errorCode,
|
|
2564
2427
|
});
|
|
2565
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2566
2428
|
}
|
|
2567
2429
|
};
|
|
2568
2430
|
const deserializeAws_queryGetPredictiveScalingForecastCommand = async (output, context) => {
|
|
@@ -2584,7 +2446,6 @@ const deserializeAws_queryGetPredictiveScalingForecastCommandError = async (outp
|
|
|
2584
2446
|
...output,
|
|
2585
2447
|
body: await parseBody(output.body, context),
|
|
2586
2448
|
};
|
|
2587
|
-
let response;
|
|
2588
2449
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2589
2450
|
switch (errorCode) {
|
|
2590
2451
|
case "ResourceContentionFault":
|
|
@@ -2592,14 +2453,12 @@ const deserializeAws_queryGetPredictiveScalingForecastCommandError = async (outp
|
|
|
2592
2453
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2593
2454
|
default:
|
|
2594
2455
|
const parsedBody = parsedOutput.body;
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
$metadata,
|
|
2456
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2457
|
+
output,
|
|
2458
|
+
parsedBody: parsedBody.Error,
|
|
2459
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2460
|
+
errorCode,
|
|
2601
2461
|
});
|
|
2602
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2603
2462
|
}
|
|
2604
2463
|
};
|
|
2605
2464
|
const deserializeAws_queryPutLifecycleHookCommand = async (output, context) => {
|
|
@@ -2621,7 +2480,6 @@ const deserializeAws_queryPutLifecycleHookCommandError = async (output, context)
|
|
|
2621
2480
|
...output,
|
|
2622
2481
|
body: await parseBody(output.body, context),
|
|
2623
2482
|
};
|
|
2624
|
-
let response;
|
|
2625
2483
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2626
2484
|
switch (errorCode) {
|
|
2627
2485
|
case "LimitExceededFault":
|
|
@@ -2632,14 +2490,12 @@ const deserializeAws_queryPutLifecycleHookCommandError = async (output, context)
|
|
|
2632
2490
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2633
2491
|
default:
|
|
2634
2492
|
const parsedBody = parsedOutput.body;
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
$metadata,
|
|
2493
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2494
|
+
output,
|
|
2495
|
+
parsedBody: parsedBody.Error,
|
|
2496
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2497
|
+
errorCode,
|
|
2641
2498
|
});
|
|
2642
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2643
2499
|
}
|
|
2644
2500
|
};
|
|
2645
2501
|
const deserializeAws_queryPutNotificationConfigurationCommand = async (output, context) => {
|
|
@@ -2658,7 +2514,6 @@ const deserializeAws_queryPutNotificationConfigurationCommandError = async (outp
|
|
|
2658
2514
|
...output,
|
|
2659
2515
|
body: await parseBody(output.body, context),
|
|
2660
2516
|
};
|
|
2661
|
-
let response;
|
|
2662
2517
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2663
2518
|
switch (errorCode) {
|
|
2664
2519
|
case "LimitExceededFault":
|
|
@@ -2672,14 +2527,12 @@ const deserializeAws_queryPutNotificationConfigurationCommandError = async (outp
|
|
|
2672
2527
|
throw await deserializeAws_queryServiceLinkedRoleFailureResponse(parsedOutput, context);
|
|
2673
2528
|
default:
|
|
2674
2529
|
const parsedBody = parsedOutput.body;
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
$metadata,
|
|
2530
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2531
|
+
output,
|
|
2532
|
+
parsedBody: parsedBody.Error,
|
|
2533
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2534
|
+
errorCode,
|
|
2681
2535
|
});
|
|
2682
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2683
2536
|
}
|
|
2684
2537
|
};
|
|
2685
2538
|
const deserializeAws_queryPutScalingPolicyCommand = async (output, context) => {
|
|
@@ -2701,7 +2554,6 @@ const deserializeAws_queryPutScalingPolicyCommandError = async (output, context)
|
|
|
2701
2554
|
...output,
|
|
2702
2555
|
body: await parseBody(output.body, context),
|
|
2703
2556
|
};
|
|
2704
|
-
let response;
|
|
2705
2557
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2706
2558
|
switch (errorCode) {
|
|
2707
2559
|
case "LimitExceededFault":
|
|
@@ -2715,14 +2567,12 @@ const deserializeAws_queryPutScalingPolicyCommandError = async (output, context)
|
|
|
2715
2567
|
throw await deserializeAws_queryServiceLinkedRoleFailureResponse(parsedOutput, context);
|
|
2716
2568
|
default:
|
|
2717
2569
|
const parsedBody = parsedOutput.body;
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
$metadata,
|
|
2570
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2571
|
+
output,
|
|
2572
|
+
parsedBody: parsedBody.Error,
|
|
2573
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2574
|
+
errorCode,
|
|
2724
2575
|
});
|
|
2725
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2726
2576
|
}
|
|
2727
2577
|
};
|
|
2728
2578
|
const deserializeAws_queryPutScheduledUpdateGroupActionCommand = async (output, context) => {
|
|
@@ -2741,7 +2591,6 @@ const deserializeAws_queryPutScheduledUpdateGroupActionCommandError = async (out
|
|
|
2741
2591
|
...output,
|
|
2742
2592
|
body: await parseBody(output.body, context),
|
|
2743
2593
|
};
|
|
2744
|
-
let response;
|
|
2745
2594
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2746
2595
|
switch (errorCode) {
|
|
2747
2596
|
case "AlreadyExistsFault":
|
|
@@ -2755,14 +2604,12 @@ const deserializeAws_queryPutScheduledUpdateGroupActionCommandError = async (out
|
|
|
2755
2604
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2756
2605
|
default:
|
|
2757
2606
|
const parsedBody = parsedOutput.body;
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
$metadata,
|
|
2607
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2608
|
+
output,
|
|
2609
|
+
parsedBody: parsedBody.Error,
|
|
2610
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2611
|
+
errorCode,
|
|
2764
2612
|
});
|
|
2765
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2766
2613
|
}
|
|
2767
2614
|
};
|
|
2768
2615
|
const deserializeAws_queryPutWarmPoolCommand = async (output, context) => {
|
|
@@ -2784,7 +2631,6 @@ const deserializeAws_queryPutWarmPoolCommandError = async (output, context) => {
|
|
|
2784
2631
|
...output,
|
|
2785
2632
|
body: await parseBody(output.body, context),
|
|
2786
2633
|
};
|
|
2787
|
-
let response;
|
|
2788
2634
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2789
2635
|
switch (errorCode) {
|
|
2790
2636
|
case "LimitExceededFault":
|
|
@@ -2795,14 +2641,12 @@ const deserializeAws_queryPutWarmPoolCommandError = async (output, context) => {
|
|
|
2795
2641
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2796
2642
|
default:
|
|
2797
2643
|
const parsedBody = parsedOutput.body;
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
$metadata,
|
|
2644
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2645
|
+
output,
|
|
2646
|
+
parsedBody: parsedBody.Error,
|
|
2647
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2648
|
+
errorCode,
|
|
2804
2649
|
});
|
|
2805
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2806
2650
|
}
|
|
2807
2651
|
};
|
|
2808
2652
|
const deserializeAws_queryRecordLifecycleActionHeartbeatCommand = async (output, context) => {
|
|
@@ -2824,7 +2668,6 @@ const deserializeAws_queryRecordLifecycleActionHeartbeatCommandError = async (ou
|
|
|
2824
2668
|
...output,
|
|
2825
2669
|
body: await parseBody(output.body, context),
|
|
2826
2670
|
};
|
|
2827
|
-
let response;
|
|
2828
2671
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2829
2672
|
switch (errorCode) {
|
|
2830
2673
|
case "ResourceContentionFault":
|
|
@@ -2832,14 +2675,12 @@ const deserializeAws_queryRecordLifecycleActionHeartbeatCommandError = async (ou
|
|
|
2832
2675
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2833
2676
|
default:
|
|
2834
2677
|
const parsedBody = parsedOutput.body;
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
$metadata,
|
|
2678
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2679
|
+
output,
|
|
2680
|
+
parsedBody: parsedBody.Error,
|
|
2681
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2682
|
+
errorCode,
|
|
2841
2683
|
});
|
|
2842
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2843
2684
|
}
|
|
2844
2685
|
};
|
|
2845
2686
|
const deserializeAws_queryResumeProcessesCommand = async (output, context) => {
|
|
@@ -2858,7 +2699,6 @@ const deserializeAws_queryResumeProcessesCommandError = async (output, context)
|
|
|
2858
2699
|
...output,
|
|
2859
2700
|
body: await parseBody(output.body, context),
|
|
2860
2701
|
};
|
|
2861
|
-
let response;
|
|
2862
2702
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2863
2703
|
switch (errorCode) {
|
|
2864
2704
|
case "ResourceContentionFault":
|
|
@@ -2869,14 +2709,12 @@ const deserializeAws_queryResumeProcessesCommandError = async (output, context)
|
|
|
2869
2709
|
throw await deserializeAws_queryResourceInUseFaultResponse(parsedOutput, context);
|
|
2870
2710
|
default:
|
|
2871
2711
|
const parsedBody = parsedOutput.body;
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
$metadata,
|
|
2712
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2713
|
+
output,
|
|
2714
|
+
parsedBody: parsedBody.Error,
|
|
2715
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2716
|
+
errorCode,
|
|
2878
2717
|
});
|
|
2879
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2880
2718
|
}
|
|
2881
2719
|
};
|
|
2882
2720
|
const deserializeAws_querySetDesiredCapacityCommand = async (output, context) => {
|
|
@@ -2895,7 +2733,6 @@ const deserializeAws_querySetDesiredCapacityCommandError = async (output, contex
|
|
|
2895
2733
|
...output,
|
|
2896
2734
|
body: await parseBody(output.body, context),
|
|
2897
2735
|
};
|
|
2898
|
-
let response;
|
|
2899
2736
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2900
2737
|
switch (errorCode) {
|
|
2901
2738
|
case "ResourceContentionFault":
|
|
@@ -2906,14 +2743,12 @@ const deserializeAws_querySetDesiredCapacityCommandError = async (output, contex
|
|
|
2906
2743
|
throw await deserializeAws_queryScalingActivityInProgressFaultResponse(parsedOutput, context);
|
|
2907
2744
|
default:
|
|
2908
2745
|
const parsedBody = parsedOutput.body;
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
$metadata,
|
|
2746
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2747
|
+
output,
|
|
2748
|
+
parsedBody: parsedBody.Error,
|
|
2749
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2750
|
+
errorCode,
|
|
2915
2751
|
});
|
|
2916
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2917
2752
|
}
|
|
2918
2753
|
};
|
|
2919
2754
|
const deserializeAws_querySetInstanceHealthCommand = async (output, context) => {
|
|
@@ -2932,7 +2767,6 @@ const deserializeAws_querySetInstanceHealthCommandError = async (output, context
|
|
|
2932
2767
|
...output,
|
|
2933
2768
|
body: await parseBody(output.body, context),
|
|
2934
2769
|
};
|
|
2935
|
-
let response;
|
|
2936
2770
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2937
2771
|
switch (errorCode) {
|
|
2938
2772
|
case "ResourceContentionFault":
|
|
@@ -2940,14 +2774,12 @@ const deserializeAws_querySetInstanceHealthCommandError = async (output, context
|
|
|
2940
2774
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2941
2775
|
default:
|
|
2942
2776
|
const parsedBody = parsedOutput.body;
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
$metadata,
|
|
2777
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2778
|
+
output,
|
|
2779
|
+
parsedBody: parsedBody.Error,
|
|
2780
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2781
|
+
errorCode,
|
|
2949
2782
|
});
|
|
2950
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2951
2783
|
}
|
|
2952
2784
|
};
|
|
2953
2785
|
const deserializeAws_querySetInstanceProtectionCommand = async (output, context) => {
|
|
@@ -2969,7 +2801,6 @@ const deserializeAws_querySetInstanceProtectionCommandError = async (output, con
|
|
|
2969
2801
|
...output,
|
|
2970
2802
|
body: await parseBody(output.body, context),
|
|
2971
2803
|
};
|
|
2972
|
-
let response;
|
|
2973
2804
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2974
2805
|
switch (errorCode) {
|
|
2975
2806
|
case "LimitExceededFault":
|
|
@@ -2980,14 +2811,12 @@ const deserializeAws_querySetInstanceProtectionCommandError = async (output, con
|
|
|
2980
2811
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
2981
2812
|
default:
|
|
2982
2813
|
const parsedBody = parsedOutput.body;
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
$metadata,
|
|
2814
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2815
|
+
output,
|
|
2816
|
+
parsedBody: parsedBody.Error,
|
|
2817
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2818
|
+
errorCode,
|
|
2989
2819
|
});
|
|
2990
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2991
2820
|
}
|
|
2992
2821
|
};
|
|
2993
2822
|
const deserializeAws_queryStartInstanceRefreshCommand = async (output, context) => {
|
|
@@ -3009,7 +2838,6 @@ const deserializeAws_queryStartInstanceRefreshCommandError = async (output, cont
|
|
|
3009
2838
|
...output,
|
|
3010
2839
|
body: await parseBody(output.body, context),
|
|
3011
2840
|
};
|
|
3012
|
-
let response;
|
|
3013
2841
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3014
2842
|
switch (errorCode) {
|
|
3015
2843
|
case "InstanceRefreshInProgressFault":
|
|
@@ -3023,14 +2851,12 @@ const deserializeAws_queryStartInstanceRefreshCommandError = async (output, cont
|
|
|
3023
2851
|
throw await deserializeAws_queryResourceContentionFaultResponse(parsedOutput, context);
|
|
3024
2852
|
default:
|
|
3025
2853
|
const parsedBody = parsedOutput.body;
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
$metadata,
|
|
2854
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2855
|
+
output,
|
|
2856
|
+
parsedBody: parsedBody.Error,
|
|
2857
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2858
|
+
errorCode,
|
|
3032
2859
|
});
|
|
3033
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3034
2860
|
}
|
|
3035
2861
|
};
|
|
3036
2862
|
const deserializeAws_querySuspendProcessesCommand = async (output, context) => {
|
|
@@ -3049,7 +2875,6 @@ const deserializeAws_querySuspendProcessesCommandError = async (output, context)
|
|
|
3049
2875
|
...output,
|
|
3050
2876
|
body: await parseBody(output.body, context),
|
|
3051
2877
|
};
|
|
3052
|
-
let response;
|
|
3053
2878
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3054
2879
|
switch (errorCode) {
|
|
3055
2880
|
case "ResourceContentionFault":
|
|
@@ -3060,14 +2885,12 @@ const deserializeAws_querySuspendProcessesCommandError = async (output, context)
|
|
|
3060
2885
|
throw await deserializeAws_queryResourceInUseFaultResponse(parsedOutput, context);
|
|
3061
2886
|
default:
|
|
3062
2887
|
const parsedBody = parsedOutput.body;
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
$metadata,
|
|
2888
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2889
|
+
output,
|
|
2890
|
+
parsedBody: parsedBody.Error,
|
|
2891
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2892
|
+
errorCode,
|
|
3069
2893
|
});
|
|
3070
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3071
2894
|
}
|
|
3072
2895
|
};
|
|
3073
2896
|
const deserializeAws_queryTerminateInstanceInAutoScalingGroupCommand = async (output, context) => {
|
|
@@ -3089,7 +2912,6 @@ const deserializeAws_queryTerminateInstanceInAutoScalingGroupCommandError = asyn
|
|
|
3089
2912
|
...output,
|
|
3090
2913
|
body: await parseBody(output.body, context),
|
|
3091
2914
|
};
|
|
3092
|
-
let response;
|
|
3093
2915
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3094
2916
|
switch (errorCode) {
|
|
3095
2917
|
case "ResourceContentionFault":
|
|
@@ -3100,14 +2922,12 @@ const deserializeAws_queryTerminateInstanceInAutoScalingGroupCommandError = asyn
|
|
|
3100
2922
|
throw await deserializeAws_queryScalingActivityInProgressFaultResponse(parsedOutput, context);
|
|
3101
2923
|
default:
|
|
3102
2924
|
const parsedBody = parsedOutput.body;
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
$metadata,
|
|
2925
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2926
|
+
output,
|
|
2927
|
+
parsedBody: parsedBody.Error,
|
|
2928
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2929
|
+
errorCode,
|
|
3109
2930
|
});
|
|
3110
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3111
2931
|
}
|
|
3112
2932
|
};
|
|
3113
2933
|
const deserializeAws_queryUpdateAutoScalingGroupCommand = async (output, context) => {
|
|
@@ -3126,7 +2946,6 @@ const deserializeAws_queryUpdateAutoScalingGroupCommandError = async (output, co
|
|
|
3126
2946
|
...output,
|
|
3127
2947
|
body: await parseBody(output.body, context),
|
|
3128
2948
|
};
|
|
3129
|
-
let response;
|
|
3130
2949
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3131
2950
|
switch (errorCode) {
|
|
3132
2951
|
case "ResourceContentionFault":
|
|
@@ -3140,14 +2959,12 @@ const deserializeAws_queryUpdateAutoScalingGroupCommandError = async (output, co
|
|
|
3140
2959
|
throw await deserializeAws_queryServiceLinkedRoleFailureResponse(parsedOutput, context);
|
|
3141
2960
|
default:
|
|
3142
2961
|
const parsedBody = parsedOutput.body;
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
$metadata,
|
|
2962
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2963
|
+
output,
|
|
2964
|
+
parsedBody: parsedBody.Error,
|
|
2965
|
+
exceptionCtor: AutoScalingServiceException_1.AutoScalingServiceException,
|
|
2966
|
+
errorCode,
|
|
3149
2967
|
});
|
|
3150
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3151
2968
|
}
|
|
3152
2969
|
};
|
|
3153
2970
|
const deserializeAws_queryActiveInstanceRefreshNotFoundFaultResponse = async (parsedOutput, context) => {
|
|
@@ -3233,10 +3050,10 @@ const deserializeAws_queryServiceLinkedRoleFailureResponse = async (parsedOutput
|
|
|
3233
3050
|
};
|
|
3234
3051
|
const serializeAws_queryAcceleratorCountRequest = (input, context) => {
|
|
3235
3052
|
const entries = {};
|
|
3236
|
-
if (input.Min
|
|
3053
|
+
if (input.Min != null) {
|
|
3237
3054
|
entries["Min"] = input.Min;
|
|
3238
3055
|
}
|
|
3239
|
-
if (input.Max
|
|
3056
|
+
if (input.Max != null) {
|
|
3240
3057
|
entries["Max"] = input.Max;
|
|
3241
3058
|
}
|
|
3242
3059
|
return entries;
|
|
@@ -3267,10 +3084,10 @@ const serializeAws_queryAcceleratorNames = (input, context) => {
|
|
|
3267
3084
|
};
|
|
3268
3085
|
const serializeAws_queryAcceleratorTotalMemoryMiBRequest = (input, context) => {
|
|
3269
3086
|
const entries = {};
|
|
3270
|
-
if (input.Min
|
|
3087
|
+
if (input.Min != null) {
|
|
3271
3088
|
entries["Min"] = input.Min;
|
|
3272
3089
|
}
|
|
3273
|
-
if (input.Max
|
|
3090
|
+
if (input.Max != null) {
|
|
3274
3091
|
entries["Max"] = input.Max;
|
|
3275
3092
|
}
|
|
3276
3093
|
return entries;
|
|
@@ -3301,24 +3118,24 @@ const serializeAws_queryActivityIds = (input, context) => {
|
|
|
3301
3118
|
};
|
|
3302
3119
|
const serializeAws_queryAttachInstancesQuery = (input, context) => {
|
|
3303
3120
|
const entries = {};
|
|
3304
|
-
if (input.InstanceIds
|
|
3121
|
+
if (input.InstanceIds != null) {
|
|
3305
3122
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
3306
3123
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3307
3124
|
const loc = `InstanceIds.${key}`;
|
|
3308
3125
|
entries[loc] = value;
|
|
3309
3126
|
});
|
|
3310
3127
|
}
|
|
3311
|
-
if (input.AutoScalingGroupName
|
|
3128
|
+
if (input.AutoScalingGroupName != null) {
|
|
3312
3129
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3313
3130
|
}
|
|
3314
3131
|
return entries;
|
|
3315
3132
|
};
|
|
3316
3133
|
const serializeAws_queryAttachLoadBalancersType = (input, context) => {
|
|
3317
3134
|
const entries = {};
|
|
3318
|
-
if (input.AutoScalingGroupName
|
|
3135
|
+
if (input.AutoScalingGroupName != null) {
|
|
3319
3136
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3320
3137
|
}
|
|
3321
|
-
if (input.LoadBalancerNames
|
|
3138
|
+
if (input.LoadBalancerNames != null) {
|
|
3322
3139
|
const memberEntries = serializeAws_queryLoadBalancerNames(input.LoadBalancerNames, context);
|
|
3323
3140
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3324
3141
|
const loc = `LoadBalancerNames.${key}`;
|
|
@@ -3329,10 +3146,10 @@ const serializeAws_queryAttachLoadBalancersType = (input, context) => {
|
|
|
3329
3146
|
};
|
|
3330
3147
|
const serializeAws_queryAttachLoadBalancerTargetGroupsType = (input, context) => {
|
|
3331
3148
|
const entries = {};
|
|
3332
|
-
if (input.AutoScalingGroupName
|
|
3149
|
+
if (input.AutoScalingGroupName != null) {
|
|
3333
3150
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3334
3151
|
}
|
|
3335
|
-
if (input.TargetGroupARNs
|
|
3152
|
+
if (input.TargetGroupARNs != null) {
|
|
3336
3153
|
const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context);
|
|
3337
3154
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3338
3155
|
const loc = `TargetGroupARNs.${key}`;
|
|
@@ -3355,20 +3172,20 @@ const serializeAws_queryAutoScalingGroupNames = (input, context) => {
|
|
|
3355
3172
|
};
|
|
3356
3173
|
const serializeAws_queryAutoScalingGroupNamesType = (input, context) => {
|
|
3357
3174
|
const entries = {};
|
|
3358
|
-
if (input.AutoScalingGroupNames
|
|
3175
|
+
if (input.AutoScalingGroupNames != null) {
|
|
3359
3176
|
const memberEntries = serializeAws_queryAutoScalingGroupNames(input.AutoScalingGroupNames, context);
|
|
3360
3177
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3361
3178
|
const loc = `AutoScalingGroupNames.${key}`;
|
|
3362
3179
|
entries[loc] = value;
|
|
3363
3180
|
});
|
|
3364
3181
|
}
|
|
3365
|
-
if (input.NextToken
|
|
3182
|
+
if (input.NextToken != null) {
|
|
3366
3183
|
entries["NextToken"] = input.NextToken;
|
|
3367
3184
|
}
|
|
3368
|
-
if (input.MaxRecords
|
|
3185
|
+
if (input.MaxRecords != null) {
|
|
3369
3186
|
entries["MaxRecords"] = input.MaxRecords;
|
|
3370
3187
|
}
|
|
3371
|
-
if (input.Filters
|
|
3188
|
+
if (input.Filters != null) {
|
|
3372
3189
|
const memberEntries = serializeAws_queryFilters(input.Filters, context);
|
|
3373
3190
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3374
3191
|
const loc = `Filters.${key}`;
|
|
@@ -3403,20 +3220,20 @@ const serializeAws_queryAvailabilityZones = (input, context) => {
|
|
|
3403
3220
|
};
|
|
3404
3221
|
const serializeAws_queryBaselineEbsBandwidthMbpsRequest = (input, context) => {
|
|
3405
3222
|
const entries = {};
|
|
3406
|
-
if (input.Min
|
|
3223
|
+
if (input.Min != null) {
|
|
3407
3224
|
entries["Min"] = input.Min;
|
|
3408
3225
|
}
|
|
3409
|
-
if (input.Max
|
|
3226
|
+
if (input.Max != null) {
|
|
3410
3227
|
entries["Max"] = input.Max;
|
|
3411
3228
|
}
|
|
3412
3229
|
return entries;
|
|
3413
3230
|
};
|
|
3414
3231
|
const serializeAws_queryBatchDeleteScheduledActionType = (input, context) => {
|
|
3415
3232
|
const entries = {};
|
|
3416
|
-
if (input.AutoScalingGroupName
|
|
3233
|
+
if (input.AutoScalingGroupName != null) {
|
|
3417
3234
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3418
3235
|
}
|
|
3419
|
-
if (input.ScheduledActionNames
|
|
3236
|
+
if (input.ScheduledActionNames != null) {
|
|
3420
3237
|
const memberEntries = serializeAws_queryScheduledActionNames(input.ScheduledActionNames, context);
|
|
3421
3238
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3422
3239
|
const loc = `ScheduledActionNames.${key}`;
|
|
@@ -3427,10 +3244,10 @@ const serializeAws_queryBatchDeleteScheduledActionType = (input, context) => {
|
|
|
3427
3244
|
};
|
|
3428
3245
|
const serializeAws_queryBatchPutScheduledUpdateGroupActionType = (input, context) => {
|
|
3429
3246
|
const entries = {};
|
|
3430
|
-
if (input.AutoScalingGroupName
|
|
3247
|
+
if (input.AutoScalingGroupName != null) {
|
|
3431
3248
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3432
3249
|
}
|
|
3433
|
-
if (input.ScheduledUpdateGroupActions
|
|
3250
|
+
if (input.ScheduledUpdateGroupActions != null) {
|
|
3434
3251
|
const memberEntries = serializeAws_queryScheduledUpdateGroupActionRequests(input.ScheduledUpdateGroupActions, context);
|
|
3435
3252
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3436
3253
|
const loc = `ScheduledUpdateGroupActions.${key}`;
|
|
@@ -3441,20 +3258,20 @@ const serializeAws_queryBatchPutScheduledUpdateGroupActionType = (input, context
|
|
|
3441
3258
|
};
|
|
3442
3259
|
const serializeAws_queryBlockDeviceMapping = (input, context) => {
|
|
3443
3260
|
const entries = {};
|
|
3444
|
-
if (input.VirtualName
|
|
3261
|
+
if (input.VirtualName != null) {
|
|
3445
3262
|
entries["VirtualName"] = input.VirtualName;
|
|
3446
3263
|
}
|
|
3447
|
-
if (input.DeviceName
|
|
3264
|
+
if (input.DeviceName != null) {
|
|
3448
3265
|
entries["DeviceName"] = input.DeviceName;
|
|
3449
3266
|
}
|
|
3450
|
-
if (input.Ebs
|
|
3267
|
+
if (input.Ebs != null) {
|
|
3451
3268
|
const memberEntries = serializeAws_queryEbs(input.Ebs, context);
|
|
3452
3269
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3453
3270
|
const loc = `Ebs.${key}`;
|
|
3454
3271
|
entries[loc] = value;
|
|
3455
3272
|
});
|
|
3456
3273
|
}
|
|
3457
|
-
if (input.NoDevice
|
|
3274
|
+
if (input.NoDevice != null) {
|
|
3458
3275
|
entries["NoDevice"] = input.NoDevice;
|
|
3459
3276
|
}
|
|
3460
3277
|
return entries;
|
|
@@ -3476,7 +3293,7 @@ const serializeAws_queryBlockDeviceMappings = (input, context) => {
|
|
|
3476
3293
|
};
|
|
3477
3294
|
const serializeAws_queryCancelInstanceRefreshType = (input, context) => {
|
|
3478
3295
|
const entries = {};
|
|
3479
|
-
if (input.AutoScalingGroupName
|
|
3296
|
+
if (input.AutoScalingGroupName != null) {
|
|
3480
3297
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3481
3298
|
}
|
|
3482
3299
|
return entries;
|
|
@@ -3507,19 +3324,19 @@ const serializeAws_queryClassicLinkVPCSecurityGroups = (input, context) => {
|
|
|
3507
3324
|
};
|
|
3508
3325
|
const serializeAws_queryCompleteLifecycleActionType = (input, context) => {
|
|
3509
3326
|
const entries = {};
|
|
3510
|
-
if (input.LifecycleHookName
|
|
3327
|
+
if (input.LifecycleHookName != null) {
|
|
3511
3328
|
entries["LifecycleHookName"] = input.LifecycleHookName;
|
|
3512
3329
|
}
|
|
3513
|
-
if (input.AutoScalingGroupName
|
|
3330
|
+
if (input.AutoScalingGroupName != null) {
|
|
3514
3331
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3515
3332
|
}
|
|
3516
|
-
if (input.LifecycleActionToken
|
|
3333
|
+
if (input.LifecycleActionToken != null) {
|
|
3517
3334
|
entries["LifecycleActionToken"] = input.LifecycleActionToken;
|
|
3518
3335
|
}
|
|
3519
|
-
if (input.LifecycleActionResult
|
|
3336
|
+
if (input.LifecycleActionResult != null) {
|
|
3520
3337
|
entries["LifecycleActionResult"] = input.LifecycleActionResult;
|
|
3521
3338
|
}
|
|
3522
|
-
if (input.InstanceId
|
|
3339
|
+
if (input.InstanceId != null) {
|
|
3523
3340
|
entries["InstanceId"] = input.InstanceId;
|
|
3524
3341
|
}
|
|
3525
3342
|
return entries;
|
|
@@ -3538,191 +3355,191 @@ const serializeAws_queryCpuManufacturers = (input, context) => {
|
|
|
3538
3355
|
};
|
|
3539
3356
|
const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
3540
3357
|
const entries = {};
|
|
3541
|
-
if (input.AutoScalingGroupName
|
|
3358
|
+
if (input.AutoScalingGroupName != null) {
|
|
3542
3359
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3543
3360
|
}
|
|
3544
|
-
if (input.LaunchConfigurationName
|
|
3361
|
+
if (input.LaunchConfigurationName != null) {
|
|
3545
3362
|
entries["LaunchConfigurationName"] = input.LaunchConfigurationName;
|
|
3546
3363
|
}
|
|
3547
|
-
if (input.LaunchTemplate
|
|
3364
|
+
if (input.LaunchTemplate != null) {
|
|
3548
3365
|
const memberEntries = serializeAws_queryLaunchTemplateSpecification(input.LaunchTemplate, context);
|
|
3549
3366
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3550
3367
|
const loc = `LaunchTemplate.${key}`;
|
|
3551
3368
|
entries[loc] = value;
|
|
3552
3369
|
});
|
|
3553
3370
|
}
|
|
3554
|
-
if (input.MixedInstancesPolicy
|
|
3371
|
+
if (input.MixedInstancesPolicy != null) {
|
|
3555
3372
|
const memberEntries = serializeAws_queryMixedInstancesPolicy(input.MixedInstancesPolicy, context);
|
|
3556
3373
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3557
3374
|
const loc = `MixedInstancesPolicy.${key}`;
|
|
3558
3375
|
entries[loc] = value;
|
|
3559
3376
|
});
|
|
3560
3377
|
}
|
|
3561
|
-
if (input.InstanceId
|
|
3378
|
+
if (input.InstanceId != null) {
|
|
3562
3379
|
entries["InstanceId"] = input.InstanceId;
|
|
3563
3380
|
}
|
|
3564
|
-
if (input.MinSize
|
|
3381
|
+
if (input.MinSize != null) {
|
|
3565
3382
|
entries["MinSize"] = input.MinSize;
|
|
3566
3383
|
}
|
|
3567
|
-
if (input.MaxSize
|
|
3384
|
+
if (input.MaxSize != null) {
|
|
3568
3385
|
entries["MaxSize"] = input.MaxSize;
|
|
3569
3386
|
}
|
|
3570
|
-
if (input.DesiredCapacity
|
|
3387
|
+
if (input.DesiredCapacity != null) {
|
|
3571
3388
|
entries["DesiredCapacity"] = input.DesiredCapacity;
|
|
3572
3389
|
}
|
|
3573
|
-
if (input.DefaultCooldown
|
|
3390
|
+
if (input.DefaultCooldown != null) {
|
|
3574
3391
|
entries["DefaultCooldown"] = input.DefaultCooldown;
|
|
3575
3392
|
}
|
|
3576
|
-
if (input.AvailabilityZones
|
|
3393
|
+
if (input.AvailabilityZones != null) {
|
|
3577
3394
|
const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context);
|
|
3578
3395
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3579
3396
|
const loc = `AvailabilityZones.${key}`;
|
|
3580
3397
|
entries[loc] = value;
|
|
3581
3398
|
});
|
|
3582
3399
|
}
|
|
3583
|
-
if (input.LoadBalancerNames
|
|
3400
|
+
if (input.LoadBalancerNames != null) {
|
|
3584
3401
|
const memberEntries = serializeAws_queryLoadBalancerNames(input.LoadBalancerNames, context);
|
|
3585
3402
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3586
3403
|
const loc = `LoadBalancerNames.${key}`;
|
|
3587
3404
|
entries[loc] = value;
|
|
3588
3405
|
});
|
|
3589
3406
|
}
|
|
3590
|
-
if (input.TargetGroupARNs
|
|
3407
|
+
if (input.TargetGroupARNs != null) {
|
|
3591
3408
|
const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context);
|
|
3592
3409
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3593
3410
|
const loc = `TargetGroupARNs.${key}`;
|
|
3594
3411
|
entries[loc] = value;
|
|
3595
3412
|
});
|
|
3596
3413
|
}
|
|
3597
|
-
if (input.HealthCheckType
|
|
3414
|
+
if (input.HealthCheckType != null) {
|
|
3598
3415
|
entries["HealthCheckType"] = input.HealthCheckType;
|
|
3599
3416
|
}
|
|
3600
|
-
if (input.HealthCheckGracePeriod
|
|
3417
|
+
if (input.HealthCheckGracePeriod != null) {
|
|
3601
3418
|
entries["HealthCheckGracePeriod"] = input.HealthCheckGracePeriod;
|
|
3602
3419
|
}
|
|
3603
|
-
if (input.PlacementGroup
|
|
3420
|
+
if (input.PlacementGroup != null) {
|
|
3604
3421
|
entries["PlacementGroup"] = input.PlacementGroup;
|
|
3605
3422
|
}
|
|
3606
|
-
if (input.VPCZoneIdentifier
|
|
3423
|
+
if (input.VPCZoneIdentifier != null) {
|
|
3607
3424
|
entries["VPCZoneIdentifier"] = input.VPCZoneIdentifier;
|
|
3608
3425
|
}
|
|
3609
|
-
if (input.TerminationPolicies
|
|
3426
|
+
if (input.TerminationPolicies != null) {
|
|
3610
3427
|
const memberEntries = serializeAws_queryTerminationPolicies(input.TerminationPolicies, context);
|
|
3611
3428
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3612
3429
|
const loc = `TerminationPolicies.${key}`;
|
|
3613
3430
|
entries[loc] = value;
|
|
3614
3431
|
});
|
|
3615
3432
|
}
|
|
3616
|
-
if (input.NewInstancesProtectedFromScaleIn
|
|
3433
|
+
if (input.NewInstancesProtectedFromScaleIn != null) {
|
|
3617
3434
|
entries["NewInstancesProtectedFromScaleIn"] = input.NewInstancesProtectedFromScaleIn;
|
|
3618
3435
|
}
|
|
3619
|
-
if (input.CapacityRebalance
|
|
3436
|
+
if (input.CapacityRebalance != null) {
|
|
3620
3437
|
entries["CapacityRebalance"] = input.CapacityRebalance;
|
|
3621
3438
|
}
|
|
3622
|
-
if (input.LifecycleHookSpecificationList
|
|
3439
|
+
if (input.LifecycleHookSpecificationList != null) {
|
|
3623
3440
|
const memberEntries = serializeAws_queryLifecycleHookSpecifications(input.LifecycleHookSpecificationList, context);
|
|
3624
3441
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3625
3442
|
const loc = `LifecycleHookSpecificationList.${key}`;
|
|
3626
3443
|
entries[loc] = value;
|
|
3627
3444
|
});
|
|
3628
3445
|
}
|
|
3629
|
-
if (input.Tags
|
|
3446
|
+
if (input.Tags != null) {
|
|
3630
3447
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3631
3448
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3632
3449
|
const loc = `Tags.${key}`;
|
|
3633
3450
|
entries[loc] = value;
|
|
3634
3451
|
});
|
|
3635
3452
|
}
|
|
3636
|
-
if (input.ServiceLinkedRoleARN
|
|
3453
|
+
if (input.ServiceLinkedRoleARN != null) {
|
|
3637
3454
|
entries["ServiceLinkedRoleARN"] = input.ServiceLinkedRoleARN;
|
|
3638
3455
|
}
|
|
3639
|
-
if (input.MaxInstanceLifetime
|
|
3456
|
+
if (input.MaxInstanceLifetime != null) {
|
|
3640
3457
|
entries["MaxInstanceLifetime"] = input.MaxInstanceLifetime;
|
|
3641
3458
|
}
|
|
3642
|
-
if (input.Context
|
|
3459
|
+
if (input.Context != null) {
|
|
3643
3460
|
entries["Context"] = input.Context;
|
|
3644
3461
|
}
|
|
3645
|
-
if (input.DesiredCapacityType
|
|
3462
|
+
if (input.DesiredCapacityType != null) {
|
|
3646
3463
|
entries["DesiredCapacityType"] = input.DesiredCapacityType;
|
|
3647
3464
|
}
|
|
3648
|
-
if (input.DefaultInstanceWarmup
|
|
3465
|
+
if (input.DefaultInstanceWarmup != null) {
|
|
3649
3466
|
entries["DefaultInstanceWarmup"] = input.DefaultInstanceWarmup;
|
|
3650
3467
|
}
|
|
3651
3468
|
return entries;
|
|
3652
3469
|
};
|
|
3653
3470
|
const serializeAws_queryCreateLaunchConfigurationType = (input, context) => {
|
|
3654
3471
|
const entries = {};
|
|
3655
|
-
if (input.LaunchConfigurationName
|
|
3472
|
+
if (input.LaunchConfigurationName != null) {
|
|
3656
3473
|
entries["LaunchConfigurationName"] = input.LaunchConfigurationName;
|
|
3657
3474
|
}
|
|
3658
|
-
if (input.ImageId
|
|
3475
|
+
if (input.ImageId != null) {
|
|
3659
3476
|
entries["ImageId"] = input.ImageId;
|
|
3660
3477
|
}
|
|
3661
|
-
if (input.KeyName
|
|
3478
|
+
if (input.KeyName != null) {
|
|
3662
3479
|
entries["KeyName"] = input.KeyName;
|
|
3663
3480
|
}
|
|
3664
|
-
if (input.SecurityGroups
|
|
3481
|
+
if (input.SecurityGroups != null) {
|
|
3665
3482
|
const memberEntries = serializeAws_querySecurityGroups(input.SecurityGroups, context);
|
|
3666
3483
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3667
3484
|
const loc = `SecurityGroups.${key}`;
|
|
3668
3485
|
entries[loc] = value;
|
|
3669
3486
|
});
|
|
3670
3487
|
}
|
|
3671
|
-
if (input.ClassicLinkVPCId
|
|
3488
|
+
if (input.ClassicLinkVPCId != null) {
|
|
3672
3489
|
entries["ClassicLinkVPCId"] = input.ClassicLinkVPCId;
|
|
3673
3490
|
}
|
|
3674
|
-
if (input.ClassicLinkVPCSecurityGroups
|
|
3491
|
+
if (input.ClassicLinkVPCSecurityGroups != null) {
|
|
3675
3492
|
const memberEntries = serializeAws_queryClassicLinkVPCSecurityGroups(input.ClassicLinkVPCSecurityGroups, context);
|
|
3676
3493
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3677
3494
|
const loc = `ClassicLinkVPCSecurityGroups.${key}`;
|
|
3678
3495
|
entries[loc] = value;
|
|
3679
3496
|
});
|
|
3680
3497
|
}
|
|
3681
|
-
if (input.UserData
|
|
3498
|
+
if (input.UserData != null) {
|
|
3682
3499
|
entries["UserData"] = input.UserData;
|
|
3683
3500
|
}
|
|
3684
|
-
if (input.InstanceId
|
|
3501
|
+
if (input.InstanceId != null) {
|
|
3685
3502
|
entries["InstanceId"] = input.InstanceId;
|
|
3686
3503
|
}
|
|
3687
|
-
if (input.InstanceType
|
|
3504
|
+
if (input.InstanceType != null) {
|
|
3688
3505
|
entries["InstanceType"] = input.InstanceType;
|
|
3689
3506
|
}
|
|
3690
|
-
if (input.KernelId
|
|
3507
|
+
if (input.KernelId != null) {
|
|
3691
3508
|
entries["KernelId"] = input.KernelId;
|
|
3692
3509
|
}
|
|
3693
|
-
if (input.RamdiskId
|
|
3510
|
+
if (input.RamdiskId != null) {
|
|
3694
3511
|
entries["RamdiskId"] = input.RamdiskId;
|
|
3695
3512
|
}
|
|
3696
|
-
if (input.BlockDeviceMappings
|
|
3513
|
+
if (input.BlockDeviceMappings != null) {
|
|
3697
3514
|
const memberEntries = serializeAws_queryBlockDeviceMappings(input.BlockDeviceMappings, context);
|
|
3698
3515
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3699
3516
|
const loc = `BlockDeviceMappings.${key}`;
|
|
3700
3517
|
entries[loc] = value;
|
|
3701
3518
|
});
|
|
3702
3519
|
}
|
|
3703
|
-
if (input.InstanceMonitoring
|
|
3520
|
+
if (input.InstanceMonitoring != null) {
|
|
3704
3521
|
const memberEntries = serializeAws_queryInstanceMonitoring(input.InstanceMonitoring, context);
|
|
3705
3522
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3706
3523
|
const loc = `InstanceMonitoring.${key}`;
|
|
3707
3524
|
entries[loc] = value;
|
|
3708
3525
|
});
|
|
3709
3526
|
}
|
|
3710
|
-
if (input.SpotPrice
|
|
3527
|
+
if (input.SpotPrice != null) {
|
|
3711
3528
|
entries["SpotPrice"] = input.SpotPrice;
|
|
3712
3529
|
}
|
|
3713
|
-
if (input.IamInstanceProfile
|
|
3530
|
+
if (input.IamInstanceProfile != null) {
|
|
3714
3531
|
entries["IamInstanceProfile"] = input.IamInstanceProfile;
|
|
3715
3532
|
}
|
|
3716
|
-
if (input.EbsOptimized
|
|
3533
|
+
if (input.EbsOptimized != null) {
|
|
3717
3534
|
entries["EbsOptimized"] = input.EbsOptimized;
|
|
3718
3535
|
}
|
|
3719
|
-
if (input.AssociatePublicIpAddress
|
|
3536
|
+
if (input.AssociatePublicIpAddress != null) {
|
|
3720
3537
|
entries["AssociatePublicIpAddress"] = input.AssociatePublicIpAddress;
|
|
3721
3538
|
}
|
|
3722
|
-
if (input.PlacementTenancy
|
|
3539
|
+
if (input.PlacementTenancy != null) {
|
|
3723
3540
|
entries["PlacementTenancy"] = input.PlacementTenancy;
|
|
3724
3541
|
}
|
|
3725
|
-
if (input.MetadataOptions
|
|
3542
|
+
if (input.MetadataOptions != null) {
|
|
3726
3543
|
const memberEntries = serializeAws_queryInstanceMetadataOptions(input.MetadataOptions, context);
|
|
3727
3544
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3728
3545
|
const loc = `MetadataOptions.${key}`;
|
|
@@ -3733,7 +3550,7 @@ const serializeAws_queryCreateLaunchConfigurationType = (input, context) => {
|
|
|
3733
3550
|
};
|
|
3734
3551
|
const serializeAws_queryCreateOrUpdateTagsType = (input, context) => {
|
|
3735
3552
|
const entries = {};
|
|
3736
|
-
if (input.Tags
|
|
3553
|
+
if (input.Tags != null) {
|
|
3737
3554
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3738
3555
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3739
3556
|
const loc = `Tags.${key}`;
|
|
@@ -3744,80 +3561,80 @@ const serializeAws_queryCreateOrUpdateTagsType = (input, context) => {
|
|
|
3744
3561
|
};
|
|
3745
3562
|
const serializeAws_queryCustomizedMetricSpecification = (input, context) => {
|
|
3746
3563
|
const entries = {};
|
|
3747
|
-
if (input.MetricName
|
|
3564
|
+
if (input.MetricName != null) {
|
|
3748
3565
|
entries["MetricName"] = input.MetricName;
|
|
3749
3566
|
}
|
|
3750
|
-
if (input.Namespace
|
|
3567
|
+
if (input.Namespace != null) {
|
|
3751
3568
|
entries["Namespace"] = input.Namespace;
|
|
3752
3569
|
}
|
|
3753
|
-
if (input.Dimensions
|
|
3570
|
+
if (input.Dimensions != null) {
|
|
3754
3571
|
const memberEntries = serializeAws_queryMetricDimensions(input.Dimensions, context);
|
|
3755
3572
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3756
3573
|
const loc = `Dimensions.${key}`;
|
|
3757
3574
|
entries[loc] = value;
|
|
3758
3575
|
});
|
|
3759
3576
|
}
|
|
3760
|
-
if (input.Statistic
|
|
3577
|
+
if (input.Statistic != null) {
|
|
3761
3578
|
entries["Statistic"] = input.Statistic;
|
|
3762
3579
|
}
|
|
3763
|
-
if (input.Unit
|
|
3580
|
+
if (input.Unit != null) {
|
|
3764
3581
|
entries["Unit"] = input.Unit;
|
|
3765
3582
|
}
|
|
3766
3583
|
return entries;
|
|
3767
3584
|
};
|
|
3768
3585
|
const serializeAws_queryDeleteAutoScalingGroupType = (input, context) => {
|
|
3769
3586
|
const entries = {};
|
|
3770
|
-
if (input.AutoScalingGroupName
|
|
3587
|
+
if (input.AutoScalingGroupName != null) {
|
|
3771
3588
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3772
3589
|
}
|
|
3773
|
-
if (input.ForceDelete
|
|
3590
|
+
if (input.ForceDelete != null) {
|
|
3774
3591
|
entries["ForceDelete"] = input.ForceDelete;
|
|
3775
3592
|
}
|
|
3776
3593
|
return entries;
|
|
3777
3594
|
};
|
|
3778
3595
|
const serializeAws_queryDeleteLifecycleHookType = (input, context) => {
|
|
3779
3596
|
const entries = {};
|
|
3780
|
-
if (input.LifecycleHookName
|
|
3597
|
+
if (input.LifecycleHookName != null) {
|
|
3781
3598
|
entries["LifecycleHookName"] = input.LifecycleHookName;
|
|
3782
3599
|
}
|
|
3783
|
-
if (input.AutoScalingGroupName
|
|
3600
|
+
if (input.AutoScalingGroupName != null) {
|
|
3784
3601
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3785
3602
|
}
|
|
3786
3603
|
return entries;
|
|
3787
3604
|
};
|
|
3788
3605
|
const serializeAws_queryDeleteNotificationConfigurationType = (input, context) => {
|
|
3789
3606
|
const entries = {};
|
|
3790
|
-
if (input.AutoScalingGroupName
|
|
3607
|
+
if (input.AutoScalingGroupName != null) {
|
|
3791
3608
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3792
3609
|
}
|
|
3793
|
-
if (input.TopicARN
|
|
3610
|
+
if (input.TopicARN != null) {
|
|
3794
3611
|
entries["TopicARN"] = input.TopicARN;
|
|
3795
3612
|
}
|
|
3796
3613
|
return entries;
|
|
3797
3614
|
};
|
|
3798
3615
|
const serializeAws_queryDeletePolicyType = (input, context) => {
|
|
3799
3616
|
const entries = {};
|
|
3800
|
-
if (input.AutoScalingGroupName
|
|
3617
|
+
if (input.AutoScalingGroupName != null) {
|
|
3801
3618
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3802
3619
|
}
|
|
3803
|
-
if (input.PolicyName
|
|
3620
|
+
if (input.PolicyName != null) {
|
|
3804
3621
|
entries["PolicyName"] = input.PolicyName;
|
|
3805
3622
|
}
|
|
3806
3623
|
return entries;
|
|
3807
3624
|
};
|
|
3808
3625
|
const serializeAws_queryDeleteScheduledActionType = (input, context) => {
|
|
3809
3626
|
const entries = {};
|
|
3810
|
-
if (input.AutoScalingGroupName
|
|
3627
|
+
if (input.AutoScalingGroupName != null) {
|
|
3811
3628
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3812
3629
|
}
|
|
3813
|
-
if (input.ScheduledActionName
|
|
3630
|
+
if (input.ScheduledActionName != null) {
|
|
3814
3631
|
entries["ScheduledActionName"] = input.ScheduledActionName;
|
|
3815
3632
|
}
|
|
3816
3633
|
return entries;
|
|
3817
3634
|
};
|
|
3818
3635
|
const serializeAws_queryDeleteTagsType = (input, context) => {
|
|
3819
3636
|
const entries = {};
|
|
3820
|
-
if (input.Tags
|
|
3637
|
+
if (input.Tags != null) {
|
|
3821
3638
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3822
3639
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3823
3640
|
const loc = `Tags.${key}`;
|
|
@@ -3828,57 +3645,57 @@ const serializeAws_queryDeleteTagsType = (input, context) => {
|
|
|
3828
3645
|
};
|
|
3829
3646
|
const serializeAws_queryDeleteWarmPoolType = (input, context) => {
|
|
3830
3647
|
const entries = {};
|
|
3831
|
-
if (input.AutoScalingGroupName
|
|
3648
|
+
if (input.AutoScalingGroupName != null) {
|
|
3832
3649
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3833
3650
|
}
|
|
3834
|
-
if (input.ForceDelete
|
|
3651
|
+
if (input.ForceDelete != null) {
|
|
3835
3652
|
entries["ForceDelete"] = input.ForceDelete;
|
|
3836
3653
|
}
|
|
3837
3654
|
return entries;
|
|
3838
3655
|
};
|
|
3839
3656
|
const serializeAws_queryDescribeAutoScalingInstancesType = (input, context) => {
|
|
3840
3657
|
const entries = {};
|
|
3841
|
-
if (input.InstanceIds
|
|
3658
|
+
if (input.InstanceIds != null) {
|
|
3842
3659
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
3843
3660
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3844
3661
|
const loc = `InstanceIds.${key}`;
|
|
3845
3662
|
entries[loc] = value;
|
|
3846
3663
|
});
|
|
3847
3664
|
}
|
|
3848
|
-
if (input.MaxRecords
|
|
3665
|
+
if (input.MaxRecords != null) {
|
|
3849
3666
|
entries["MaxRecords"] = input.MaxRecords;
|
|
3850
3667
|
}
|
|
3851
|
-
if (input.NextToken
|
|
3668
|
+
if (input.NextToken != null) {
|
|
3852
3669
|
entries["NextToken"] = input.NextToken;
|
|
3853
3670
|
}
|
|
3854
3671
|
return entries;
|
|
3855
3672
|
};
|
|
3856
3673
|
const serializeAws_queryDescribeInstanceRefreshesType = (input, context) => {
|
|
3857
3674
|
const entries = {};
|
|
3858
|
-
if (input.AutoScalingGroupName
|
|
3675
|
+
if (input.AutoScalingGroupName != null) {
|
|
3859
3676
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3860
3677
|
}
|
|
3861
|
-
if (input.InstanceRefreshIds
|
|
3678
|
+
if (input.InstanceRefreshIds != null) {
|
|
3862
3679
|
const memberEntries = serializeAws_queryInstanceRefreshIds(input.InstanceRefreshIds, context);
|
|
3863
3680
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3864
3681
|
const loc = `InstanceRefreshIds.${key}`;
|
|
3865
3682
|
entries[loc] = value;
|
|
3866
3683
|
});
|
|
3867
3684
|
}
|
|
3868
|
-
if (input.NextToken
|
|
3685
|
+
if (input.NextToken != null) {
|
|
3869
3686
|
entries["NextToken"] = input.NextToken;
|
|
3870
3687
|
}
|
|
3871
|
-
if (input.MaxRecords
|
|
3688
|
+
if (input.MaxRecords != null) {
|
|
3872
3689
|
entries["MaxRecords"] = input.MaxRecords;
|
|
3873
3690
|
}
|
|
3874
3691
|
return entries;
|
|
3875
3692
|
};
|
|
3876
3693
|
const serializeAws_queryDescribeLifecycleHooksType = (input, context) => {
|
|
3877
3694
|
const entries = {};
|
|
3878
|
-
if (input.AutoScalingGroupName
|
|
3695
|
+
if (input.AutoScalingGroupName != null) {
|
|
3879
3696
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3880
3697
|
}
|
|
3881
|
-
if (input.LifecycleHookNames
|
|
3698
|
+
if (input.LifecycleHookNames != null) {
|
|
3882
3699
|
const memberEntries = serializeAws_queryLifecycleHookNames(input.LifecycleHookNames, context);
|
|
3883
3700
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3884
3701
|
const loc = `LifecycleHookNames.${key}`;
|
|
@@ -3889,163 +3706,163 @@ const serializeAws_queryDescribeLifecycleHooksType = (input, context) => {
|
|
|
3889
3706
|
};
|
|
3890
3707
|
const serializeAws_queryDescribeLoadBalancersRequest = (input, context) => {
|
|
3891
3708
|
const entries = {};
|
|
3892
|
-
if (input.AutoScalingGroupName
|
|
3709
|
+
if (input.AutoScalingGroupName != null) {
|
|
3893
3710
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3894
3711
|
}
|
|
3895
|
-
if (input.NextToken
|
|
3712
|
+
if (input.NextToken != null) {
|
|
3896
3713
|
entries["NextToken"] = input.NextToken;
|
|
3897
3714
|
}
|
|
3898
|
-
if (input.MaxRecords
|
|
3715
|
+
if (input.MaxRecords != null) {
|
|
3899
3716
|
entries["MaxRecords"] = input.MaxRecords;
|
|
3900
3717
|
}
|
|
3901
3718
|
return entries;
|
|
3902
3719
|
};
|
|
3903
3720
|
const serializeAws_queryDescribeLoadBalancerTargetGroupsRequest = (input, context) => {
|
|
3904
3721
|
const entries = {};
|
|
3905
|
-
if (input.AutoScalingGroupName
|
|
3722
|
+
if (input.AutoScalingGroupName != null) {
|
|
3906
3723
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3907
3724
|
}
|
|
3908
|
-
if (input.NextToken
|
|
3725
|
+
if (input.NextToken != null) {
|
|
3909
3726
|
entries["NextToken"] = input.NextToken;
|
|
3910
3727
|
}
|
|
3911
|
-
if (input.MaxRecords
|
|
3728
|
+
if (input.MaxRecords != null) {
|
|
3912
3729
|
entries["MaxRecords"] = input.MaxRecords;
|
|
3913
3730
|
}
|
|
3914
3731
|
return entries;
|
|
3915
3732
|
};
|
|
3916
3733
|
const serializeAws_queryDescribeNotificationConfigurationsType = (input, context) => {
|
|
3917
3734
|
const entries = {};
|
|
3918
|
-
if (input.AutoScalingGroupNames
|
|
3735
|
+
if (input.AutoScalingGroupNames != null) {
|
|
3919
3736
|
const memberEntries = serializeAws_queryAutoScalingGroupNames(input.AutoScalingGroupNames, context);
|
|
3920
3737
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3921
3738
|
const loc = `AutoScalingGroupNames.${key}`;
|
|
3922
3739
|
entries[loc] = value;
|
|
3923
3740
|
});
|
|
3924
3741
|
}
|
|
3925
|
-
if (input.NextToken
|
|
3742
|
+
if (input.NextToken != null) {
|
|
3926
3743
|
entries["NextToken"] = input.NextToken;
|
|
3927
3744
|
}
|
|
3928
|
-
if (input.MaxRecords
|
|
3745
|
+
if (input.MaxRecords != null) {
|
|
3929
3746
|
entries["MaxRecords"] = input.MaxRecords;
|
|
3930
3747
|
}
|
|
3931
3748
|
return entries;
|
|
3932
3749
|
};
|
|
3933
3750
|
const serializeAws_queryDescribePoliciesType = (input, context) => {
|
|
3934
3751
|
const entries = {};
|
|
3935
|
-
if (input.AutoScalingGroupName
|
|
3752
|
+
if (input.AutoScalingGroupName != null) {
|
|
3936
3753
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3937
3754
|
}
|
|
3938
|
-
if (input.PolicyNames
|
|
3755
|
+
if (input.PolicyNames != null) {
|
|
3939
3756
|
const memberEntries = serializeAws_queryPolicyNames(input.PolicyNames, context);
|
|
3940
3757
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3941
3758
|
const loc = `PolicyNames.${key}`;
|
|
3942
3759
|
entries[loc] = value;
|
|
3943
3760
|
});
|
|
3944
3761
|
}
|
|
3945
|
-
if (input.PolicyTypes
|
|
3762
|
+
if (input.PolicyTypes != null) {
|
|
3946
3763
|
const memberEntries = serializeAws_queryPolicyTypes(input.PolicyTypes, context);
|
|
3947
3764
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3948
3765
|
const loc = `PolicyTypes.${key}`;
|
|
3949
3766
|
entries[loc] = value;
|
|
3950
3767
|
});
|
|
3951
3768
|
}
|
|
3952
|
-
if (input.NextToken
|
|
3769
|
+
if (input.NextToken != null) {
|
|
3953
3770
|
entries["NextToken"] = input.NextToken;
|
|
3954
3771
|
}
|
|
3955
|
-
if (input.MaxRecords
|
|
3772
|
+
if (input.MaxRecords != null) {
|
|
3956
3773
|
entries["MaxRecords"] = input.MaxRecords;
|
|
3957
3774
|
}
|
|
3958
3775
|
return entries;
|
|
3959
3776
|
};
|
|
3960
3777
|
const serializeAws_queryDescribeScalingActivitiesType = (input, context) => {
|
|
3961
3778
|
const entries = {};
|
|
3962
|
-
if (input.ActivityIds
|
|
3779
|
+
if (input.ActivityIds != null) {
|
|
3963
3780
|
const memberEntries = serializeAws_queryActivityIds(input.ActivityIds, context);
|
|
3964
3781
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3965
3782
|
const loc = `ActivityIds.${key}`;
|
|
3966
3783
|
entries[loc] = value;
|
|
3967
3784
|
});
|
|
3968
3785
|
}
|
|
3969
|
-
if (input.AutoScalingGroupName
|
|
3786
|
+
if (input.AutoScalingGroupName != null) {
|
|
3970
3787
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3971
3788
|
}
|
|
3972
|
-
if (input.IncludeDeletedGroups
|
|
3789
|
+
if (input.IncludeDeletedGroups != null) {
|
|
3973
3790
|
entries["IncludeDeletedGroups"] = input.IncludeDeletedGroups;
|
|
3974
3791
|
}
|
|
3975
|
-
if (input.MaxRecords
|
|
3792
|
+
if (input.MaxRecords != null) {
|
|
3976
3793
|
entries["MaxRecords"] = input.MaxRecords;
|
|
3977
3794
|
}
|
|
3978
|
-
if (input.NextToken
|
|
3795
|
+
if (input.NextToken != null) {
|
|
3979
3796
|
entries["NextToken"] = input.NextToken;
|
|
3980
3797
|
}
|
|
3981
3798
|
return entries;
|
|
3982
3799
|
};
|
|
3983
3800
|
const serializeAws_queryDescribeScheduledActionsType = (input, context) => {
|
|
3984
3801
|
const entries = {};
|
|
3985
|
-
if (input.AutoScalingGroupName
|
|
3802
|
+
if (input.AutoScalingGroupName != null) {
|
|
3986
3803
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
3987
3804
|
}
|
|
3988
|
-
if (input.ScheduledActionNames
|
|
3805
|
+
if (input.ScheduledActionNames != null) {
|
|
3989
3806
|
const memberEntries = serializeAws_queryScheduledActionNames(input.ScheduledActionNames, context);
|
|
3990
3807
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3991
3808
|
const loc = `ScheduledActionNames.${key}`;
|
|
3992
3809
|
entries[loc] = value;
|
|
3993
3810
|
});
|
|
3994
3811
|
}
|
|
3995
|
-
if (input.StartTime
|
|
3812
|
+
if (input.StartTime != null) {
|
|
3996
3813
|
entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z";
|
|
3997
3814
|
}
|
|
3998
|
-
if (input.EndTime
|
|
3815
|
+
if (input.EndTime != null) {
|
|
3999
3816
|
entries["EndTime"] = input.EndTime.toISOString().split(".")[0] + "Z";
|
|
4000
3817
|
}
|
|
4001
|
-
if (input.NextToken
|
|
3818
|
+
if (input.NextToken != null) {
|
|
4002
3819
|
entries["NextToken"] = input.NextToken;
|
|
4003
3820
|
}
|
|
4004
|
-
if (input.MaxRecords
|
|
3821
|
+
if (input.MaxRecords != null) {
|
|
4005
3822
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4006
3823
|
}
|
|
4007
3824
|
return entries;
|
|
4008
3825
|
};
|
|
4009
3826
|
const serializeAws_queryDescribeTagsType = (input, context) => {
|
|
4010
3827
|
const entries = {};
|
|
4011
|
-
if (input.Filters
|
|
3828
|
+
if (input.Filters != null) {
|
|
4012
3829
|
const memberEntries = serializeAws_queryFilters(input.Filters, context);
|
|
4013
3830
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4014
3831
|
const loc = `Filters.${key}`;
|
|
4015
3832
|
entries[loc] = value;
|
|
4016
3833
|
});
|
|
4017
3834
|
}
|
|
4018
|
-
if (input.NextToken
|
|
3835
|
+
if (input.NextToken != null) {
|
|
4019
3836
|
entries["NextToken"] = input.NextToken;
|
|
4020
3837
|
}
|
|
4021
|
-
if (input.MaxRecords
|
|
3838
|
+
if (input.MaxRecords != null) {
|
|
4022
3839
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4023
3840
|
}
|
|
4024
3841
|
return entries;
|
|
4025
3842
|
};
|
|
4026
3843
|
const serializeAws_queryDescribeWarmPoolType = (input, context) => {
|
|
4027
3844
|
const entries = {};
|
|
4028
|
-
if (input.AutoScalingGroupName
|
|
3845
|
+
if (input.AutoScalingGroupName != null) {
|
|
4029
3846
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
4030
3847
|
}
|
|
4031
|
-
if (input.MaxRecords
|
|
3848
|
+
if (input.MaxRecords != null) {
|
|
4032
3849
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4033
3850
|
}
|
|
4034
|
-
if (input.NextToken
|
|
3851
|
+
if (input.NextToken != null) {
|
|
4035
3852
|
entries["NextToken"] = input.NextToken;
|
|
4036
3853
|
}
|
|
4037
3854
|
return entries;
|
|
4038
3855
|
};
|
|
4039
3856
|
const serializeAws_queryDesiredConfiguration = (input, context) => {
|
|
4040
3857
|
const entries = {};
|
|
4041
|
-
if (input.LaunchTemplate
|
|
3858
|
+
if (input.LaunchTemplate != null) {
|
|
4042
3859
|
const memberEntries = serializeAws_queryLaunchTemplateSpecification(input.LaunchTemplate, context);
|
|
4043
3860
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4044
3861
|
const loc = `LaunchTemplate.${key}`;
|
|
4045
3862
|
entries[loc] = value;
|
|
4046
3863
|
});
|
|
4047
3864
|
}
|
|
4048
|
-
if (input.MixedInstancesPolicy
|
|
3865
|
+
if (input.MixedInstancesPolicy != null) {
|
|
4049
3866
|
const memberEntries = serializeAws_queryMixedInstancesPolicy(input.MixedInstancesPolicy, context);
|
|
4050
3867
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4051
3868
|
const loc = `MixedInstancesPolicy.${key}`;
|
|
@@ -4056,27 +3873,27 @@ const serializeAws_queryDesiredConfiguration = (input, context) => {
|
|
|
4056
3873
|
};
|
|
4057
3874
|
const serializeAws_queryDetachInstancesQuery = (input, context) => {
|
|
4058
3875
|
const entries = {};
|
|
4059
|
-
if (input.InstanceIds
|
|
3876
|
+
if (input.InstanceIds != null) {
|
|
4060
3877
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
4061
3878
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4062
3879
|
const loc = `InstanceIds.${key}`;
|
|
4063
3880
|
entries[loc] = value;
|
|
4064
3881
|
});
|
|
4065
3882
|
}
|
|
4066
|
-
if (input.AutoScalingGroupName
|
|
3883
|
+
if (input.AutoScalingGroupName != null) {
|
|
4067
3884
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
4068
3885
|
}
|
|
4069
|
-
if (input.ShouldDecrementDesiredCapacity
|
|
3886
|
+
if (input.ShouldDecrementDesiredCapacity != null) {
|
|
4070
3887
|
entries["ShouldDecrementDesiredCapacity"] = input.ShouldDecrementDesiredCapacity;
|
|
4071
3888
|
}
|
|
4072
3889
|
return entries;
|
|
4073
3890
|
};
|
|
4074
3891
|
const serializeAws_queryDetachLoadBalancersType = (input, context) => {
|
|
4075
3892
|
const entries = {};
|
|
4076
|
-
if (input.AutoScalingGroupName
|
|
3893
|
+
if (input.AutoScalingGroupName != null) {
|
|
4077
3894
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
4078
3895
|
}
|
|
4079
|
-
if (input.LoadBalancerNames
|
|
3896
|
+
if (input.LoadBalancerNames != null) {
|
|
4080
3897
|
const memberEntries = serializeAws_queryLoadBalancerNames(input.LoadBalancerNames, context);
|
|
4081
3898
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4082
3899
|
const loc = `LoadBalancerNames.${key}`;
|
|
@@ -4087,10 +3904,10 @@ const serializeAws_queryDetachLoadBalancersType = (input, context) => {
|
|
|
4087
3904
|
};
|
|
4088
3905
|
const serializeAws_queryDetachLoadBalancerTargetGroupsType = (input, context) => {
|
|
4089
3906
|
const entries = {};
|
|
4090
|
-
if (input.AutoScalingGroupName
|
|
3907
|
+
if (input.AutoScalingGroupName != null) {
|
|
4091
3908
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
4092
3909
|
}
|
|
4093
|
-
if (input.TargetGroupARNs
|
|
3910
|
+
if (input.TargetGroupARNs != null) {
|
|
4094
3911
|
const memberEntries = serializeAws_queryTargetGroupARNs(input.TargetGroupARNs, context);
|
|
4095
3912
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4096
3913
|
const loc = `TargetGroupARNs.${key}`;
|
|
@@ -4101,10 +3918,10 @@ const serializeAws_queryDetachLoadBalancerTargetGroupsType = (input, context) =>
|
|
|
4101
3918
|
};
|
|
4102
3919
|
const serializeAws_queryDisableMetricsCollectionQuery = (input, context) => {
|
|
4103
3920
|
const entries = {};
|
|
4104
|
-
if (input.AutoScalingGroupName
|
|
3921
|
+
if (input.AutoScalingGroupName != null) {
|
|
4105
3922
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
4106
3923
|
}
|
|
4107
|
-
if (input.Metrics
|
|
3924
|
+
if (input.Metrics != null) {
|
|
4108
3925
|
const memberEntries = serializeAws_queryMetrics(input.Metrics, context);
|
|
4109
3926
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4110
3927
|
const loc = `Metrics.${key}`;
|
|
@@ -4115,59 +3932,59 @@ const serializeAws_queryDisableMetricsCollectionQuery = (input, context) => {
|
|
|
4115
3932
|
};
|
|
4116
3933
|
const serializeAws_queryEbs = (input, context) => {
|
|
4117
3934
|
const entries = {};
|
|
4118
|
-
if (input.SnapshotId
|
|
3935
|
+
if (input.SnapshotId != null) {
|
|
4119
3936
|
entries["SnapshotId"] = input.SnapshotId;
|
|
4120
3937
|
}
|
|
4121
|
-
if (input.VolumeSize
|
|
3938
|
+
if (input.VolumeSize != null) {
|
|
4122
3939
|
entries["VolumeSize"] = input.VolumeSize;
|
|
4123
3940
|
}
|
|
4124
|
-
if (input.VolumeType
|
|
3941
|
+
if (input.VolumeType != null) {
|
|
4125
3942
|
entries["VolumeType"] = input.VolumeType;
|
|
4126
3943
|
}
|
|
4127
|
-
if (input.DeleteOnTermination
|
|
3944
|
+
if (input.DeleteOnTermination != null) {
|
|
4128
3945
|
entries["DeleteOnTermination"] = input.DeleteOnTermination;
|
|
4129
3946
|
}
|
|
4130
|
-
if (input.Iops
|
|
3947
|
+
if (input.Iops != null) {
|
|
4131
3948
|
entries["Iops"] = input.Iops;
|
|
4132
3949
|
}
|
|
4133
|
-
if (input.Encrypted
|
|
3950
|
+
if (input.Encrypted != null) {
|
|
4134
3951
|
entries["Encrypted"] = input.Encrypted;
|
|
4135
3952
|
}
|
|
4136
|
-
if (input.Throughput
|
|
3953
|
+
if (input.Throughput != null) {
|
|
4137
3954
|
entries["Throughput"] = input.Throughput;
|
|
4138
3955
|
}
|
|
4139
3956
|
return entries;
|
|
4140
3957
|
};
|
|
4141
3958
|
const serializeAws_queryEnableMetricsCollectionQuery = (input, context) => {
|
|
4142
3959
|
const entries = {};
|
|
4143
|
-
if (input.AutoScalingGroupName
|
|
3960
|
+
if (input.AutoScalingGroupName != null) {
|
|
4144
3961
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
4145
3962
|
}
|
|
4146
|
-
if (input.Metrics
|
|
3963
|
+
if (input.Metrics != null) {
|
|
4147
3964
|
const memberEntries = serializeAws_queryMetrics(input.Metrics, context);
|
|
4148
3965
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4149
3966
|
const loc = `Metrics.${key}`;
|
|
4150
3967
|
entries[loc] = value;
|
|
4151
3968
|
});
|
|
4152
3969
|
}
|
|
4153
|
-
if (input.Granularity
|
|
3970
|
+
if (input.Granularity != null) {
|
|
4154
3971
|
entries["Granularity"] = input.Granularity;
|
|
4155
3972
|
}
|
|
4156
3973
|
return entries;
|
|
4157
3974
|
};
|
|
4158
3975
|
const serializeAws_queryEnterStandbyQuery = (input, context) => {
|
|
4159
3976
|
const entries = {};
|
|
4160
|
-
if (input.InstanceIds
|
|
3977
|
+
if (input.InstanceIds != null) {
|
|
4161
3978
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
4162
3979
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4163
3980
|
const loc = `InstanceIds.${key}`;
|
|
4164
3981
|
entries[loc] = value;
|
|
4165
3982
|
});
|
|
4166
3983
|
}
|
|
4167
|
-
if (input.AutoScalingGroupName
|
|
3984
|
+
if (input.AutoScalingGroupName != null) {
|
|
4168
3985
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
4169
3986
|
}
|
|
4170
|
-
if (input.ShouldDecrementDesiredCapacity
|
|
3987
|
+
if (input.ShouldDecrementDesiredCapacity != null) {
|
|
4171
3988
|
entries["ShouldDecrementDesiredCapacity"] = input.ShouldDecrementDesiredCapacity;
|
|
4172
3989
|
}
|
|
4173
3990
|
return entries;
|
|
@@ -4186,43 +4003,43 @@ const serializeAws_queryExcludedInstanceTypes = (input, context) => {
|
|
|
4186
4003
|
};
|
|
4187
4004
|
const serializeAws_queryExecutePolicyType = (input, context) => {
|
|
4188
4005
|
const entries = {};
|
|
4189
|
-
if (input.AutoScalingGroupName
|
|
4006
|
+
if (input.AutoScalingGroupName != null) {
|
|
4190
4007
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
4191
4008
|
}
|
|
4192
|
-
if (input.PolicyName
|
|
4009
|
+
if (input.PolicyName != null) {
|
|
4193
4010
|
entries["PolicyName"] = input.PolicyName;
|
|
4194
4011
|
}
|
|
4195
|
-
if (input.HonorCooldown
|
|
4012
|
+
if (input.HonorCooldown != null) {
|
|
4196
4013
|
entries["HonorCooldown"] = input.HonorCooldown;
|
|
4197
4014
|
}
|
|
4198
|
-
if (input.MetricValue
|
|
4015
|
+
if (input.MetricValue != null) {
|
|
4199
4016
|
entries["MetricValue"] = (0, smithy_client_1.serializeFloat)(input.MetricValue);
|
|
4200
4017
|
}
|
|
4201
|
-
if (input.BreachThreshold
|
|
4018
|
+
if (input.BreachThreshold != null) {
|
|
4202
4019
|
entries["BreachThreshold"] = (0, smithy_client_1.serializeFloat)(input.BreachThreshold);
|
|
4203
4020
|
}
|
|
4204
4021
|
return entries;
|
|
4205
4022
|
};
|
|
4206
4023
|
const serializeAws_queryExitStandbyQuery = (input, context) => {
|
|
4207
4024
|
const entries = {};
|
|
4208
|
-
if (input.InstanceIds
|
|
4025
|
+
if (input.InstanceIds != null) {
|
|
4209
4026
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
4210
4027
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4211
4028
|
const loc = `InstanceIds.${key}`;
|
|
4212
4029
|
entries[loc] = value;
|
|
4213
4030
|
});
|
|
4214
4031
|
}
|
|
4215
|
-
if (input.AutoScalingGroupName
|
|
4032
|
+
if (input.AutoScalingGroupName != null) {
|
|
4216
4033
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
4217
4034
|
}
|
|
4218
4035
|
return entries;
|
|
4219
4036
|
};
|
|
4220
4037
|
const serializeAws_queryFilter = (input, context) => {
|
|
4221
4038
|
const entries = {};
|
|
4222
|
-
if (input.Name
|
|
4039
|
+
if (input.Name != null) {
|
|
4223
4040
|
entries["Name"] = input.Name;
|
|
4224
4041
|
}
|
|
4225
|
-
if (input.Values
|
|
4042
|
+
if (input.Values != null) {
|
|
4226
4043
|
const memberEntries = serializeAws_queryValues(input.Values, context);
|
|
4227
4044
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4228
4045
|
const loc = `Values.${key}`;
|
|
@@ -4248,16 +4065,16 @@ const serializeAws_queryFilters = (input, context) => {
|
|
|
4248
4065
|
};
|
|
4249
4066
|
const serializeAws_queryGetPredictiveScalingForecastType = (input, context) => {
|
|
4250
4067
|
const entries = {};
|
|
4251
|
-
if (input.AutoScalingGroupName
|
|
4068
|
+
if (input.AutoScalingGroupName != null) {
|
|
4252
4069
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
4253
4070
|
}
|
|
4254
|
-
if (input.PolicyName
|
|
4071
|
+
if (input.PolicyName != null) {
|
|
4255
4072
|
entries["PolicyName"] = input.PolicyName;
|
|
4256
4073
|
}
|
|
4257
|
-
if (input.StartTime
|
|
4074
|
+
if (input.StartTime != null) {
|
|
4258
4075
|
entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z";
|
|
4259
4076
|
}
|
|
4260
|
-
if (input.EndTime
|
|
4077
|
+
if (input.EndTime != null) {
|
|
4261
4078
|
entries["EndTime"] = input.EndTime.toISOString().split(".")[0] + "Z";
|
|
4262
4079
|
}
|
|
4263
4080
|
return entries;
|
|
@@ -4288,20 +4105,20 @@ const serializeAws_queryInstanceIds = (input, context) => {
|
|
|
4288
4105
|
};
|
|
4289
4106
|
const serializeAws_queryInstanceMetadataOptions = (input, context) => {
|
|
4290
4107
|
const entries = {};
|
|
4291
|
-
if (input.HttpTokens
|
|
4108
|
+
if (input.HttpTokens != null) {
|
|
4292
4109
|
entries["HttpTokens"] = input.HttpTokens;
|
|
4293
4110
|
}
|
|
4294
|
-
if (input.HttpPutResponseHopLimit
|
|
4111
|
+
if (input.HttpPutResponseHopLimit != null) {
|
|
4295
4112
|
entries["HttpPutResponseHopLimit"] = input.HttpPutResponseHopLimit;
|
|
4296
4113
|
}
|
|
4297
|
-
if (input.HttpEndpoint
|
|
4114
|
+
if (input.HttpEndpoint != null) {
|
|
4298
4115
|
entries["HttpEndpoint"] = input.HttpEndpoint;
|
|
4299
4116
|
}
|
|
4300
4117
|
return entries;
|
|
4301
4118
|
};
|
|
4302
4119
|
const serializeAws_queryInstanceMonitoring = (input, context) => {
|
|
4303
4120
|
const entries = {};
|
|
4304
|
-
if (input.Enabled
|
|
4121
|
+
if (input.Enabled != null) {
|
|
4305
4122
|
entries["Enabled"] = input.Enabled;
|
|
4306
4123
|
}
|
|
4307
4124
|
return entries;
|
|
@@ -4320,125 +4137,123 @@ const serializeAws_queryInstanceRefreshIds = (input, context) => {
|
|
|
4320
4137
|
};
|
|
4321
4138
|
const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
4322
4139
|
const entries = {};
|
|
4323
|
-
if (input.VCpuCount
|
|
4140
|
+
if (input.VCpuCount != null) {
|
|
4324
4141
|
const memberEntries = serializeAws_queryVCpuCountRequest(input.VCpuCount, context);
|
|
4325
4142
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4326
4143
|
const loc = `VCpuCount.${key}`;
|
|
4327
4144
|
entries[loc] = value;
|
|
4328
4145
|
});
|
|
4329
4146
|
}
|
|
4330
|
-
if (input.MemoryMiB
|
|
4147
|
+
if (input.MemoryMiB != null) {
|
|
4331
4148
|
const memberEntries = serializeAws_queryMemoryMiBRequest(input.MemoryMiB, context);
|
|
4332
4149
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4333
4150
|
const loc = `MemoryMiB.${key}`;
|
|
4334
4151
|
entries[loc] = value;
|
|
4335
4152
|
});
|
|
4336
4153
|
}
|
|
4337
|
-
if (input.CpuManufacturers
|
|
4154
|
+
if (input.CpuManufacturers != null) {
|
|
4338
4155
|
const memberEntries = serializeAws_queryCpuManufacturers(input.CpuManufacturers, context);
|
|
4339
4156
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4340
4157
|
const loc = `CpuManufacturers.${key}`;
|
|
4341
4158
|
entries[loc] = value;
|
|
4342
4159
|
});
|
|
4343
4160
|
}
|
|
4344
|
-
if (input.MemoryGiBPerVCpu
|
|
4161
|
+
if (input.MemoryGiBPerVCpu != null) {
|
|
4345
4162
|
const memberEntries = serializeAws_queryMemoryGiBPerVCpuRequest(input.MemoryGiBPerVCpu, context);
|
|
4346
4163
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4347
4164
|
const loc = `MemoryGiBPerVCpu.${key}`;
|
|
4348
4165
|
entries[loc] = value;
|
|
4349
4166
|
});
|
|
4350
4167
|
}
|
|
4351
|
-
if (input.ExcludedInstanceTypes
|
|
4168
|
+
if (input.ExcludedInstanceTypes != null) {
|
|
4352
4169
|
const memberEntries = serializeAws_queryExcludedInstanceTypes(input.ExcludedInstanceTypes, context);
|
|
4353
4170
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4354
4171
|
const loc = `ExcludedInstanceTypes.${key}`;
|
|
4355
4172
|
entries[loc] = value;
|
|
4356
4173
|
});
|
|
4357
4174
|
}
|
|
4358
|
-
if (input.InstanceGenerations
|
|
4175
|
+
if (input.InstanceGenerations != null) {
|
|
4359
4176
|
const memberEntries = serializeAws_queryInstanceGenerations(input.InstanceGenerations, context);
|
|
4360
4177
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4361
4178
|
const loc = `InstanceGenerations.${key}`;
|
|
4362
4179
|
entries[loc] = value;
|
|
4363
4180
|
});
|
|
4364
4181
|
}
|
|
4365
|
-
if (input.SpotMaxPricePercentageOverLowestPrice
|
|
4366
|
-
input.SpotMaxPricePercentageOverLowestPrice !== null) {
|
|
4182
|
+
if (input.SpotMaxPricePercentageOverLowestPrice != null) {
|
|
4367
4183
|
entries["SpotMaxPricePercentageOverLowestPrice"] = input.SpotMaxPricePercentageOverLowestPrice;
|
|
4368
4184
|
}
|
|
4369
|
-
if (input.OnDemandMaxPricePercentageOverLowestPrice
|
|
4370
|
-
input.OnDemandMaxPricePercentageOverLowestPrice !== null) {
|
|
4185
|
+
if (input.OnDemandMaxPricePercentageOverLowestPrice != null) {
|
|
4371
4186
|
entries["OnDemandMaxPricePercentageOverLowestPrice"] = input.OnDemandMaxPricePercentageOverLowestPrice;
|
|
4372
4187
|
}
|
|
4373
|
-
if (input.BareMetal
|
|
4188
|
+
if (input.BareMetal != null) {
|
|
4374
4189
|
entries["BareMetal"] = input.BareMetal;
|
|
4375
4190
|
}
|
|
4376
|
-
if (input.BurstablePerformance
|
|
4191
|
+
if (input.BurstablePerformance != null) {
|
|
4377
4192
|
entries["BurstablePerformance"] = input.BurstablePerformance;
|
|
4378
4193
|
}
|
|
4379
|
-
if (input.RequireHibernateSupport
|
|
4194
|
+
if (input.RequireHibernateSupport != null) {
|
|
4380
4195
|
entries["RequireHibernateSupport"] = input.RequireHibernateSupport;
|
|
4381
4196
|
}
|
|
4382
|
-
if (input.NetworkInterfaceCount
|
|
4197
|
+
if (input.NetworkInterfaceCount != null) {
|
|
4383
4198
|
const memberEntries = serializeAws_queryNetworkInterfaceCountRequest(input.NetworkInterfaceCount, context);
|
|
4384
4199
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4385
4200
|
const loc = `NetworkInterfaceCount.${key}`;
|
|
4386
4201
|
entries[loc] = value;
|
|
4387
4202
|
});
|
|
4388
4203
|
}
|
|
4389
|
-
if (input.LocalStorage
|
|
4204
|
+
if (input.LocalStorage != null) {
|
|
4390
4205
|
entries["LocalStorage"] = input.LocalStorage;
|
|
4391
4206
|
}
|
|
4392
|
-
if (input.LocalStorageTypes
|
|
4207
|
+
if (input.LocalStorageTypes != null) {
|
|
4393
4208
|
const memberEntries = serializeAws_queryLocalStorageTypes(input.LocalStorageTypes, context);
|
|
4394
4209
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4395
4210
|
const loc = `LocalStorageTypes.${key}`;
|
|
4396
4211
|
entries[loc] = value;
|
|
4397
4212
|
});
|
|
4398
4213
|
}
|
|
4399
|
-
if (input.TotalLocalStorageGB
|
|
4214
|
+
if (input.TotalLocalStorageGB != null) {
|
|
4400
4215
|
const memberEntries = serializeAws_queryTotalLocalStorageGBRequest(input.TotalLocalStorageGB, context);
|
|
4401
4216
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4402
4217
|
const loc = `TotalLocalStorageGB.${key}`;
|
|
4403
4218
|
entries[loc] = value;
|
|
4404
4219
|
});
|
|
4405
4220
|
}
|
|
4406
|
-
if (input.BaselineEbsBandwidthMbps
|
|
4221
|
+
if (input.BaselineEbsBandwidthMbps != null) {
|
|
4407
4222
|
const memberEntries = serializeAws_queryBaselineEbsBandwidthMbpsRequest(input.BaselineEbsBandwidthMbps, context);
|
|
4408
4223
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4409
4224
|
const loc = `BaselineEbsBandwidthMbps.${key}`;
|
|
4410
4225
|
entries[loc] = value;
|
|
4411
4226
|
});
|
|
4412
4227
|
}
|
|
4413
|
-
if (input.AcceleratorTypes
|
|
4228
|
+
if (input.AcceleratorTypes != null) {
|
|
4414
4229
|
const memberEntries = serializeAws_queryAcceleratorTypes(input.AcceleratorTypes, context);
|
|
4415
4230
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4416
4231
|
const loc = `AcceleratorTypes.${key}`;
|
|
4417
4232
|
entries[loc] = value;
|
|
4418
4233
|
});
|
|
4419
4234
|
}
|
|
4420
|
-
if (input.AcceleratorCount
|
|
4235
|
+
if (input.AcceleratorCount != null) {
|
|
4421
4236
|
const memberEntries = serializeAws_queryAcceleratorCountRequest(input.AcceleratorCount, context);
|
|
4422
4237
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4423
4238
|
const loc = `AcceleratorCount.${key}`;
|
|
4424
4239
|
entries[loc] = value;
|
|
4425
4240
|
});
|
|
4426
4241
|
}
|
|
4427
|
-
if (input.AcceleratorManufacturers
|
|
4242
|
+
if (input.AcceleratorManufacturers != null) {
|
|
4428
4243
|
const memberEntries = serializeAws_queryAcceleratorManufacturers(input.AcceleratorManufacturers, context);
|
|
4429
4244
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4430
4245
|
const loc = `AcceleratorManufacturers.${key}`;
|
|
4431
4246
|
entries[loc] = value;
|
|
4432
4247
|
});
|
|
4433
4248
|
}
|
|
4434
|
-
if (input.AcceleratorNames
|
|
4249
|
+
if (input.AcceleratorNames != null) {
|
|
4435
4250
|
const memberEntries = serializeAws_queryAcceleratorNames(input.AcceleratorNames, context);
|
|
4436
4251
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4437
4252
|
const loc = `AcceleratorNames.${key}`;
|
|
4438
4253
|
entries[loc] = value;
|
|
4439
4254
|
});
|
|
4440
4255
|
}
|
|
4441
|
-
if (input.AcceleratorTotalMemoryMiB
|
|
4256
|
+
if (input.AcceleratorTotalMemoryMiB != null) {
|
|
4442
4257
|
const memberEntries = serializeAws_queryAcceleratorTotalMemoryMiBRequest(input.AcceleratorTotalMemoryMiB, context);
|
|
4443
4258
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4444
4259
|
const loc = `AcceleratorTotalMemoryMiB.${key}`;
|
|
@@ -4449,29 +4264,29 @@ const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
|
4449
4264
|
};
|
|
4450
4265
|
const serializeAws_queryInstanceReusePolicy = (input, context) => {
|
|
4451
4266
|
const entries = {};
|
|
4452
|
-
if (input.ReuseOnScaleIn
|
|
4267
|
+
if (input.ReuseOnScaleIn != null) {
|
|
4453
4268
|
entries["ReuseOnScaleIn"] = input.ReuseOnScaleIn;
|
|
4454
4269
|
}
|
|
4455
4270
|
return entries;
|
|
4456
4271
|
};
|
|
4457
4272
|
const serializeAws_queryInstancesDistribution = (input, context) => {
|
|
4458
4273
|
const entries = {};
|
|
4459
|
-
if (input.OnDemandAllocationStrategy
|
|
4274
|
+
if (input.OnDemandAllocationStrategy != null) {
|
|
4460
4275
|
entries["OnDemandAllocationStrategy"] = input.OnDemandAllocationStrategy;
|
|
4461
4276
|
}
|
|
4462
|
-
if (input.OnDemandBaseCapacity
|
|
4277
|
+
if (input.OnDemandBaseCapacity != null) {
|
|
4463
4278
|
entries["OnDemandBaseCapacity"] = input.OnDemandBaseCapacity;
|
|
4464
4279
|
}
|
|
4465
|
-
if (input.OnDemandPercentageAboveBaseCapacity
|
|
4280
|
+
if (input.OnDemandPercentageAboveBaseCapacity != null) {
|
|
4466
4281
|
entries["OnDemandPercentageAboveBaseCapacity"] = input.OnDemandPercentageAboveBaseCapacity;
|
|
4467
4282
|
}
|
|
4468
|
-
if (input.SpotAllocationStrategy
|
|
4283
|
+
if (input.SpotAllocationStrategy != null) {
|
|
4469
4284
|
entries["SpotAllocationStrategy"] = input.SpotAllocationStrategy;
|
|
4470
4285
|
}
|
|
4471
|
-
if (input.SpotInstancePools
|
|
4286
|
+
if (input.SpotInstancePools != null) {
|
|
4472
4287
|
entries["SpotInstancePools"] = input.SpotInstancePools;
|
|
4473
4288
|
}
|
|
4474
|
-
if (input.SpotMaxPrice
|
|
4289
|
+
if (input.SpotMaxPrice != null) {
|
|
4475
4290
|
entries["SpotMaxPrice"] = input.SpotMaxPrice;
|
|
4476
4291
|
}
|
|
4477
4292
|
return entries;
|
|
@@ -4490,38 +4305,38 @@ const serializeAws_queryLaunchConfigurationNames = (input, context) => {
|
|
|
4490
4305
|
};
|
|
4491
4306
|
const serializeAws_queryLaunchConfigurationNamesType = (input, context) => {
|
|
4492
4307
|
const entries = {};
|
|
4493
|
-
if (input.LaunchConfigurationNames
|
|
4308
|
+
if (input.LaunchConfigurationNames != null) {
|
|
4494
4309
|
const memberEntries = serializeAws_queryLaunchConfigurationNames(input.LaunchConfigurationNames, context);
|
|
4495
4310
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4496
4311
|
const loc = `LaunchConfigurationNames.${key}`;
|
|
4497
4312
|
entries[loc] = value;
|
|
4498
4313
|
});
|
|
4499
4314
|
}
|
|
4500
|
-
if (input.NextToken
|
|
4315
|
+
if (input.NextToken != null) {
|
|
4501
4316
|
entries["NextToken"] = input.NextToken;
|
|
4502
4317
|
}
|
|
4503
|
-
if (input.MaxRecords
|
|
4318
|
+
if (input.MaxRecords != null) {
|
|
4504
4319
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4505
4320
|
}
|
|
4506
4321
|
return entries;
|
|
4507
4322
|
};
|
|
4508
4323
|
const serializeAws_queryLaunchConfigurationNameType = (input, context) => {
|
|
4509
4324
|
const entries = {};
|
|
4510
|
-
if (input.LaunchConfigurationName
|
|
4325
|
+
if (input.LaunchConfigurationName != null) {
|
|
4511
4326
|
entries["LaunchConfigurationName"] = input.LaunchConfigurationName;
|
|
4512
4327
|
}
|
|
4513
4328
|
return entries;
|
|
4514
4329
|
};
|
|
4515
4330
|
const serializeAws_queryLaunchTemplate = (input, context) => {
|
|
4516
4331
|
const entries = {};
|
|
4517
|
-
if (input.LaunchTemplateSpecification
|
|
4332
|
+
if (input.LaunchTemplateSpecification != null) {
|
|
4518
4333
|
const memberEntries = serializeAws_queryLaunchTemplateSpecification(input.LaunchTemplateSpecification, context);
|
|
4519
4334
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4520
4335
|
const loc = `LaunchTemplateSpecification.${key}`;
|
|
4521
4336
|
entries[loc] = value;
|
|
4522
4337
|
});
|
|
4523
4338
|
}
|
|
4524
|
-
if (input.Overrides
|
|
4339
|
+
if (input.Overrides != null) {
|
|
4525
4340
|
const memberEntries = serializeAws_queryOverrides(input.Overrides, context);
|
|
4526
4341
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4527
4342
|
const loc = `Overrides.${key}`;
|
|
@@ -4532,20 +4347,20 @@ const serializeAws_queryLaunchTemplate = (input, context) => {
|
|
|
4532
4347
|
};
|
|
4533
4348
|
const serializeAws_queryLaunchTemplateOverrides = (input, context) => {
|
|
4534
4349
|
const entries = {};
|
|
4535
|
-
if (input.InstanceType
|
|
4350
|
+
if (input.InstanceType != null) {
|
|
4536
4351
|
entries["InstanceType"] = input.InstanceType;
|
|
4537
4352
|
}
|
|
4538
|
-
if (input.WeightedCapacity
|
|
4353
|
+
if (input.WeightedCapacity != null) {
|
|
4539
4354
|
entries["WeightedCapacity"] = input.WeightedCapacity;
|
|
4540
4355
|
}
|
|
4541
|
-
if (input.LaunchTemplateSpecification
|
|
4356
|
+
if (input.LaunchTemplateSpecification != null) {
|
|
4542
4357
|
const memberEntries = serializeAws_queryLaunchTemplateSpecification(input.LaunchTemplateSpecification, context);
|
|
4543
4358
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4544
4359
|
const loc = `LaunchTemplateSpecification.${key}`;
|
|
4545
4360
|
entries[loc] = value;
|
|
4546
4361
|
});
|
|
4547
4362
|
}
|
|
4548
|
-
if (input.InstanceRequirements
|
|
4363
|
+
if (input.InstanceRequirements != null) {
|
|
4549
4364
|
const memberEntries = serializeAws_queryInstanceRequirements(input.InstanceRequirements, context);
|
|
4550
4365
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4551
4366
|
const loc = `InstanceRequirements.${key}`;
|
|
@@ -4556,13 +4371,13 @@ const serializeAws_queryLaunchTemplateOverrides = (input, context) => {
|
|
|
4556
4371
|
};
|
|
4557
4372
|
const serializeAws_queryLaunchTemplateSpecification = (input, context) => {
|
|
4558
4373
|
const entries = {};
|
|
4559
|
-
if (input.LaunchTemplateId
|
|
4374
|
+
if (input.LaunchTemplateId != null) {
|
|
4560
4375
|
entries["LaunchTemplateId"] = input.LaunchTemplateId;
|
|
4561
4376
|
}
|
|
4562
|
-
if (input.LaunchTemplateName
|
|
4377
|
+
if (input.LaunchTemplateName != null) {
|
|
4563
4378
|
entries["LaunchTemplateName"] = input.LaunchTemplateName;
|
|
4564
4379
|
}
|
|
4565
|
-
if (input.Version
|
|
4380
|
+
if (input.Version != null) {
|
|
4566
4381
|
entries["Version"] = input.Version;
|
|
4567
4382
|
}
|
|
4568
4383
|
return entries;
|
|
@@ -4581,25 +4396,25 @@ const serializeAws_queryLifecycleHookNames = (input, context) => {
|
|
|
4581
4396
|
};
|
|
4582
4397
|
const serializeAws_queryLifecycleHookSpecification = (input, context) => {
|
|
4583
4398
|
const entries = {};
|
|
4584
|
-
if (input.LifecycleHookName
|
|
4399
|
+
if (input.LifecycleHookName != null) {
|
|
4585
4400
|
entries["LifecycleHookName"] = input.LifecycleHookName;
|
|
4586
4401
|
}
|
|
4587
|
-
if (input.LifecycleTransition
|
|
4402
|
+
if (input.LifecycleTransition != null) {
|
|
4588
4403
|
entries["LifecycleTransition"] = input.LifecycleTransition;
|
|
4589
4404
|
}
|
|
4590
|
-
if (input.NotificationMetadata
|
|
4405
|
+
if (input.NotificationMetadata != null) {
|
|
4591
4406
|
entries["NotificationMetadata"] = input.NotificationMetadata;
|
|
4592
4407
|
}
|
|
4593
|
-
if (input.HeartbeatTimeout
|
|
4408
|
+
if (input.HeartbeatTimeout != null) {
|
|
4594
4409
|
entries["HeartbeatTimeout"] = input.HeartbeatTimeout;
|
|
4595
4410
|
}
|
|
4596
|
-
if (input.DefaultResult
|
|
4411
|
+
if (input.DefaultResult != null) {
|
|
4597
4412
|
entries["DefaultResult"] = input.DefaultResult;
|
|
4598
4413
|
}
|
|
4599
|
-
if (input.NotificationTargetARN
|
|
4414
|
+
if (input.NotificationTargetARN != null) {
|
|
4600
4415
|
entries["NotificationTargetARN"] = input.NotificationTargetARN;
|
|
4601
4416
|
}
|
|
4602
|
-
if (input.RoleARN
|
|
4417
|
+
if (input.RoleARN != null) {
|
|
4603
4418
|
entries["RoleARN"] = input.RoleARN;
|
|
4604
4419
|
}
|
|
4605
4420
|
return entries;
|
|
@@ -4645,33 +4460,33 @@ const serializeAws_queryLocalStorageTypes = (input, context) => {
|
|
|
4645
4460
|
};
|
|
4646
4461
|
const serializeAws_queryMemoryGiBPerVCpuRequest = (input, context) => {
|
|
4647
4462
|
const entries = {};
|
|
4648
|
-
if (input.Min
|
|
4463
|
+
if (input.Min != null) {
|
|
4649
4464
|
entries["Min"] = (0, smithy_client_1.serializeFloat)(input.Min);
|
|
4650
4465
|
}
|
|
4651
|
-
if (input.Max
|
|
4466
|
+
if (input.Max != null) {
|
|
4652
4467
|
entries["Max"] = (0, smithy_client_1.serializeFloat)(input.Max);
|
|
4653
4468
|
}
|
|
4654
4469
|
return entries;
|
|
4655
4470
|
};
|
|
4656
4471
|
const serializeAws_queryMemoryMiBRequest = (input, context) => {
|
|
4657
4472
|
const entries = {};
|
|
4658
|
-
if (input.Min
|
|
4473
|
+
if (input.Min != null) {
|
|
4659
4474
|
entries["Min"] = input.Min;
|
|
4660
4475
|
}
|
|
4661
|
-
if (input.Max
|
|
4476
|
+
if (input.Max != null) {
|
|
4662
4477
|
entries["Max"] = input.Max;
|
|
4663
4478
|
}
|
|
4664
4479
|
return entries;
|
|
4665
4480
|
};
|
|
4666
4481
|
const serializeAws_queryMetric = (input, context) => {
|
|
4667
4482
|
const entries = {};
|
|
4668
|
-
if (input.Namespace
|
|
4483
|
+
if (input.Namespace != null) {
|
|
4669
4484
|
entries["Namespace"] = input.Namespace;
|
|
4670
4485
|
}
|
|
4671
|
-
if (input.MetricName
|
|
4486
|
+
if (input.MetricName != null) {
|
|
4672
4487
|
entries["MetricName"] = input.MetricName;
|
|
4673
4488
|
}
|
|
4674
|
-
if (input.Dimensions
|
|
4489
|
+
if (input.Dimensions != null) {
|
|
4675
4490
|
const memberEntries = serializeAws_queryMetricDimensions(input.Dimensions, context);
|
|
4676
4491
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4677
4492
|
const loc = `Dimensions.${key}`;
|
|
@@ -4697,33 +4512,33 @@ const serializeAws_queryMetricDataQueries = (input, context) => {
|
|
|
4697
4512
|
};
|
|
4698
4513
|
const serializeAws_queryMetricDataQuery = (input, context) => {
|
|
4699
4514
|
const entries = {};
|
|
4700
|
-
if (input.Id
|
|
4515
|
+
if (input.Id != null) {
|
|
4701
4516
|
entries["Id"] = input.Id;
|
|
4702
4517
|
}
|
|
4703
|
-
if (input.Expression
|
|
4518
|
+
if (input.Expression != null) {
|
|
4704
4519
|
entries["Expression"] = input.Expression;
|
|
4705
4520
|
}
|
|
4706
|
-
if (input.MetricStat
|
|
4521
|
+
if (input.MetricStat != null) {
|
|
4707
4522
|
const memberEntries = serializeAws_queryMetricStat(input.MetricStat, context);
|
|
4708
4523
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4709
4524
|
const loc = `MetricStat.${key}`;
|
|
4710
4525
|
entries[loc] = value;
|
|
4711
4526
|
});
|
|
4712
4527
|
}
|
|
4713
|
-
if (input.Label
|
|
4528
|
+
if (input.Label != null) {
|
|
4714
4529
|
entries["Label"] = input.Label;
|
|
4715
4530
|
}
|
|
4716
|
-
if (input.ReturnData
|
|
4531
|
+
if (input.ReturnData != null) {
|
|
4717
4532
|
entries["ReturnData"] = input.ReturnData;
|
|
4718
4533
|
}
|
|
4719
4534
|
return entries;
|
|
4720
4535
|
};
|
|
4721
4536
|
const serializeAws_queryMetricDimension = (input, context) => {
|
|
4722
4537
|
const entries = {};
|
|
4723
|
-
if (input.Name
|
|
4538
|
+
if (input.Name != null) {
|
|
4724
4539
|
entries["Name"] = input.Name;
|
|
4725
4540
|
}
|
|
4726
|
-
if (input.Value
|
|
4541
|
+
if (input.Value != null) {
|
|
4727
4542
|
entries["Value"] = input.Value;
|
|
4728
4543
|
}
|
|
4729
4544
|
return entries;
|
|
@@ -4757,31 +4572,31 @@ const serializeAws_queryMetrics = (input, context) => {
|
|
|
4757
4572
|
};
|
|
4758
4573
|
const serializeAws_queryMetricStat = (input, context) => {
|
|
4759
4574
|
const entries = {};
|
|
4760
|
-
if (input.Metric
|
|
4575
|
+
if (input.Metric != null) {
|
|
4761
4576
|
const memberEntries = serializeAws_queryMetric(input.Metric, context);
|
|
4762
4577
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4763
4578
|
const loc = `Metric.${key}`;
|
|
4764
4579
|
entries[loc] = value;
|
|
4765
4580
|
});
|
|
4766
4581
|
}
|
|
4767
|
-
if (input.Stat
|
|
4582
|
+
if (input.Stat != null) {
|
|
4768
4583
|
entries["Stat"] = input.Stat;
|
|
4769
4584
|
}
|
|
4770
|
-
if (input.Unit
|
|
4585
|
+
if (input.Unit != null) {
|
|
4771
4586
|
entries["Unit"] = input.Unit;
|
|
4772
4587
|
}
|
|
4773
4588
|
return entries;
|
|
4774
4589
|
};
|
|
4775
4590
|
const serializeAws_queryMixedInstancesPolicy = (input, context) => {
|
|
4776
4591
|
const entries = {};
|
|
4777
|
-
if (input.LaunchTemplate
|
|
4592
|
+
if (input.LaunchTemplate != null) {
|
|
4778
4593
|
const memberEntries = serializeAws_queryLaunchTemplate(input.LaunchTemplate, context);
|
|
4779
4594
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4780
4595
|
const loc = `LaunchTemplate.${key}`;
|
|
4781
4596
|
entries[loc] = value;
|
|
4782
4597
|
});
|
|
4783
4598
|
}
|
|
4784
|
-
if (input.InstancesDistribution
|
|
4599
|
+
if (input.InstancesDistribution != null) {
|
|
4785
4600
|
const memberEntries = serializeAws_queryInstancesDistribution(input.InstancesDistribution, context);
|
|
4786
4601
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4787
4602
|
const loc = `InstancesDistribution.${key}`;
|
|
@@ -4792,10 +4607,10 @@ const serializeAws_queryMixedInstancesPolicy = (input, context) => {
|
|
|
4792
4607
|
};
|
|
4793
4608
|
const serializeAws_queryNetworkInterfaceCountRequest = (input, context) => {
|
|
4794
4609
|
const entries = {};
|
|
4795
|
-
if (input.Min
|
|
4610
|
+
if (input.Min != null) {
|
|
4796
4611
|
entries["Min"] = input.Min;
|
|
4797
4612
|
}
|
|
4798
|
-
if (input.Max
|
|
4613
|
+
if (input.Max != null) {
|
|
4799
4614
|
entries["Max"] = input.Max;
|
|
4800
4615
|
}
|
|
4801
4616
|
return entries;
|
|
@@ -4841,40 +4656,40 @@ const serializeAws_queryPolicyTypes = (input, context) => {
|
|
|
4841
4656
|
};
|
|
4842
4657
|
const serializeAws_queryPredefinedMetricSpecification = (input, context) => {
|
|
4843
4658
|
const entries = {};
|
|
4844
|
-
if (input.PredefinedMetricType
|
|
4659
|
+
if (input.PredefinedMetricType != null) {
|
|
4845
4660
|
entries["PredefinedMetricType"] = input.PredefinedMetricType;
|
|
4846
4661
|
}
|
|
4847
|
-
if (input.ResourceLabel
|
|
4662
|
+
if (input.ResourceLabel != null) {
|
|
4848
4663
|
entries["ResourceLabel"] = input.ResourceLabel;
|
|
4849
4664
|
}
|
|
4850
4665
|
return entries;
|
|
4851
4666
|
};
|
|
4852
4667
|
const serializeAws_queryPredictiveScalingConfiguration = (input, context) => {
|
|
4853
4668
|
const entries = {};
|
|
4854
|
-
if (input.MetricSpecifications
|
|
4669
|
+
if (input.MetricSpecifications != null) {
|
|
4855
4670
|
const memberEntries = serializeAws_queryPredictiveScalingMetricSpecifications(input.MetricSpecifications, context);
|
|
4856
4671
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4857
4672
|
const loc = `MetricSpecifications.${key}`;
|
|
4858
4673
|
entries[loc] = value;
|
|
4859
4674
|
});
|
|
4860
4675
|
}
|
|
4861
|
-
if (input.Mode
|
|
4676
|
+
if (input.Mode != null) {
|
|
4862
4677
|
entries["Mode"] = input.Mode;
|
|
4863
4678
|
}
|
|
4864
|
-
if (input.SchedulingBufferTime
|
|
4679
|
+
if (input.SchedulingBufferTime != null) {
|
|
4865
4680
|
entries["SchedulingBufferTime"] = input.SchedulingBufferTime;
|
|
4866
4681
|
}
|
|
4867
|
-
if (input.MaxCapacityBreachBehavior
|
|
4682
|
+
if (input.MaxCapacityBreachBehavior != null) {
|
|
4868
4683
|
entries["MaxCapacityBreachBehavior"] = input.MaxCapacityBreachBehavior;
|
|
4869
4684
|
}
|
|
4870
|
-
if (input.MaxCapacityBuffer
|
|
4685
|
+
if (input.MaxCapacityBuffer != null) {
|
|
4871
4686
|
entries["MaxCapacityBuffer"] = input.MaxCapacityBuffer;
|
|
4872
4687
|
}
|
|
4873
4688
|
return entries;
|
|
4874
4689
|
};
|
|
4875
4690
|
const serializeAws_queryPredictiveScalingCustomizedCapacityMetric = (input, context) => {
|
|
4876
4691
|
const entries = {};
|
|
4877
|
-
if (input.MetricDataQueries
|
|
4692
|
+
if (input.MetricDataQueries != null) {
|
|
4878
4693
|
const memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
|
|
4879
4694
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4880
4695
|
const loc = `MetricDataQueries.${key}`;
|
|
@@ -4885,7 +4700,7 @@ const serializeAws_queryPredictiveScalingCustomizedCapacityMetric = (input, cont
|
|
|
4885
4700
|
};
|
|
4886
4701
|
const serializeAws_queryPredictiveScalingCustomizedLoadMetric = (input, context) => {
|
|
4887
4702
|
const entries = {};
|
|
4888
|
-
if (input.MetricDataQueries
|
|
4703
|
+
if (input.MetricDataQueries != null) {
|
|
4889
4704
|
const memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
|
|
4890
4705
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4891
4706
|
const loc = `MetricDataQueries.${key}`;
|
|
@@ -4896,7 +4711,7 @@ const serializeAws_queryPredictiveScalingCustomizedLoadMetric = (input, context)
|
|
|
4896
4711
|
};
|
|
4897
4712
|
const serializeAws_queryPredictiveScalingCustomizedScalingMetric = (input, context) => {
|
|
4898
4713
|
const entries = {};
|
|
4899
|
-
if (input.MetricDataQueries
|
|
4714
|
+
if (input.MetricDataQueries != null) {
|
|
4900
4715
|
const memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
|
|
4901
4716
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4902
4717
|
const loc = `MetricDataQueries.${key}`;
|
|
@@ -4907,46 +4722,45 @@ const serializeAws_queryPredictiveScalingCustomizedScalingMetric = (input, conte
|
|
|
4907
4722
|
};
|
|
4908
4723
|
const serializeAws_queryPredictiveScalingMetricSpecification = (input, context) => {
|
|
4909
4724
|
const entries = {};
|
|
4910
|
-
if (input.TargetValue
|
|
4725
|
+
if (input.TargetValue != null) {
|
|
4911
4726
|
entries["TargetValue"] = (0, smithy_client_1.serializeFloat)(input.TargetValue);
|
|
4912
4727
|
}
|
|
4913
|
-
if (input.PredefinedMetricPairSpecification
|
|
4728
|
+
if (input.PredefinedMetricPairSpecification != null) {
|
|
4914
4729
|
const memberEntries = serializeAws_queryPredictiveScalingPredefinedMetricPair(input.PredefinedMetricPairSpecification, context);
|
|
4915
4730
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4916
4731
|
const loc = `PredefinedMetricPairSpecification.${key}`;
|
|
4917
4732
|
entries[loc] = value;
|
|
4918
4733
|
});
|
|
4919
4734
|
}
|
|
4920
|
-
if (input.PredefinedScalingMetricSpecification
|
|
4735
|
+
if (input.PredefinedScalingMetricSpecification != null) {
|
|
4921
4736
|
const memberEntries = serializeAws_queryPredictiveScalingPredefinedScalingMetric(input.PredefinedScalingMetricSpecification, context);
|
|
4922
4737
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4923
4738
|
const loc = `PredefinedScalingMetricSpecification.${key}`;
|
|
4924
4739
|
entries[loc] = value;
|
|
4925
4740
|
});
|
|
4926
4741
|
}
|
|
4927
|
-
if (input.PredefinedLoadMetricSpecification
|
|
4742
|
+
if (input.PredefinedLoadMetricSpecification != null) {
|
|
4928
4743
|
const memberEntries = serializeAws_queryPredictiveScalingPredefinedLoadMetric(input.PredefinedLoadMetricSpecification, context);
|
|
4929
4744
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4930
4745
|
const loc = `PredefinedLoadMetricSpecification.${key}`;
|
|
4931
4746
|
entries[loc] = value;
|
|
4932
4747
|
});
|
|
4933
4748
|
}
|
|
4934
|
-
if (input.CustomizedScalingMetricSpecification
|
|
4749
|
+
if (input.CustomizedScalingMetricSpecification != null) {
|
|
4935
4750
|
const memberEntries = serializeAws_queryPredictiveScalingCustomizedScalingMetric(input.CustomizedScalingMetricSpecification, context);
|
|
4936
4751
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4937
4752
|
const loc = `CustomizedScalingMetricSpecification.${key}`;
|
|
4938
4753
|
entries[loc] = value;
|
|
4939
4754
|
});
|
|
4940
4755
|
}
|
|
4941
|
-
if (input.CustomizedLoadMetricSpecification
|
|
4756
|
+
if (input.CustomizedLoadMetricSpecification != null) {
|
|
4942
4757
|
const memberEntries = serializeAws_queryPredictiveScalingCustomizedLoadMetric(input.CustomizedLoadMetricSpecification, context);
|
|
4943
4758
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4944
4759
|
const loc = `CustomizedLoadMetricSpecification.${key}`;
|
|
4945
4760
|
entries[loc] = value;
|
|
4946
4761
|
});
|
|
4947
4762
|
}
|
|
4948
|
-
if (input.CustomizedCapacityMetricSpecification
|
|
4949
|
-
input.CustomizedCapacityMetricSpecification !== null) {
|
|
4763
|
+
if (input.CustomizedCapacityMetricSpecification != null) {
|
|
4950
4764
|
const memberEntries = serializeAws_queryPredictiveScalingCustomizedCapacityMetric(input.CustomizedCapacityMetricSpecification, context);
|
|
4951
4765
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4952
4766
|
const loc = `CustomizedCapacityMetricSpecification.${key}`;
|
|
@@ -4972,30 +4786,30 @@ const serializeAws_queryPredictiveScalingMetricSpecifications = (input, context)
|
|
|
4972
4786
|
};
|
|
4973
4787
|
const serializeAws_queryPredictiveScalingPredefinedLoadMetric = (input, context) => {
|
|
4974
4788
|
const entries = {};
|
|
4975
|
-
if (input.PredefinedMetricType
|
|
4789
|
+
if (input.PredefinedMetricType != null) {
|
|
4976
4790
|
entries["PredefinedMetricType"] = input.PredefinedMetricType;
|
|
4977
4791
|
}
|
|
4978
|
-
if (input.ResourceLabel
|
|
4792
|
+
if (input.ResourceLabel != null) {
|
|
4979
4793
|
entries["ResourceLabel"] = input.ResourceLabel;
|
|
4980
4794
|
}
|
|
4981
4795
|
return entries;
|
|
4982
4796
|
};
|
|
4983
4797
|
const serializeAws_queryPredictiveScalingPredefinedMetricPair = (input, context) => {
|
|
4984
4798
|
const entries = {};
|
|
4985
|
-
if (input.PredefinedMetricType
|
|
4799
|
+
if (input.PredefinedMetricType != null) {
|
|
4986
4800
|
entries["PredefinedMetricType"] = input.PredefinedMetricType;
|
|
4987
4801
|
}
|
|
4988
|
-
if (input.ResourceLabel
|
|
4802
|
+
if (input.ResourceLabel != null) {
|
|
4989
4803
|
entries["ResourceLabel"] = input.ResourceLabel;
|
|
4990
4804
|
}
|
|
4991
4805
|
return entries;
|
|
4992
4806
|
};
|
|
4993
4807
|
const serializeAws_queryPredictiveScalingPredefinedScalingMetric = (input, context) => {
|
|
4994
4808
|
const entries = {};
|
|
4995
|
-
if (input.PredefinedMetricType
|
|
4809
|
+
if (input.PredefinedMetricType != null) {
|
|
4996
4810
|
entries["PredefinedMetricType"] = input.PredefinedMetricType;
|
|
4997
4811
|
}
|
|
4998
|
-
if (input.ResourceLabel
|
|
4812
|
+
if (input.ResourceLabel != null) {
|
|
4999
4813
|
entries["ResourceLabel"] = input.ResourceLabel;
|
|
5000
4814
|
}
|
|
5001
4815
|
return entries;
|
|
@@ -5014,41 +4828,41 @@ const serializeAws_queryProcessNames = (input, context) => {
|
|
|
5014
4828
|
};
|
|
5015
4829
|
const serializeAws_queryPutLifecycleHookType = (input, context) => {
|
|
5016
4830
|
const entries = {};
|
|
5017
|
-
if (input.LifecycleHookName
|
|
4831
|
+
if (input.LifecycleHookName != null) {
|
|
5018
4832
|
entries["LifecycleHookName"] = input.LifecycleHookName;
|
|
5019
4833
|
}
|
|
5020
|
-
if (input.AutoScalingGroupName
|
|
4834
|
+
if (input.AutoScalingGroupName != null) {
|
|
5021
4835
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
5022
4836
|
}
|
|
5023
|
-
if (input.LifecycleTransition
|
|
4837
|
+
if (input.LifecycleTransition != null) {
|
|
5024
4838
|
entries["LifecycleTransition"] = input.LifecycleTransition;
|
|
5025
4839
|
}
|
|
5026
|
-
if (input.RoleARN
|
|
4840
|
+
if (input.RoleARN != null) {
|
|
5027
4841
|
entries["RoleARN"] = input.RoleARN;
|
|
5028
4842
|
}
|
|
5029
|
-
if (input.NotificationTargetARN
|
|
4843
|
+
if (input.NotificationTargetARN != null) {
|
|
5030
4844
|
entries["NotificationTargetARN"] = input.NotificationTargetARN;
|
|
5031
4845
|
}
|
|
5032
|
-
if (input.NotificationMetadata
|
|
4846
|
+
if (input.NotificationMetadata != null) {
|
|
5033
4847
|
entries["NotificationMetadata"] = input.NotificationMetadata;
|
|
5034
4848
|
}
|
|
5035
|
-
if (input.HeartbeatTimeout
|
|
4849
|
+
if (input.HeartbeatTimeout != null) {
|
|
5036
4850
|
entries["HeartbeatTimeout"] = input.HeartbeatTimeout;
|
|
5037
4851
|
}
|
|
5038
|
-
if (input.DefaultResult
|
|
4852
|
+
if (input.DefaultResult != null) {
|
|
5039
4853
|
entries["DefaultResult"] = input.DefaultResult;
|
|
5040
4854
|
}
|
|
5041
4855
|
return entries;
|
|
5042
4856
|
};
|
|
5043
4857
|
const serializeAws_queryPutNotificationConfigurationType = (input, context) => {
|
|
5044
4858
|
const entries = {};
|
|
5045
|
-
if (input.AutoScalingGroupName
|
|
4859
|
+
if (input.AutoScalingGroupName != null) {
|
|
5046
4860
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
5047
4861
|
}
|
|
5048
|
-
if (input.TopicARN
|
|
4862
|
+
if (input.TopicARN != null) {
|
|
5049
4863
|
entries["TopicARN"] = input.TopicARN;
|
|
5050
4864
|
}
|
|
5051
|
-
if (input.NotificationTypes
|
|
4865
|
+
if (input.NotificationTypes != null) {
|
|
5052
4866
|
const memberEntries = serializeAws_queryAutoScalingNotificationTypes(input.NotificationTypes, context);
|
|
5053
4867
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5054
4868
|
const loc = `NotificationTypes.${key}`;
|
|
@@ -5059,54 +4873,54 @@ const serializeAws_queryPutNotificationConfigurationType = (input, context) => {
|
|
|
5059
4873
|
};
|
|
5060
4874
|
const serializeAws_queryPutScalingPolicyType = (input, context) => {
|
|
5061
4875
|
const entries = {};
|
|
5062
|
-
if (input.AutoScalingGroupName
|
|
4876
|
+
if (input.AutoScalingGroupName != null) {
|
|
5063
4877
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
5064
4878
|
}
|
|
5065
|
-
if (input.PolicyName
|
|
4879
|
+
if (input.PolicyName != null) {
|
|
5066
4880
|
entries["PolicyName"] = input.PolicyName;
|
|
5067
4881
|
}
|
|
5068
|
-
if (input.PolicyType
|
|
4882
|
+
if (input.PolicyType != null) {
|
|
5069
4883
|
entries["PolicyType"] = input.PolicyType;
|
|
5070
4884
|
}
|
|
5071
|
-
if (input.AdjustmentType
|
|
4885
|
+
if (input.AdjustmentType != null) {
|
|
5072
4886
|
entries["AdjustmentType"] = input.AdjustmentType;
|
|
5073
4887
|
}
|
|
5074
|
-
if (input.MinAdjustmentStep
|
|
4888
|
+
if (input.MinAdjustmentStep != null) {
|
|
5075
4889
|
entries["MinAdjustmentStep"] = input.MinAdjustmentStep;
|
|
5076
4890
|
}
|
|
5077
|
-
if (input.MinAdjustmentMagnitude
|
|
4891
|
+
if (input.MinAdjustmentMagnitude != null) {
|
|
5078
4892
|
entries["MinAdjustmentMagnitude"] = input.MinAdjustmentMagnitude;
|
|
5079
4893
|
}
|
|
5080
|
-
if (input.ScalingAdjustment
|
|
4894
|
+
if (input.ScalingAdjustment != null) {
|
|
5081
4895
|
entries["ScalingAdjustment"] = input.ScalingAdjustment;
|
|
5082
4896
|
}
|
|
5083
|
-
if (input.Cooldown
|
|
4897
|
+
if (input.Cooldown != null) {
|
|
5084
4898
|
entries["Cooldown"] = input.Cooldown;
|
|
5085
4899
|
}
|
|
5086
|
-
if (input.MetricAggregationType
|
|
4900
|
+
if (input.MetricAggregationType != null) {
|
|
5087
4901
|
entries["MetricAggregationType"] = input.MetricAggregationType;
|
|
5088
4902
|
}
|
|
5089
|
-
if (input.StepAdjustments
|
|
4903
|
+
if (input.StepAdjustments != null) {
|
|
5090
4904
|
const memberEntries = serializeAws_queryStepAdjustments(input.StepAdjustments, context);
|
|
5091
4905
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5092
4906
|
const loc = `StepAdjustments.${key}`;
|
|
5093
4907
|
entries[loc] = value;
|
|
5094
4908
|
});
|
|
5095
4909
|
}
|
|
5096
|
-
if (input.EstimatedInstanceWarmup
|
|
4910
|
+
if (input.EstimatedInstanceWarmup != null) {
|
|
5097
4911
|
entries["EstimatedInstanceWarmup"] = input.EstimatedInstanceWarmup;
|
|
5098
4912
|
}
|
|
5099
|
-
if (input.TargetTrackingConfiguration
|
|
4913
|
+
if (input.TargetTrackingConfiguration != null) {
|
|
5100
4914
|
const memberEntries = serializeAws_queryTargetTrackingConfiguration(input.TargetTrackingConfiguration, context);
|
|
5101
4915
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5102
4916
|
const loc = `TargetTrackingConfiguration.${key}`;
|
|
5103
4917
|
entries[loc] = value;
|
|
5104
4918
|
});
|
|
5105
4919
|
}
|
|
5106
|
-
if (input.Enabled
|
|
4920
|
+
if (input.Enabled != null) {
|
|
5107
4921
|
entries["Enabled"] = input.Enabled;
|
|
5108
4922
|
}
|
|
5109
|
-
if (input.PredictiveScalingConfiguration
|
|
4923
|
+
if (input.PredictiveScalingConfiguration != null) {
|
|
5110
4924
|
const memberEntries = serializeAws_queryPredictiveScalingConfiguration(input.PredictiveScalingConfiguration, context);
|
|
5111
4925
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5112
4926
|
const loc = `PredictiveScalingConfiguration.${key}`;
|
|
@@ -5117,53 +4931,53 @@ const serializeAws_queryPutScalingPolicyType = (input, context) => {
|
|
|
5117
4931
|
};
|
|
5118
4932
|
const serializeAws_queryPutScheduledUpdateGroupActionType = (input, context) => {
|
|
5119
4933
|
const entries = {};
|
|
5120
|
-
if (input.AutoScalingGroupName
|
|
4934
|
+
if (input.AutoScalingGroupName != null) {
|
|
5121
4935
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
5122
4936
|
}
|
|
5123
|
-
if (input.ScheduledActionName
|
|
4937
|
+
if (input.ScheduledActionName != null) {
|
|
5124
4938
|
entries["ScheduledActionName"] = input.ScheduledActionName;
|
|
5125
4939
|
}
|
|
5126
|
-
if (input.Time
|
|
4940
|
+
if (input.Time != null) {
|
|
5127
4941
|
entries["Time"] = input.Time.toISOString().split(".")[0] + "Z";
|
|
5128
4942
|
}
|
|
5129
|
-
if (input.StartTime
|
|
4943
|
+
if (input.StartTime != null) {
|
|
5130
4944
|
entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z";
|
|
5131
4945
|
}
|
|
5132
|
-
if (input.EndTime
|
|
4946
|
+
if (input.EndTime != null) {
|
|
5133
4947
|
entries["EndTime"] = input.EndTime.toISOString().split(".")[0] + "Z";
|
|
5134
4948
|
}
|
|
5135
|
-
if (input.Recurrence
|
|
4949
|
+
if (input.Recurrence != null) {
|
|
5136
4950
|
entries["Recurrence"] = input.Recurrence;
|
|
5137
4951
|
}
|
|
5138
|
-
if (input.MinSize
|
|
4952
|
+
if (input.MinSize != null) {
|
|
5139
4953
|
entries["MinSize"] = input.MinSize;
|
|
5140
4954
|
}
|
|
5141
|
-
if (input.MaxSize
|
|
4955
|
+
if (input.MaxSize != null) {
|
|
5142
4956
|
entries["MaxSize"] = input.MaxSize;
|
|
5143
4957
|
}
|
|
5144
|
-
if (input.DesiredCapacity
|
|
4958
|
+
if (input.DesiredCapacity != null) {
|
|
5145
4959
|
entries["DesiredCapacity"] = input.DesiredCapacity;
|
|
5146
4960
|
}
|
|
5147
|
-
if (input.TimeZone
|
|
4961
|
+
if (input.TimeZone != null) {
|
|
5148
4962
|
entries["TimeZone"] = input.TimeZone;
|
|
5149
4963
|
}
|
|
5150
4964
|
return entries;
|
|
5151
4965
|
};
|
|
5152
4966
|
const serializeAws_queryPutWarmPoolType = (input, context) => {
|
|
5153
4967
|
const entries = {};
|
|
5154
|
-
if (input.AutoScalingGroupName
|
|
4968
|
+
if (input.AutoScalingGroupName != null) {
|
|
5155
4969
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
5156
4970
|
}
|
|
5157
|
-
if (input.MaxGroupPreparedCapacity
|
|
4971
|
+
if (input.MaxGroupPreparedCapacity != null) {
|
|
5158
4972
|
entries["MaxGroupPreparedCapacity"] = input.MaxGroupPreparedCapacity;
|
|
5159
4973
|
}
|
|
5160
|
-
if (input.MinSize
|
|
4974
|
+
if (input.MinSize != null) {
|
|
5161
4975
|
entries["MinSize"] = input.MinSize;
|
|
5162
4976
|
}
|
|
5163
|
-
if (input.PoolState
|
|
4977
|
+
if (input.PoolState != null) {
|
|
5164
4978
|
entries["PoolState"] = input.PoolState;
|
|
5165
4979
|
}
|
|
5166
|
-
if (input.InstanceReusePolicy
|
|
4980
|
+
if (input.InstanceReusePolicy != null) {
|
|
5167
4981
|
const memberEntries = serializeAws_queryInstanceReusePolicy(input.InstanceReusePolicy, context);
|
|
5168
4982
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5169
4983
|
const loc = `InstanceReusePolicy.${key}`;
|
|
@@ -5174,49 +4988,49 @@ const serializeAws_queryPutWarmPoolType = (input, context) => {
|
|
|
5174
4988
|
};
|
|
5175
4989
|
const serializeAws_queryRecordLifecycleActionHeartbeatType = (input, context) => {
|
|
5176
4990
|
const entries = {};
|
|
5177
|
-
if (input.LifecycleHookName
|
|
4991
|
+
if (input.LifecycleHookName != null) {
|
|
5178
4992
|
entries["LifecycleHookName"] = input.LifecycleHookName;
|
|
5179
4993
|
}
|
|
5180
|
-
if (input.AutoScalingGroupName
|
|
4994
|
+
if (input.AutoScalingGroupName != null) {
|
|
5181
4995
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
5182
4996
|
}
|
|
5183
|
-
if (input.LifecycleActionToken
|
|
4997
|
+
if (input.LifecycleActionToken != null) {
|
|
5184
4998
|
entries["LifecycleActionToken"] = input.LifecycleActionToken;
|
|
5185
4999
|
}
|
|
5186
|
-
if (input.InstanceId
|
|
5000
|
+
if (input.InstanceId != null) {
|
|
5187
5001
|
entries["InstanceId"] = input.InstanceId;
|
|
5188
5002
|
}
|
|
5189
5003
|
return entries;
|
|
5190
5004
|
};
|
|
5191
5005
|
const serializeAws_queryRefreshPreferences = (input, context) => {
|
|
5192
5006
|
const entries = {};
|
|
5193
|
-
if (input.MinHealthyPercentage
|
|
5007
|
+
if (input.MinHealthyPercentage != null) {
|
|
5194
5008
|
entries["MinHealthyPercentage"] = input.MinHealthyPercentage;
|
|
5195
5009
|
}
|
|
5196
|
-
if (input.InstanceWarmup
|
|
5010
|
+
if (input.InstanceWarmup != null) {
|
|
5197
5011
|
entries["InstanceWarmup"] = input.InstanceWarmup;
|
|
5198
5012
|
}
|
|
5199
|
-
if (input.CheckpointPercentages
|
|
5013
|
+
if (input.CheckpointPercentages != null) {
|
|
5200
5014
|
const memberEntries = serializeAws_queryCheckpointPercentages(input.CheckpointPercentages, context);
|
|
5201
5015
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5202
5016
|
const loc = `CheckpointPercentages.${key}`;
|
|
5203
5017
|
entries[loc] = value;
|
|
5204
5018
|
});
|
|
5205
5019
|
}
|
|
5206
|
-
if (input.CheckpointDelay
|
|
5020
|
+
if (input.CheckpointDelay != null) {
|
|
5207
5021
|
entries["CheckpointDelay"] = input.CheckpointDelay;
|
|
5208
5022
|
}
|
|
5209
|
-
if (input.SkipMatching
|
|
5023
|
+
if (input.SkipMatching != null) {
|
|
5210
5024
|
entries["SkipMatching"] = input.SkipMatching;
|
|
5211
5025
|
}
|
|
5212
5026
|
return entries;
|
|
5213
5027
|
};
|
|
5214
5028
|
const serializeAws_queryScalingProcessQuery = (input, context) => {
|
|
5215
5029
|
const entries = {};
|
|
5216
|
-
if (input.AutoScalingGroupName
|
|
5030
|
+
if (input.AutoScalingGroupName != null) {
|
|
5217
5031
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
5218
5032
|
}
|
|
5219
|
-
if (input.ScalingProcesses
|
|
5033
|
+
if (input.ScalingProcesses != null) {
|
|
5220
5034
|
const memberEntries = serializeAws_queryProcessNames(input.ScalingProcesses, context);
|
|
5221
5035
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5222
5036
|
const loc = `ScalingProcesses.${key}`;
|
|
@@ -5239,28 +5053,28 @@ const serializeAws_queryScheduledActionNames = (input, context) => {
|
|
|
5239
5053
|
};
|
|
5240
5054
|
const serializeAws_queryScheduledUpdateGroupActionRequest = (input, context) => {
|
|
5241
5055
|
const entries = {};
|
|
5242
|
-
if (input.ScheduledActionName
|
|
5056
|
+
if (input.ScheduledActionName != null) {
|
|
5243
5057
|
entries["ScheduledActionName"] = input.ScheduledActionName;
|
|
5244
5058
|
}
|
|
5245
|
-
if (input.StartTime
|
|
5059
|
+
if (input.StartTime != null) {
|
|
5246
5060
|
entries["StartTime"] = input.StartTime.toISOString().split(".")[0] + "Z";
|
|
5247
5061
|
}
|
|
5248
|
-
if (input.EndTime
|
|
5062
|
+
if (input.EndTime != null) {
|
|
5249
5063
|
entries["EndTime"] = input.EndTime.toISOString().split(".")[0] + "Z";
|
|
5250
5064
|
}
|
|
5251
|
-
if (input.Recurrence
|
|
5065
|
+
if (input.Recurrence != null) {
|
|
5252
5066
|
entries["Recurrence"] = input.Recurrence;
|
|
5253
5067
|
}
|
|
5254
|
-
if (input.MinSize
|
|
5068
|
+
if (input.MinSize != null) {
|
|
5255
5069
|
entries["MinSize"] = input.MinSize;
|
|
5256
5070
|
}
|
|
5257
|
-
if (input.MaxSize
|
|
5071
|
+
if (input.MaxSize != null) {
|
|
5258
5072
|
entries["MaxSize"] = input.MaxSize;
|
|
5259
5073
|
}
|
|
5260
|
-
if (input.DesiredCapacity
|
|
5074
|
+
if (input.DesiredCapacity != null) {
|
|
5261
5075
|
entries["DesiredCapacity"] = input.DesiredCapacity;
|
|
5262
5076
|
}
|
|
5263
|
-
if (input.TimeZone
|
|
5077
|
+
if (input.TimeZone != null) {
|
|
5264
5078
|
entries["TimeZone"] = input.TimeZone;
|
|
5265
5079
|
}
|
|
5266
5080
|
return entries;
|
|
@@ -5294,63 +5108,63 @@ const serializeAws_querySecurityGroups = (input, context) => {
|
|
|
5294
5108
|
};
|
|
5295
5109
|
const serializeAws_querySetDesiredCapacityType = (input, context) => {
|
|
5296
5110
|
const entries = {};
|
|
5297
|
-
if (input.AutoScalingGroupName
|
|
5111
|
+
if (input.AutoScalingGroupName != null) {
|
|
5298
5112
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
5299
5113
|
}
|
|
5300
|
-
if (input.DesiredCapacity
|
|
5114
|
+
if (input.DesiredCapacity != null) {
|
|
5301
5115
|
entries["DesiredCapacity"] = input.DesiredCapacity;
|
|
5302
5116
|
}
|
|
5303
|
-
if (input.HonorCooldown
|
|
5117
|
+
if (input.HonorCooldown != null) {
|
|
5304
5118
|
entries["HonorCooldown"] = input.HonorCooldown;
|
|
5305
5119
|
}
|
|
5306
5120
|
return entries;
|
|
5307
5121
|
};
|
|
5308
5122
|
const serializeAws_querySetInstanceHealthQuery = (input, context) => {
|
|
5309
5123
|
const entries = {};
|
|
5310
|
-
if (input.InstanceId
|
|
5124
|
+
if (input.InstanceId != null) {
|
|
5311
5125
|
entries["InstanceId"] = input.InstanceId;
|
|
5312
5126
|
}
|
|
5313
|
-
if (input.HealthStatus
|
|
5127
|
+
if (input.HealthStatus != null) {
|
|
5314
5128
|
entries["HealthStatus"] = input.HealthStatus;
|
|
5315
5129
|
}
|
|
5316
|
-
if (input.ShouldRespectGracePeriod
|
|
5130
|
+
if (input.ShouldRespectGracePeriod != null) {
|
|
5317
5131
|
entries["ShouldRespectGracePeriod"] = input.ShouldRespectGracePeriod;
|
|
5318
5132
|
}
|
|
5319
5133
|
return entries;
|
|
5320
5134
|
};
|
|
5321
5135
|
const serializeAws_querySetInstanceProtectionQuery = (input, context) => {
|
|
5322
5136
|
const entries = {};
|
|
5323
|
-
if (input.InstanceIds
|
|
5137
|
+
if (input.InstanceIds != null) {
|
|
5324
5138
|
const memberEntries = serializeAws_queryInstanceIds(input.InstanceIds, context);
|
|
5325
5139
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5326
5140
|
const loc = `InstanceIds.${key}`;
|
|
5327
5141
|
entries[loc] = value;
|
|
5328
5142
|
});
|
|
5329
5143
|
}
|
|
5330
|
-
if (input.AutoScalingGroupName
|
|
5144
|
+
if (input.AutoScalingGroupName != null) {
|
|
5331
5145
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
5332
5146
|
}
|
|
5333
|
-
if (input.ProtectedFromScaleIn
|
|
5147
|
+
if (input.ProtectedFromScaleIn != null) {
|
|
5334
5148
|
entries["ProtectedFromScaleIn"] = input.ProtectedFromScaleIn;
|
|
5335
5149
|
}
|
|
5336
5150
|
return entries;
|
|
5337
5151
|
};
|
|
5338
5152
|
const serializeAws_queryStartInstanceRefreshType = (input, context) => {
|
|
5339
5153
|
const entries = {};
|
|
5340
|
-
if (input.AutoScalingGroupName
|
|
5154
|
+
if (input.AutoScalingGroupName != null) {
|
|
5341
5155
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
5342
5156
|
}
|
|
5343
|
-
if (input.Strategy
|
|
5157
|
+
if (input.Strategy != null) {
|
|
5344
5158
|
entries["Strategy"] = input.Strategy;
|
|
5345
5159
|
}
|
|
5346
|
-
if (input.DesiredConfiguration
|
|
5160
|
+
if (input.DesiredConfiguration != null) {
|
|
5347
5161
|
const memberEntries = serializeAws_queryDesiredConfiguration(input.DesiredConfiguration, context);
|
|
5348
5162
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5349
5163
|
const loc = `DesiredConfiguration.${key}`;
|
|
5350
5164
|
entries[loc] = value;
|
|
5351
5165
|
});
|
|
5352
5166
|
}
|
|
5353
|
-
if (input.Preferences
|
|
5167
|
+
if (input.Preferences != null) {
|
|
5354
5168
|
const memberEntries = serializeAws_queryRefreshPreferences(input.Preferences, context);
|
|
5355
5169
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5356
5170
|
const loc = `Preferences.${key}`;
|
|
@@ -5361,13 +5175,13 @@ const serializeAws_queryStartInstanceRefreshType = (input, context) => {
|
|
|
5361
5175
|
};
|
|
5362
5176
|
const serializeAws_queryStepAdjustment = (input, context) => {
|
|
5363
5177
|
const entries = {};
|
|
5364
|
-
if (input.MetricIntervalLowerBound
|
|
5178
|
+
if (input.MetricIntervalLowerBound != null) {
|
|
5365
5179
|
entries["MetricIntervalLowerBound"] = (0, smithy_client_1.serializeFloat)(input.MetricIntervalLowerBound);
|
|
5366
5180
|
}
|
|
5367
|
-
if (input.MetricIntervalUpperBound
|
|
5181
|
+
if (input.MetricIntervalUpperBound != null) {
|
|
5368
5182
|
entries["MetricIntervalUpperBound"] = (0, smithy_client_1.serializeFloat)(input.MetricIntervalUpperBound);
|
|
5369
5183
|
}
|
|
5370
|
-
if (input.ScalingAdjustment
|
|
5184
|
+
if (input.ScalingAdjustment != null) {
|
|
5371
5185
|
entries["ScalingAdjustment"] = input.ScalingAdjustment;
|
|
5372
5186
|
}
|
|
5373
5187
|
return entries;
|
|
@@ -5389,19 +5203,19 @@ const serializeAws_queryStepAdjustments = (input, context) => {
|
|
|
5389
5203
|
};
|
|
5390
5204
|
const serializeAws_queryTag = (input, context) => {
|
|
5391
5205
|
const entries = {};
|
|
5392
|
-
if (input.ResourceId
|
|
5206
|
+
if (input.ResourceId != null) {
|
|
5393
5207
|
entries["ResourceId"] = input.ResourceId;
|
|
5394
5208
|
}
|
|
5395
|
-
if (input.ResourceType
|
|
5209
|
+
if (input.ResourceType != null) {
|
|
5396
5210
|
entries["ResourceType"] = input.ResourceType;
|
|
5397
5211
|
}
|
|
5398
|
-
if (input.Key
|
|
5212
|
+
if (input.Key != null) {
|
|
5399
5213
|
entries["Key"] = input.Key;
|
|
5400
5214
|
}
|
|
5401
|
-
if (input.Value
|
|
5215
|
+
if (input.Value != null) {
|
|
5402
5216
|
entries["Value"] = input.Value;
|
|
5403
5217
|
}
|
|
5404
|
-
if (input.PropagateAtLaunch
|
|
5218
|
+
if (input.PropagateAtLaunch != null) {
|
|
5405
5219
|
entries["PropagateAtLaunch"] = input.PropagateAtLaunch;
|
|
5406
5220
|
}
|
|
5407
5221
|
return entries;
|
|
@@ -5435,34 +5249,34 @@ const serializeAws_queryTargetGroupARNs = (input, context) => {
|
|
|
5435
5249
|
};
|
|
5436
5250
|
const serializeAws_queryTargetTrackingConfiguration = (input, context) => {
|
|
5437
5251
|
const entries = {};
|
|
5438
|
-
if (input.PredefinedMetricSpecification
|
|
5252
|
+
if (input.PredefinedMetricSpecification != null) {
|
|
5439
5253
|
const memberEntries = serializeAws_queryPredefinedMetricSpecification(input.PredefinedMetricSpecification, context);
|
|
5440
5254
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5441
5255
|
const loc = `PredefinedMetricSpecification.${key}`;
|
|
5442
5256
|
entries[loc] = value;
|
|
5443
5257
|
});
|
|
5444
5258
|
}
|
|
5445
|
-
if (input.CustomizedMetricSpecification
|
|
5259
|
+
if (input.CustomizedMetricSpecification != null) {
|
|
5446
5260
|
const memberEntries = serializeAws_queryCustomizedMetricSpecification(input.CustomizedMetricSpecification, context);
|
|
5447
5261
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5448
5262
|
const loc = `CustomizedMetricSpecification.${key}`;
|
|
5449
5263
|
entries[loc] = value;
|
|
5450
5264
|
});
|
|
5451
5265
|
}
|
|
5452
|
-
if (input.TargetValue
|
|
5266
|
+
if (input.TargetValue != null) {
|
|
5453
5267
|
entries["TargetValue"] = (0, smithy_client_1.serializeFloat)(input.TargetValue);
|
|
5454
5268
|
}
|
|
5455
|
-
if (input.DisableScaleIn
|
|
5269
|
+
if (input.DisableScaleIn != null) {
|
|
5456
5270
|
entries["DisableScaleIn"] = input.DisableScaleIn;
|
|
5457
5271
|
}
|
|
5458
5272
|
return entries;
|
|
5459
5273
|
};
|
|
5460
5274
|
const serializeAws_queryTerminateInstanceInAutoScalingGroupType = (input, context) => {
|
|
5461
5275
|
const entries = {};
|
|
5462
|
-
if (input.InstanceId
|
|
5276
|
+
if (input.InstanceId != null) {
|
|
5463
5277
|
entries["InstanceId"] = input.InstanceId;
|
|
5464
5278
|
}
|
|
5465
|
-
if (input.ShouldDecrementDesiredCapacity
|
|
5279
|
+
if (input.ShouldDecrementDesiredCapacity != null) {
|
|
5466
5280
|
entries["ShouldDecrementDesiredCapacity"] = input.ShouldDecrementDesiredCapacity;
|
|
5467
5281
|
}
|
|
5468
5282
|
return entries;
|
|
@@ -5481,93 +5295,93 @@ const serializeAws_queryTerminationPolicies = (input, context) => {
|
|
|
5481
5295
|
};
|
|
5482
5296
|
const serializeAws_queryTotalLocalStorageGBRequest = (input, context) => {
|
|
5483
5297
|
const entries = {};
|
|
5484
|
-
if (input.Min
|
|
5298
|
+
if (input.Min != null) {
|
|
5485
5299
|
entries["Min"] = (0, smithy_client_1.serializeFloat)(input.Min);
|
|
5486
5300
|
}
|
|
5487
|
-
if (input.Max
|
|
5301
|
+
if (input.Max != null) {
|
|
5488
5302
|
entries["Max"] = (0, smithy_client_1.serializeFloat)(input.Max);
|
|
5489
5303
|
}
|
|
5490
5304
|
return entries;
|
|
5491
5305
|
};
|
|
5492
5306
|
const serializeAws_queryUpdateAutoScalingGroupType = (input, context) => {
|
|
5493
5307
|
const entries = {};
|
|
5494
|
-
if (input.AutoScalingGroupName
|
|
5308
|
+
if (input.AutoScalingGroupName != null) {
|
|
5495
5309
|
entries["AutoScalingGroupName"] = input.AutoScalingGroupName;
|
|
5496
5310
|
}
|
|
5497
|
-
if (input.LaunchConfigurationName
|
|
5311
|
+
if (input.LaunchConfigurationName != null) {
|
|
5498
5312
|
entries["LaunchConfigurationName"] = input.LaunchConfigurationName;
|
|
5499
5313
|
}
|
|
5500
|
-
if (input.LaunchTemplate
|
|
5314
|
+
if (input.LaunchTemplate != null) {
|
|
5501
5315
|
const memberEntries = serializeAws_queryLaunchTemplateSpecification(input.LaunchTemplate, context);
|
|
5502
5316
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5503
5317
|
const loc = `LaunchTemplate.${key}`;
|
|
5504
5318
|
entries[loc] = value;
|
|
5505
5319
|
});
|
|
5506
5320
|
}
|
|
5507
|
-
if (input.MixedInstancesPolicy
|
|
5321
|
+
if (input.MixedInstancesPolicy != null) {
|
|
5508
5322
|
const memberEntries = serializeAws_queryMixedInstancesPolicy(input.MixedInstancesPolicy, context);
|
|
5509
5323
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5510
5324
|
const loc = `MixedInstancesPolicy.${key}`;
|
|
5511
5325
|
entries[loc] = value;
|
|
5512
5326
|
});
|
|
5513
5327
|
}
|
|
5514
|
-
if (input.MinSize
|
|
5328
|
+
if (input.MinSize != null) {
|
|
5515
5329
|
entries["MinSize"] = input.MinSize;
|
|
5516
5330
|
}
|
|
5517
|
-
if (input.MaxSize
|
|
5331
|
+
if (input.MaxSize != null) {
|
|
5518
5332
|
entries["MaxSize"] = input.MaxSize;
|
|
5519
5333
|
}
|
|
5520
|
-
if (input.DesiredCapacity
|
|
5334
|
+
if (input.DesiredCapacity != null) {
|
|
5521
5335
|
entries["DesiredCapacity"] = input.DesiredCapacity;
|
|
5522
5336
|
}
|
|
5523
|
-
if (input.DefaultCooldown
|
|
5337
|
+
if (input.DefaultCooldown != null) {
|
|
5524
5338
|
entries["DefaultCooldown"] = input.DefaultCooldown;
|
|
5525
5339
|
}
|
|
5526
|
-
if (input.AvailabilityZones
|
|
5340
|
+
if (input.AvailabilityZones != null) {
|
|
5527
5341
|
const memberEntries = serializeAws_queryAvailabilityZones(input.AvailabilityZones, context);
|
|
5528
5342
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5529
5343
|
const loc = `AvailabilityZones.${key}`;
|
|
5530
5344
|
entries[loc] = value;
|
|
5531
5345
|
});
|
|
5532
5346
|
}
|
|
5533
|
-
if (input.HealthCheckType
|
|
5347
|
+
if (input.HealthCheckType != null) {
|
|
5534
5348
|
entries["HealthCheckType"] = input.HealthCheckType;
|
|
5535
5349
|
}
|
|
5536
|
-
if (input.HealthCheckGracePeriod
|
|
5350
|
+
if (input.HealthCheckGracePeriod != null) {
|
|
5537
5351
|
entries["HealthCheckGracePeriod"] = input.HealthCheckGracePeriod;
|
|
5538
5352
|
}
|
|
5539
|
-
if (input.PlacementGroup
|
|
5353
|
+
if (input.PlacementGroup != null) {
|
|
5540
5354
|
entries["PlacementGroup"] = input.PlacementGroup;
|
|
5541
5355
|
}
|
|
5542
|
-
if (input.VPCZoneIdentifier
|
|
5356
|
+
if (input.VPCZoneIdentifier != null) {
|
|
5543
5357
|
entries["VPCZoneIdentifier"] = input.VPCZoneIdentifier;
|
|
5544
5358
|
}
|
|
5545
|
-
if (input.TerminationPolicies
|
|
5359
|
+
if (input.TerminationPolicies != null) {
|
|
5546
5360
|
const memberEntries = serializeAws_queryTerminationPolicies(input.TerminationPolicies, context);
|
|
5547
5361
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5548
5362
|
const loc = `TerminationPolicies.${key}`;
|
|
5549
5363
|
entries[loc] = value;
|
|
5550
5364
|
});
|
|
5551
5365
|
}
|
|
5552
|
-
if (input.NewInstancesProtectedFromScaleIn
|
|
5366
|
+
if (input.NewInstancesProtectedFromScaleIn != null) {
|
|
5553
5367
|
entries["NewInstancesProtectedFromScaleIn"] = input.NewInstancesProtectedFromScaleIn;
|
|
5554
5368
|
}
|
|
5555
|
-
if (input.ServiceLinkedRoleARN
|
|
5369
|
+
if (input.ServiceLinkedRoleARN != null) {
|
|
5556
5370
|
entries["ServiceLinkedRoleARN"] = input.ServiceLinkedRoleARN;
|
|
5557
5371
|
}
|
|
5558
|
-
if (input.MaxInstanceLifetime
|
|
5372
|
+
if (input.MaxInstanceLifetime != null) {
|
|
5559
5373
|
entries["MaxInstanceLifetime"] = input.MaxInstanceLifetime;
|
|
5560
5374
|
}
|
|
5561
|
-
if (input.CapacityRebalance
|
|
5375
|
+
if (input.CapacityRebalance != null) {
|
|
5562
5376
|
entries["CapacityRebalance"] = input.CapacityRebalance;
|
|
5563
5377
|
}
|
|
5564
|
-
if (input.Context
|
|
5378
|
+
if (input.Context != null) {
|
|
5565
5379
|
entries["Context"] = input.Context;
|
|
5566
5380
|
}
|
|
5567
|
-
if (input.DesiredCapacityType
|
|
5381
|
+
if (input.DesiredCapacityType != null) {
|
|
5568
5382
|
entries["DesiredCapacityType"] = input.DesiredCapacityType;
|
|
5569
5383
|
}
|
|
5570
|
-
if (input.DefaultInstanceWarmup
|
|
5384
|
+
if (input.DefaultInstanceWarmup != null) {
|
|
5571
5385
|
entries["DefaultInstanceWarmup"] = input.DefaultInstanceWarmup;
|
|
5572
5386
|
}
|
|
5573
5387
|
return entries;
|
|
@@ -5586,10 +5400,10 @@ const serializeAws_queryValues = (input, context) => {
|
|
|
5586
5400
|
};
|
|
5587
5401
|
const serializeAws_queryVCpuCountRequest = (input, context) => {
|
|
5588
5402
|
const entries = {};
|
|
5589
|
-
if (input.Min
|
|
5403
|
+
if (input.Min != null) {
|
|
5590
5404
|
entries["Min"] = input.Min;
|
|
5591
5405
|
}
|
|
5592
|
-
if (input.Max
|
|
5406
|
+
if (input.Max != null) {
|
|
5593
5407
|
entries["Max"] = input.Max;
|
|
5594
5408
|
}
|
|
5595
5409
|
return entries;
|
|
@@ -5611,9 +5425,6 @@ const deserializeAws_queryAcceleratorManufacturers = (output, context) => {
|
|
|
5611
5425
|
return (output || [])
|
|
5612
5426
|
.filter((e) => e != null)
|
|
5613
5427
|
.map((entry) => {
|
|
5614
|
-
if (entry === null) {
|
|
5615
|
-
return null;
|
|
5616
|
-
}
|
|
5617
5428
|
return (0, smithy_client_1.expectString)(entry);
|
|
5618
5429
|
});
|
|
5619
5430
|
};
|
|
@@ -5621,9 +5432,6 @@ const deserializeAws_queryAcceleratorNames = (output, context) => {
|
|
|
5621
5432
|
return (output || [])
|
|
5622
5433
|
.filter((e) => e != null)
|
|
5623
5434
|
.map((entry) => {
|
|
5624
|
-
if (entry === null) {
|
|
5625
|
-
return null;
|
|
5626
|
-
}
|
|
5627
5435
|
return (0, smithy_client_1.expectString)(entry);
|
|
5628
5436
|
});
|
|
5629
5437
|
};
|
|
@@ -5644,9 +5452,6 @@ const deserializeAws_queryAcceleratorTypes = (output, context) => {
|
|
|
5644
5452
|
return (output || [])
|
|
5645
5453
|
.filter((e) => e != null)
|
|
5646
5454
|
.map((entry) => {
|
|
5647
|
-
if (entry === null) {
|
|
5648
|
-
return null;
|
|
5649
|
-
}
|
|
5650
5455
|
return (0, smithy_client_1.expectString)(entry);
|
|
5651
5456
|
});
|
|
5652
5457
|
};
|
|
@@ -5663,9 +5468,6 @@ const deserializeAws_queryActivities = (output, context) => {
|
|
|
5663
5468
|
return (output || [])
|
|
5664
5469
|
.filter((e) => e != null)
|
|
5665
5470
|
.map((entry) => {
|
|
5666
|
-
if (entry === null) {
|
|
5667
|
-
return null;
|
|
5668
|
-
}
|
|
5669
5471
|
return deserializeAws_queryActivity(entry, context);
|
|
5670
5472
|
});
|
|
5671
5473
|
};
|
|
@@ -5760,9 +5562,6 @@ const deserializeAws_queryAdjustmentTypes = (output, context) => {
|
|
|
5760
5562
|
return (output || [])
|
|
5761
5563
|
.filter((e) => e != null)
|
|
5762
5564
|
.map((entry) => {
|
|
5763
|
-
if (entry === null) {
|
|
5764
|
-
return null;
|
|
5765
|
-
}
|
|
5766
5565
|
return deserializeAws_queryAdjustmentType(entry, context);
|
|
5767
5566
|
});
|
|
5768
5567
|
};
|
|
@@ -5783,9 +5582,6 @@ const deserializeAws_queryAlarms = (output, context) => {
|
|
|
5783
5582
|
return (output || [])
|
|
5784
5583
|
.filter((e) => e != null)
|
|
5785
5584
|
.map((entry) => {
|
|
5786
|
-
if (entry === null) {
|
|
5787
|
-
return null;
|
|
5788
|
-
}
|
|
5789
5585
|
return deserializeAws_queryAlarm(entry, context);
|
|
5790
5586
|
});
|
|
5791
5587
|
};
|
|
@@ -5971,9 +5767,6 @@ const deserializeAws_queryAutoScalingGroups = (output, context) => {
|
|
|
5971
5767
|
return (output || [])
|
|
5972
5768
|
.filter((e) => e != null)
|
|
5973
5769
|
.map((entry) => {
|
|
5974
|
-
if (entry === null) {
|
|
5975
|
-
return null;
|
|
5976
|
-
}
|
|
5977
5770
|
return deserializeAws_queryAutoScalingGroup(entry, context);
|
|
5978
5771
|
});
|
|
5979
5772
|
};
|
|
@@ -6042,9 +5835,6 @@ const deserializeAws_queryAutoScalingInstances = (output, context) => {
|
|
|
6042
5835
|
return (output || [])
|
|
6043
5836
|
.filter((e) => e != null)
|
|
6044
5837
|
.map((entry) => {
|
|
6045
|
-
if (entry === null) {
|
|
6046
|
-
return null;
|
|
6047
|
-
}
|
|
6048
5838
|
return deserializeAws_queryAutoScalingInstanceDetails(entry, context);
|
|
6049
5839
|
});
|
|
6050
5840
|
};
|
|
@@ -6068,9 +5858,6 @@ const deserializeAws_queryAutoScalingNotificationTypes = (output, context) => {
|
|
|
6068
5858
|
return (output || [])
|
|
6069
5859
|
.filter((e) => e != null)
|
|
6070
5860
|
.map((entry) => {
|
|
6071
|
-
if (entry === null) {
|
|
6072
|
-
return null;
|
|
6073
|
-
}
|
|
6074
5861
|
return (0, smithy_client_1.expectString)(entry);
|
|
6075
5862
|
});
|
|
6076
5863
|
};
|
|
@@ -6078,9 +5865,6 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
|
|
|
6078
5865
|
return (output || [])
|
|
6079
5866
|
.filter((e) => e != null)
|
|
6080
5867
|
.map((entry) => {
|
|
6081
|
-
if (entry === null) {
|
|
6082
|
-
return null;
|
|
6083
|
-
}
|
|
6084
5868
|
return (0, smithy_client_1.expectString)(entry);
|
|
6085
5869
|
});
|
|
6086
5870
|
};
|
|
@@ -6148,9 +5932,6 @@ const deserializeAws_queryBlockDeviceMappings = (output, context) => {
|
|
|
6148
5932
|
return (output || [])
|
|
6149
5933
|
.filter((e) => e != null)
|
|
6150
5934
|
.map((entry) => {
|
|
6151
|
-
if (entry === null) {
|
|
6152
|
-
return null;
|
|
6153
|
-
}
|
|
6154
5935
|
return deserializeAws_queryBlockDeviceMapping(entry, context);
|
|
6155
5936
|
});
|
|
6156
5937
|
};
|
|
@@ -6186,9 +5967,6 @@ const deserializeAws_queryCheckpointPercentages = (output, context) => {
|
|
|
6186
5967
|
return (output || [])
|
|
6187
5968
|
.filter((e) => e != null)
|
|
6188
5969
|
.map((entry) => {
|
|
6189
|
-
if (entry === null) {
|
|
6190
|
-
return null;
|
|
6191
|
-
}
|
|
6192
5970
|
return (0, smithy_client_1.strictParseInt32)(entry);
|
|
6193
5971
|
});
|
|
6194
5972
|
};
|
|
@@ -6196,9 +5974,6 @@ const deserializeAws_queryClassicLinkVPCSecurityGroups = (output, context) => {
|
|
|
6196
5974
|
return (output || [])
|
|
6197
5975
|
.filter((e) => e != null)
|
|
6198
5976
|
.map((entry) => {
|
|
6199
|
-
if (entry === null) {
|
|
6200
|
-
return null;
|
|
6201
|
-
}
|
|
6202
5977
|
return (0, smithy_client_1.expectString)(entry);
|
|
6203
5978
|
});
|
|
6204
5979
|
};
|
|
@@ -6210,9 +5985,6 @@ const deserializeAws_queryCpuManufacturers = (output, context) => {
|
|
|
6210
5985
|
return (output || [])
|
|
6211
5986
|
.filter((e) => e != null)
|
|
6212
5987
|
.map((entry) => {
|
|
6213
|
-
if (entry === null) {
|
|
6214
|
-
return null;
|
|
6215
|
-
}
|
|
6216
5988
|
return (0, smithy_client_1.expectString)(entry);
|
|
6217
5989
|
});
|
|
6218
5990
|
};
|
|
@@ -6523,9 +6295,6 @@ const deserializeAws_queryEnabledMetrics = (output, context) => {
|
|
|
6523
6295
|
return (output || [])
|
|
6524
6296
|
.filter((e) => e != null)
|
|
6525
6297
|
.map((entry) => {
|
|
6526
|
-
if (entry === null) {
|
|
6527
|
-
return null;
|
|
6528
|
-
}
|
|
6529
6298
|
return deserializeAws_queryEnabledMetric(entry, context);
|
|
6530
6299
|
});
|
|
6531
6300
|
};
|
|
@@ -6545,9 +6314,6 @@ const deserializeAws_queryExcludedInstanceTypes = (output, context) => {
|
|
|
6545
6314
|
return (output || [])
|
|
6546
6315
|
.filter((e) => e != null)
|
|
6547
6316
|
.map((entry) => {
|
|
6548
|
-
if (entry === null) {
|
|
6549
|
-
return null;
|
|
6550
|
-
}
|
|
6551
6317
|
return (0, smithy_client_1.expectString)(entry);
|
|
6552
6318
|
});
|
|
6553
6319
|
};
|
|
@@ -6584,9 +6350,6 @@ const deserializeAws_queryFailedScheduledUpdateGroupActionRequests = (output, co
|
|
|
6584
6350
|
return (output || [])
|
|
6585
6351
|
.filter((e) => e != null)
|
|
6586
6352
|
.map((entry) => {
|
|
6587
|
-
if (entry === null) {
|
|
6588
|
-
return null;
|
|
6589
|
-
}
|
|
6590
6353
|
return deserializeAws_queryFailedScheduledUpdateGroupActionRequest(entry, context);
|
|
6591
6354
|
});
|
|
6592
6355
|
};
|
|
@@ -6655,9 +6418,6 @@ const deserializeAws_queryInstanceGenerations = (output, context) => {
|
|
|
6655
6418
|
return (output || [])
|
|
6656
6419
|
.filter((e) => e != null)
|
|
6657
6420
|
.map((entry) => {
|
|
6658
|
-
if (entry === null) {
|
|
6659
|
-
return null;
|
|
6660
|
-
}
|
|
6661
6421
|
return (0, smithy_client_1.expectString)(entry);
|
|
6662
6422
|
});
|
|
6663
6423
|
};
|
|
@@ -6740,9 +6500,6 @@ const deserializeAws_queryInstanceRefreshes = (output, context) => {
|
|
|
6740
6500
|
return (output || [])
|
|
6741
6501
|
.filter((e) => e != null)
|
|
6742
6502
|
.map((entry) => {
|
|
6743
|
-
if (entry === null) {
|
|
6744
|
-
return null;
|
|
6745
|
-
}
|
|
6746
6503
|
return deserializeAws_queryInstanceRefresh(entry, context);
|
|
6747
6504
|
});
|
|
6748
6505
|
};
|
|
@@ -6918,9 +6675,6 @@ const deserializeAws_queryInstances = (output, context) => {
|
|
|
6918
6675
|
return (output || [])
|
|
6919
6676
|
.filter((e) => e != null)
|
|
6920
6677
|
.map((entry) => {
|
|
6921
|
-
if (entry === null) {
|
|
6922
|
-
return null;
|
|
6923
|
-
}
|
|
6924
6678
|
return deserializeAws_queryInstance(entry, context);
|
|
6925
6679
|
});
|
|
6926
6680
|
};
|
|
@@ -7061,9 +6815,6 @@ const deserializeAws_queryLaunchConfigurations = (output, context) => {
|
|
|
7061
6815
|
return (output || [])
|
|
7062
6816
|
.filter((e) => e != null)
|
|
7063
6817
|
.map((entry) => {
|
|
7064
|
-
if (entry === null) {
|
|
7065
|
-
return null;
|
|
7066
|
-
}
|
|
7067
6818
|
return deserializeAws_queryLaunchConfiguration(entry, context);
|
|
7068
6819
|
});
|
|
7069
6820
|
};
|
|
@@ -7182,9 +6933,6 @@ const deserializeAws_queryLifecycleHooks = (output, context) => {
|
|
|
7182
6933
|
return (output || [])
|
|
7183
6934
|
.filter((e) => e != null)
|
|
7184
6935
|
.map((entry) => {
|
|
7185
|
-
if (entry === null) {
|
|
7186
|
-
return null;
|
|
7187
|
-
}
|
|
7188
6936
|
return deserializeAws_queryLifecycleHook(entry, context);
|
|
7189
6937
|
});
|
|
7190
6938
|
};
|
|
@@ -7201,9 +6949,6 @@ const deserializeAws_queryLoadBalancerNames = (output, context) => {
|
|
|
7201
6949
|
return (output || [])
|
|
7202
6950
|
.filter((e) => e != null)
|
|
7203
6951
|
.map((entry) => {
|
|
7204
|
-
if (entry === null) {
|
|
7205
|
-
return null;
|
|
7206
|
-
}
|
|
7207
6952
|
return (0, smithy_client_1.expectString)(entry);
|
|
7208
6953
|
});
|
|
7209
6954
|
};
|
|
@@ -7224,9 +6969,6 @@ const deserializeAws_queryLoadBalancerStates = (output, context) => {
|
|
|
7224
6969
|
return (output || [])
|
|
7225
6970
|
.filter((e) => e != null)
|
|
7226
6971
|
.map((entry) => {
|
|
7227
|
-
if (entry === null) {
|
|
7228
|
-
return null;
|
|
7229
|
-
}
|
|
7230
6972
|
return deserializeAws_queryLoadBalancerState(entry, context);
|
|
7231
6973
|
});
|
|
7232
6974
|
};
|
|
@@ -7247,9 +6989,6 @@ const deserializeAws_queryLoadBalancerTargetGroupStates = (output, context) => {
|
|
|
7247
6989
|
return (output || [])
|
|
7248
6990
|
.filter((e) => e != null)
|
|
7249
6991
|
.map((entry) => {
|
|
7250
|
-
if (entry === null) {
|
|
7251
|
-
return null;
|
|
7252
|
-
}
|
|
7253
6992
|
return deserializeAws_queryLoadBalancerTargetGroupState(entry, context);
|
|
7254
6993
|
});
|
|
7255
6994
|
};
|
|
@@ -7280,9 +7019,6 @@ const deserializeAws_queryLoadForecasts = (output, context) => {
|
|
|
7280
7019
|
return (output || [])
|
|
7281
7020
|
.filter((e) => e != null)
|
|
7282
7021
|
.map((entry) => {
|
|
7283
|
-
if (entry === null) {
|
|
7284
|
-
return null;
|
|
7285
|
-
}
|
|
7286
7022
|
return deserializeAws_queryLoadForecast(entry, context);
|
|
7287
7023
|
});
|
|
7288
7024
|
};
|
|
@@ -7290,9 +7026,6 @@ const deserializeAws_queryLocalStorageTypes = (output, context) => {
|
|
|
7290
7026
|
return (output || [])
|
|
7291
7027
|
.filter((e) => e != null)
|
|
7292
7028
|
.map((entry) => {
|
|
7293
|
-
if (entry === null) {
|
|
7294
|
-
return null;
|
|
7295
|
-
}
|
|
7296
7029
|
return (0, smithy_client_1.expectString)(entry);
|
|
7297
7030
|
});
|
|
7298
7031
|
};
|
|
@@ -7355,9 +7088,6 @@ const deserializeAws_queryMetricCollectionTypes = (output, context) => {
|
|
|
7355
7088
|
return (output || [])
|
|
7356
7089
|
.filter((e) => e != null)
|
|
7357
7090
|
.map((entry) => {
|
|
7358
|
-
if (entry === null) {
|
|
7359
|
-
return null;
|
|
7360
|
-
}
|
|
7361
7091
|
return deserializeAws_queryMetricCollectionType(entry, context);
|
|
7362
7092
|
});
|
|
7363
7093
|
};
|
|
@@ -7365,9 +7095,6 @@ const deserializeAws_queryMetricDataQueries = (output, context) => {
|
|
|
7365
7095
|
return (output || [])
|
|
7366
7096
|
.filter((e) => e != null)
|
|
7367
7097
|
.map((entry) => {
|
|
7368
|
-
if (entry === null) {
|
|
7369
|
-
return null;
|
|
7370
|
-
}
|
|
7371
7098
|
return deserializeAws_queryMetricDataQuery(entry, context);
|
|
7372
7099
|
});
|
|
7373
7100
|
};
|
|
@@ -7413,9 +7140,6 @@ const deserializeAws_queryMetricDimensions = (output, context) => {
|
|
|
7413
7140
|
return (output || [])
|
|
7414
7141
|
.filter((e) => e != null)
|
|
7415
7142
|
.map((entry) => {
|
|
7416
|
-
if (entry === null) {
|
|
7417
|
-
return null;
|
|
7418
|
-
}
|
|
7419
7143
|
return deserializeAws_queryMetricDimension(entry, context);
|
|
7420
7144
|
});
|
|
7421
7145
|
};
|
|
@@ -7432,9 +7156,6 @@ const deserializeAws_queryMetricGranularityTypes = (output, context) => {
|
|
|
7432
7156
|
return (output || [])
|
|
7433
7157
|
.filter((e) => e != null)
|
|
7434
7158
|
.map((entry) => {
|
|
7435
|
-
if (entry === null) {
|
|
7436
|
-
return null;
|
|
7437
|
-
}
|
|
7438
7159
|
return deserializeAws_queryMetricGranularityType(entry, context);
|
|
7439
7160
|
});
|
|
7440
7161
|
};
|
|
@@ -7502,9 +7223,6 @@ const deserializeAws_queryNotificationConfigurations = (output, context) => {
|
|
|
7502
7223
|
return (output || [])
|
|
7503
7224
|
.filter((e) => e != null)
|
|
7504
7225
|
.map((entry) => {
|
|
7505
|
-
if (entry === null) {
|
|
7506
|
-
return null;
|
|
7507
|
-
}
|
|
7508
7226
|
return deserializeAws_queryNotificationConfiguration(entry, context);
|
|
7509
7227
|
});
|
|
7510
7228
|
};
|
|
@@ -7512,9 +7230,6 @@ const deserializeAws_queryOverrides = (output, context) => {
|
|
|
7512
7230
|
return (output || [])
|
|
7513
7231
|
.filter((e) => e != null)
|
|
7514
7232
|
.map((entry) => {
|
|
7515
|
-
if (entry === null) {
|
|
7516
|
-
return null;
|
|
7517
|
-
}
|
|
7518
7233
|
return deserializeAws_queryLaunchTemplateOverrides(entry, context);
|
|
7519
7234
|
});
|
|
7520
7235
|
};
|
|
@@ -7631,9 +7346,6 @@ const deserializeAws_queryPredictiveScalingForecastTimestamps = (output, context
|
|
|
7631
7346
|
return (output || [])
|
|
7632
7347
|
.filter((e) => e != null)
|
|
7633
7348
|
.map((entry) => {
|
|
7634
|
-
if (entry === null) {
|
|
7635
|
-
return null;
|
|
7636
|
-
}
|
|
7637
7349
|
return (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(entry));
|
|
7638
7350
|
});
|
|
7639
7351
|
};
|
|
@@ -7641,9 +7353,6 @@ const deserializeAws_queryPredictiveScalingForecastValues = (output, context) =>
|
|
|
7641
7353
|
return (output || [])
|
|
7642
7354
|
.filter((e) => e != null)
|
|
7643
7355
|
.map((entry) => {
|
|
7644
|
-
if (entry === null) {
|
|
7645
|
-
return null;
|
|
7646
|
-
}
|
|
7647
7356
|
return (0, smithy_client_1.strictParseFloat)(entry);
|
|
7648
7357
|
});
|
|
7649
7358
|
};
|
|
@@ -7684,9 +7393,6 @@ const deserializeAws_queryPredictiveScalingMetricSpecifications = (output, conte
|
|
|
7684
7393
|
return (output || [])
|
|
7685
7394
|
.filter((e) => e != null)
|
|
7686
7395
|
.map((entry) => {
|
|
7687
|
-
if (entry === null) {
|
|
7688
|
-
return null;
|
|
7689
|
-
}
|
|
7690
7396
|
return deserializeAws_queryPredictiveScalingMetricSpecification(entry, context);
|
|
7691
7397
|
});
|
|
7692
7398
|
};
|
|
@@ -7733,9 +7439,6 @@ const deserializeAws_queryProcesses = (output, context) => {
|
|
|
7733
7439
|
return (output || [])
|
|
7734
7440
|
.filter((e) => e != null)
|
|
7735
7441
|
.map((entry) => {
|
|
7736
|
-
if (entry === null) {
|
|
7737
|
-
return null;
|
|
7738
|
-
}
|
|
7739
7442
|
return deserializeAws_queryProcessType(entry, context);
|
|
7740
7443
|
});
|
|
7741
7444
|
};
|
|
@@ -7831,9 +7534,6 @@ const deserializeAws_queryScalingPolicies = (output, context) => {
|
|
|
7831
7534
|
return (output || [])
|
|
7832
7535
|
.filter((e) => e != null)
|
|
7833
7536
|
.map((entry) => {
|
|
7834
|
-
if (entry === null) {
|
|
7835
|
-
return null;
|
|
7836
|
-
}
|
|
7837
7537
|
return deserializeAws_queryScalingPolicy(entry, context);
|
|
7838
7538
|
});
|
|
7839
7539
|
};
|
|
@@ -7982,9 +7682,6 @@ const deserializeAws_queryScheduledUpdateGroupActions = (output, context) => {
|
|
|
7982
7682
|
return (output || [])
|
|
7983
7683
|
.filter((e) => e != null)
|
|
7984
7684
|
.map((entry) => {
|
|
7985
|
-
if (entry === null) {
|
|
7986
|
-
return null;
|
|
7987
|
-
}
|
|
7988
7685
|
return deserializeAws_queryScheduledUpdateGroupAction(entry, context);
|
|
7989
7686
|
});
|
|
7990
7687
|
};
|
|
@@ -7992,9 +7689,6 @@ const deserializeAws_querySecurityGroups = (output, context) => {
|
|
|
7992
7689
|
return (output || [])
|
|
7993
7690
|
.filter((e) => e != null)
|
|
7994
7691
|
.map((entry) => {
|
|
7995
|
-
if (entry === null) {
|
|
7996
|
-
return null;
|
|
7997
|
-
}
|
|
7998
7692
|
return (0, smithy_client_1.expectString)(entry);
|
|
7999
7693
|
});
|
|
8000
7694
|
};
|
|
@@ -8041,9 +7735,6 @@ const deserializeAws_queryStepAdjustments = (output, context) => {
|
|
|
8041
7735
|
return (output || [])
|
|
8042
7736
|
.filter((e) => e != null)
|
|
8043
7737
|
.map((entry) => {
|
|
8044
|
-
if (entry === null) {
|
|
8045
|
-
return null;
|
|
8046
|
-
}
|
|
8047
7738
|
return deserializeAws_queryStepAdjustment(entry, context);
|
|
8048
7739
|
});
|
|
8049
7740
|
};
|
|
@@ -8064,9 +7755,6 @@ const deserializeAws_querySuspendedProcesses = (output, context) => {
|
|
|
8064
7755
|
return (output || [])
|
|
8065
7756
|
.filter((e) => e != null)
|
|
8066
7757
|
.map((entry) => {
|
|
8067
|
-
if (entry === null) {
|
|
8068
|
-
return null;
|
|
8069
|
-
}
|
|
8070
7758
|
return deserializeAws_querySuspendedProcess(entry, context);
|
|
8071
7759
|
});
|
|
8072
7760
|
};
|
|
@@ -8099,9 +7787,6 @@ const deserializeAws_queryTagDescriptionList = (output, context) => {
|
|
|
8099
7787
|
return (output || [])
|
|
8100
7788
|
.filter((e) => e != null)
|
|
8101
7789
|
.map((entry) => {
|
|
8102
|
-
if (entry === null) {
|
|
8103
|
-
return null;
|
|
8104
|
-
}
|
|
8105
7790
|
return deserializeAws_queryTagDescription(entry, context);
|
|
8106
7791
|
});
|
|
8107
7792
|
};
|
|
@@ -8125,9 +7810,6 @@ const deserializeAws_queryTargetGroupARNs = (output, context) => {
|
|
|
8125
7810
|
return (output || [])
|
|
8126
7811
|
.filter((e) => e != null)
|
|
8127
7812
|
.map((entry) => {
|
|
8128
|
-
if (entry === null) {
|
|
8129
|
-
return null;
|
|
8130
|
-
}
|
|
8131
7813
|
return (0, smithy_client_1.expectString)(entry);
|
|
8132
7814
|
});
|
|
8133
7815
|
};
|
|
@@ -8156,9 +7838,6 @@ const deserializeAws_queryTerminationPolicies = (output, context) => {
|
|
|
8156
7838
|
return (output || [])
|
|
8157
7839
|
.filter((e) => e != null)
|
|
8158
7840
|
.map((entry) => {
|
|
8159
|
-
if (entry === null) {
|
|
8160
|
-
return null;
|
|
8161
|
-
}
|
|
8162
7841
|
return (0, smithy_client_1.expectString)(entry);
|
|
8163
7842
|
});
|
|
8164
7843
|
};
|