@aws-sdk/client-cloudformation 3.141.0 → 3.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_query.js +720 -1119
- package/dist-es/protocols/Aws_query.js +877 -1120
- package/package.json +6 -6
|
@@ -887,7 +887,6 @@ const deserializeAws_queryActivateTypeCommandError = async (output, context) =>
|
|
|
887
887
|
...output,
|
|
888
888
|
body: await parseBody(output.body, context),
|
|
889
889
|
};
|
|
890
|
-
let response;
|
|
891
890
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
892
891
|
switch (errorCode) {
|
|
893
892
|
case "CFNRegistryException":
|
|
@@ -898,14 +897,12 @@ const deserializeAws_queryActivateTypeCommandError = async (output, context) =>
|
|
|
898
897
|
throw await deserializeAws_queryTypeNotFoundExceptionResponse(parsedOutput, context);
|
|
899
898
|
default:
|
|
900
899
|
const parsedBody = parsedOutput.body;
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
$metadata,
|
|
900
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
901
|
+
output,
|
|
902
|
+
parsedBody: parsedBody.Error,
|
|
903
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
904
|
+
errorCode,
|
|
907
905
|
});
|
|
908
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
909
906
|
}
|
|
910
907
|
};
|
|
911
908
|
const deserializeAws_queryBatchDescribeTypeConfigurationsCommand = async (output, context) => {
|
|
@@ -927,7 +924,6 @@ const deserializeAws_queryBatchDescribeTypeConfigurationsCommandError = async (o
|
|
|
927
924
|
...output,
|
|
928
925
|
body: await parseBody(output.body, context),
|
|
929
926
|
};
|
|
930
|
-
let response;
|
|
931
927
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
932
928
|
switch (errorCode) {
|
|
933
929
|
case "CFNRegistryException":
|
|
@@ -938,14 +934,12 @@ const deserializeAws_queryBatchDescribeTypeConfigurationsCommandError = async (o
|
|
|
938
934
|
throw await deserializeAws_queryTypeConfigurationNotFoundExceptionResponse(parsedOutput, context);
|
|
939
935
|
default:
|
|
940
936
|
const parsedBody = parsedOutput.body;
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
$metadata,
|
|
937
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
938
|
+
output,
|
|
939
|
+
parsedBody: parsedBody.Error,
|
|
940
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
941
|
+
errorCode,
|
|
947
942
|
});
|
|
948
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
949
943
|
}
|
|
950
944
|
};
|
|
951
945
|
const deserializeAws_queryCancelUpdateStackCommand = async (output, context) => {
|
|
@@ -964,7 +958,6 @@ const deserializeAws_queryCancelUpdateStackCommandError = async (output, context
|
|
|
964
958
|
...output,
|
|
965
959
|
body: await parseBody(output.body, context),
|
|
966
960
|
};
|
|
967
|
-
let response;
|
|
968
961
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
969
962
|
switch (errorCode) {
|
|
970
963
|
case "TokenAlreadyExistsException":
|
|
@@ -972,14 +965,12 @@ const deserializeAws_queryCancelUpdateStackCommandError = async (output, context
|
|
|
972
965
|
throw await deserializeAws_queryTokenAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
973
966
|
default:
|
|
974
967
|
const parsedBody = parsedOutput.body;
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
$metadata,
|
|
968
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
969
|
+
output,
|
|
970
|
+
parsedBody: parsedBody.Error,
|
|
971
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
972
|
+
errorCode,
|
|
981
973
|
});
|
|
982
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
983
974
|
}
|
|
984
975
|
};
|
|
985
976
|
const deserializeAws_queryContinueUpdateRollbackCommand = async (output, context) => {
|
|
@@ -1001,7 +992,6 @@ const deserializeAws_queryContinueUpdateRollbackCommandError = async (output, co
|
|
|
1001
992
|
...output,
|
|
1002
993
|
body: await parseBody(output.body, context),
|
|
1003
994
|
};
|
|
1004
|
-
let response;
|
|
1005
995
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1006
996
|
switch (errorCode) {
|
|
1007
997
|
case "TokenAlreadyExistsException":
|
|
@@ -1009,14 +999,12 @@ const deserializeAws_queryContinueUpdateRollbackCommandError = async (output, co
|
|
|
1009
999
|
throw await deserializeAws_queryTokenAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1010
1000
|
default:
|
|
1011
1001
|
const parsedBody = parsedOutput.body;
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
$metadata,
|
|
1002
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1003
|
+
output,
|
|
1004
|
+
parsedBody: parsedBody.Error,
|
|
1005
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1006
|
+
errorCode,
|
|
1018
1007
|
});
|
|
1019
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1020
1008
|
}
|
|
1021
1009
|
};
|
|
1022
1010
|
const deserializeAws_queryCreateChangeSetCommand = async (output, context) => {
|
|
@@ -1038,7 +1026,6 @@ const deserializeAws_queryCreateChangeSetCommandError = async (output, context)
|
|
|
1038
1026
|
...output,
|
|
1039
1027
|
body: await parseBody(output.body, context),
|
|
1040
1028
|
};
|
|
1041
|
-
let response;
|
|
1042
1029
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1043
1030
|
switch (errorCode) {
|
|
1044
1031
|
case "AlreadyExistsException":
|
|
@@ -1052,14 +1039,12 @@ const deserializeAws_queryCreateChangeSetCommandError = async (output, context)
|
|
|
1052
1039
|
throw await deserializeAws_queryLimitExceededExceptionResponse(parsedOutput, context);
|
|
1053
1040
|
default:
|
|
1054
1041
|
const parsedBody = parsedOutput.body;
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
$metadata,
|
|
1042
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1043
|
+
output,
|
|
1044
|
+
parsedBody: parsedBody.Error,
|
|
1045
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1046
|
+
errorCode,
|
|
1061
1047
|
});
|
|
1062
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1063
1048
|
}
|
|
1064
1049
|
};
|
|
1065
1050
|
const deserializeAws_queryCreateStackCommand = async (output, context) => {
|
|
@@ -1081,7 +1066,6 @@ const deserializeAws_queryCreateStackCommandError = async (output, context) => {
|
|
|
1081
1066
|
...output,
|
|
1082
1067
|
body: await parseBody(output.body, context),
|
|
1083
1068
|
};
|
|
1084
|
-
let response;
|
|
1085
1069
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1086
1070
|
switch (errorCode) {
|
|
1087
1071
|
case "AlreadyExistsException":
|
|
@@ -1098,14 +1082,12 @@ const deserializeAws_queryCreateStackCommandError = async (output, context) => {
|
|
|
1098
1082
|
throw await deserializeAws_queryTokenAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1099
1083
|
default:
|
|
1100
1084
|
const parsedBody = parsedOutput.body;
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
$metadata,
|
|
1085
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1086
|
+
output,
|
|
1087
|
+
parsedBody: parsedBody.Error,
|
|
1088
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1089
|
+
errorCode,
|
|
1107
1090
|
});
|
|
1108
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1109
1091
|
}
|
|
1110
1092
|
};
|
|
1111
1093
|
const deserializeAws_queryCreateStackInstancesCommand = async (output, context) => {
|
|
@@ -1127,7 +1109,6 @@ const deserializeAws_queryCreateStackInstancesCommandError = async (output, cont
|
|
|
1127
1109
|
...output,
|
|
1128
1110
|
body: await parseBody(output.body, context),
|
|
1129
1111
|
};
|
|
1130
|
-
let response;
|
|
1131
1112
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1132
1113
|
switch (errorCode) {
|
|
1133
1114
|
case "InvalidOperationException":
|
|
@@ -1150,14 +1131,12 @@ const deserializeAws_queryCreateStackInstancesCommandError = async (output, cont
|
|
|
1150
1131
|
throw await deserializeAws_queryStaleRequestExceptionResponse(parsedOutput, context);
|
|
1151
1132
|
default:
|
|
1152
1133
|
const parsedBody = parsedOutput.body;
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
$metadata,
|
|
1134
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1135
|
+
output,
|
|
1136
|
+
parsedBody: parsedBody.Error,
|
|
1137
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1138
|
+
errorCode,
|
|
1159
1139
|
});
|
|
1160
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1161
1140
|
}
|
|
1162
1141
|
};
|
|
1163
1142
|
const deserializeAws_queryCreateStackSetCommand = async (output, context) => {
|
|
@@ -1179,7 +1158,6 @@ const deserializeAws_queryCreateStackSetCommandError = async (output, context) =
|
|
|
1179
1158
|
...output,
|
|
1180
1159
|
body: await parseBody(output.body, context),
|
|
1181
1160
|
};
|
|
1182
|
-
let response;
|
|
1183
1161
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1184
1162
|
switch (errorCode) {
|
|
1185
1163
|
case "CreatedButModifiedException":
|
|
@@ -1193,14 +1171,12 @@ const deserializeAws_queryCreateStackSetCommandError = async (output, context) =
|
|
|
1193
1171
|
throw await deserializeAws_queryNameAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1194
1172
|
default:
|
|
1195
1173
|
const parsedBody = parsedOutput.body;
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
$metadata,
|
|
1174
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1175
|
+
output,
|
|
1176
|
+
parsedBody: parsedBody.Error,
|
|
1177
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1178
|
+
errorCode,
|
|
1202
1179
|
});
|
|
1203
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1204
1180
|
}
|
|
1205
1181
|
};
|
|
1206
1182
|
const deserializeAws_queryDeactivateTypeCommand = async (output, context) => {
|
|
@@ -1222,7 +1198,6 @@ const deserializeAws_queryDeactivateTypeCommandError = async (output, context) =
|
|
|
1222
1198
|
...output,
|
|
1223
1199
|
body: await parseBody(output.body, context),
|
|
1224
1200
|
};
|
|
1225
|
-
let response;
|
|
1226
1201
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1227
1202
|
switch (errorCode) {
|
|
1228
1203
|
case "CFNRegistryException":
|
|
@@ -1233,14 +1208,12 @@ const deserializeAws_queryDeactivateTypeCommandError = async (output, context) =
|
|
|
1233
1208
|
throw await deserializeAws_queryTypeNotFoundExceptionResponse(parsedOutput, context);
|
|
1234
1209
|
default:
|
|
1235
1210
|
const parsedBody = parsedOutput.body;
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
$metadata,
|
|
1211
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1212
|
+
output,
|
|
1213
|
+
parsedBody: parsedBody.Error,
|
|
1214
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1215
|
+
errorCode,
|
|
1242
1216
|
});
|
|
1243
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1244
1217
|
}
|
|
1245
1218
|
};
|
|
1246
1219
|
const deserializeAws_queryDeleteChangeSetCommand = async (output, context) => {
|
|
@@ -1262,7 +1235,6 @@ const deserializeAws_queryDeleteChangeSetCommandError = async (output, context)
|
|
|
1262
1235
|
...output,
|
|
1263
1236
|
body: await parseBody(output.body, context),
|
|
1264
1237
|
};
|
|
1265
|
-
let response;
|
|
1266
1238
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1267
1239
|
switch (errorCode) {
|
|
1268
1240
|
case "InvalidChangeSetStatusException":
|
|
@@ -1270,14 +1242,12 @@ const deserializeAws_queryDeleteChangeSetCommandError = async (output, context)
|
|
|
1270
1242
|
throw await deserializeAws_queryInvalidChangeSetStatusExceptionResponse(parsedOutput, context);
|
|
1271
1243
|
default:
|
|
1272
1244
|
const parsedBody = parsedOutput.body;
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
$metadata,
|
|
1245
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1246
|
+
output,
|
|
1247
|
+
parsedBody: parsedBody.Error,
|
|
1248
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1249
|
+
errorCode,
|
|
1279
1250
|
});
|
|
1280
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1281
1251
|
}
|
|
1282
1252
|
};
|
|
1283
1253
|
const deserializeAws_queryDeleteStackCommand = async (output, context) => {
|
|
@@ -1296,7 +1266,6 @@ const deserializeAws_queryDeleteStackCommandError = async (output, context) => {
|
|
|
1296
1266
|
...output,
|
|
1297
1267
|
body: await parseBody(output.body, context),
|
|
1298
1268
|
};
|
|
1299
|
-
let response;
|
|
1300
1269
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1301
1270
|
switch (errorCode) {
|
|
1302
1271
|
case "TokenAlreadyExistsException":
|
|
@@ -1304,14 +1273,12 @@ const deserializeAws_queryDeleteStackCommandError = async (output, context) => {
|
|
|
1304
1273
|
throw await deserializeAws_queryTokenAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
1305
1274
|
default:
|
|
1306
1275
|
const parsedBody = parsedOutput.body;
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
$metadata,
|
|
1276
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1277
|
+
output,
|
|
1278
|
+
parsedBody: parsedBody.Error,
|
|
1279
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1280
|
+
errorCode,
|
|
1313
1281
|
});
|
|
1314
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1315
1282
|
}
|
|
1316
1283
|
};
|
|
1317
1284
|
const deserializeAws_queryDeleteStackInstancesCommand = async (output, context) => {
|
|
@@ -1333,7 +1300,6 @@ const deserializeAws_queryDeleteStackInstancesCommandError = async (output, cont
|
|
|
1333
1300
|
...output,
|
|
1334
1301
|
body: await parseBody(output.body, context),
|
|
1335
1302
|
};
|
|
1336
|
-
let response;
|
|
1337
1303
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1338
1304
|
switch (errorCode) {
|
|
1339
1305
|
case "InvalidOperationException":
|
|
@@ -1353,14 +1319,12 @@ const deserializeAws_queryDeleteStackInstancesCommandError = async (output, cont
|
|
|
1353
1319
|
throw await deserializeAws_queryStaleRequestExceptionResponse(parsedOutput, context);
|
|
1354
1320
|
default:
|
|
1355
1321
|
const parsedBody = parsedOutput.body;
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
$metadata,
|
|
1322
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1323
|
+
output,
|
|
1324
|
+
parsedBody: parsedBody.Error,
|
|
1325
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1326
|
+
errorCode,
|
|
1362
1327
|
});
|
|
1363
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1364
1328
|
}
|
|
1365
1329
|
};
|
|
1366
1330
|
const deserializeAws_queryDeleteStackSetCommand = async (output, context) => {
|
|
@@ -1382,7 +1346,6 @@ const deserializeAws_queryDeleteStackSetCommandError = async (output, context) =
|
|
|
1382
1346
|
...output,
|
|
1383
1347
|
body: await parseBody(output.body, context),
|
|
1384
1348
|
};
|
|
1385
|
-
let response;
|
|
1386
1349
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1387
1350
|
switch (errorCode) {
|
|
1388
1351
|
case "OperationInProgressException":
|
|
@@ -1393,14 +1356,12 @@ const deserializeAws_queryDeleteStackSetCommandError = async (output, context) =
|
|
|
1393
1356
|
throw await deserializeAws_queryStackSetNotEmptyExceptionResponse(parsedOutput, context);
|
|
1394
1357
|
default:
|
|
1395
1358
|
const parsedBody = parsedOutput.body;
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
$metadata,
|
|
1359
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1360
|
+
output,
|
|
1361
|
+
parsedBody: parsedBody.Error,
|
|
1362
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1363
|
+
errorCode,
|
|
1402
1364
|
});
|
|
1403
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1404
1365
|
}
|
|
1405
1366
|
};
|
|
1406
1367
|
const deserializeAws_queryDeregisterTypeCommand = async (output, context) => {
|
|
@@ -1422,7 +1383,6 @@ const deserializeAws_queryDeregisterTypeCommandError = async (output, context) =
|
|
|
1422
1383
|
...output,
|
|
1423
1384
|
body: await parseBody(output.body, context),
|
|
1424
1385
|
};
|
|
1425
|
-
let response;
|
|
1426
1386
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1427
1387
|
switch (errorCode) {
|
|
1428
1388
|
case "CFNRegistryException":
|
|
@@ -1433,14 +1393,12 @@ const deserializeAws_queryDeregisterTypeCommandError = async (output, context) =
|
|
|
1433
1393
|
throw await deserializeAws_queryTypeNotFoundExceptionResponse(parsedOutput, context);
|
|
1434
1394
|
default:
|
|
1435
1395
|
const parsedBody = parsedOutput.body;
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
$metadata,
|
|
1396
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1397
|
+
output,
|
|
1398
|
+
parsedBody: parsedBody.Error,
|
|
1399
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1400
|
+
errorCode,
|
|
1442
1401
|
});
|
|
1443
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1444
1402
|
}
|
|
1445
1403
|
};
|
|
1446
1404
|
const deserializeAws_queryDescribeAccountLimitsCommand = async (output, context) => {
|
|
@@ -1462,20 +1420,14 @@ const deserializeAws_queryDescribeAccountLimitsCommandError = async (output, con
|
|
|
1462
1420
|
...output,
|
|
1463
1421
|
body: await parseBody(output.body, context),
|
|
1464
1422
|
};
|
|
1465
|
-
let response;
|
|
1466
1423
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
$fault: "client",
|
|
1475
|
-
$metadata,
|
|
1476
|
-
});
|
|
1477
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1478
|
-
}
|
|
1424
|
+
const parsedBody = parsedOutput.body;
|
|
1425
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1426
|
+
output,
|
|
1427
|
+
parsedBody: parsedBody.Error,
|
|
1428
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1429
|
+
errorCode,
|
|
1430
|
+
});
|
|
1479
1431
|
};
|
|
1480
1432
|
const deserializeAws_queryDescribeChangeSetCommand = async (output, context) => {
|
|
1481
1433
|
if (output.statusCode >= 300) {
|
|
@@ -1496,7 +1448,6 @@ const deserializeAws_queryDescribeChangeSetCommandError = async (output, context
|
|
|
1496
1448
|
...output,
|
|
1497
1449
|
body: await parseBody(output.body, context),
|
|
1498
1450
|
};
|
|
1499
|
-
let response;
|
|
1500
1451
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1501
1452
|
switch (errorCode) {
|
|
1502
1453
|
case "ChangeSetNotFoundException":
|
|
@@ -1504,14 +1455,12 @@ const deserializeAws_queryDescribeChangeSetCommandError = async (output, context
|
|
|
1504
1455
|
throw await deserializeAws_queryChangeSetNotFoundExceptionResponse(parsedOutput, context);
|
|
1505
1456
|
default:
|
|
1506
1457
|
const parsedBody = parsedOutput.body;
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
$metadata,
|
|
1458
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1459
|
+
output,
|
|
1460
|
+
parsedBody: parsedBody.Error,
|
|
1461
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1462
|
+
errorCode,
|
|
1513
1463
|
});
|
|
1514
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1515
1464
|
}
|
|
1516
1465
|
};
|
|
1517
1466
|
const deserializeAws_queryDescribeChangeSetHooksCommand = async (output, context) => {
|
|
@@ -1533,7 +1482,6 @@ const deserializeAws_queryDescribeChangeSetHooksCommandError = async (output, co
|
|
|
1533
1482
|
...output,
|
|
1534
1483
|
body: await parseBody(output.body, context),
|
|
1535
1484
|
};
|
|
1536
|
-
let response;
|
|
1537
1485
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1538
1486
|
switch (errorCode) {
|
|
1539
1487
|
case "ChangeSetNotFoundException":
|
|
@@ -1541,14 +1489,12 @@ const deserializeAws_queryDescribeChangeSetHooksCommandError = async (output, co
|
|
|
1541
1489
|
throw await deserializeAws_queryChangeSetNotFoundExceptionResponse(parsedOutput, context);
|
|
1542
1490
|
default:
|
|
1543
1491
|
const parsedBody = parsedOutput.body;
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
$metadata,
|
|
1492
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1493
|
+
output,
|
|
1494
|
+
parsedBody: parsedBody.Error,
|
|
1495
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1496
|
+
errorCode,
|
|
1550
1497
|
});
|
|
1551
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1552
1498
|
}
|
|
1553
1499
|
};
|
|
1554
1500
|
const deserializeAws_queryDescribePublisherCommand = async (output, context) => {
|
|
@@ -1570,7 +1516,6 @@ const deserializeAws_queryDescribePublisherCommandError = async (output, context
|
|
|
1570
1516
|
...output,
|
|
1571
1517
|
body: await parseBody(output.body, context),
|
|
1572
1518
|
};
|
|
1573
|
-
let response;
|
|
1574
1519
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1575
1520
|
switch (errorCode) {
|
|
1576
1521
|
case "CFNRegistryException":
|
|
@@ -1578,14 +1523,12 @@ const deserializeAws_queryDescribePublisherCommandError = async (output, context
|
|
|
1578
1523
|
throw await deserializeAws_queryCFNRegistryExceptionResponse(parsedOutput, context);
|
|
1579
1524
|
default:
|
|
1580
1525
|
const parsedBody = parsedOutput.body;
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
$metadata,
|
|
1526
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1527
|
+
output,
|
|
1528
|
+
parsedBody: parsedBody.Error,
|
|
1529
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1530
|
+
errorCode,
|
|
1587
1531
|
});
|
|
1588
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1589
1532
|
}
|
|
1590
1533
|
};
|
|
1591
1534
|
const deserializeAws_queryDescribeStackDriftDetectionStatusCommand = async (output, context) => {
|
|
@@ -1607,20 +1550,14 @@ const deserializeAws_queryDescribeStackDriftDetectionStatusCommandError = async
|
|
|
1607
1550
|
...output,
|
|
1608
1551
|
body: await parseBody(output.body, context),
|
|
1609
1552
|
};
|
|
1610
|
-
let response;
|
|
1611
1553
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
$fault: "client",
|
|
1620
|
-
$metadata,
|
|
1621
|
-
});
|
|
1622
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1623
|
-
}
|
|
1554
|
+
const parsedBody = parsedOutput.body;
|
|
1555
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1556
|
+
output,
|
|
1557
|
+
parsedBody: parsedBody.Error,
|
|
1558
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1559
|
+
errorCode,
|
|
1560
|
+
});
|
|
1624
1561
|
};
|
|
1625
1562
|
const deserializeAws_queryDescribeStackEventsCommand = async (output, context) => {
|
|
1626
1563
|
if (output.statusCode >= 300) {
|
|
@@ -1641,20 +1578,14 @@ const deserializeAws_queryDescribeStackEventsCommandError = async (output, conte
|
|
|
1641
1578
|
...output,
|
|
1642
1579
|
body: await parseBody(output.body, context),
|
|
1643
1580
|
};
|
|
1644
|
-
let response;
|
|
1645
1581
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
$fault: "client",
|
|
1654
|
-
$metadata,
|
|
1655
|
-
});
|
|
1656
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1657
|
-
}
|
|
1582
|
+
const parsedBody = parsedOutput.body;
|
|
1583
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1584
|
+
output,
|
|
1585
|
+
parsedBody: parsedBody.Error,
|
|
1586
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1587
|
+
errorCode,
|
|
1588
|
+
});
|
|
1658
1589
|
};
|
|
1659
1590
|
const deserializeAws_queryDescribeStackInstanceCommand = async (output, context) => {
|
|
1660
1591
|
if (output.statusCode >= 300) {
|
|
@@ -1675,7 +1606,6 @@ const deserializeAws_queryDescribeStackInstanceCommandError = async (output, con
|
|
|
1675
1606
|
...output,
|
|
1676
1607
|
body: await parseBody(output.body, context),
|
|
1677
1608
|
};
|
|
1678
|
-
let response;
|
|
1679
1609
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1680
1610
|
switch (errorCode) {
|
|
1681
1611
|
case "StackInstanceNotFoundException":
|
|
@@ -1686,14 +1616,12 @@ const deserializeAws_queryDescribeStackInstanceCommandError = async (output, con
|
|
|
1686
1616
|
throw await deserializeAws_queryStackSetNotFoundExceptionResponse(parsedOutput, context);
|
|
1687
1617
|
default:
|
|
1688
1618
|
const parsedBody = parsedOutput.body;
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
$metadata,
|
|
1619
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1620
|
+
output,
|
|
1621
|
+
parsedBody: parsedBody.Error,
|
|
1622
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1623
|
+
errorCode,
|
|
1695
1624
|
});
|
|
1696
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1697
1625
|
}
|
|
1698
1626
|
};
|
|
1699
1627
|
const deserializeAws_queryDescribeStackResourceCommand = async (output, context) => {
|
|
@@ -1715,20 +1643,14 @@ const deserializeAws_queryDescribeStackResourceCommandError = async (output, con
|
|
|
1715
1643
|
...output,
|
|
1716
1644
|
body: await parseBody(output.body, context),
|
|
1717
1645
|
};
|
|
1718
|
-
let response;
|
|
1719
1646
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
$fault: "client",
|
|
1728
|
-
$metadata,
|
|
1729
|
-
});
|
|
1730
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1731
|
-
}
|
|
1647
|
+
const parsedBody = parsedOutput.body;
|
|
1648
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1649
|
+
output,
|
|
1650
|
+
parsedBody: parsedBody.Error,
|
|
1651
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1652
|
+
errorCode,
|
|
1653
|
+
});
|
|
1732
1654
|
};
|
|
1733
1655
|
const deserializeAws_queryDescribeStackResourceDriftsCommand = async (output, context) => {
|
|
1734
1656
|
if (output.statusCode >= 300) {
|
|
@@ -1749,20 +1671,14 @@ const deserializeAws_queryDescribeStackResourceDriftsCommandError = async (outpu
|
|
|
1749
1671
|
...output,
|
|
1750
1672
|
body: await parseBody(output.body, context),
|
|
1751
1673
|
};
|
|
1752
|
-
let response;
|
|
1753
1674
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
$fault: "client",
|
|
1762
|
-
$metadata,
|
|
1763
|
-
});
|
|
1764
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1765
|
-
}
|
|
1675
|
+
const parsedBody = parsedOutput.body;
|
|
1676
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1677
|
+
output,
|
|
1678
|
+
parsedBody: parsedBody.Error,
|
|
1679
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1680
|
+
errorCode,
|
|
1681
|
+
});
|
|
1766
1682
|
};
|
|
1767
1683
|
const deserializeAws_queryDescribeStackResourcesCommand = async (output, context) => {
|
|
1768
1684
|
if (output.statusCode >= 300) {
|
|
@@ -1783,20 +1699,14 @@ const deserializeAws_queryDescribeStackResourcesCommandError = async (output, co
|
|
|
1783
1699
|
...output,
|
|
1784
1700
|
body: await parseBody(output.body, context),
|
|
1785
1701
|
};
|
|
1786
|
-
let response;
|
|
1787
1702
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
$fault: "client",
|
|
1796
|
-
$metadata,
|
|
1797
|
-
});
|
|
1798
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1799
|
-
}
|
|
1703
|
+
const parsedBody = parsedOutput.body;
|
|
1704
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1705
|
+
output,
|
|
1706
|
+
parsedBody: parsedBody.Error,
|
|
1707
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1708
|
+
errorCode,
|
|
1709
|
+
});
|
|
1800
1710
|
};
|
|
1801
1711
|
const deserializeAws_queryDescribeStacksCommand = async (output, context) => {
|
|
1802
1712
|
if (output.statusCode >= 300) {
|
|
@@ -1817,20 +1727,14 @@ const deserializeAws_queryDescribeStacksCommandError = async (output, context) =
|
|
|
1817
1727
|
...output,
|
|
1818
1728
|
body: await parseBody(output.body, context),
|
|
1819
1729
|
};
|
|
1820
|
-
let response;
|
|
1821
1730
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
$fault: "client",
|
|
1830
|
-
$metadata,
|
|
1831
|
-
});
|
|
1832
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1833
|
-
}
|
|
1731
|
+
const parsedBody = parsedOutput.body;
|
|
1732
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1733
|
+
output,
|
|
1734
|
+
parsedBody: parsedBody.Error,
|
|
1735
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1736
|
+
errorCode,
|
|
1737
|
+
});
|
|
1834
1738
|
};
|
|
1835
1739
|
const deserializeAws_queryDescribeStackSetCommand = async (output, context) => {
|
|
1836
1740
|
if (output.statusCode >= 300) {
|
|
@@ -1851,7 +1755,6 @@ const deserializeAws_queryDescribeStackSetCommandError = async (output, context)
|
|
|
1851
1755
|
...output,
|
|
1852
1756
|
body: await parseBody(output.body, context),
|
|
1853
1757
|
};
|
|
1854
|
-
let response;
|
|
1855
1758
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1856
1759
|
switch (errorCode) {
|
|
1857
1760
|
case "StackSetNotFoundException":
|
|
@@ -1859,14 +1762,12 @@ const deserializeAws_queryDescribeStackSetCommandError = async (output, context)
|
|
|
1859
1762
|
throw await deserializeAws_queryStackSetNotFoundExceptionResponse(parsedOutput, context);
|
|
1860
1763
|
default:
|
|
1861
1764
|
const parsedBody = parsedOutput.body;
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
$metadata,
|
|
1765
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1766
|
+
output,
|
|
1767
|
+
parsedBody: parsedBody.Error,
|
|
1768
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1769
|
+
errorCode,
|
|
1868
1770
|
});
|
|
1869
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1870
1771
|
}
|
|
1871
1772
|
};
|
|
1872
1773
|
const deserializeAws_queryDescribeStackSetOperationCommand = async (output, context) => {
|
|
@@ -1888,7 +1789,6 @@ const deserializeAws_queryDescribeStackSetOperationCommandError = async (output,
|
|
|
1888
1789
|
...output,
|
|
1889
1790
|
body: await parseBody(output.body, context),
|
|
1890
1791
|
};
|
|
1891
|
-
let response;
|
|
1892
1792
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1893
1793
|
switch (errorCode) {
|
|
1894
1794
|
case "OperationNotFoundException":
|
|
@@ -1899,14 +1799,12 @@ const deserializeAws_queryDescribeStackSetOperationCommandError = async (output,
|
|
|
1899
1799
|
throw await deserializeAws_queryStackSetNotFoundExceptionResponse(parsedOutput, context);
|
|
1900
1800
|
default:
|
|
1901
1801
|
const parsedBody = parsedOutput.body;
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
$metadata,
|
|
1802
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1803
|
+
output,
|
|
1804
|
+
parsedBody: parsedBody.Error,
|
|
1805
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1806
|
+
errorCode,
|
|
1908
1807
|
});
|
|
1909
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1910
1808
|
}
|
|
1911
1809
|
};
|
|
1912
1810
|
const deserializeAws_queryDescribeTypeCommand = async (output, context) => {
|
|
@@ -1928,7 +1826,6 @@ const deserializeAws_queryDescribeTypeCommandError = async (output, context) =>
|
|
|
1928
1826
|
...output,
|
|
1929
1827
|
body: await parseBody(output.body, context),
|
|
1930
1828
|
};
|
|
1931
|
-
let response;
|
|
1932
1829
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1933
1830
|
switch (errorCode) {
|
|
1934
1831
|
case "CFNRegistryException":
|
|
@@ -1939,14 +1836,12 @@ const deserializeAws_queryDescribeTypeCommandError = async (output, context) =>
|
|
|
1939
1836
|
throw await deserializeAws_queryTypeNotFoundExceptionResponse(parsedOutput, context);
|
|
1940
1837
|
default:
|
|
1941
1838
|
const parsedBody = parsedOutput.body;
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
$metadata,
|
|
1839
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1840
|
+
output,
|
|
1841
|
+
parsedBody: parsedBody.Error,
|
|
1842
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1843
|
+
errorCode,
|
|
1948
1844
|
});
|
|
1949
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1950
1845
|
}
|
|
1951
1846
|
};
|
|
1952
1847
|
const deserializeAws_queryDescribeTypeRegistrationCommand = async (output, context) => {
|
|
@@ -1968,7 +1863,6 @@ const deserializeAws_queryDescribeTypeRegistrationCommandError = async (output,
|
|
|
1968
1863
|
...output,
|
|
1969
1864
|
body: await parseBody(output.body, context),
|
|
1970
1865
|
};
|
|
1971
|
-
let response;
|
|
1972
1866
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1973
1867
|
switch (errorCode) {
|
|
1974
1868
|
case "CFNRegistryException":
|
|
@@ -1976,14 +1870,12 @@ const deserializeAws_queryDescribeTypeRegistrationCommandError = async (output,
|
|
|
1976
1870
|
throw await deserializeAws_queryCFNRegistryExceptionResponse(parsedOutput, context);
|
|
1977
1871
|
default:
|
|
1978
1872
|
const parsedBody = parsedOutput.body;
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
$metadata,
|
|
1873
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1874
|
+
output,
|
|
1875
|
+
parsedBody: parsedBody.Error,
|
|
1876
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1877
|
+
errorCode,
|
|
1985
1878
|
});
|
|
1986
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1987
1879
|
}
|
|
1988
1880
|
};
|
|
1989
1881
|
const deserializeAws_queryDetectStackDriftCommand = async (output, context) => {
|
|
@@ -2005,20 +1897,14 @@ const deserializeAws_queryDetectStackDriftCommandError = async (output, context)
|
|
|
2005
1897
|
...output,
|
|
2006
1898
|
body: await parseBody(output.body, context),
|
|
2007
1899
|
};
|
|
2008
|
-
let response;
|
|
2009
1900
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
$fault: "client",
|
|
2018
|
-
$metadata,
|
|
2019
|
-
});
|
|
2020
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2021
|
-
}
|
|
1901
|
+
const parsedBody = parsedOutput.body;
|
|
1902
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1903
|
+
output,
|
|
1904
|
+
parsedBody: parsedBody.Error,
|
|
1905
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1906
|
+
errorCode,
|
|
1907
|
+
});
|
|
2022
1908
|
};
|
|
2023
1909
|
const deserializeAws_queryDetectStackResourceDriftCommand = async (output, context) => {
|
|
2024
1910
|
if (output.statusCode >= 300) {
|
|
@@ -2039,20 +1925,14 @@ const deserializeAws_queryDetectStackResourceDriftCommandError = async (output,
|
|
|
2039
1925
|
...output,
|
|
2040
1926
|
body: await parseBody(output.body, context),
|
|
2041
1927
|
};
|
|
2042
|
-
let response;
|
|
2043
1928
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
$fault: "client",
|
|
2052
|
-
$metadata,
|
|
2053
|
-
});
|
|
2054
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2055
|
-
}
|
|
1929
|
+
const parsedBody = parsedOutput.body;
|
|
1930
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1931
|
+
output,
|
|
1932
|
+
parsedBody: parsedBody.Error,
|
|
1933
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1934
|
+
errorCode,
|
|
1935
|
+
});
|
|
2056
1936
|
};
|
|
2057
1937
|
const deserializeAws_queryDetectStackSetDriftCommand = async (output, context) => {
|
|
2058
1938
|
if (output.statusCode >= 300) {
|
|
@@ -2073,7 +1953,6 @@ const deserializeAws_queryDetectStackSetDriftCommandError = async (output, conte
|
|
|
2073
1953
|
...output,
|
|
2074
1954
|
body: await parseBody(output.body, context),
|
|
2075
1955
|
};
|
|
2076
|
-
let response;
|
|
2077
1956
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2078
1957
|
switch (errorCode) {
|
|
2079
1958
|
case "InvalidOperationException":
|
|
@@ -2087,14 +1966,12 @@ const deserializeAws_queryDetectStackSetDriftCommandError = async (output, conte
|
|
|
2087
1966
|
throw await deserializeAws_queryStackSetNotFoundExceptionResponse(parsedOutput, context);
|
|
2088
1967
|
default:
|
|
2089
1968
|
const parsedBody = parsedOutput.body;
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
$metadata,
|
|
1969
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1970
|
+
output,
|
|
1971
|
+
parsedBody: parsedBody.Error,
|
|
1972
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
1973
|
+
errorCode,
|
|
2096
1974
|
});
|
|
2097
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2098
1975
|
}
|
|
2099
1976
|
};
|
|
2100
1977
|
const deserializeAws_queryEstimateTemplateCostCommand = async (output, context) => {
|
|
@@ -2116,20 +1993,14 @@ const deserializeAws_queryEstimateTemplateCostCommandError = async (output, cont
|
|
|
2116
1993
|
...output,
|
|
2117
1994
|
body: await parseBody(output.body, context),
|
|
2118
1995
|
};
|
|
2119
|
-
let response;
|
|
2120
1996
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
$fault: "client",
|
|
2129
|
-
$metadata,
|
|
2130
|
-
});
|
|
2131
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2132
|
-
}
|
|
1997
|
+
const parsedBody = parsedOutput.body;
|
|
1998
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1999
|
+
output,
|
|
2000
|
+
parsedBody: parsedBody.Error,
|
|
2001
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2002
|
+
errorCode,
|
|
2003
|
+
});
|
|
2133
2004
|
};
|
|
2134
2005
|
const deserializeAws_queryExecuteChangeSetCommand = async (output, context) => {
|
|
2135
2006
|
if (output.statusCode >= 300) {
|
|
@@ -2150,7 +2021,6 @@ const deserializeAws_queryExecuteChangeSetCommandError = async (output, context)
|
|
|
2150
2021
|
...output,
|
|
2151
2022
|
body: await parseBody(output.body, context),
|
|
2152
2023
|
};
|
|
2153
|
-
let response;
|
|
2154
2024
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2155
2025
|
switch (errorCode) {
|
|
2156
2026
|
case "ChangeSetNotFoundException":
|
|
@@ -2167,14 +2037,12 @@ const deserializeAws_queryExecuteChangeSetCommandError = async (output, context)
|
|
|
2167
2037
|
throw await deserializeAws_queryTokenAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
2168
2038
|
default:
|
|
2169
2039
|
const parsedBody = parsedOutput.body;
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
$metadata,
|
|
2040
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2041
|
+
output,
|
|
2042
|
+
parsedBody: parsedBody.Error,
|
|
2043
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2044
|
+
errorCode,
|
|
2176
2045
|
});
|
|
2177
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2178
2046
|
}
|
|
2179
2047
|
};
|
|
2180
2048
|
const deserializeAws_queryGetStackPolicyCommand = async (output, context) => {
|
|
@@ -2196,20 +2064,14 @@ const deserializeAws_queryGetStackPolicyCommandError = async (output, context) =
|
|
|
2196
2064
|
...output,
|
|
2197
2065
|
body: await parseBody(output.body, context),
|
|
2198
2066
|
};
|
|
2199
|
-
let response;
|
|
2200
2067
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
$fault: "client",
|
|
2209
|
-
$metadata,
|
|
2210
|
-
});
|
|
2211
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2212
|
-
}
|
|
2068
|
+
const parsedBody = parsedOutput.body;
|
|
2069
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2070
|
+
output,
|
|
2071
|
+
parsedBody: parsedBody.Error,
|
|
2072
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2073
|
+
errorCode,
|
|
2074
|
+
});
|
|
2213
2075
|
};
|
|
2214
2076
|
const deserializeAws_queryGetTemplateCommand = async (output, context) => {
|
|
2215
2077
|
if (output.statusCode >= 300) {
|
|
@@ -2230,7 +2092,6 @@ const deserializeAws_queryGetTemplateCommandError = async (output, context) => {
|
|
|
2230
2092
|
...output,
|
|
2231
2093
|
body: await parseBody(output.body, context),
|
|
2232
2094
|
};
|
|
2233
|
-
let response;
|
|
2234
2095
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2235
2096
|
switch (errorCode) {
|
|
2236
2097
|
case "ChangeSetNotFoundException":
|
|
@@ -2238,14 +2099,12 @@ const deserializeAws_queryGetTemplateCommandError = async (output, context) => {
|
|
|
2238
2099
|
throw await deserializeAws_queryChangeSetNotFoundExceptionResponse(parsedOutput, context);
|
|
2239
2100
|
default:
|
|
2240
2101
|
const parsedBody = parsedOutput.body;
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
$metadata,
|
|
2102
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2103
|
+
output,
|
|
2104
|
+
parsedBody: parsedBody.Error,
|
|
2105
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2106
|
+
errorCode,
|
|
2247
2107
|
});
|
|
2248
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2249
2108
|
}
|
|
2250
2109
|
};
|
|
2251
2110
|
const deserializeAws_queryGetTemplateSummaryCommand = async (output, context) => {
|
|
@@ -2267,7 +2126,6 @@ const deserializeAws_queryGetTemplateSummaryCommandError = async (output, contex
|
|
|
2267
2126
|
...output,
|
|
2268
2127
|
body: await parseBody(output.body, context),
|
|
2269
2128
|
};
|
|
2270
|
-
let response;
|
|
2271
2129
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2272
2130
|
switch (errorCode) {
|
|
2273
2131
|
case "StackSetNotFoundException":
|
|
@@ -2275,14 +2133,12 @@ const deserializeAws_queryGetTemplateSummaryCommandError = async (output, contex
|
|
|
2275
2133
|
throw await deserializeAws_queryStackSetNotFoundExceptionResponse(parsedOutput, context);
|
|
2276
2134
|
default:
|
|
2277
2135
|
const parsedBody = parsedOutput.body;
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
$metadata,
|
|
2136
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2137
|
+
output,
|
|
2138
|
+
parsedBody: parsedBody.Error,
|
|
2139
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2140
|
+
errorCode,
|
|
2284
2141
|
});
|
|
2285
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2286
2142
|
}
|
|
2287
2143
|
};
|
|
2288
2144
|
const deserializeAws_queryImportStacksToStackSetCommand = async (output, context) => {
|
|
@@ -2304,7 +2160,6 @@ const deserializeAws_queryImportStacksToStackSetCommandError = async (output, co
|
|
|
2304
2160
|
...output,
|
|
2305
2161
|
body: await parseBody(output.body, context),
|
|
2306
2162
|
};
|
|
2307
|
-
let response;
|
|
2308
2163
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2309
2164
|
switch (errorCode) {
|
|
2310
2165
|
case "InvalidOperationException":
|
|
@@ -2330,14 +2185,12 @@ const deserializeAws_queryImportStacksToStackSetCommandError = async (output, co
|
|
|
2330
2185
|
throw await deserializeAws_queryStaleRequestExceptionResponse(parsedOutput, context);
|
|
2331
2186
|
default:
|
|
2332
2187
|
const parsedBody = parsedOutput.body;
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
$metadata,
|
|
2188
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2189
|
+
output,
|
|
2190
|
+
parsedBody: parsedBody.Error,
|
|
2191
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2192
|
+
errorCode,
|
|
2339
2193
|
});
|
|
2340
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2341
2194
|
}
|
|
2342
2195
|
};
|
|
2343
2196
|
const deserializeAws_queryListChangeSetsCommand = async (output, context) => {
|
|
@@ -2359,20 +2212,14 @@ const deserializeAws_queryListChangeSetsCommandError = async (output, context) =
|
|
|
2359
2212
|
...output,
|
|
2360
2213
|
body: await parseBody(output.body, context),
|
|
2361
2214
|
};
|
|
2362
|
-
let response;
|
|
2363
2215
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
$fault: "client",
|
|
2372
|
-
$metadata,
|
|
2373
|
-
});
|
|
2374
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2375
|
-
}
|
|
2216
|
+
const parsedBody = parsedOutput.body;
|
|
2217
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2218
|
+
output,
|
|
2219
|
+
parsedBody: parsedBody.Error,
|
|
2220
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2221
|
+
errorCode,
|
|
2222
|
+
});
|
|
2376
2223
|
};
|
|
2377
2224
|
const deserializeAws_queryListExportsCommand = async (output, context) => {
|
|
2378
2225
|
if (output.statusCode >= 300) {
|
|
@@ -2393,20 +2240,14 @@ const deserializeAws_queryListExportsCommandError = async (output, context) => {
|
|
|
2393
2240
|
...output,
|
|
2394
2241
|
body: await parseBody(output.body, context),
|
|
2395
2242
|
};
|
|
2396
|
-
let response;
|
|
2397
2243
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
$fault: "client",
|
|
2406
|
-
$metadata,
|
|
2407
|
-
});
|
|
2408
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2409
|
-
}
|
|
2244
|
+
const parsedBody = parsedOutput.body;
|
|
2245
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2246
|
+
output,
|
|
2247
|
+
parsedBody: parsedBody.Error,
|
|
2248
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2249
|
+
errorCode,
|
|
2250
|
+
});
|
|
2410
2251
|
};
|
|
2411
2252
|
const deserializeAws_queryListImportsCommand = async (output, context) => {
|
|
2412
2253
|
if (output.statusCode >= 300) {
|
|
@@ -2427,20 +2268,14 @@ const deserializeAws_queryListImportsCommandError = async (output, context) => {
|
|
|
2427
2268
|
...output,
|
|
2428
2269
|
body: await parseBody(output.body, context),
|
|
2429
2270
|
};
|
|
2430
|
-
let response;
|
|
2431
2271
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
$fault: "client",
|
|
2440
|
-
$metadata,
|
|
2441
|
-
});
|
|
2442
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2443
|
-
}
|
|
2272
|
+
const parsedBody = parsedOutput.body;
|
|
2273
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2274
|
+
output,
|
|
2275
|
+
parsedBody: parsedBody.Error,
|
|
2276
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2277
|
+
errorCode,
|
|
2278
|
+
});
|
|
2444
2279
|
};
|
|
2445
2280
|
const deserializeAws_queryListStackInstancesCommand = async (output, context) => {
|
|
2446
2281
|
if (output.statusCode >= 300) {
|
|
@@ -2461,7 +2296,6 @@ const deserializeAws_queryListStackInstancesCommandError = async (output, contex
|
|
|
2461
2296
|
...output,
|
|
2462
2297
|
body: await parseBody(output.body, context),
|
|
2463
2298
|
};
|
|
2464
|
-
let response;
|
|
2465
2299
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2466
2300
|
switch (errorCode) {
|
|
2467
2301
|
case "StackSetNotFoundException":
|
|
@@ -2469,14 +2303,12 @@ const deserializeAws_queryListStackInstancesCommandError = async (output, contex
|
|
|
2469
2303
|
throw await deserializeAws_queryStackSetNotFoundExceptionResponse(parsedOutput, context);
|
|
2470
2304
|
default:
|
|
2471
2305
|
const parsedBody = parsedOutput.body;
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
$metadata,
|
|
2306
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2307
|
+
output,
|
|
2308
|
+
parsedBody: parsedBody.Error,
|
|
2309
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2310
|
+
errorCode,
|
|
2478
2311
|
});
|
|
2479
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2480
2312
|
}
|
|
2481
2313
|
};
|
|
2482
2314
|
const deserializeAws_queryListStackResourcesCommand = async (output, context) => {
|
|
@@ -2498,20 +2330,14 @@ const deserializeAws_queryListStackResourcesCommandError = async (output, contex
|
|
|
2498
2330
|
...output,
|
|
2499
2331
|
body: await parseBody(output.body, context),
|
|
2500
2332
|
};
|
|
2501
|
-
let response;
|
|
2502
2333
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
$fault: "client",
|
|
2511
|
-
$metadata,
|
|
2512
|
-
});
|
|
2513
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2514
|
-
}
|
|
2334
|
+
const parsedBody = parsedOutput.body;
|
|
2335
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2336
|
+
output,
|
|
2337
|
+
parsedBody: parsedBody.Error,
|
|
2338
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2339
|
+
errorCode,
|
|
2340
|
+
});
|
|
2515
2341
|
};
|
|
2516
2342
|
const deserializeAws_queryListStacksCommand = async (output, context) => {
|
|
2517
2343
|
if (output.statusCode >= 300) {
|
|
@@ -2532,20 +2358,14 @@ const deserializeAws_queryListStacksCommandError = async (output, context) => {
|
|
|
2532
2358
|
...output,
|
|
2533
2359
|
body: await parseBody(output.body, context),
|
|
2534
2360
|
};
|
|
2535
|
-
let response;
|
|
2536
2361
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
$fault: "client",
|
|
2545
|
-
$metadata,
|
|
2546
|
-
});
|
|
2547
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2548
|
-
}
|
|
2362
|
+
const parsedBody = parsedOutput.body;
|
|
2363
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2364
|
+
output,
|
|
2365
|
+
parsedBody: parsedBody.Error,
|
|
2366
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2367
|
+
errorCode,
|
|
2368
|
+
});
|
|
2549
2369
|
};
|
|
2550
2370
|
const deserializeAws_queryListStackSetOperationResultsCommand = async (output, context) => {
|
|
2551
2371
|
if (output.statusCode >= 300) {
|
|
@@ -2566,7 +2386,6 @@ const deserializeAws_queryListStackSetOperationResultsCommandError = async (outp
|
|
|
2566
2386
|
...output,
|
|
2567
2387
|
body: await parseBody(output.body, context),
|
|
2568
2388
|
};
|
|
2569
|
-
let response;
|
|
2570
2389
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2571
2390
|
switch (errorCode) {
|
|
2572
2391
|
case "OperationNotFoundException":
|
|
@@ -2577,14 +2396,12 @@ const deserializeAws_queryListStackSetOperationResultsCommandError = async (outp
|
|
|
2577
2396
|
throw await deserializeAws_queryStackSetNotFoundExceptionResponse(parsedOutput, context);
|
|
2578
2397
|
default:
|
|
2579
2398
|
const parsedBody = parsedOutput.body;
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
$metadata,
|
|
2399
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2400
|
+
output,
|
|
2401
|
+
parsedBody: parsedBody.Error,
|
|
2402
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2403
|
+
errorCode,
|
|
2586
2404
|
});
|
|
2587
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2588
2405
|
}
|
|
2589
2406
|
};
|
|
2590
2407
|
const deserializeAws_queryListStackSetOperationsCommand = async (output, context) => {
|
|
@@ -2606,7 +2423,6 @@ const deserializeAws_queryListStackSetOperationsCommandError = async (output, co
|
|
|
2606
2423
|
...output,
|
|
2607
2424
|
body: await parseBody(output.body, context),
|
|
2608
2425
|
};
|
|
2609
|
-
let response;
|
|
2610
2426
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2611
2427
|
switch (errorCode) {
|
|
2612
2428
|
case "StackSetNotFoundException":
|
|
@@ -2614,14 +2430,12 @@ const deserializeAws_queryListStackSetOperationsCommandError = async (output, co
|
|
|
2614
2430
|
throw await deserializeAws_queryStackSetNotFoundExceptionResponse(parsedOutput, context);
|
|
2615
2431
|
default:
|
|
2616
2432
|
const parsedBody = parsedOutput.body;
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
$metadata,
|
|
2433
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2434
|
+
output,
|
|
2435
|
+
parsedBody: parsedBody.Error,
|
|
2436
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2437
|
+
errorCode,
|
|
2623
2438
|
});
|
|
2624
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2625
2439
|
}
|
|
2626
2440
|
};
|
|
2627
2441
|
const deserializeAws_queryListStackSetsCommand = async (output, context) => {
|
|
@@ -2643,20 +2457,14 @@ const deserializeAws_queryListStackSetsCommandError = async (output, context) =>
|
|
|
2643
2457
|
...output,
|
|
2644
2458
|
body: await parseBody(output.body, context),
|
|
2645
2459
|
};
|
|
2646
|
-
let response;
|
|
2647
2460
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
$fault: "client",
|
|
2656
|
-
$metadata,
|
|
2657
|
-
});
|
|
2658
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2659
|
-
}
|
|
2461
|
+
const parsedBody = parsedOutput.body;
|
|
2462
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2463
|
+
output,
|
|
2464
|
+
parsedBody: parsedBody.Error,
|
|
2465
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2466
|
+
errorCode,
|
|
2467
|
+
});
|
|
2660
2468
|
};
|
|
2661
2469
|
const deserializeAws_queryListTypeRegistrationsCommand = async (output, context) => {
|
|
2662
2470
|
if (output.statusCode >= 300) {
|
|
@@ -2677,7 +2485,6 @@ const deserializeAws_queryListTypeRegistrationsCommandError = async (output, con
|
|
|
2677
2485
|
...output,
|
|
2678
2486
|
body: await parseBody(output.body, context),
|
|
2679
2487
|
};
|
|
2680
|
-
let response;
|
|
2681
2488
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2682
2489
|
switch (errorCode) {
|
|
2683
2490
|
case "CFNRegistryException":
|
|
@@ -2685,14 +2492,12 @@ const deserializeAws_queryListTypeRegistrationsCommandError = async (output, con
|
|
|
2685
2492
|
throw await deserializeAws_queryCFNRegistryExceptionResponse(parsedOutput, context);
|
|
2686
2493
|
default:
|
|
2687
2494
|
const parsedBody = parsedOutput.body;
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
$metadata,
|
|
2495
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2496
|
+
output,
|
|
2497
|
+
parsedBody: parsedBody.Error,
|
|
2498
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2499
|
+
errorCode,
|
|
2694
2500
|
});
|
|
2695
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2696
2501
|
}
|
|
2697
2502
|
};
|
|
2698
2503
|
const deserializeAws_queryListTypesCommand = async (output, context) => {
|
|
@@ -2714,7 +2519,6 @@ const deserializeAws_queryListTypesCommandError = async (output, context) => {
|
|
|
2714
2519
|
...output,
|
|
2715
2520
|
body: await parseBody(output.body, context),
|
|
2716
2521
|
};
|
|
2717
|
-
let response;
|
|
2718
2522
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2719
2523
|
switch (errorCode) {
|
|
2720
2524
|
case "CFNRegistryException":
|
|
@@ -2722,14 +2526,12 @@ const deserializeAws_queryListTypesCommandError = async (output, context) => {
|
|
|
2722
2526
|
throw await deserializeAws_queryCFNRegistryExceptionResponse(parsedOutput, context);
|
|
2723
2527
|
default:
|
|
2724
2528
|
const parsedBody = parsedOutput.body;
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
$metadata,
|
|
2529
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2530
|
+
output,
|
|
2531
|
+
parsedBody: parsedBody.Error,
|
|
2532
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2533
|
+
errorCode,
|
|
2731
2534
|
});
|
|
2732
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2733
2535
|
}
|
|
2734
2536
|
};
|
|
2735
2537
|
const deserializeAws_queryListTypeVersionsCommand = async (output, context) => {
|
|
@@ -2751,7 +2553,6 @@ const deserializeAws_queryListTypeVersionsCommandError = async (output, context)
|
|
|
2751
2553
|
...output,
|
|
2752
2554
|
body: await parseBody(output.body, context),
|
|
2753
2555
|
};
|
|
2754
|
-
let response;
|
|
2755
2556
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2756
2557
|
switch (errorCode) {
|
|
2757
2558
|
case "CFNRegistryException":
|
|
@@ -2759,14 +2560,12 @@ const deserializeAws_queryListTypeVersionsCommandError = async (output, context)
|
|
|
2759
2560
|
throw await deserializeAws_queryCFNRegistryExceptionResponse(parsedOutput, context);
|
|
2760
2561
|
default:
|
|
2761
2562
|
const parsedBody = parsedOutput.body;
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
$metadata,
|
|
2563
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2564
|
+
output,
|
|
2565
|
+
parsedBody: parsedBody.Error,
|
|
2566
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2567
|
+
errorCode,
|
|
2768
2568
|
});
|
|
2769
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2770
2569
|
}
|
|
2771
2570
|
};
|
|
2772
2571
|
const deserializeAws_queryPublishTypeCommand = async (output, context) => {
|
|
@@ -2788,7 +2587,6 @@ const deserializeAws_queryPublishTypeCommandError = async (output, context) => {
|
|
|
2788
2587
|
...output,
|
|
2789
2588
|
body: await parseBody(output.body, context),
|
|
2790
2589
|
};
|
|
2791
|
-
let response;
|
|
2792
2590
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2793
2591
|
switch (errorCode) {
|
|
2794
2592
|
case "CFNRegistryException":
|
|
@@ -2799,14 +2597,12 @@ const deserializeAws_queryPublishTypeCommandError = async (output, context) => {
|
|
|
2799
2597
|
throw await deserializeAws_queryTypeNotFoundExceptionResponse(parsedOutput, context);
|
|
2800
2598
|
default:
|
|
2801
2599
|
const parsedBody = parsedOutput.body;
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
$metadata,
|
|
2600
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2601
|
+
output,
|
|
2602
|
+
parsedBody: parsedBody.Error,
|
|
2603
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2604
|
+
errorCode,
|
|
2808
2605
|
});
|
|
2809
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2810
2606
|
}
|
|
2811
2607
|
};
|
|
2812
2608
|
const deserializeAws_queryRecordHandlerProgressCommand = async (output, context) => {
|
|
@@ -2828,7 +2624,6 @@ const deserializeAws_queryRecordHandlerProgressCommandError = async (output, con
|
|
|
2828
2624
|
...output,
|
|
2829
2625
|
body: await parseBody(output.body, context),
|
|
2830
2626
|
};
|
|
2831
|
-
let response;
|
|
2832
2627
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2833
2628
|
switch (errorCode) {
|
|
2834
2629
|
case "InvalidStateTransitionException":
|
|
@@ -2839,14 +2634,12 @@ const deserializeAws_queryRecordHandlerProgressCommandError = async (output, con
|
|
|
2839
2634
|
throw await deserializeAws_queryOperationStatusCheckFailedExceptionResponse(parsedOutput, context);
|
|
2840
2635
|
default:
|
|
2841
2636
|
const parsedBody = parsedOutput.body;
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
$metadata,
|
|
2637
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2638
|
+
output,
|
|
2639
|
+
parsedBody: parsedBody.Error,
|
|
2640
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2641
|
+
errorCode,
|
|
2848
2642
|
});
|
|
2849
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2850
2643
|
}
|
|
2851
2644
|
};
|
|
2852
2645
|
const deserializeAws_queryRegisterPublisherCommand = async (output, context) => {
|
|
@@ -2868,7 +2661,6 @@ const deserializeAws_queryRegisterPublisherCommandError = async (output, context
|
|
|
2868
2661
|
...output,
|
|
2869
2662
|
body: await parseBody(output.body, context),
|
|
2870
2663
|
};
|
|
2871
|
-
let response;
|
|
2872
2664
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2873
2665
|
switch (errorCode) {
|
|
2874
2666
|
case "CFNRegistryException":
|
|
@@ -2876,14 +2668,12 @@ const deserializeAws_queryRegisterPublisherCommandError = async (output, context
|
|
|
2876
2668
|
throw await deserializeAws_queryCFNRegistryExceptionResponse(parsedOutput, context);
|
|
2877
2669
|
default:
|
|
2878
2670
|
const parsedBody = parsedOutput.body;
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
$metadata,
|
|
2671
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2672
|
+
output,
|
|
2673
|
+
parsedBody: parsedBody.Error,
|
|
2674
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2675
|
+
errorCode,
|
|
2885
2676
|
});
|
|
2886
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2887
2677
|
}
|
|
2888
2678
|
};
|
|
2889
2679
|
const deserializeAws_queryRegisterTypeCommand = async (output, context) => {
|
|
@@ -2905,7 +2695,6 @@ const deserializeAws_queryRegisterTypeCommandError = async (output, context) =>
|
|
|
2905
2695
|
...output,
|
|
2906
2696
|
body: await parseBody(output.body, context),
|
|
2907
2697
|
};
|
|
2908
|
-
let response;
|
|
2909
2698
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2910
2699
|
switch (errorCode) {
|
|
2911
2700
|
case "CFNRegistryException":
|
|
@@ -2913,14 +2702,12 @@ const deserializeAws_queryRegisterTypeCommandError = async (output, context) =>
|
|
|
2913
2702
|
throw await deserializeAws_queryCFNRegistryExceptionResponse(parsedOutput, context);
|
|
2914
2703
|
default:
|
|
2915
2704
|
const parsedBody = parsedOutput.body;
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
$metadata,
|
|
2705
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2706
|
+
output,
|
|
2707
|
+
parsedBody: parsedBody.Error,
|
|
2708
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2709
|
+
errorCode,
|
|
2922
2710
|
});
|
|
2923
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2924
2711
|
}
|
|
2925
2712
|
};
|
|
2926
2713
|
const deserializeAws_queryRollbackStackCommand = async (output, context) => {
|
|
@@ -2942,7 +2729,6 @@ const deserializeAws_queryRollbackStackCommandError = async (output, context) =>
|
|
|
2942
2729
|
...output,
|
|
2943
2730
|
body: await parseBody(output.body, context),
|
|
2944
2731
|
};
|
|
2945
|
-
let response;
|
|
2946
2732
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2947
2733
|
switch (errorCode) {
|
|
2948
2734
|
case "TokenAlreadyExistsException":
|
|
@@ -2950,14 +2736,12 @@ const deserializeAws_queryRollbackStackCommandError = async (output, context) =>
|
|
|
2950
2736
|
throw await deserializeAws_queryTokenAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
2951
2737
|
default:
|
|
2952
2738
|
const parsedBody = parsedOutput.body;
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
$metadata,
|
|
2739
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2740
|
+
output,
|
|
2741
|
+
parsedBody: parsedBody.Error,
|
|
2742
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2743
|
+
errorCode,
|
|
2959
2744
|
});
|
|
2960
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2961
2745
|
}
|
|
2962
2746
|
};
|
|
2963
2747
|
const deserializeAws_querySetStackPolicyCommand = async (output, context) => {
|
|
@@ -2976,20 +2760,14 @@ const deserializeAws_querySetStackPolicyCommandError = async (output, context) =
|
|
|
2976
2760
|
...output,
|
|
2977
2761
|
body: await parseBody(output.body, context),
|
|
2978
2762
|
};
|
|
2979
|
-
let response;
|
|
2980
2763
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
$fault: "client",
|
|
2989
|
-
$metadata,
|
|
2990
|
-
});
|
|
2991
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2992
|
-
}
|
|
2764
|
+
const parsedBody = parsedOutput.body;
|
|
2765
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2766
|
+
output,
|
|
2767
|
+
parsedBody: parsedBody.Error,
|
|
2768
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2769
|
+
errorCode,
|
|
2770
|
+
});
|
|
2993
2771
|
};
|
|
2994
2772
|
const deserializeAws_querySetTypeConfigurationCommand = async (output, context) => {
|
|
2995
2773
|
if (output.statusCode >= 300) {
|
|
@@ -3010,7 +2788,6 @@ const deserializeAws_querySetTypeConfigurationCommandError = async (output, cont
|
|
|
3010
2788
|
...output,
|
|
3011
2789
|
body: await parseBody(output.body, context),
|
|
3012
2790
|
};
|
|
3013
|
-
let response;
|
|
3014
2791
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3015
2792
|
switch (errorCode) {
|
|
3016
2793
|
case "CFNRegistryException":
|
|
@@ -3021,14 +2798,12 @@ const deserializeAws_querySetTypeConfigurationCommandError = async (output, cont
|
|
|
3021
2798
|
throw await deserializeAws_queryTypeNotFoundExceptionResponse(parsedOutput, context);
|
|
3022
2799
|
default:
|
|
3023
2800
|
const parsedBody = parsedOutput.body;
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
$metadata,
|
|
2801
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2802
|
+
output,
|
|
2803
|
+
parsedBody: parsedBody.Error,
|
|
2804
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2805
|
+
errorCode,
|
|
3030
2806
|
});
|
|
3031
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3032
2807
|
}
|
|
3033
2808
|
};
|
|
3034
2809
|
const deserializeAws_querySetTypeDefaultVersionCommand = async (output, context) => {
|
|
@@ -3050,7 +2825,6 @@ const deserializeAws_querySetTypeDefaultVersionCommandError = async (output, con
|
|
|
3050
2825
|
...output,
|
|
3051
2826
|
body: await parseBody(output.body, context),
|
|
3052
2827
|
};
|
|
3053
|
-
let response;
|
|
3054
2828
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3055
2829
|
switch (errorCode) {
|
|
3056
2830
|
case "CFNRegistryException":
|
|
@@ -3061,14 +2835,12 @@ const deserializeAws_querySetTypeDefaultVersionCommandError = async (output, con
|
|
|
3061
2835
|
throw await deserializeAws_queryTypeNotFoundExceptionResponse(parsedOutput, context);
|
|
3062
2836
|
default:
|
|
3063
2837
|
const parsedBody = parsedOutput.body;
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
$metadata,
|
|
2838
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2839
|
+
output,
|
|
2840
|
+
parsedBody: parsedBody.Error,
|
|
2841
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2842
|
+
errorCode,
|
|
3070
2843
|
});
|
|
3071
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3072
2844
|
}
|
|
3073
2845
|
};
|
|
3074
2846
|
const deserializeAws_querySignalResourceCommand = async (output, context) => {
|
|
@@ -3087,20 +2859,14 @@ const deserializeAws_querySignalResourceCommandError = async (output, context) =
|
|
|
3087
2859
|
...output,
|
|
3088
2860
|
body: await parseBody(output.body, context),
|
|
3089
2861
|
};
|
|
3090
|
-
let response;
|
|
3091
2862
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
$fault: "client",
|
|
3100
|
-
$metadata,
|
|
3101
|
-
});
|
|
3102
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3103
|
-
}
|
|
2863
|
+
const parsedBody = parsedOutput.body;
|
|
2864
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2865
|
+
output,
|
|
2866
|
+
parsedBody: parsedBody.Error,
|
|
2867
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2868
|
+
errorCode,
|
|
2869
|
+
});
|
|
3104
2870
|
};
|
|
3105
2871
|
const deserializeAws_queryStopStackSetOperationCommand = async (output, context) => {
|
|
3106
2872
|
if (output.statusCode >= 300) {
|
|
@@ -3121,7 +2887,6 @@ const deserializeAws_queryStopStackSetOperationCommandError = async (output, con
|
|
|
3121
2887
|
...output,
|
|
3122
2888
|
body: await parseBody(output.body, context),
|
|
3123
2889
|
};
|
|
3124
|
-
let response;
|
|
3125
2890
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3126
2891
|
switch (errorCode) {
|
|
3127
2892
|
case "InvalidOperationException":
|
|
@@ -3135,14 +2900,12 @@ const deserializeAws_queryStopStackSetOperationCommandError = async (output, con
|
|
|
3135
2900
|
throw await deserializeAws_queryStackSetNotFoundExceptionResponse(parsedOutput, context);
|
|
3136
2901
|
default:
|
|
3137
2902
|
const parsedBody = parsedOutput.body;
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
$metadata,
|
|
2903
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2904
|
+
output,
|
|
2905
|
+
parsedBody: parsedBody.Error,
|
|
2906
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2907
|
+
errorCode,
|
|
3144
2908
|
});
|
|
3145
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3146
2909
|
}
|
|
3147
2910
|
};
|
|
3148
2911
|
const deserializeAws_queryTestTypeCommand = async (output, context) => {
|
|
@@ -3164,7 +2927,6 @@ const deserializeAws_queryTestTypeCommandError = async (output, context) => {
|
|
|
3164
2927
|
...output,
|
|
3165
2928
|
body: await parseBody(output.body, context),
|
|
3166
2929
|
};
|
|
3167
|
-
let response;
|
|
3168
2930
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3169
2931
|
switch (errorCode) {
|
|
3170
2932
|
case "CFNRegistryException":
|
|
@@ -3175,14 +2937,12 @@ const deserializeAws_queryTestTypeCommandError = async (output, context) => {
|
|
|
3175
2937
|
throw await deserializeAws_queryTypeNotFoundExceptionResponse(parsedOutput, context);
|
|
3176
2938
|
default:
|
|
3177
2939
|
const parsedBody = parsedOutput.body;
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
$metadata,
|
|
2940
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2941
|
+
output,
|
|
2942
|
+
parsedBody: parsedBody.Error,
|
|
2943
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2944
|
+
errorCode,
|
|
3184
2945
|
});
|
|
3185
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3186
2946
|
}
|
|
3187
2947
|
};
|
|
3188
2948
|
const deserializeAws_queryUpdateStackCommand = async (output, context) => {
|
|
@@ -3204,7 +2964,6 @@ const deserializeAws_queryUpdateStackCommandError = async (output, context) => {
|
|
|
3204
2964
|
...output,
|
|
3205
2965
|
body: await parseBody(output.body, context),
|
|
3206
2966
|
};
|
|
3207
|
-
let response;
|
|
3208
2967
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3209
2968
|
switch (errorCode) {
|
|
3210
2969
|
case "InsufficientCapabilitiesException":
|
|
@@ -3215,14 +2974,12 @@ const deserializeAws_queryUpdateStackCommandError = async (output, context) => {
|
|
|
3215
2974
|
throw await deserializeAws_queryTokenAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
3216
2975
|
default:
|
|
3217
2976
|
const parsedBody = parsedOutput.body;
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
$metadata,
|
|
2977
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2978
|
+
output,
|
|
2979
|
+
parsedBody: parsedBody.Error,
|
|
2980
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
2981
|
+
errorCode,
|
|
3224
2982
|
});
|
|
3225
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3226
2983
|
}
|
|
3227
2984
|
};
|
|
3228
2985
|
const deserializeAws_queryUpdateStackInstancesCommand = async (output, context) => {
|
|
@@ -3244,7 +3001,6 @@ const deserializeAws_queryUpdateStackInstancesCommandError = async (output, cont
|
|
|
3244
3001
|
...output,
|
|
3245
3002
|
body: await parseBody(output.body, context),
|
|
3246
3003
|
};
|
|
3247
|
-
let response;
|
|
3248
3004
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3249
3005
|
switch (errorCode) {
|
|
3250
3006
|
case "InvalidOperationException":
|
|
@@ -3267,14 +3023,12 @@ const deserializeAws_queryUpdateStackInstancesCommandError = async (output, cont
|
|
|
3267
3023
|
throw await deserializeAws_queryStaleRequestExceptionResponse(parsedOutput, context);
|
|
3268
3024
|
default:
|
|
3269
3025
|
const parsedBody = parsedOutput.body;
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
$metadata,
|
|
3026
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3027
|
+
output,
|
|
3028
|
+
parsedBody: parsedBody.Error,
|
|
3029
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
3030
|
+
errorCode,
|
|
3276
3031
|
});
|
|
3277
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3278
3032
|
}
|
|
3279
3033
|
};
|
|
3280
3034
|
const deserializeAws_queryUpdateStackSetCommand = async (output, context) => {
|
|
@@ -3296,7 +3050,6 @@ const deserializeAws_queryUpdateStackSetCommandError = async (output, context) =
|
|
|
3296
3050
|
...output,
|
|
3297
3051
|
body: await parseBody(output.body, context),
|
|
3298
3052
|
};
|
|
3299
|
-
let response;
|
|
3300
3053
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3301
3054
|
switch (errorCode) {
|
|
3302
3055
|
case "InvalidOperationException":
|
|
@@ -3319,14 +3072,12 @@ const deserializeAws_queryUpdateStackSetCommandError = async (output, context) =
|
|
|
3319
3072
|
throw await deserializeAws_queryStaleRequestExceptionResponse(parsedOutput, context);
|
|
3320
3073
|
default:
|
|
3321
3074
|
const parsedBody = parsedOutput.body;
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
$metadata,
|
|
3075
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3076
|
+
output,
|
|
3077
|
+
parsedBody: parsedBody.Error,
|
|
3078
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
3079
|
+
errorCode,
|
|
3328
3080
|
});
|
|
3329
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3330
3081
|
}
|
|
3331
3082
|
};
|
|
3332
3083
|
const deserializeAws_queryUpdateTerminationProtectionCommand = async (output, context) => {
|
|
@@ -3348,20 +3099,14 @@ const deserializeAws_queryUpdateTerminationProtectionCommandError = async (outpu
|
|
|
3348
3099
|
...output,
|
|
3349
3100
|
body: await parseBody(output.body, context),
|
|
3350
3101
|
};
|
|
3351
|
-
let response;
|
|
3352
3102
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
$fault: "client",
|
|
3361
|
-
$metadata,
|
|
3362
|
-
});
|
|
3363
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3364
|
-
}
|
|
3103
|
+
const parsedBody = parsedOutput.body;
|
|
3104
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3105
|
+
output,
|
|
3106
|
+
parsedBody: parsedBody.Error,
|
|
3107
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
3108
|
+
errorCode,
|
|
3109
|
+
});
|
|
3365
3110
|
};
|
|
3366
3111
|
const deserializeAws_queryValidateTemplateCommand = async (output, context) => {
|
|
3367
3112
|
if (output.statusCode >= 300) {
|
|
@@ -3382,20 +3127,14 @@ const deserializeAws_queryValidateTemplateCommandError = async (output, context)
|
|
|
3382
3127
|
...output,
|
|
3383
3128
|
body: await parseBody(output.body, context),
|
|
3384
3129
|
};
|
|
3385
|
-
let response;
|
|
3386
3130
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
$fault: "client",
|
|
3395
|
-
$metadata,
|
|
3396
|
-
});
|
|
3397
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3398
|
-
}
|
|
3131
|
+
const parsedBody = parsedOutput.body;
|
|
3132
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3133
|
+
output,
|
|
3134
|
+
parsedBody: parsedBody.Error,
|
|
3135
|
+
exceptionCtor: CloudFormationServiceException_1.CloudFormationServiceException,
|
|
3136
|
+
errorCode,
|
|
3137
|
+
});
|
|
3399
3138
|
};
|
|
3400
3139
|
const deserializeAws_queryAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
3401
3140
|
const body = parsedOutput.body;
|
|
@@ -3609,55 +3348,55 @@ const serializeAws_queryAccountList = (input, context) => {
|
|
|
3609
3348
|
};
|
|
3610
3349
|
const serializeAws_queryActivateTypeInput = (input, context) => {
|
|
3611
3350
|
const entries = {};
|
|
3612
|
-
if (input.Type
|
|
3351
|
+
if (input.Type != null) {
|
|
3613
3352
|
entries["Type"] = input.Type;
|
|
3614
3353
|
}
|
|
3615
|
-
if (input.PublicTypeArn
|
|
3354
|
+
if (input.PublicTypeArn != null) {
|
|
3616
3355
|
entries["PublicTypeArn"] = input.PublicTypeArn;
|
|
3617
3356
|
}
|
|
3618
|
-
if (input.PublisherId
|
|
3357
|
+
if (input.PublisherId != null) {
|
|
3619
3358
|
entries["PublisherId"] = input.PublisherId;
|
|
3620
3359
|
}
|
|
3621
|
-
if (input.TypeName
|
|
3360
|
+
if (input.TypeName != null) {
|
|
3622
3361
|
entries["TypeName"] = input.TypeName;
|
|
3623
3362
|
}
|
|
3624
|
-
if (input.TypeNameAlias
|
|
3363
|
+
if (input.TypeNameAlias != null) {
|
|
3625
3364
|
entries["TypeNameAlias"] = input.TypeNameAlias;
|
|
3626
3365
|
}
|
|
3627
|
-
if (input.AutoUpdate
|
|
3366
|
+
if (input.AutoUpdate != null) {
|
|
3628
3367
|
entries["AutoUpdate"] = input.AutoUpdate;
|
|
3629
3368
|
}
|
|
3630
|
-
if (input.LoggingConfig
|
|
3369
|
+
if (input.LoggingConfig != null) {
|
|
3631
3370
|
const memberEntries = serializeAws_queryLoggingConfig(input.LoggingConfig, context);
|
|
3632
3371
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3633
3372
|
const loc = `LoggingConfig.${key}`;
|
|
3634
3373
|
entries[loc] = value;
|
|
3635
3374
|
});
|
|
3636
3375
|
}
|
|
3637
|
-
if (input.ExecutionRoleArn
|
|
3376
|
+
if (input.ExecutionRoleArn != null) {
|
|
3638
3377
|
entries["ExecutionRoleArn"] = input.ExecutionRoleArn;
|
|
3639
3378
|
}
|
|
3640
|
-
if (input.VersionBump
|
|
3379
|
+
if (input.VersionBump != null) {
|
|
3641
3380
|
entries["VersionBump"] = input.VersionBump;
|
|
3642
3381
|
}
|
|
3643
|
-
if (input.MajorVersion
|
|
3382
|
+
if (input.MajorVersion != null) {
|
|
3644
3383
|
entries["MajorVersion"] = input.MajorVersion;
|
|
3645
3384
|
}
|
|
3646
3385
|
return entries;
|
|
3647
3386
|
};
|
|
3648
3387
|
const serializeAws_queryAutoDeployment = (input, context) => {
|
|
3649
3388
|
const entries = {};
|
|
3650
|
-
if (input.Enabled
|
|
3389
|
+
if (input.Enabled != null) {
|
|
3651
3390
|
entries["Enabled"] = input.Enabled;
|
|
3652
3391
|
}
|
|
3653
|
-
if (input.RetainStacksOnAccountRemoval
|
|
3392
|
+
if (input.RetainStacksOnAccountRemoval != null) {
|
|
3654
3393
|
entries["RetainStacksOnAccountRemoval"] = input.RetainStacksOnAccountRemoval;
|
|
3655
3394
|
}
|
|
3656
3395
|
return entries;
|
|
3657
3396
|
};
|
|
3658
3397
|
const serializeAws_queryBatchDescribeTypeConfigurationsInput = (input, context) => {
|
|
3659
3398
|
const entries = {};
|
|
3660
|
-
if (input.TypeConfigurationIdentifiers
|
|
3399
|
+
if (input.TypeConfigurationIdentifiers != null) {
|
|
3661
3400
|
const memberEntries = serializeAws_queryTypeConfigurationIdentifiers(input.TypeConfigurationIdentifiers, context);
|
|
3662
3401
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3663
3402
|
const loc = `TypeConfigurationIdentifiers.${key}`;
|
|
@@ -3668,10 +3407,10 @@ const serializeAws_queryBatchDescribeTypeConfigurationsInput = (input, context)
|
|
|
3668
3407
|
};
|
|
3669
3408
|
const serializeAws_queryCancelUpdateStackInput = (input, context) => {
|
|
3670
3409
|
const entries = {};
|
|
3671
|
-
if (input.StackName
|
|
3410
|
+
if (input.StackName != null) {
|
|
3672
3411
|
entries["StackName"] = input.StackName;
|
|
3673
3412
|
}
|
|
3674
|
-
if (input.ClientRequestToken
|
|
3413
|
+
if (input.ClientRequestToken != null) {
|
|
3675
3414
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
3676
3415
|
}
|
|
3677
3416
|
return entries;
|
|
@@ -3690,220 +3429,220 @@ const serializeAws_queryCapabilities = (input, context) => {
|
|
|
3690
3429
|
};
|
|
3691
3430
|
const serializeAws_queryContinueUpdateRollbackInput = (input, context) => {
|
|
3692
3431
|
const entries = {};
|
|
3693
|
-
if (input.StackName
|
|
3432
|
+
if (input.StackName != null) {
|
|
3694
3433
|
entries["StackName"] = input.StackName;
|
|
3695
3434
|
}
|
|
3696
|
-
if (input.RoleARN
|
|
3435
|
+
if (input.RoleARN != null) {
|
|
3697
3436
|
entries["RoleARN"] = input.RoleARN;
|
|
3698
3437
|
}
|
|
3699
|
-
if (input.ResourcesToSkip
|
|
3438
|
+
if (input.ResourcesToSkip != null) {
|
|
3700
3439
|
const memberEntries = serializeAws_queryResourcesToSkip(input.ResourcesToSkip, context);
|
|
3701
3440
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3702
3441
|
const loc = `ResourcesToSkip.${key}`;
|
|
3703
3442
|
entries[loc] = value;
|
|
3704
3443
|
});
|
|
3705
3444
|
}
|
|
3706
|
-
if (input.ClientRequestToken
|
|
3445
|
+
if (input.ClientRequestToken != null) {
|
|
3707
3446
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
3708
3447
|
}
|
|
3709
3448
|
return entries;
|
|
3710
3449
|
};
|
|
3711
3450
|
const serializeAws_queryCreateChangeSetInput = (input, context) => {
|
|
3712
3451
|
const entries = {};
|
|
3713
|
-
if (input.StackName
|
|
3452
|
+
if (input.StackName != null) {
|
|
3714
3453
|
entries["StackName"] = input.StackName;
|
|
3715
3454
|
}
|
|
3716
|
-
if (input.TemplateBody
|
|
3455
|
+
if (input.TemplateBody != null) {
|
|
3717
3456
|
entries["TemplateBody"] = input.TemplateBody;
|
|
3718
3457
|
}
|
|
3719
|
-
if (input.TemplateURL
|
|
3458
|
+
if (input.TemplateURL != null) {
|
|
3720
3459
|
entries["TemplateURL"] = input.TemplateURL;
|
|
3721
3460
|
}
|
|
3722
|
-
if (input.UsePreviousTemplate
|
|
3461
|
+
if (input.UsePreviousTemplate != null) {
|
|
3723
3462
|
entries["UsePreviousTemplate"] = input.UsePreviousTemplate;
|
|
3724
3463
|
}
|
|
3725
|
-
if (input.Parameters
|
|
3464
|
+
if (input.Parameters != null) {
|
|
3726
3465
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
3727
3466
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3728
3467
|
const loc = `Parameters.${key}`;
|
|
3729
3468
|
entries[loc] = value;
|
|
3730
3469
|
});
|
|
3731
3470
|
}
|
|
3732
|
-
if (input.Capabilities
|
|
3471
|
+
if (input.Capabilities != null) {
|
|
3733
3472
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
3734
3473
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3735
3474
|
const loc = `Capabilities.${key}`;
|
|
3736
3475
|
entries[loc] = value;
|
|
3737
3476
|
});
|
|
3738
3477
|
}
|
|
3739
|
-
if (input.ResourceTypes
|
|
3478
|
+
if (input.ResourceTypes != null) {
|
|
3740
3479
|
const memberEntries = serializeAws_queryResourceTypes(input.ResourceTypes, context);
|
|
3741
3480
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3742
3481
|
const loc = `ResourceTypes.${key}`;
|
|
3743
3482
|
entries[loc] = value;
|
|
3744
3483
|
});
|
|
3745
3484
|
}
|
|
3746
|
-
if (input.RoleARN
|
|
3485
|
+
if (input.RoleARN != null) {
|
|
3747
3486
|
entries["RoleARN"] = input.RoleARN;
|
|
3748
3487
|
}
|
|
3749
|
-
if (input.RollbackConfiguration
|
|
3488
|
+
if (input.RollbackConfiguration != null) {
|
|
3750
3489
|
const memberEntries = serializeAws_queryRollbackConfiguration(input.RollbackConfiguration, context);
|
|
3751
3490
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3752
3491
|
const loc = `RollbackConfiguration.${key}`;
|
|
3753
3492
|
entries[loc] = value;
|
|
3754
3493
|
});
|
|
3755
3494
|
}
|
|
3756
|
-
if (input.NotificationARNs
|
|
3495
|
+
if (input.NotificationARNs != null) {
|
|
3757
3496
|
const memberEntries = serializeAws_queryNotificationARNs(input.NotificationARNs, context);
|
|
3758
3497
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3759
3498
|
const loc = `NotificationARNs.${key}`;
|
|
3760
3499
|
entries[loc] = value;
|
|
3761
3500
|
});
|
|
3762
3501
|
}
|
|
3763
|
-
if (input.Tags
|
|
3502
|
+
if (input.Tags != null) {
|
|
3764
3503
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3765
3504
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3766
3505
|
const loc = `Tags.${key}`;
|
|
3767
3506
|
entries[loc] = value;
|
|
3768
3507
|
});
|
|
3769
3508
|
}
|
|
3770
|
-
if (input.ChangeSetName
|
|
3509
|
+
if (input.ChangeSetName != null) {
|
|
3771
3510
|
entries["ChangeSetName"] = input.ChangeSetName;
|
|
3772
3511
|
}
|
|
3773
|
-
if (input.ClientToken
|
|
3512
|
+
if (input.ClientToken != null) {
|
|
3774
3513
|
entries["ClientToken"] = input.ClientToken;
|
|
3775
3514
|
}
|
|
3776
|
-
if (input.Description
|
|
3515
|
+
if (input.Description != null) {
|
|
3777
3516
|
entries["Description"] = input.Description;
|
|
3778
3517
|
}
|
|
3779
|
-
if (input.ChangeSetType
|
|
3518
|
+
if (input.ChangeSetType != null) {
|
|
3780
3519
|
entries["ChangeSetType"] = input.ChangeSetType;
|
|
3781
3520
|
}
|
|
3782
|
-
if (input.ResourcesToImport
|
|
3521
|
+
if (input.ResourcesToImport != null) {
|
|
3783
3522
|
const memberEntries = serializeAws_queryResourcesToImport(input.ResourcesToImport, context);
|
|
3784
3523
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3785
3524
|
const loc = `ResourcesToImport.${key}`;
|
|
3786
3525
|
entries[loc] = value;
|
|
3787
3526
|
});
|
|
3788
3527
|
}
|
|
3789
|
-
if (input.IncludeNestedStacks
|
|
3528
|
+
if (input.IncludeNestedStacks != null) {
|
|
3790
3529
|
entries["IncludeNestedStacks"] = input.IncludeNestedStacks;
|
|
3791
3530
|
}
|
|
3792
3531
|
return entries;
|
|
3793
3532
|
};
|
|
3794
3533
|
const serializeAws_queryCreateStackInput = (input, context) => {
|
|
3795
3534
|
const entries = {};
|
|
3796
|
-
if (input.StackName
|
|
3535
|
+
if (input.StackName != null) {
|
|
3797
3536
|
entries["StackName"] = input.StackName;
|
|
3798
3537
|
}
|
|
3799
|
-
if (input.TemplateBody
|
|
3538
|
+
if (input.TemplateBody != null) {
|
|
3800
3539
|
entries["TemplateBody"] = input.TemplateBody;
|
|
3801
3540
|
}
|
|
3802
|
-
if (input.TemplateURL
|
|
3541
|
+
if (input.TemplateURL != null) {
|
|
3803
3542
|
entries["TemplateURL"] = input.TemplateURL;
|
|
3804
3543
|
}
|
|
3805
|
-
if (input.Parameters
|
|
3544
|
+
if (input.Parameters != null) {
|
|
3806
3545
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
3807
3546
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3808
3547
|
const loc = `Parameters.${key}`;
|
|
3809
3548
|
entries[loc] = value;
|
|
3810
3549
|
});
|
|
3811
3550
|
}
|
|
3812
|
-
if (input.DisableRollback
|
|
3551
|
+
if (input.DisableRollback != null) {
|
|
3813
3552
|
entries["DisableRollback"] = input.DisableRollback;
|
|
3814
3553
|
}
|
|
3815
|
-
if (input.RollbackConfiguration
|
|
3554
|
+
if (input.RollbackConfiguration != null) {
|
|
3816
3555
|
const memberEntries = serializeAws_queryRollbackConfiguration(input.RollbackConfiguration, context);
|
|
3817
3556
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3818
3557
|
const loc = `RollbackConfiguration.${key}`;
|
|
3819
3558
|
entries[loc] = value;
|
|
3820
3559
|
});
|
|
3821
3560
|
}
|
|
3822
|
-
if (input.TimeoutInMinutes
|
|
3561
|
+
if (input.TimeoutInMinutes != null) {
|
|
3823
3562
|
entries["TimeoutInMinutes"] = input.TimeoutInMinutes;
|
|
3824
3563
|
}
|
|
3825
|
-
if (input.NotificationARNs
|
|
3564
|
+
if (input.NotificationARNs != null) {
|
|
3826
3565
|
const memberEntries = serializeAws_queryNotificationARNs(input.NotificationARNs, context);
|
|
3827
3566
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3828
3567
|
const loc = `NotificationARNs.${key}`;
|
|
3829
3568
|
entries[loc] = value;
|
|
3830
3569
|
});
|
|
3831
3570
|
}
|
|
3832
|
-
if (input.Capabilities
|
|
3571
|
+
if (input.Capabilities != null) {
|
|
3833
3572
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
3834
3573
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3835
3574
|
const loc = `Capabilities.${key}`;
|
|
3836
3575
|
entries[loc] = value;
|
|
3837
3576
|
});
|
|
3838
3577
|
}
|
|
3839
|
-
if (input.ResourceTypes
|
|
3578
|
+
if (input.ResourceTypes != null) {
|
|
3840
3579
|
const memberEntries = serializeAws_queryResourceTypes(input.ResourceTypes, context);
|
|
3841
3580
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3842
3581
|
const loc = `ResourceTypes.${key}`;
|
|
3843
3582
|
entries[loc] = value;
|
|
3844
3583
|
});
|
|
3845
3584
|
}
|
|
3846
|
-
if (input.RoleARN
|
|
3585
|
+
if (input.RoleARN != null) {
|
|
3847
3586
|
entries["RoleARN"] = input.RoleARN;
|
|
3848
3587
|
}
|
|
3849
|
-
if (input.OnFailure
|
|
3588
|
+
if (input.OnFailure != null) {
|
|
3850
3589
|
entries["OnFailure"] = input.OnFailure;
|
|
3851
3590
|
}
|
|
3852
|
-
if (input.StackPolicyBody
|
|
3591
|
+
if (input.StackPolicyBody != null) {
|
|
3853
3592
|
entries["StackPolicyBody"] = input.StackPolicyBody;
|
|
3854
3593
|
}
|
|
3855
|
-
if (input.StackPolicyURL
|
|
3594
|
+
if (input.StackPolicyURL != null) {
|
|
3856
3595
|
entries["StackPolicyURL"] = input.StackPolicyURL;
|
|
3857
3596
|
}
|
|
3858
|
-
if (input.Tags
|
|
3597
|
+
if (input.Tags != null) {
|
|
3859
3598
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3860
3599
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3861
3600
|
const loc = `Tags.${key}`;
|
|
3862
3601
|
entries[loc] = value;
|
|
3863
3602
|
});
|
|
3864
3603
|
}
|
|
3865
|
-
if (input.ClientRequestToken
|
|
3604
|
+
if (input.ClientRequestToken != null) {
|
|
3866
3605
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
3867
3606
|
}
|
|
3868
|
-
if (input.EnableTerminationProtection
|
|
3607
|
+
if (input.EnableTerminationProtection != null) {
|
|
3869
3608
|
entries["EnableTerminationProtection"] = input.EnableTerminationProtection;
|
|
3870
3609
|
}
|
|
3871
3610
|
return entries;
|
|
3872
3611
|
};
|
|
3873
3612
|
const serializeAws_queryCreateStackInstancesInput = (input, context) => {
|
|
3874
3613
|
const entries = {};
|
|
3875
|
-
if (input.StackSetName
|
|
3614
|
+
if (input.StackSetName != null) {
|
|
3876
3615
|
entries["StackSetName"] = input.StackSetName;
|
|
3877
3616
|
}
|
|
3878
|
-
if (input.Accounts
|
|
3617
|
+
if (input.Accounts != null) {
|
|
3879
3618
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
3880
3619
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3881
3620
|
const loc = `Accounts.${key}`;
|
|
3882
3621
|
entries[loc] = value;
|
|
3883
3622
|
});
|
|
3884
3623
|
}
|
|
3885
|
-
if (input.DeploymentTargets
|
|
3624
|
+
if (input.DeploymentTargets != null) {
|
|
3886
3625
|
const memberEntries = serializeAws_queryDeploymentTargets(input.DeploymentTargets, context);
|
|
3887
3626
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3888
3627
|
const loc = `DeploymentTargets.${key}`;
|
|
3889
3628
|
entries[loc] = value;
|
|
3890
3629
|
});
|
|
3891
3630
|
}
|
|
3892
|
-
if (input.Regions
|
|
3631
|
+
if (input.Regions != null) {
|
|
3893
3632
|
const memberEntries = serializeAws_queryRegionList(input.Regions, context);
|
|
3894
3633
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3895
3634
|
const loc = `Regions.${key}`;
|
|
3896
3635
|
entries[loc] = value;
|
|
3897
3636
|
});
|
|
3898
3637
|
}
|
|
3899
|
-
if (input.ParameterOverrides
|
|
3638
|
+
if (input.ParameterOverrides != null) {
|
|
3900
3639
|
const memberEntries = serializeAws_queryParameters(input.ParameterOverrides, context);
|
|
3901
3640
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3902
3641
|
const loc = `ParameterOverrides.${key}`;
|
|
3903
3642
|
entries[loc] = value;
|
|
3904
3643
|
});
|
|
3905
3644
|
}
|
|
3906
|
-
if (input.OperationPreferences
|
|
3645
|
+
if (input.OperationPreferences != null) {
|
|
3907
3646
|
const memberEntries = serializeAws_queryStackSetOperationPreferences(input.OperationPreferences, context);
|
|
3908
3647
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3909
3648
|
const loc = `OperationPreferences.${key}`;
|
|
@@ -3913,78 +3652,78 @@ const serializeAws_queryCreateStackInstancesInput = (input, context) => {
|
|
|
3913
3652
|
if (input.OperationId === undefined) {
|
|
3914
3653
|
input.OperationId = (0, uuid_1.v4)();
|
|
3915
3654
|
}
|
|
3916
|
-
if (input.OperationId
|
|
3655
|
+
if (input.OperationId != null) {
|
|
3917
3656
|
entries["OperationId"] = input.OperationId;
|
|
3918
3657
|
}
|
|
3919
|
-
if (input.CallAs
|
|
3658
|
+
if (input.CallAs != null) {
|
|
3920
3659
|
entries["CallAs"] = input.CallAs;
|
|
3921
3660
|
}
|
|
3922
3661
|
return entries;
|
|
3923
3662
|
};
|
|
3924
3663
|
const serializeAws_queryCreateStackSetInput = (input, context) => {
|
|
3925
3664
|
const entries = {};
|
|
3926
|
-
if (input.StackSetName
|
|
3665
|
+
if (input.StackSetName != null) {
|
|
3927
3666
|
entries["StackSetName"] = input.StackSetName;
|
|
3928
3667
|
}
|
|
3929
|
-
if (input.Description
|
|
3668
|
+
if (input.Description != null) {
|
|
3930
3669
|
entries["Description"] = input.Description;
|
|
3931
3670
|
}
|
|
3932
|
-
if (input.TemplateBody
|
|
3671
|
+
if (input.TemplateBody != null) {
|
|
3933
3672
|
entries["TemplateBody"] = input.TemplateBody;
|
|
3934
3673
|
}
|
|
3935
|
-
if (input.TemplateURL
|
|
3674
|
+
if (input.TemplateURL != null) {
|
|
3936
3675
|
entries["TemplateURL"] = input.TemplateURL;
|
|
3937
3676
|
}
|
|
3938
|
-
if (input.StackId
|
|
3677
|
+
if (input.StackId != null) {
|
|
3939
3678
|
entries["StackId"] = input.StackId;
|
|
3940
3679
|
}
|
|
3941
|
-
if (input.Parameters
|
|
3680
|
+
if (input.Parameters != null) {
|
|
3942
3681
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
3943
3682
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3944
3683
|
const loc = `Parameters.${key}`;
|
|
3945
3684
|
entries[loc] = value;
|
|
3946
3685
|
});
|
|
3947
3686
|
}
|
|
3948
|
-
if (input.Capabilities
|
|
3687
|
+
if (input.Capabilities != null) {
|
|
3949
3688
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
3950
3689
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3951
3690
|
const loc = `Capabilities.${key}`;
|
|
3952
3691
|
entries[loc] = value;
|
|
3953
3692
|
});
|
|
3954
3693
|
}
|
|
3955
|
-
if (input.Tags
|
|
3694
|
+
if (input.Tags != null) {
|
|
3956
3695
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
3957
3696
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3958
3697
|
const loc = `Tags.${key}`;
|
|
3959
3698
|
entries[loc] = value;
|
|
3960
3699
|
});
|
|
3961
3700
|
}
|
|
3962
|
-
if (input.AdministrationRoleARN
|
|
3701
|
+
if (input.AdministrationRoleARN != null) {
|
|
3963
3702
|
entries["AdministrationRoleARN"] = input.AdministrationRoleARN;
|
|
3964
3703
|
}
|
|
3965
|
-
if (input.ExecutionRoleName
|
|
3704
|
+
if (input.ExecutionRoleName != null) {
|
|
3966
3705
|
entries["ExecutionRoleName"] = input.ExecutionRoleName;
|
|
3967
3706
|
}
|
|
3968
|
-
if (input.PermissionModel
|
|
3707
|
+
if (input.PermissionModel != null) {
|
|
3969
3708
|
entries["PermissionModel"] = input.PermissionModel;
|
|
3970
3709
|
}
|
|
3971
|
-
if (input.AutoDeployment
|
|
3710
|
+
if (input.AutoDeployment != null) {
|
|
3972
3711
|
const memberEntries = serializeAws_queryAutoDeployment(input.AutoDeployment, context);
|
|
3973
3712
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3974
3713
|
const loc = `AutoDeployment.${key}`;
|
|
3975
3714
|
entries[loc] = value;
|
|
3976
3715
|
});
|
|
3977
3716
|
}
|
|
3978
|
-
if (input.CallAs
|
|
3717
|
+
if (input.CallAs != null) {
|
|
3979
3718
|
entries["CallAs"] = input.CallAs;
|
|
3980
3719
|
}
|
|
3981
3720
|
if (input.ClientRequestToken === undefined) {
|
|
3982
3721
|
input.ClientRequestToken = (0, uuid_1.v4)();
|
|
3983
3722
|
}
|
|
3984
|
-
if (input.ClientRequestToken
|
|
3723
|
+
if (input.ClientRequestToken != null) {
|
|
3985
3724
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
3986
3725
|
}
|
|
3987
|
-
if (input.ManagedExecution
|
|
3726
|
+
if (input.ManagedExecution != null) {
|
|
3988
3727
|
const memberEntries = serializeAws_queryManagedExecution(input.ManagedExecution, context);
|
|
3989
3728
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3990
3729
|
const loc = `ManagedExecution.${key}`;
|
|
@@ -3995,331 +3734,331 @@ const serializeAws_queryCreateStackSetInput = (input, context) => {
|
|
|
3995
3734
|
};
|
|
3996
3735
|
const serializeAws_queryDeactivateTypeInput = (input, context) => {
|
|
3997
3736
|
const entries = {};
|
|
3998
|
-
if (input.TypeName
|
|
3737
|
+
if (input.TypeName != null) {
|
|
3999
3738
|
entries["TypeName"] = input.TypeName;
|
|
4000
3739
|
}
|
|
4001
|
-
if (input.Type
|
|
3740
|
+
if (input.Type != null) {
|
|
4002
3741
|
entries["Type"] = input.Type;
|
|
4003
3742
|
}
|
|
4004
|
-
if (input.Arn
|
|
3743
|
+
if (input.Arn != null) {
|
|
4005
3744
|
entries["Arn"] = input.Arn;
|
|
4006
3745
|
}
|
|
4007
3746
|
return entries;
|
|
4008
3747
|
};
|
|
4009
3748
|
const serializeAws_queryDeleteChangeSetInput = (input, context) => {
|
|
4010
3749
|
const entries = {};
|
|
4011
|
-
if (input.ChangeSetName
|
|
3750
|
+
if (input.ChangeSetName != null) {
|
|
4012
3751
|
entries["ChangeSetName"] = input.ChangeSetName;
|
|
4013
3752
|
}
|
|
4014
|
-
if (input.StackName
|
|
3753
|
+
if (input.StackName != null) {
|
|
4015
3754
|
entries["StackName"] = input.StackName;
|
|
4016
3755
|
}
|
|
4017
3756
|
return entries;
|
|
4018
3757
|
};
|
|
4019
3758
|
const serializeAws_queryDeleteStackInput = (input, context) => {
|
|
4020
3759
|
const entries = {};
|
|
4021
|
-
if (input.StackName
|
|
3760
|
+
if (input.StackName != null) {
|
|
4022
3761
|
entries["StackName"] = input.StackName;
|
|
4023
3762
|
}
|
|
4024
|
-
if (input.RetainResources
|
|
3763
|
+
if (input.RetainResources != null) {
|
|
4025
3764
|
const memberEntries = serializeAws_queryRetainResources(input.RetainResources, context);
|
|
4026
3765
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4027
3766
|
const loc = `RetainResources.${key}`;
|
|
4028
3767
|
entries[loc] = value;
|
|
4029
3768
|
});
|
|
4030
3769
|
}
|
|
4031
|
-
if (input.RoleARN
|
|
3770
|
+
if (input.RoleARN != null) {
|
|
4032
3771
|
entries["RoleARN"] = input.RoleARN;
|
|
4033
3772
|
}
|
|
4034
|
-
if (input.ClientRequestToken
|
|
3773
|
+
if (input.ClientRequestToken != null) {
|
|
4035
3774
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
4036
3775
|
}
|
|
4037
3776
|
return entries;
|
|
4038
3777
|
};
|
|
4039
3778
|
const serializeAws_queryDeleteStackInstancesInput = (input, context) => {
|
|
4040
3779
|
const entries = {};
|
|
4041
|
-
if (input.StackSetName
|
|
3780
|
+
if (input.StackSetName != null) {
|
|
4042
3781
|
entries["StackSetName"] = input.StackSetName;
|
|
4043
3782
|
}
|
|
4044
|
-
if (input.Accounts
|
|
3783
|
+
if (input.Accounts != null) {
|
|
4045
3784
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
4046
3785
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4047
3786
|
const loc = `Accounts.${key}`;
|
|
4048
3787
|
entries[loc] = value;
|
|
4049
3788
|
});
|
|
4050
3789
|
}
|
|
4051
|
-
if (input.DeploymentTargets
|
|
3790
|
+
if (input.DeploymentTargets != null) {
|
|
4052
3791
|
const memberEntries = serializeAws_queryDeploymentTargets(input.DeploymentTargets, context);
|
|
4053
3792
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4054
3793
|
const loc = `DeploymentTargets.${key}`;
|
|
4055
3794
|
entries[loc] = value;
|
|
4056
3795
|
});
|
|
4057
3796
|
}
|
|
4058
|
-
if (input.Regions
|
|
3797
|
+
if (input.Regions != null) {
|
|
4059
3798
|
const memberEntries = serializeAws_queryRegionList(input.Regions, context);
|
|
4060
3799
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4061
3800
|
const loc = `Regions.${key}`;
|
|
4062
3801
|
entries[loc] = value;
|
|
4063
3802
|
});
|
|
4064
3803
|
}
|
|
4065
|
-
if (input.OperationPreferences
|
|
3804
|
+
if (input.OperationPreferences != null) {
|
|
4066
3805
|
const memberEntries = serializeAws_queryStackSetOperationPreferences(input.OperationPreferences, context);
|
|
4067
3806
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4068
3807
|
const loc = `OperationPreferences.${key}`;
|
|
4069
3808
|
entries[loc] = value;
|
|
4070
3809
|
});
|
|
4071
3810
|
}
|
|
4072
|
-
if (input.RetainStacks
|
|
3811
|
+
if (input.RetainStacks != null) {
|
|
4073
3812
|
entries["RetainStacks"] = input.RetainStacks;
|
|
4074
3813
|
}
|
|
4075
3814
|
if (input.OperationId === undefined) {
|
|
4076
3815
|
input.OperationId = (0, uuid_1.v4)();
|
|
4077
3816
|
}
|
|
4078
|
-
if (input.OperationId
|
|
3817
|
+
if (input.OperationId != null) {
|
|
4079
3818
|
entries["OperationId"] = input.OperationId;
|
|
4080
3819
|
}
|
|
4081
|
-
if (input.CallAs
|
|
3820
|
+
if (input.CallAs != null) {
|
|
4082
3821
|
entries["CallAs"] = input.CallAs;
|
|
4083
3822
|
}
|
|
4084
3823
|
return entries;
|
|
4085
3824
|
};
|
|
4086
3825
|
const serializeAws_queryDeleteStackSetInput = (input, context) => {
|
|
4087
3826
|
const entries = {};
|
|
4088
|
-
if (input.StackSetName
|
|
3827
|
+
if (input.StackSetName != null) {
|
|
4089
3828
|
entries["StackSetName"] = input.StackSetName;
|
|
4090
3829
|
}
|
|
4091
|
-
if (input.CallAs
|
|
3830
|
+
if (input.CallAs != null) {
|
|
4092
3831
|
entries["CallAs"] = input.CallAs;
|
|
4093
3832
|
}
|
|
4094
3833
|
return entries;
|
|
4095
3834
|
};
|
|
4096
3835
|
const serializeAws_queryDeploymentTargets = (input, context) => {
|
|
4097
3836
|
const entries = {};
|
|
4098
|
-
if (input.Accounts
|
|
3837
|
+
if (input.Accounts != null) {
|
|
4099
3838
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
4100
3839
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4101
3840
|
const loc = `Accounts.${key}`;
|
|
4102
3841
|
entries[loc] = value;
|
|
4103
3842
|
});
|
|
4104
3843
|
}
|
|
4105
|
-
if (input.AccountsUrl
|
|
3844
|
+
if (input.AccountsUrl != null) {
|
|
4106
3845
|
entries["AccountsUrl"] = input.AccountsUrl;
|
|
4107
3846
|
}
|
|
4108
|
-
if (input.OrganizationalUnitIds
|
|
3847
|
+
if (input.OrganizationalUnitIds != null) {
|
|
4109
3848
|
const memberEntries = serializeAws_queryOrganizationalUnitIdList(input.OrganizationalUnitIds, context);
|
|
4110
3849
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4111
3850
|
const loc = `OrganizationalUnitIds.${key}`;
|
|
4112
3851
|
entries[loc] = value;
|
|
4113
3852
|
});
|
|
4114
3853
|
}
|
|
4115
|
-
if (input.AccountFilterType
|
|
3854
|
+
if (input.AccountFilterType != null) {
|
|
4116
3855
|
entries["AccountFilterType"] = input.AccountFilterType;
|
|
4117
3856
|
}
|
|
4118
3857
|
return entries;
|
|
4119
3858
|
};
|
|
4120
3859
|
const serializeAws_queryDeregisterTypeInput = (input, context) => {
|
|
4121
3860
|
const entries = {};
|
|
4122
|
-
if (input.Arn
|
|
3861
|
+
if (input.Arn != null) {
|
|
4123
3862
|
entries["Arn"] = input.Arn;
|
|
4124
3863
|
}
|
|
4125
|
-
if (input.Type
|
|
3864
|
+
if (input.Type != null) {
|
|
4126
3865
|
entries["Type"] = input.Type;
|
|
4127
3866
|
}
|
|
4128
|
-
if (input.TypeName
|
|
3867
|
+
if (input.TypeName != null) {
|
|
4129
3868
|
entries["TypeName"] = input.TypeName;
|
|
4130
3869
|
}
|
|
4131
|
-
if (input.VersionId
|
|
3870
|
+
if (input.VersionId != null) {
|
|
4132
3871
|
entries["VersionId"] = input.VersionId;
|
|
4133
3872
|
}
|
|
4134
3873
|
return entries;
|
|
4135
3874
|
};
|
|
4136
3875
|
const serializeAws_queryDescribeAccountLimitsInput = (input, context) => {
|
|
4137
3876
|
const entries = {};
|
|
4138
|
-
if (input.NextToken
|
|
3877
|
+
if (input.NextToken != null) {
|
|
4139
3878
|
entries["NextToken"] = input.NextToken;
|
|
4140
3879
|
}
|
|
4141
3880
|
return entries;
|
|
4142
3881
|
};
|
|
4143
3882
|
const serializeAws_queryDescribeChangeSetHooksInput = (input, context) => {
|
|
4144
3883
|
const entries = {};
|
|
4145
|
-
if (input.ChangeSetName
|
|
3884
|
+
if (input.ChangeSetName != null) {
|
|
4146
3885
|
entries["ChangeSetName"] = input.ChangeSetName;
|
|
4147
3886
|
}
|
|
4148
|
-
if (input.StackName
|
|
3887
|
+
if (input.StackName != null) {
|
|
4149
3888
|
entries["StackName"] = input.StackName;
|
|
4150
3889
|
}
|
|
4151
|
-
if (input.NextToken
|
|
3890
|
+
if (input.NextToken != null) {
|
|
4152
3891
|
entries["NextToken"] = input.NextToken;
|
|
4153
3892
|
}
|
|
4154
|
-
if (input.LogicalResourceId
|
|
3893
|
+
if (input.LogicalResourceId != null) {
|
|
4155
3894
|
entries["LogicalResourceId"] = input.LogicalResourceId;
|
|
4156
3895
|
}
|
|
4157
3896
|
return entries;
|
|
4158
3897
|
};
|
|
4159
3898
|
const serializeAws_queryDescribeChangeSetInput = (input, context) => {
|
|
4160
3899
|
const entries = {};
|
|
4161
|
-
if (input.ChangeSetName
|
|
3900
|
+
if (input.ChangeSetName != null) {
|
|
4162
3901
|
entries["ChangeSetName"] = input.ChangeSetName;
|
|
4163
3902
|
}
|
|
4164
|
-
if (input.StackName
|
|
3903
|
+
if (input.StackName != null) {
|
|
4165
3904
|
entries["StackName"] = input.StackName;
|
|
4166
3905
|
}
|
|
4167
|
-
if (input.NextToken
|
|
3906
|
+
if (input.NextToken != null) {
|
|
4168
3907
|
entries["NextToken"] = input.NextToken;
|
|
4169
3908
|
}
|
|
4170
3909
|
return entries;
|
|
4171
3910
|
};
|
|
4172
3911
|
const serializeAws_queryDescribePublisherInput = (input, context) => {
|
|
4173
3912
|
const entries = {};
|
|
4174
|
-
if (input.PublisherId
|
|
3913
|
+
if (input.PublisherId != null) {
|
|
4175
3914
|
entries["PublisherId"] = input.PublisherId;
|
|
4176
3915
|
}
|
|
4177
3916
|
return entries;
|
|
4178
3917
|
};
|
|
4179
3918
|
const serializeAws_queryDescribeStackDriftDetectionStatusInput = (input, context) => {
|
|
4180
3919
|
const entries = {};
|
|
4181
|
-
if (input.StackDriftDetectionId
|
|
3920
|
+
if (input.StackDriftDetectionId != null) {
|
|
4182
3921
|
entries["StackDriftDetectionId"] = input.StackDriftDetectionId;
|
|
4183
3922
|
}
|
|
4184
3923
|
return entries;
|
|
4185
3924
|
};
|
|
4186
3925
|
const serializeAws_queryDescribeStackEventsInput = (input, context) => {
|
|
4187
3926
|
const entries = {};
|
|
4188
|
-
if (input.StackName
|
|
3927
|
+
if (input.StackName != null) {
|
|
4189
3928
|
entries["StackName"] = input.StackName;
|
|
4190
3929
|
}
|
|
4191
|
-
if (input.NextToken
|
|
3930
|
+
if (input.NextToken != null) {
|
|
4192
3931
|
entries["NextToken"] = input.NextToken;
|
|
4193
3932
|
}
|
|
4194
3933
|
return entries;
|
|
4195
3934
|
};
|
|
4196
3935
|
const serializeAws_queryDescribeStackInstanceInput = (input, context) => {
|
|
4197
3936
|
const entries = {};
|
|
4198
|
-
if (input.StackSetName
|
|
3937
|
+
if (input.StackSetName != null) {
|
|
4199
3938
|
entries["StackSetName"] = input.StackSetName;
|
|
4200
3939
|
}
|
|
4201
|
-
if (input.StackInstanceAccount
|
|
3940
|
+
if (input.StackInstanceAccount != null) {
|
|
4202
3941
|
entries["StackInstanceAccount"] = input.StackInstanceAccount;
|
|
4203
3942
|
}
|
|
4204
|
-
if (input.StackInstanceRegion
|
|
3943
|
+
if (input.StackInstanceRegion != null) {
|
|
4205
3944
|
entries["StackInstanceRegion"] = input.StackInstanceRegion;
|
|
4206
3945
|
}
|
|
4207
|
-
if (input.CallAs
|
|
3946
|
+
if (input.CallAs != null) {
|
|
4208
3947
|
entries["CallAs"] = input.CallAs;
|
|
4209
3948
|
}
|
|
4210
3949
|
return entries;
|
|
4211
3950
|
};
|
|
4212
3951
|
const serializeAws_queryDescribeStackResourceDriftsInput = (input, context) => {
|
|
4213
3952
|
const entries = {};
|
|
4214
|
-
if (input.StackName
|
|
3953
|
+
if (input.StackName != null) {
|
|
4215
3954
|
entries["StackName"] = input.StackName;
|
|
4216
3955
|
}
|
|
4217
|
-
if (input.StackResourceDriftStatusFilters
|
|
3956
|
+
if (input.StackResourceDriftStatusFilters != null) {
|
|
4218
3957
|
const memberEntries = serializeAws_queryStackResourceDriftStatusFilters(input.StackResourceDriftStatusFilters, context);
|
|
4219
3958
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4220
3959
|
const loc = `StackResourceDriftStatusFilters.${key}`;
|
|
4221
3960
|
entries[loc] = value;
|
|
4222
3961
|
});
|
|
4223
3962
|
}
|
|
4224
|
-
if (input.NextToken
|
|
3963
|
+
if (input.NextToken != null) {
|
|
4225
3964
|
entries["NextToken"] = input.NextToken;
|
|
4226
3965
|
}
|
|
4227
|
-
if (input.MaxResults
|
|
3966
|
+
if (input.MaxResults != null) {
|
|
4228
3967
|
entries["MaxResults"] = input.MaxResults;
|
|
4229
3968
|
}
|
|
4230
3969
|
return entries;
|
|
4231
3970
|
};
|
|
4232
3971
|
const serializeAws_queryDescribeStackResourceInput = (input, context) => {
|
|
4233
3972
|
const entries = {};
|
|
4234
|
-
if (input.StackName
|
|
3973
|
+
if (input.StackName != null) {
|
|
4235
3974
|
entries["StackName"] = input.StackName;
|
|
4236
3975
|
}
|
|
4237
|
-
if (input.LogicalResourceId
|
|
3976
|
+
if (input.LogicalResourceId != null) {
|
|
4238
3977
|
entries["LogicalResourceId"] = input.LogicalResourceId;
|
|
4239
3978
|
}
|
|
4240
3979
|
return entries;
|
|
4241
3980
|
};
|
|
4242
3981
|
const serializeAws_queryDescribeStackResourcesInput = (input, context) => {
|
|
4243
3982
|
const entries = {};
|
|
4244
|
-
if (input.StackName
|
|
3983
|
+
if (input.StackName != null) {
|
|
4245
3984
|
entries["StackName"] = input.StackName;
|
|
4246
3985
|
}
|
|
4247
|
-
if (input.LogicalResourceId
|
|
3986
|
+
if (input.LogicalResourceId != null) {
|
|
4248
3987
|
entries["LogicalResourceId"] = input.LogicalResourceId;
|
|
4249
3988
|
}
|
|
4250
|
-
if (input.PhysicalResourceId
|
|
3989
|
+
if (input.PhysicalResourceId != null) {
|
|
4251
3990
|
entries["PhysicalResourceId"] = input.PhysicalResourceId;
|
|
4252
3991
|
}
|
|
4253
3992
|
return entries;
|
|
4254
3993
|
};
|
|
4255
3994
|
const serializeAws_queryDescribeStackSetInput = (input, context) => {
|
|
4256
3995
|
const entries = {};
|
|
4257
|
-
if (input.StackSetName
|
|
3996
|
+
if (input.StackSetName != null) {
|
|
4258
3997
|
entries["StackSetName"] = input.StackSetName;
|
|
4259
3998
|
}
|
|
4260
|
-
if (input.CallAs
|
|
3999
|
+
if (input.CallAs != null) {
|
|
4261
4000
|
entries["CallAs"] = input.CallAs;
|
|
4262
4001
|
}
|
|
4263
4002
|
return entries;
|
|
4264
4003
|
};
|
|
4265
4004
|
const serializeAws_queryDescribeStackSetOperationInput = (input, context) => {
|
|
4266
4005
|
const entries = {};
|
|
4267
|
-
if (input.StackSetName
|
|
4006
|
+
if (input.StackSetName != null) {
|
|
4268
4007
|
entries["StackSetName"] = input.StackSetName;
|
|
4269
4008
|
}
|
|
4270
|
-
if (input.OperationId
|
|
4009
|
+
if (input.OperationId != null) {
|
|
4271
4010
|
entries["OperationId"] = input.OperationId;
|
|
4272
4011
|
}
|
|
4273
|
-
if (input.CallAs
|
|
4012
|
+
if (input.CallAs != null) {
|
|
4274
4013
|
entries["CallAs"] = input.CallAs;
|
|
4275
4014
|
}
|
|
4276
4015
|
return entries;
|
|
4277
4016
|
};
|
|
4278
4017
|
const serializeAws_queryDescribeStacksInput = (input, context) => {
|
|
4279
4018
|
const entries = {};
|
|
4280
|
-
if (input.StackName
|
|
4019
|
+
if (input.StackName != null) {
|
|
4281
4020
|
entries["StackName"] = input.StackName;
|
|
4282
4021
|
}
|
|
4283
|
-
if (input.NextToken
|
|
4022
|
+
if (input.NextToken != null) {
|
|
4284
4023
|
entries["NextToken"] = input.NextToken;
|
|
4285
4024
|
}
|
|
4286
4025
|
return entries;
|
|
4287
4026
|
};
|
|
4288
4027
|
const serializeAws_queryDescribeTypeInput = (input, context) => {
|
|
4289
4028
|
const entries = {};
|
|
4290
|
-
if (input.Type
|
|
4029
|
+
if (input.Type != null) {
|
|
4291
4030
|
entries["Type"] = input.Type;
|
|
4292
4031
|
}
|
|
4293
|
-
if (input.TypeName
|
|
4032
|
+
if (input.TypeName != null) {
|
|
4294
4033
|
entries["TypeName"] = input.TypeName;
|
|
4295
4034
|
}
|
|
4296
|
-
if (input.Arn
|
|
4035
|
+
if (input.Arn != null) {
|
|
4297
4036
|
entries["Arn"] = input.Arn;
|
|
4298
4037
|
}
|
|
4299
|
-
if (input.VersionId
|
|
4038
|
+
if (input.VersionId != null) {
|
|
4300
4039
|
entries["VersionId"] = input.VersionId;
|
|
4301
4040
|
}
|
|
4302
|
-
if (input.PublisherId
|
|
4041
|
+
if (input.PublisherId != null) {
|
|
4303
4042
|
entries["PublisherId"] = input.PublisherId;
|
|
4304
4043
|
}
|
|
4305
|
-
if (input.PublicVersionNumber
|
|
4044
|
+
if (input.PublicVersionNumber != null) {
|
|
4306
4045
|
entries["PublicVersionNumber"] = input.PublicVersionNumber;
|
|
4307
4046
|
}
|
|
4308
4047
|
return entries;
|
|
4309
4048
|
};
|
|
4310
4049
|
const serializeAws_queryDescribeTypeRegistrationInput = (input, context) => {
|
|
4311
4050
|
const entries = {};
|
|
4312
|
-
if (input.RegistrationToken
|
|
4051
|
+
if (input.RegistrationToken != null) {
|
|
4313
4052
|
entries["RegistrationToken"] = input.RegistrationToken;
|
|
4314
4053
|
}
|
|
4315
4054
|
return entries;
|
|
4316
4055
|
};
|
|
4317
4056
|
const serializeAws_queryDetectStackDriftInput = (input, context) => {
|
|
4318
4057
|
const entries = {};
|
|
4319
|
-
if (input.StackName
|
|
4058
|
+
if (input.StackName != null) {
|
|
4320
4059
|
entries["StackName"] = input.StackName;
|
|
4321
4060
|
}
|
|
4322
|
-
if (input.LogicalResourceIds
|
|
4061
|
+
if (input.LogicalResourceIds != null) {
|
|
4323
4062
|
const memberEntries = serializeAws_queryLogicalResourceIds(input.LogicalResourceIds, context);
|
|
4324
4063
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4325
4064
|
const loc = `LogicalResourceIds.${key}`;
|
|
@@ -4330,20 +4069,20 @@ const serializeAws_queryDetectStackDriftInput = (input, context) => {
|
|
|
4330
4069
|
};
|
|
4331
4070
|
const serializeAws_queryDetectStackResourceDriftInput = (input, context) => {
|
|
4332
4071
|
const entries = {};
|
|
4333
|
-
if (input.StackName
|
|
4072
|
+
if (input.StackName != null) {
|
|
4334
4073
|
entries["StackName"] = input.StackName;
|
|
4335
4074
|
}
|
|
4336
|
-
if (input.LogicalResourceId
|
|
4075
|
+
if (input.LogicalResourceId != null) {
|
|
4337
4076
|
entries["LogicalResourceId"] = input.LogicalResourceId;
|
|
4338
4077
|
}
|
|
4339
4078
|
return entries;
|
|
4340
4079
|
};
|
|
4341
4080
|
const serializeAws_queryDetectStackSetDriftInput = (input, context) => {
|
|
4342
4081
|
const entries = {};
|
|
4343
|
-
if (input.StackSetName
|
|
4082
|
+
if (input.StackSetName != null) {
|
|
4344
4083
|
entries["StackSetName"] = input.StackSetName;
|
|
4345
4084
|
}
|
|
4346
|
-
if (input.OperationPreferences
|
|
4085
|
+
if (input.OperationPreferences != null) {
|
|
4347
4086
|
const memberEntries = serializeAws_queryStackSetOperationPreferences(input.OperationPreferences, context);
|
|
4348
4087
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4349
4088
|
const loc = `OperationPreferences.${key}`;
|
|
@@ -4353,23 +4092,23 @@ const serializeAws_queryDetectStackSetDriftInput = (input, context) => {
|
|
|
4353
4092
|
if (input.OperationId === undefined) {
|
|
4354
4093
|
input.OperationId = (0, uuid_1.v4)();
|
|
4355
4094
|
}
|
|
4356
|
-
if (input.OperationId
|
|
4095
|
+
if (input.OperationId != null) {
|
|
4357
4096
|
entries["OperationId"] = input.OperationId;
|
|
4358
4097
|
}
|
|
4359
|
-
if (input.CallAs
|
|
4098
|
+
if (input.CallAs != null) {
|
|
4360
4099
|
entries["CallAs"] = input.CallAs;
|
|
4361
4100
|
}
|
|
4362
4101
|
return entries;
|
|
4363
4102
|
};
|
|
4364
4103
|
const serializeAws_queryEstimateTemplateCostInput = (input, context) => {
|
|
4365
4104
|
const entries = {};
|
|
4366
|
-
if (input.TemplateBody
|
|
4105
|
+
if (input.TemplateBody != null) {
|
|
4367
4106
|
entries["TemplateBody"] = input.TemplateBody;
|
|
4368
4107
|
}
|
|
4369
|
-
if (input.TemplateURL
|
|
4108
|
+
if (input.TemplateURL != null) {
|
|
4370
4109
|
entries["TemplateURL"] = input.TemplateURL;
|
|
4371
4110
|
}
|
|
4372
|
-
if (input.Parameters
|
|
4111
|
+
if (input.Parameters != null) {
|
|
4373
4112
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
4374
4113
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4375
4114
|
const loc = `Parameters.${key}`;
|
|
@@ -4380,82 +4119,82 @@ const serializeAws_queryEstimateTemplateCostInput = (input, context) => {
|
|
|
4380
4119
|
};
|
|
4381
4120
|
const serializeAws_queryExecuteChangeSetInput = (input, context) => {
|
|
4382
4121
|
const entries = {};
|
|
4383
|
-
if (input.ChangeSetName
|
|
4122
|
+
if (input.ChangeSetName != null) {
|
|
4384
4123
|
entries["ChangeSetName"] = input.ChangeSetName;
|
|
4385
4124
|
}
|
|
4386
|
-
if (input.StackName
|
|
4125
|
+
if (input.StackName != null) {
|
|
4387
4126
|
entries["StackName"] = input.StackName;
|
|
4388
4127
|
}
|
|
4389
|
-
if (input.ClientRequestToken
|
|
4128
|
+
if (input.ClientRequestToken != null) {
|
|
4390
4129
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
4391
4130
|
}
|
|
4392
|
-
if (input.DisableRollback
|
|
4131
|
+
if (input.DisableRollback != null) {
|
|
4393
4132
|
entries["DisableRollback"] = input.DisableRollback;
|
|
4394
4133
|
}
|
|
4395
4134
|
return entries;
|
|
4396
4135
|
};
|
|
4397
4136
|
const serializeAws_queryGetStackPolicyInput = (input, context) => {
|
|
4398
4137
|
const entries = {};
|
|
4399
|
-
if (input.StackName
|
|
4138
|
+
if (input.StackName != null) {
|
|
4400
4139
|
entries["StackName"] = input.StackName;
|
|
4401
4140
|
}
|
|
4402
4141
|
return entries;
|
|
4403
4142
|
};
|
|
4404
4143
|
const serializeAws_queryGetTemplateInput = (input, context) => {
|
|
4405
4144
|
const entries = {};
|
|
4406
|
-
if (input.StackName
|
|
4145
|
+
if (input.StackName != null) {
|
|
4407
4146
|
entries["StackName"] = input.StackName;
|
|
4408
4147
|
}
|
|
4409
|
-
if (input.ChangeSetName
|
|
4148
|
+
if (input.ChangeSetName != null) {
|
|
4410
4149
|
entries["ChangeSetName"] = input.ChangeSetName;
|
|
4411
4150
|
}
|
|
4412
|
-
if (input.TemplateStage
|
|
4151
|
+
if (input.TemplateStage != null) {
|
|
4413
4152
|
entries["TemplateStage"] = input.TemplateStage;
|
|
4414
4153
|
}
|
|
4415
4154
|
return entries;
|
|
4416
4155
|
};
|
|
4417
4156
|
const serializeAws_queryGetTemplateSummaryInput = (input, context) => {
|
|
4418
4157
|
const entries = {};
|
|
4419
|
-
if (input.TemplateBody
|
|
4158
|
+
if (input.TemplateBody != null) {
|
|
4420
4159
|
entries["TemplateBody"] = input.TemplateBody;
|
|
4421
4160
|
}
|
|
4422
|
-
if (input.TemplateURL
|
|
4161
|
+
if (input.TemplateURL != null) {
|
|
4423
4162
|
entries["TemplateURL"] = input.TemplateURL;
|
|
4424
4163
|
}
|
|
4425
|
-
if (input.StackName
|
|
4164
|
+
if (input.StackName != null) {
|
|
4426
4165
|
entries["StackName"] = input.StackName;
|
|
4427
4166
|
}
|
|
4428
|
-
if (input.StackSetName
|
|
4167
|
+
if (input.StackSetName != null) {
|
|
4429
4168
|
entries["StackSetName"] = input.StackSetName;
|
|
4430
4169
|
}
|
|
4431
|
-
if (input.CallAs
|
|
4170
|
+
if (input.CallAs != null) {
|
|
4432
4171
|
entries["CallAs"] = input.CallAs;
|
|
4433
4172
|
}
|
|
4434
4173
|
return entries;
|
|
4435
4174
|
};
|
|
4436
4175
|
const serializeAws_queryImportStacksToStackSetInput = (input, context) => {
|
|
4437
4176
|
const entries = {};
|
|
4438
|
-
if (input.StackSetName
|
|
4177
|
+
if (input.StackSetName != null) {
|
|
4439
4178
|
entries["StackSetName"] = input.StackSetName;
|
|
4440
4179
|
}
|
|
4441
|
-
if (input.StackIds
|
|
4180
|
+
if (input.StackIds != null) {
|
|
4442
4181
|
const memberEntries = serializeAws_queryStackIdList(input.StackIds, context);
|
|
4443
4182
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4444
4183
|
const loc = `StackIds.${key}`;
|
|
4445
4184
|
entries[loc] = value;
|
|
4446
4185
|
});
|
|
4447
4186
|
}
|
|
4448
|
-
if (input.StackIdsUrl
|
|
4187
|
+
if (input.StackIdsUrl != null) {
|
|
4449
4188
|
entries["StackIdsUrl"] = input.StackIdsUrl;
|
|
4450
4189
|
}
|
|
4451
|
-
if (input.OrganizationalUnitIds
|
|
4190
|
+
if (input.OrganizationalUnitIds != null) {
|
|
4452
4191
|
const memberEntries = serializeAws_queryOrganizationalUnitIdList(input.OrganizationalUnitIds, context);
|
|
4453
4192
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4454
4193
|
const loc = `OrganizationalUnitIds.${key}`;
|
|
4455
4194
|
entries[loc] = value;
|
|
4456
4195
|
});
|
|
4457
4196
|
}
|
|
4458
|
-
if (input.OperationPreferences
|
|
4197
|
+
if (input.OperationPreferences != null) {
|
|
4459
4198
|
const memberEntries = serializeAws_queryStackSetOperationPreferences(input.OperationPreferences, context);
|
|
4460
4199
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4461
4200
|
const loc = `OperationPreferences.${key}`;
|
|
@@ -4465,137 +4204,137 @@ const serializeAws_queryImportStacksToStackSetInput = (input, context) => {
|
|
|
4465
4204
|
if (input.OperationId === undefined) {
|
|
4466
4205
|
input.OperationId = (0, uuid_1.v4)();
|
|
4467
4206
|
}
|
|
4468
|
-
if (input.OperationId
|
|
4207
|
+
if (input.OperationId != null) {
|
|
4469
4208
|
entries["OperationId"] = input.OperationId;
|
|
4470
4209
|
}
|
|
4471
|
-
if (input.CallAs
|
|
4210
|
+
if (input.CallAs != null) {
|
|
4472
4211
|
entries["CallAs"] = input.CallAs;
|
|
4473
4212
|
}
|
|
4474
4213
|
return entries;
|
|
4475
4214
|
};
|
|
4476
4215
|
const serializeAws_queryListChangeSetsInput = (input, context) => {
|
|
4477
4216
|
const entries = {};
|
|
4478
|
-
if (input.StackName
|
|
4217
|
+
if (input.StackName != null) {
|
|
4479
4218
|
entries["StackName"] = input.StackName;
|
|
4480
4219
|
}
|
|
4481
|
-
if (input.NextToken
|
|
4220
|
+
if (input.NextToken != null) {
|
|
4482
4221
|
entries["NextToken"] = input.NextToken;
|
|
4483
4222
|
}
|
|
4484
4223
|
return entries;
|
|
4485
4224
|
};
|
|
4486
4225
|
const serializeAws_queryListExportsInput = (input, context) => {
|
|
4487
4226
|
const entries = {};
|
|
4488
|
-
if (input.NextToken
|
|
4227
|
+
if (input.NextToken != null) {
|
|
4489
4228
|
entries["NextToken"] = input.NextToken;
|
|
4490
4229
|
}
|
|
4491
4230
|
return entries;
|
|
4492
4231
|
};
|
|
4493
4232
|
const serializeAws_queryListImportsInput = (input, context) => {
|
|
4494
4233
|
const entries = {};
|
|
4495
|
-
if (input.ExportName
|
|
4234
|
+
if (input.ExportName != null) {
|
|
4496
4235
|
entries["ExportName"] = input.ExportName;
|
|
4497
4236
|
}
|
|
4498
|
-
if (input.NextToken
|
|
4237
|
+
if (input.NextToken != null) {
|
|
4499
4238
|
entries["NextToken"] = input.NextToken;
|
|
4500
4239
|
}
|
|
4501
4240
|
return entries;
|
|
4502
4241
|
};
|
|
4503
4242
|
const serializeAws_queryListStackInstancesInput = (input, context) => {
|
|
4504
4243
|
const entries = {};
|
|
4505
|
-
if (input.StackSetName
|
|
4244
|
+
if (input.StackSetName != null) {
|
|
4506
4245
|
entries["StackSetName"] = input.StackSetName;
|
|
4507
4246
|
}
|
|
4508
|
-
if (input.NextToken
|
|
4247
|
+
if (input.NextToken != null) {
|
|
4509
4248
|
entries["NextToken"] = input.NextToken;
|
|
4510
4249
|
}
|
|
4511
|
-
if (input.MaxResults
|
|
4250
|
+
if (input.MaxResults != null) {
|
|
4512
4251
|
entries["MaxResults"] = input.MaxResults;
|
|
4513
4252
|
}
|
|
4514
|
-
if (input.Filters
|
|
4253
|
+
if (input.Filters != null) {
|
|
4515
4254
|
const memberEntries = serializeAws_queryStackInstanceFilters(input.Filters, context);
|
|
4516
4255
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4517
4256
|
const loc = `Filters.${key}`;
|
|
4518
4257
|
entries[loc] = value;
|
|
4519
4258
|
});
|
|
4520
4259
|
}
|
|
4521
|
-
if (input.StackInstanceAccount
|
|
4260
|
+
if (input.StackInstanceAccount != null) {
|
|
4522
4261
|
entries["StackInstanceAccount"] = input.StackInstanceAccount;
|
|
4523
4262
|
}
|
|
4524
|
-
if (input.StackInstanceRegion
|
|
4263
|
+
if (input.StackInstanceRegion != null) {
|
|
4525
4264
|
entries["StackInstanceRegion"] = input.StackInstanceRegion;
|
|
4526
4265
|
}
|
|
4527
|
-
if (input.CallAs
|
|
4266
|
+
if (input.CallAs != null) {
|
|
4528
4267
|
entries["CallAs"] = input.CallAs;
|
|
4529
4268
|
}
|
|
4530
4269
|
return entries;
|
|
4531
4270
|
};
|
|
4532
4271
|
const serializeAws_queryListStackResourcesInput = (input, context) => {
|
|
4533
4272
|
const entries = {};
|
|
4534
|
-
if (input.StackName
|
|
4273
|
+
if (input.StackName != null) {
|
|
4535
4274
|
entries["StackName"] = input.StackName;
|
|
4536
4275
|
}
|
|
4537
|
-
if (input.NextToken
|
|
4276
|
+
if (input.NextToken != null) {
|
|
4538
4277
|
entries["NextToken"] = input.NextToken;
|
|
4539
4278
|
}
|
|
4540
4279
|
return entries;
|
|
4541
4280
|
};
|
|
4542
4281
|
const serializeAws_queryListStackSetOperationResultsInput = (input, context) => {
|
|
4543
4282
|
const entries = {};
|
|
4544
|
-
if (input.StackSetName
|
|
4283
|
+
if (input.StackSetName != null) {
|
|
4545
4284
|
entries["StackSetName"] = input.StackSetName;
|
|
4546
4285
|
}
|
|
4547
|
-
if (input.OperationId
|
|
4286
|
+
if (input.OperationId != null) {
|
|
4548
4287
|
entries["OperationId"] = input.OperationId;
|
|
4549
4288
|
}
|
|
4550
|
-
if (input.NextToken
|
|
4289
|
+
if (input.NextToken != null) {
|
|
4551
4290
|
entries["NextToken"] = input.NextToken;
|
|
4552
4291
|
}
|
|
4553
|
-
if (input.MaxResults
|
|
4292
|
+
if (input.MaxResults != null) {
|
|
4554
4293
|
entries["MaxResults"] = input.MaxResults;
|
|
4555
4294
|
}
|
|
4556
|
-
if (input.CallAs
|
|
4295
|
+
if (input.CallAs != null) {
|
|
4557
4296
|
entries["CallAs"] = input.CallAs;
|
|
4558
4297
|
}
|
|
4559
4298
|
return entries;
|
|
4560
4299
|
};
|
|
4561
4300
|
const serializeAws_queryListStackSetOperationsInput = (input, context) => {
|
|
4562
4301
|
const entries = {};
|
|
4563
|
-
if (input.StackSetName
|
|
4302
|
+
if (input.StackSetName != null) {
|
|
4564
4303
|
entries["StackSetName"] = input.StackSetName;
|
|
4565
4304
|
}
|
|
4566
|
-
if (input.NextToken
|
|
4305
|
+
if (input.NextToken != null) {
|
|
4567
4306
|
entries["NextToken"] = input.NextToken;
|
|
4568
4307
|
}
|
|
4569
|
-
if (input.MaxResults
|
|
4308
|
+
if (input.MaxResults != null) {
|
|
4570
4309
|
entries["MaxResults"] = input.MaxResults;
|
|
4571
4310
|
}
|
|
4572
|
-
if (input.CallAs
|
|
4311
|
+
if (input.CallAs != null) {
|
|
4573
4312
|
entries["CallAs"] = input.CallAs;
|
|
4574
4313
|
}
|
|
4575
4314
|
return entries;
|
|
4576
4315
|
};
|
|
4577
4316
|
const serializeAws_queryListStackSetsInput = (input, context) => {
|
|
4578
4317
|
const entries = {};
|
|
4579
|
-
if (input.NextToken
|
|
4318
|
+
if (input.NextToken != null) {
|
|
4580
4319
|
entries["NextToken"] = input.NextToken;
|
|
4581
4320
|
}
|
|
4582
|
-
if (input.MaxResults
|
|
4321
|
+
if (input.MaxResults != null) {
|
|
4583
4322
|
entries["MaxResults"] = input.MaxResults;
|
|
4584
4323
|
}
|
|
4585
|
-
if (input.Status
|
|
4324
|
+
if (input.Status != null) {
|
|
4586
4325
|
entries["Status"] = input.Status;
|
|
4587
4326
|
}
|
|
4588
|
-
if (input.CallAs
|
|
4327
|
+
if (input.CallAs != null) {
|
|
4589
4328
|
entries["CallAs"] = input.CallAs;
|
|
4590
4329
|
}
|
|
4591
4330
|
return entries;
|
|
4592
4331
|
};
|
|
4593
4332
|
const serializeAws_queryListStacksInput = (input, context) => {
|
|
4594
4333
|
const entries = {};
|
|
4595
|
-
if (input.NextToken
|
|
4334
|
+
if (input.NextToken != null) {
|
|
4596
4335
|
entries["NextToken"] = input.NextToken;
|
|
4597
4336
|
}
|
|
4598
|
-
if (input.StackStatusFilter
|
|
4337
|
+
if (input.StackStatusFilter != null) {
|
|
4599
4338
|
const memberEntries = serializeAws_queryStackStatusFilter(input.StackStatusFilter, context);
|
|
4600
4339
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4601
4340
|
const loc = `StackStatusFilter.${key}`;
|
|
@@ -4606,86 +4345,86 @@ const serializeAws_queryListStacksInput = (input, context) => {
|
|
|
4606
4345
|
};
|
|
4607
4346
|
const serializeAws_queryListTypeRegistrationsInput = (input, context) => {
|
|
4608
4347
|
const entries = {};
|
|
4609
|
-
if (input.Type
|
|
4348
|
+
if (input.Type != null) {
|
|
4610
4349
|
entries["Type"] = input.Type;
|
|
4611
4350
|
}
|
|
4612
|
-
if (input.TypeName
|
|
4351
|
+
if (input.TypeName != null) {
|
|
4613
4352
|
entries["TypeName"] = input.TypeName;
|
|
4614
4353
|
}
|
|
4615
|
-
if (input.TypeArn
|
|
4354
|
+
if (input.TypeArn != null) {
|
|
4616
4355
|
entries["TypeArn"] = input.TypeArn;
|
|
4617
4356
|
}
|
|
4618
|
-
if (input.RegistrationStatusFilter
|
|
4357
|
+
if (input.RegistrationStatusFilter != null) {
|
|
4619
4358
|
entries["RegistrationStatusFilter"] = input.RegistrationStatusFilter;
|
|
4620
4359
|
}
|
|
4621
|
-
if (input.MaxResults
|
|
4360
|
+
if (input.MaxResults != null) {
|
|
4622
4361
|
entries["MaxResults"] = input.MaxResults;
|
|
4623
4362
|
}
|
|
4624
|
-
if (input.NextToken
|
|
4363
|
+
if (input.NextToken != null) {
|
|
4625
4364
|
entries["NextToken"] = input.NextToken;
|
|
4626
4365
|
}
|
|
4627
4366
|
return entries;
|
|
4628
4367
|
};
|
|
4629
4368
|
const serializeAws_queryListTypesInput = (input, context) => {
|
|
4630
4369
|
const entries = {};
|
|
4631
|
-
if (input.Visibility
|
|
4370
|
+
if (input.Visibility != null) {
|
|
4632
4371
|
entries["Visibility"] = input.Visibility;
|
|
4633
4372
|
}
|
|
4634
|
-
if (input.ProvisioningType
|
|
4373
|
+
if (input.ProvisioningType != null) {
|
|
4635
4374
|
entries["ProvisioningType"] = input.ProvisioningType;
|
|
4636
4375
|
}
|
|
4637
|
-
if (input.DeprecatedStatus
|
|
4376
|
+
if (input.DeprecatedStatus != null) {
|
|
4638
4377
|
entries["DeprecatedStatus"] = input.DeprecatedStatus;
|
|
4639
4378
|
}
|
|
4640
|
-
if (input.Type
|
|
4379
|
+
if (input.Type != null) {
|
|
4641
4380
|
entries["Type"] = input.Type;
|
|
4642
4381
|
}
|
|
4643
|
-
if (input.Filters
|
|
4382
|
+
if (input.Filters != null) {
|
|
4644
4383
|
const memberEntries = serializeAws_queryTypeFilters(input.Filters, context);
|
|
4645
4384
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4646
4385
|
const loc = `Filters.${key}`;
|
|
4647
4386
|
entries[loc] = value;
|
|
4648
4387
|
});
|
|
4649
4388
|
}
|
|
4650
|
-
if (input.MaxResults
|
|
4389
|
+
if (input.MaxResults != null) {
|
|
4651
4390
|
entries["MaxResults"] = input.MaxResults;
|
|
4652
4391
|
}
|
|
4653
|
-
if (input.NextToken
|
|
4392
|
+
if (input.NextToken != null) {
|
|
4654
4393
|
entries["NextToken"] = input.NextToken;
|
|
4655
4394
|
}
|
|
4656
4395
|
return entries;
|
|
4657
4396
|
};
|
|
4658
4397
|
const serializeAws_queryListTypeVersionsInput = (input, context) => {
|
|
4659
4398
|
const entries = {};
|
|
4660
|
-
if (input.Type
|
|
4399
|
+
if (input.Type != null) {
|
|
4661
4400
|
entries["Type"] = input.Type;
|
|
4662
4401
|
}
|
|
4663
|
-
if (input.TypeName
|
|
4402
|
+
if (input.TypeName != null) {
|
|
4664
4403
|
entries["TypeName"] = input.TypeName;
|
|
4665
4404
|
}
|
|
4666
|
-
if (input.Arn
|
|
4405
|
+
if (input.Arn != null) {
|
|
4667
4406
|
entries["Arn"] = input.Arn;
|
|
4668
4407
|
}
|
|
4669
|
-
if (input.MaxResults
|
|
4408
|
+
if (input.MaxResults != null) {
|
|
4670
4409
|
entries["MaxResults"] = input.MaxResults;
|
|
4671
4410
|
}
|
|
4672
|
-
if (input.NextToken
|
|
4411
|
+
if (input.NextToken != null) {
|
|
4673
4412
|
entries["NextToken"] = input.NextToken;
|
|
4674
4413
|
}
|
|
4675
|
-
if (input.DeprecatedStatus
|
|
4414
|
+
if (input.DeprecatedStatus != null) {
|
|
4676
4415
|
entries["DeprecatedStatus"] = input.DeprecatedStatus;
|
|
4677
4416
|
}
|
|
4678
|
-
if (input.PublisherId
|
|
4417
|
+
if (input.PublisherId != null) {
|
|
4679
4418
|
entries["PublisherId"] = input.PublisherId;
|
|
4680
4419
|
}
|
|
4681
4420
|
return entries;
|
|
4682
4421
|
};
|
|
4683
4422
|
const serializeAws_queryLoggingConfig = (input, context) => {
|
|
4684
4423
|
const entries = {};
|
|
4685
|
-
if (input.LogRoleArn
|
|
4424
|
+
if (input.LogRoleArn != null) {
|
|
4686
4425
|
entries["LogRoleArn"] = input.LogRoleArn;
|
|
4687
4426
|
}
|
|
4688
|
-
if (input.LogGroupName
|
|
4427
|
+
if (input.LogGroupName != null) {
|
|
4689
4428
|
entries["LogGroupName"] = input.LogGroupName;
|
|
4690
4429
|
}
|
|
4691
4430
|
return entries;
|
|
@@ -4704,7 +4443,7 @@ const serializeAws_queryLogicalResourceIds = (input, context) => {
|
|
|
4704
4443
|
};
|
|
4705
4444
|
const serializeAws_queryManagedExecution = (input, context) => {
|
|
4706
4445
|
const entries = {};
|
|
4707
|
-
if (input.Active
|
|
4446
|
+
if (input.Active != null) {
|
|
4708
4447
|
entries["Active"] = input.Active;
|
|
4709
4448
|
}
|
|
4710
4449
|
return entries;
|
|
@@ -4735,16 +4474,16 @@ const serializeAws_queryOrganizationalUnitIdList = (input, context) => {
|
|
|
4735
4474
|
};
|
|
4736
4475
|
const serializeAws_queryParameter = (input, context) => {
|
|
4737
4476
|
const entries = {};
|
|
4738
|
-
if (input.ParameterKey
|
|
4477
|
+
if (input.ParameterKey != null) {
|
|
4739
4478
|
entries["ParameterKey"] = input.ParameterKey;
|
|
4740
4479
|
}
|
|
4741
|
-
if (input.ParameterValue
|
|
4480
|
+
if (input.ParameterValue != null) {
|
|
4742
4481
|
entries["ParameterValue"] = input.ParameterValue;
|
|
4743
4482
|
}
|
|
4744
|
-
if (input.UsePreviousValue
|
|
4483
|
+
if (input.UsePreviousValue != null) {
|
|
4745
4484
|
entries["UsePreviousValue"] = input.UsePreviousValue;
|
|
4746
4485
|
}
|
|
4747
|
-
if (input.ResolvedValue
|
|
4486
|
+
if (input.ResolvedValue != null) {
|
|
4748
4487
|
entries["ResolvedValue"] = input.ResolvedValue;
|
|
4749
4488
|
}
|
|
4750
4489
|
return entries;
|
|
@@ -4766,41 +4505,41 @@ const serializeAws_queryParameters = (input, context) => {
|
|
|
4766
4505
|
};
|
|
4767
4506
|
const serializeAws_queryPublishTypeInput = (input, context) => {
|
|
4768
4507
|
const entries = {};
|
|
4769
|
-
if (input.Type
|
|
4508
|
+
if (input.Type != null) {
|
|
4770
4509
|
entries["Type"] = input.Type;
|
|
4771
4510
|
}
|
|
4772
|
-
if (input.Arn
|
|
4511
|
+
if (input.Arn != null) {
|
|
4773
4512
|
entries["Arn"] = input.Arn;
|
|
4774
4513
|
}
|
|
4775
|
-
if (input.TypeName
|
|
4514
|
+
if (input.TypeName != null) {
|
|
4776
4515
|
entries["TypeName"] = input.TypeName;
|
|
4777
4516
|
}
|
|
4778
|
-
if (input.PublicVersionNumber
|
|
4517
|
+
if (input.PublicVersionNumber != null) {
|
|
4779
4518
|
entries["PublicVersionNumber"] = input.PublicVersionNumber;
|
|
4780
4519
|
}
|
|
4781
4520
|
return entries;
|
|
4782
4521
|
};
|
|
4783
4522
|
const serializeAws_queryRecordHandlerProgressInput = (input, context) => {
|
|
4784
4523
|
const entries = {};
|
|
4785
|
-
if (input.BearerToken
|
|
4524
|
+
if (input.BearerToken != null) {
|
|
4786
4525
|
entries["BearerToken"] = input.BearerToken;
|
|
4787
4526
|
}
|
|
4788
|
-
if (input.OperationStatus
|
|
4527
|
+
if (input.OperationStatus != null) {
|
|
4789
4528
|
entries["OperationStatus"] = input.OperationStatus;
|
|
4790
4529
|
}
|
|
4791
|
-
if (input.CurrentOperationStatus
|
|
4530
|
+
if (input.CurrentOperationStatus != null) {
|
|
4792
4531
|
entries["CurrentOperationStatus"] = input.CurrentOperationStatus;
|
|
4793
4532
|
}
|
|
4794
|
-
if (input.StatusMessage
|
|
4533
|
+
if (input.StatusMessage != null) {
|
|
4795
4534
|
entries["StatusMessage"] = input.StatusMessage;
|
|
4796
4535
|
}
|
|
4797
|
-
if (input.ErrorCode
|
|
4536
|
+
if (input.ErrorCode != null) {
|
|
4798
4537
|
entries["ErrorCode"] = input.ErrorCode;
|
|
4799
4538
|
}
|
|
4800
|
-
if (input.ResourceModel
|
|
4539
|
+
if (input.ResourceModel != null) {
|
|
4801
4540
|
entries["ResourceModel"] = input.ResourceModel;
|
|
4802
4541
|
}
|
|
4803
|
-
if (input.ClientRequestToken
|
|
4542
|
+
if (input.ClientRequestToken != null) {
|
|
4804
4543
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
4805
4544
|
}
|
|
4806
4545
|
return entries;
|
|
@@ -4819,36 +4558,36 @@ const serializeAws_queryRegionList = (input, context) => {
|
|
|
4819
4558
|
};
|
|
4820
4559
|
const serializeAws_queryRegisterPublisherInput = (input, context) => {
|
|
4821
4560
|
const entries = {};
|
|
4822
|
-
if (input.AcceptTermsAndConditions
|
|
4561
|
+
if (input.AcceptTermsAndConditions != null) {
|
|
4823
4562
|
entries["AcceptTermsAndConditions"] = input.AcceptTermsAndConditions;
|
|
4824
4563
|
}
|
|
4825
|
-
if (input.ConnectionArn
|
|
4564
|
+
if (input.ConnectionArn != null) {
|
|
4826
4565
|
entries["ConnectionArn"] = input.ConnectionArn;
|
|
4827
4566
|
}
|
|
4828
4567
|
return entries;
|
|
4829
4568
|
};
|
|
4830
4569
|
const serializeAws_queryRegisterTypeInput = (input, context) => {
|
|
4831
4570
|
const entries = {};
|
|
4832
|
-
if (input.Type
|
|
4571
|
+
if (input.Type != null) {
|
|
4833
4572
|
entries["Type"] = input.Type;
|
|
4834
4573
|
}
|
|
4835
|
-
if (input.TypeName
|
|
4574
|
+
if (input.TypeName != null) {
|
|
4836
4575
|
entries["TypeName"] = input.TypeName;
|
|
4837
4576
|
}
|
|
4838
|
-
if (input.SchemaHandlerPackage
|
|
4577
|
+
if (input.SchemaHandlerPackage != null) {
|
|
4839
4578
|
entries["SchemaHandlerPackage"] = input.SchemaHandlerPackage;
|
|
4840
4579
|
}
|
|
4841
|
-
if (input.LoggingConfig
|
|
4580
|
+
if (input.LoggingConfig != null) {
|
|
4842
4581
|
const memberEntries = serializeAws_queryLoggingConfig(input.LoggingConfig, context);
|
|
4843
4582
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4844
4583
|
const loc = `LoggingConfig.${key}`;
|
|
4845
4584
|
entries[loc] = value;
|
|
4846
4585
|
});
|
|
4847
4586
|
}
|
|
4848
|
-
if (input.ExecutionRoleArn
|
|
4587
|
+
if (input.ExecutionRoleArn != null) {
|
|
4849
4588
|
entries["ExecutionRoleArn"] = input.ExecutionRoleArn;
|
|
4850
4589
|
}
|
|
4851
|
-
if (input.ClientRequestToken
|
|
4590
|
+
if (input.ClientRequestToken != null) {
|
|
4852
4591
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
4853
4592
|
}
|
|
4854
4593
|
return entries;
|
|
@@ -4894,13 +4633,13 @@ const serializeAws_queryResourcesToSkip = (input, context) => {
|
|
|
4894
4633
|
};
|
|
4895
4634
|
const serializeAws_queryResourceToImport = (input, context) => {
|
|
4896
4635
|
const entries = {};
|
|
4897
|
-
if (input.ResourceType
|
|
4636
|
+
if (input.ResourceType != null) {
|
|
4898
4637
|
entries["ResourceType"] = input.ResourceType;
|
|
4899
4638
|
}
|
|
4900
|
-
if (input.LogicalResourceId
|
|
4639
|
+
if (input.LogicalResourceId != null) {
|
|
4901
4640
|
entries["LogicalResourceId"] = input.LogicalResourceId;
|
|
4902
4641
|
}
|
|
4903
|
-
if (input.ResourceIdentifier
|
|
4642
|
+
if (input.ResourceIdentifier != null) {
|
|
4904
4643
|
const memberEntries = serializeAws_queryResourceIdentifierProperties(input.ResourceIdentifier, context);
|
|
4905
4644
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4906
4645
|
const loc = `ResourceIdentifier.${key}`;
|
|
@@ -4935,37 +4674,37 @@ const serializeAws_queryRetainResources = (input, context) => {
|
|
|
4935
4674
|
};
|
|
4936
4675
|
const serializeAws_queryRollbackConfiguration = (input, context) => {
|
|
4937
4676
|
const entries = {};
|
|
4938
|
-
if (input.RollbackTriggers
|
|
4677
|
+
if (input.RollbackTriggers != null) {
|
|
4939
4678
|
const memberEntries = serializeAws_queryRollbackTriggers(input.RollbackTriggers, context);
|
|
4940
4679
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4941
4680
|
const loc = `RollbackTriggers.${key}`;
|
|
4942
4681
|
entries[loc] = value;
|
|
4943
4682
|
});
|
|
4944
4683
|
}
|
|
4945
|
-
if (input.MonitoringTimeInMinutes
|
|
4684
|
+
if (input.MonitoringTimeInMinutes != null) {
|
|
4946
4685
|
entries["MonitoringTimeInMinutes"] = input.MonitoringTimeInMinutes;
|
|
4947
4686
|
}
|
|
4948
4687
|
return entries;
|
|
4949
4688
|
};
|
|
4950
4689
|
const serializeAws_queryRollbackStackInput = (input, context) => {
|
|
4951
4690
|
const entries = {};
|
|
4952
|
-
if (input.StackName
|
|
4691
|
+
if (input.StackName != null) {
|
|
4953
4692
|
entries["StackName"] = input.StackName;
|
|
4954
4693
|
}
|
|
4955
|
-
if (input.RoleARN
|
|
4694
|
+
if (input.RoleARN != null) {
|
|
4956
4695
|
entries["RoleARN"] = input.RoleARN;
|
|
4957
4696
|
}
|
|
4958
|
-
if (input.ClientRequestToken
|
|
4697
|
+
if (input.ClientRequestToken != null) {
|
|
4959
4698
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
4960
4699
|
}
|
|
4961
4700
|
return entries;
|
|
4962
4701
|
};
|
|
4963
4702
|
const serializeAws_queryRollbackTrigger = (input, context) => {
|
|
4964
4703
|
const entries = {};
|
|
4965
|
-
if (input.Arn
|
|
4704
|
+
if (input.Arn != null) {
|
|
4966
4705
|
entries["Arn"] = input.Arn;
|
|
4967
4706
|
}
|
|
4968
|
-
if (input.Type
|
|
4707
|
+
if (input.Type != null) {
|
|
4969
4708
|
entries["Type"] = input.Type;
|
|
4970
4709
|
}
|
|
4971
4710
|
return entries;
|
|
@@ -4987,64 +4726,64 @@ const serializeAws_queryRollbackTriggers = (input, context) => {
|
|
|
4987
4726
|
};
|
|
4988
4727
|
const serializeAws_querySetStackPolicyInput = (input, context) => {
|
|
4989
4728
|
const entries = {};
|
|
4990
|
-
if (input.StackName
|
|
4729
|
+
if (input.StackName != null) {
|
|
4991
4730
|
entries["StackName"] = input.StackName;
|
|
4992
4731
|
}
|
|
4993
|
-
if (input.StackPolicyBody
|
|
4732
|
+
if (input.StackPolicyBody != null) {
|
|
4994
4733
|
entries["StackPolicyBody"] = input.StackPolicyBody;
|
|
4995
4734
|
}
|
|
4996
|
-
if (input.StackPolicyURL
|
|
4735
|
+
if (input.StackPolicyURL != null) {
|
|
4997
4736
|
entries["StackPolicyURL"] = input.StackPolicyURL;
|
|
4998
4737
|
}
|
|
4999
4738
|
return entries;
|
|
5000
4739
|
};
|
|
5001
4740
|
const serializeAws_querySetTypeConfigurationInput = (input, context) => {
|
|
5002
4741
|
const entries = {};
|
|
5003
|
-
if (input.TypeArn
|
|
4742
|
+
if (input.TypeArn != null) {
|
|
5004
4743
|
entries["TypeArn"] = input.TypeArn;
|
|
5005
4744
|
}
|
|
5006
|
-
if (input.Configuration
|
|
4745
|
+
if (input.Configuration != null) {
|
|
5007
4746
|
entries["Configuration"] = input.Configuration;
|
|
5008
4747
|
}
|
|
5009
|
-
if (input.ConfigurationAlias
|
|
4748
|
+
if (input.ConfigurationAlias != null) {
|
|
5010
4749
|
entries["ConfigurationAlias"] = input.ConfigurationAlias;
|
|
5011
4750
|
}
|
|
5012
|
-
if (input.TypeName
|
|
4751
|
+
if (input.TypeName != null) {
|
|
5013
4752
|
entries["TypeName"] = input.TypeName;
|
|
5014
4753
|
}
|
|
5015
|
-
if (input.Type
|
|
4754
|
+
if (input.Type != null) {
|
|
5016
4755
|
entries["Type"] = input.Type;
|
|
5017
4756
|
}
|
|
5018
4757
|
return entries;
|
|
5019
4758
|
};
|
|
5020
4759
|
const serializeAws_querySetTypeDefaultVersionInput = (input, context) => {
|
|
5021
4760
|
const entries = {};
|
|
5022
|
-
if (input.Arn
|
|
4761
|
+
if (input.Arn != null) {
|
|
5023
4762
|
entries["Arn"] = input.Arn;
|
|
5024
4763
|
}
|
|
5025
|
-
if (input.Type
|
|
4764
|
+
if (input.Type != null) {
|
|
5026
4765
|
entries["Type"] = input.Type;
|
|
5027
4766
|
}
|
|
5028
|
-
if (input.TypeName
|
|
4767
|
+
if (input.TypeName != null) {
|
|
5029
4768
|
entries["TypeName"] = input.TypeName;
|
|
5030
4769
|
}
|
|
5031
|
-
if (input.VersionId
|
|
4770
|
+
if (input.VersionId != null) {
|
|
5032
4771
|
entries["VersionId"] = input.VersionId;
|
|
5033
4772
|
}
|
|
5034
4773
|
return entries;
|
|
5035
4774
|
};
|
|
5036
4775
|
const serializeAws_querySignalResourceInput = (input, context) => {
|
|
5037
4776
|
const entries = {};
|
|
5038
|
-
if (input.StackName
|
|
4777
|
+
if (input.StackName != null) {
|
|
5039
4778
|
entries["StackName"] = input.StackName;
|
|
5040
4779
|
}
|
|
5041
|
-
if (input.LogicalResourceId
|
|
4780
|
+
if (input.LogicalResourceId != null) {
|
|
5042
4781
|
entries["LogicalResourceId"] = input.LogicalResourceId;
|
|
5043
4782
|
}
|
|
5044
|
-
if (input.UniqueId
|
|
4783
|
+
if (input.UniqueId != null) {
|
|
5045
4784
|
entries["UniqueId"] = input.UniqueId;
|
|
5046
4785
|
}
|
|
5047
|
-
if (input.Status
|
|
4786
|
+
if (input.Status != null) {
|
|
5048
4787
|
entries["Status"] = input.Status;
|
|
5049
4788
|
}
|
|
5050
4789
|
return entries;
|
|
@@ -5063,10 +4802,10 @@ const serializeAws_queryStackIdList = (input, context) => {
|
|
|
5063
4802
|
};
|
|
5064
4803
|
const serializeAws_queryStackInstanceFilter = (input, context) => {
|
|
5065
4804
|
const entries = {};
|
|
5066
|
-
if (input.Name
|
|
4805
|
+
if (input.Name != null) {
|
|
5067
4806
|
entries["Name"] = input.Name;
|
|
5068
4807
|
}
|
|
5069
|
-
if (input.Values
|
|
4808
|
+
if (input.Values != null) {
|
|
5070
4809
|
entries["Values"] = input.Values;
|
|
5071
4810
|
}
|
|
5072
4811
|
return entries;
|
|
@@ -5100,26 +4839,26 @@ const serializeAws_queryStackResourceDriftStatusFilters = (input, context) => {
|
|
|
5100
4839
|
};
|
|
5101
4840
|
const serializeAws_queryStackSetOperationPreferences = (input, context) => {
|
|
5102
4841
|
const entries = {};
|
|
5103
|
-
if (input.RegionConcurrencyType
|
|
4842
|
+
if (input.RegionConcurrencyType != null) {
|
|
5104
4843
|
entries["RegionConcurrencyType"] = input.RegionConcurrencyType;
|
|
5105
4844
|
}
|
|
5106
|
-
if (input.RegionOrder
|
|
4845
|
+
if (input.RegionOrder != null) {
|
|
5107
4846
|
const memberEntries = serializeAws_queryRegionList(input.RegionOrder, context);
|
|
5108
4847
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5109
4848
|
const loc = `RegionOrder.${key}`;
|
|
5110
4849
|
entries[loc] = value;
|
|
5111
4850
|
});
|
|
5112
4851
|
}
|
|
5113
|
-
if (input.FailureToleranceCount
|
|
4852
|
+
if (input.FailureToleranceCount != null) {
|
|
5114
4853
|
entries["FailureToleranceCount"] = input.FailureToleranceCount;
|
|
5115
4854
|
}
|
|
5116
|
-
if (input.FailureTolerancePercentage
|
|
4855
|
+
if (input.FailureTolerancePercentage != null) {
|
|
5117
4856
|
entries["FailureTolerancePercentage"] = input.FailureTolerancePercentage;
|
|
5118
4857
|
}
|
|
5119
|
-
if (input.MaxConcurrentCount
|
|
4858
|
+
if (input.MaxConcurrentCount != null) {
|
|
5120
4859
|
entries["MaxConcurrentCount"] = input.MaxConcurrentCount;
|
|
5121
4860
|
}
|
|
5122
|
-
if (input.MaxConcurrentPercentage
|
|
4861
|
+
if (input.MaxConcurrentPercentage != null) {
|
|
5123
4862
|
entries["MaxConcurrentPercentage"] = input.MaxConcurrentPercentage;
|
|
5124
4863
|
}
|
|
5125
4864
|
return entries;
|
|
@@ -5138,23 +4877,23 @@ const serializeAws_queryStackStatusFilter = (input, context) => {
|
|
|
5138
4877
|
};
|
|
5139
4878
|
const serializeAws_queryStopStackSetOperationInput = (input, context) => {
|
|
5140
4879
|
const entries = {};
|
|
5141
|
-
if (input.StackSetName
|
|
4880
|
+
if (input.StackSetName != null) {
|
|
5142
4881
|
entries["StackSetName"] = input.StackSetName;
|
|
5143
4882
|
}
|
|
5144
|
-
if (input.OperationId
|
|
4883
|
+
if (input.OperationId != null) {
|
|
5145
4884
|
entries["OperationId"] = input.OperationId;
|
|
5146
4885
|
}
|
|
5147
|
-
if (input.CallAs
|
|
4886
|
+
if (input.CallAs != null) {
|
|
5148
4887
|
entries["CallAs"] = input.CallAs;
|
|
5149
4888
|
}
|
|
5150
4889
|
return entries;
|
|
5151
4890
|
};
|
|
5152
4891
|
const serializeAws_queryTag = (input, context) => {
|
|
5153
4892
|
const entries = {};
|
|
5154
|
-
if (input.Key
|
|
4893
|
+
if (input.Key != null) {
|
|
5155
4894
|
entries["Key"] = input.Key;
|
|
5156
4895
|
}
|
|
5157
|
-
if (input.Value
|
|
4896
|
+
if (input.Value != null) {
|
|
5158
4897
|
entries["Value"] = input.Value;
|
|
5159
4898
|
}
|
|
5160
4899
|
return entries;
|
|
@@ -5176,38 +4915,38 @@ const serializeAws_queryTags = (input, context) => {
|
|
|
5176
4915
|
};
|
|
5177
4916
|
const serializeAws_queryTestTypeInput = (input, context) => {
|
|
5178
4917
|
const entries = {};
|
|
5179
|
-
if (input.Arn
|
|
4918
|
+
if (input.Arn != null) {
|
|
5180
4919
|
entries["Arn"] = input.Arn;
|
|
5181
4920
|
}
|
|
5182
|
-
if (input.Type
|
|
4921
|
+
if (input.Type != null) {
|
|
5183
4922
|
entries["Type"] = input.Type;
|
|
5184
4923
|
}
|
|
5185
|
-
if (input.TypeName
|
|
4924
|
+
if (input.TypeName != null) {
|
|
5186
4925
|
entries["TypeName"] = input.TypeName;
|
|
5187
4926
|
}
|
|
5188
|
-
if (input.VersionId
|
|
4927
|
+
if (input.VersionId != null) {
|
|
5189
4928
|
entries["VersionId"] = input.VersionId;
|
|
5190
4929
|
}
|
|
5191
|
-
if (input.LogDeliveryBucket
|
|
4930
|
+
if (input.LogDeliveryBucket != null) {
|
|
5192
4931
|
entries["LogDeliveryBucket"] = input.LogDeliveryBucket;
|
|
5193
4932
|
}
|
|
5194
4933
|
return entries;
|
|
5195
4934
|
};
|
|
5196
4935
|
const serializeAws_queryTypeConfigurationIdentifier = (input, context) => {
|
|
5197
4936
|
const entries = {};
|
|
5198
|
-
if (input.TypeArn
|
|
4937
|
+
if (input.TypeArn != null) {
|
|
5199
4938
|
entries["TypeArn"] = input.TypeArn;
|
|
5200
4939
|
}
|
|
5201
|
-
if (input.TypeConfigurationAlias
|
|
4940
|
+
if (input.TypeConfigurationAlias != null) {
|
|
5202
4941
|
entries["TypeConfigurationAlias"] = input.TypeConfigurationAlias;
|
|
5203
4942
|
}
|
|
5204
|
-
if (input.TypeConfigurationArn
|
|
4943
|
+
if (input.TypeConfigurationArn != null) {
|
|
5205
4944
|
entries["TypeConfigurationArn"] = input.TypeConfigurationArn;
|
|
5206
4945
|
}
|
|
5207
|
-
if (input.Type
|
|
4946
|
+
if (input.Type != null) {
|
|
5208
4947
|
entries["Type"] = input.Type;
|
|
5209
4948
|
}
|
|
5210
|
-
if (input.TypeName
|
|
4949
|
+
if (input.TypeName != null) {
|
|
5211
4950
|
entries["TypeName"] = input.TypeName;
|
|
5212
4951
|
}
|
|
5213
4952
|
return entries;
|
|
@@ -5229,130 +4968,130 @@ const serializeAws_queryTypeConfigurationIdentifiers = (input, context) => {
|
|
|
5229
4968
|
};
|
|
5230
4969
|
const serializeAws_queryTypeFilters = (input, context) => {
|
|
5231
4970
|
const entries = {};
|
|
5232
|
-
if (input.Category
|
|
4971
|
+
if (input.Category != null) {
|
|
5233
4972
|
entries["Category"] = input.Category;
|
|
5234
4973
|
}
|
|
5235
|
-
if (input.PublisherId
|
|
4974
|
+
if (input.PublisherId != null) {
|
|
5236
4975
|
entries["PublisherId"] = input.PublisherId;
|
|
5237
4976
|
}
|
|
5238
|
-
if (input.TypeNamePrefix
|
|
4977
|
+
if (input.TypeNamePrefix != null) {
|
|
5239
4978
|
entries["TypeNamePrefix"] = input.TypeNamePrefix;
|
|
5240
4979
|
}
|
|
5241
4980
|
return entries;
|
|
5242
4981
|
};
|
|
5243
4982
|
const serializeAws_queryUpdateStackInput = (input, context) => {
|
|
5244
4983
|
const entries = {};
|
|
5245
|
-
if (input.StackName
|
|
4984
|
+
if (input.StackName != null) {
|
|
5246
4985
|
entries["StackName"] = input.StackName;
|
|
5247
4986
|
}
|
|
5248
|
-
if (input.TemplateBody
|
|
4987
|
+
if (input.TemplateBody != null) {
|
|
5249
4988
|
entries["TemplateBody"] = input.TemplateBody;
|
|
5250
4989
|
}
|
|
5251
|
-
if (input.TemplateURL
|
|
4990
|
+
if (input.TemplateURL != null) {
|
|
5252
4991
|
entries["TemplateURL"] = input.TemplateURL;
|
|
5253
4992
|
}
|
|
5254
|
-
if (input.UsePreviousTemplate
|
|
4993
|
+
if (input.UsePreviousTemplate != null) {
|
|
5255
4994
|
entries["UsePreviousTemplate"] = input.UsePreviousTemplate;
|
|
5256
4995
|
}
|
|
5257
|
-
if (input.StackPolicyDuringUpdateBody
|
|
4996
|
+
if (input.StackPolicyDuringUpdateBody != null) {
|
|
5258
4997
|
entries["StackPolicyDuringUpdateBody"] = input.StackPolicyDuringUpdateBody;
|
|
5259
4998
|
}
|
|
5260
|
-
if (input.StackPolicyDuringUpdateURL
|
|
4999
|
+
if (input.StackPolicyDuringUpdateURL != null) {
|
|
5261
5000
|
entries["StackPolicyDuringUpdateURL"] = input.StackPolicyDuringUpdateURL;
|
|
5262
5001
|
}
|
|
5263
|
-
if (input.Parameters
|
|
5002
|
+
if (input.Parameters != null) {
|
|
5264
5003
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
5265
5004
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5266
5005
|
const loc = `Parameters.${key}`;
|
|
5267
5006
|
entries[loc] = value;
|
|
5268
5007
|
});
|
|
5269
5008
|
}
|
|
5270
|
-
if (input.Capabilities
|
|
5009
|
+
if (input.Capabilities != null) {
|
|
5271
5010
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
5272
5011
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5273
5012
|
const loc = `Capabilities.${key}`;
|
|
5274
5013
|
entries[loc] = value;
|
|
5275
5014
|
});
|
|
5276
5015
|
}
|
|
5277
|
-
if (input.ResourceTypes
|
|
5016
|
+
if (input.ResourceTypes != null) {
|
|
5278
5017
|
const memberEntries = serializeAws_queryResourceTypes(input.ResourceTypes, context);
|
|
5279
5018
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5280
5019
|
const loc = `ResourceTypes.${key}`;
|
|
5281
5020
|
entries[loc] = value;
|
|
5282
5021
|
});
|
|
5283
5022
|
}
|
|
5284
|
-
if (input.RoleARN
|
|
5023
|
+
if (input.RoleARN != null) {
|
|
5285
5024
|
entries["RoleARN"] = input.RoleARN;
|
|
5286
5025
|
}
|
|
5287
|
-
if (input.RollbackConfiguration
|
|
5026
|
+
if (input.RollbackConfiguration != null) {
|
|
5288
5027
|
const memberEntries = serializeAws_queryRollbackConfiguration(input.RollbackConfiguration, context);
|
|
5289
5028
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5290
5029
|
const loc = `RollbackConfiguration.${key}`;
|
|
5291
5030
|
entries[loc] = value;
|
|
5292
5031
|
});
|
|
5293
5032
|
}
|
|
5294
|
-
if (input.StackPolicyBody
|
|
5033
|
+
if (input.StackPolicyBody != null) {
|
|
5295
5034
|
entries["StackPolicyBody"] = input.StackPolicyBody;
|
|
5296
5035
|
}
|
|
5297
|
-
if (input.StackPolicyURL
|
|
5036
|
+
if (input.StackPolicyURL != null) {
|
|
5298
5037
|
entries["StackPolicyURL"] = input.StackPolicyURL;
|
|
5299
5038
|
}
|
|
5300
|
-
if (input.NotificationARNs
|
|
5039
|
+
if (input.NotificationARNs != null) {
|
|
5301
5040
|
const memberEntries = serializeAws_queryNotificationARNs(input.NotificationARNs, context);
|
|
5302
5041
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5303
5042
|
const loc = `NotificationARNs.${key}`;
|
|
5304
5043
|
entries[loc] = value;
|
|
5305
5044
|
});
|
|
5306
5045
|
}
|
|
5307
|
-
if (input.Tags
|
|
5046
|
+
if (input.Tags != null) {
|
|
5308
5047
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
5309
5048
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5310
5049
|
const loc = `Tags.${key}`;
|
|
5311
5050
|
entries[loc] = value;
|
|
5312
5051
|
});
|
|
5313
5052
|
}
|
|
5314
|
-
if (input.DisableRollback
|
|
5053
|
+
if (input.DisableRollback != null) {
|
|
5315
5054
|
entries["DisableRollback"] = input.DisableRollback;
|
|
5316
5055
|
}
|
|
5317
|
-
if (input.ClientRequestToken
|
|
5056
|
+
if (input.ClientRequestToken != null) {
|
|
5318
5057
|
entries["ClientRequestToken"] = input.ClientRequestToken;
|
|
5319
5058
|
}
|
|
5320
5059
|
return entries;
|
|
5321
5060
|
};
|
|
5322
5061
|
const serializeAws_queryUpdateStackInstancesInput = (input, context) => {
|
|
5323
5062
|
const entries = {};
|
|
5324
|
-
if (input.StackSetName
|
|
5063
|
+
if (input.StackSetName != null) {
|
|
5325
5064
|
entries["StackSetName"] = input.StackSetName;
|
|
5326
5065
|
}
|
|
5327
|
-
if (input.Accounts
|
|
5066
|
+
if (input.Accounts != null) {
|
|
5328
5067
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
5329
5068
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5330
5069
|
const loc = `Accounts.${key}`;
|
|
5331
5070
|
entries[loc] = value;
|
|
5332
5071
|
});
|
|
5333
5072
|
}
|
|
5334
|
-
if (input.DeploymentTargets
|
|
5073
|
+
if (input.DeploymentTargets != null) {
|
|
5335
5074
|
const memberEntries = serializeAws_queryDeploymentTargets(input.DeploymentTargets, context);
|
|
5336
5075
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5337
5076
|
const loc = `DeploymentTargets.${key}`;
|
|
5338
5077
|
entries[loc] = value;
|
|
5339
5078
|
});
|
|
5340
5079
|
}
|
|
5341
|
-
if (input.Regions
|
|
5080
|
+
if (input.Regions != null) {
|
|
5342
5081
|
const memberEntries = serializeAws_queryRegionList(input.Regions, context);
|
|
5343
5082
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5344
5083
|
const loc = `Regions.${key}`;
|
|
5345
5084
|
entries[loc] = value;
|
|
5346
5085
|
});
|
|
5347
5086
|
}
|
|
5348
|
-
if (input.ParameterOverrides
|
|
5087
|
+
if (input.ParameterOverrides != null) {
|
|
5349
5088
|
const memberEntries = serializeAws_queryParameters(input.ParameterOverrides, context);
|
|
5350
5089
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5351
5090
|
const loc = `ParameterOverrides.${key}`;
|
|
5352
5091
|
entries[loc] = value;
|
|
5353
5092
|
});
|
|
5354
5093
|
}
|
|
5355
|
-
if (input.OperationPreferences
|
|
5094
|
+
if (input.OperationPreferences != null) {
|
|
5356
5095
|
const memberEntries = serializeAws_queryStackSetOperationPreferences(input.OperationPreferences, context);
|
|
5357
5096
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5358
5097
|
const loc = `OperationPreferences.${key}`;
|
|
@@ -5362,76 +5101,76 @@ const serializeAws_queryUpdateStackInstancesInput = (input, context) => {
|
|
|
5362
5101
|
if (input.OperationId === undefined) {
|
|
5363
5102
|
input.OperationId = (0, uuid_1.v4)();
|
|
5364
5103
|
}
|
|
5365
|
-
if (input.OperationId
|
|
5104
|
+
if (input.OperationId != null) {
|
|
5366
5105
|
entries["OperationId"] = input.OperationId;
|
|
5367
5106
|
}
|
|
5368
|
-
if (input.CallAs
|
|
5107
|
+
if (input.CallAs != null) {
|
|
5369
5108
|
entries["CallAs"] = input.CallAs;
|
|
5370
5109
|
}
|
|
5371
5110
|
return entries;
|
|
5372
5111
|
};
|
|
5373
5112
|
const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
5374
5113
|
const entries = {};
|
|
5375
|
-
if (input.StackSetName
|
|
5114
|
+
if (input.StackSetName != null) {
|
|
5376
5115
|
entries["StackSetName"] = input.StackSetName;
|
|
5377
5116
|
}
|
|
5378
|
-
if (input.Description
|
|
5117
|
+
if (input.Description != null) {
|
|
5379
5118
|
entries["Description"] = input.Description;
|
|
5380
5119
|
}
|
|
5381
|
-
if (input.TemplateBody
|
|
5120
|
+
if (input.TemplateBody != null) {
|
|
5382
5121
|
entries["TemplateBody"] = input.TemplateBody;
|
|
5383
5122
|
}
|
|
5384
|
-
if (input.TemplateURL
|
|
5123
|
+
if (input.TemplateURL != null) {
|
|
5385
5124
|
entries["TemplateURL"] = input.TemplateURL;
|
|
5386
5125
|
}
|
|
5387
|
-
if (input.UsePreviousTemplate
|
|
5126
|
+
if (input.UsePreviousTemplate != null) {
|
|
5388
5127
|
entries["UsePreviousTemplate"] = input.UsePreviousTemplate;
|
|
5389
5128
|
}
|
|
5390
|
-
if (input.Parameters
|
|
5129
|
+
if (input.Parameters != null) {
|
|
5391
5130
|
const memberEntries = serializeAws_queryParameters(input.Parameters, context);
|
|
5392
5131
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5393
5132
|
const loc = `Parameters.${key}`;
|
|
5394
5133
|
entries[loc] = value;
|
|
5395
5134
|
});
|
|
5396
5135
|
}
|
|
5397
|
-
if (input.Capabilities
|
|
5136
|
+
if (input.Capabilities != null) {
|
|
5398
5137
|
const memberEntries = serializeAws_queryCapabilities(input.Capabilities, context);
|
|
5399
5138
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5400
5139
|
const loc = `Capabilities.${key}`;
|
|
5401
5140
|
entries[loc] = value;
|
|
5402
5141
|
});
|
|
5403
5142
|
}
|
|
5404
|
-
if (input.Tags
|
|
5143
|
+
if (input.Tags != null) {
|
|
5405
5144
|
const memberEntries = serializeAws_queryTags(input.Tags, context);
|
|
5406
5145
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5407
5146
|
const loc = `Tags.${key}`;
|
|
5408
5147
|
entries[loc] = value;
|
|
5409
5148
|
});
|
|
5410
5149
|
}
|
|
5411
|
-
if (input.OperationPreferences
|
|
5150
|
+
if (input.OperationPreferences != null) {
|
|
5412
5151
|
const memberEntries = serializeAws_queryStackSetOperationPreferences(input.OperationPreferences, context);
|
|
5413
5152
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5414
5153
|
const loc = `OperationPreferences.${key}`;
|
|
5415
5154
|
entries[loc] = value;
|
|
5416
5155
|
});
|
|
5417
5156
|
}
|
|
5418
|
-
if (input.AdministrationRoleARN
|
|
5157
|
+
if (input.AdministrationRoleARN != null) {
|
|
5419
5158
|
entries["AdministrationRoleARN"] = input.AdministrationRoleARN;
|
|
5420
5159
|
}
|
|
5421
|
-
if (input.ExecutionRoleName
|
|
5160
|
+
if (input.ExecutionRoleName != null) {
|
|
5422
5161
|
entries["ExecutionRoleName"] = input.ExecutionRoleName;
|
|
5423
5162
|
}
|
|
5424
|
-
if (input.DeploymentTargets
|
|
5163
|
+
if (input.DeploymentTargets != null) {
|
|
5425
5164
|
const memberEntries = serializeAws_queryDeploymentTargets(input.DeploymentTargets, context);
|
|
5426
5165
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5427
5166
|
const loc = `DeploymentTargets.${key}`;
|
|
5428
5167
|
entries[loc] = value;
|
|
5429
5168
|
});
|
|
5430
5169
|
}
|
|
5431
|
-
if (input.PermissionModel
|
|
5170
|
+
if (input.PermissionModel != null) {
|
|
5432
5171
|
entries["PermissionModel"] = input.PermissionModel;
|
|
5433
5172
|
}
|
|
5434
|
-
if (input.AutoDeployment
|
|
5173
|
+
if (input.AutoDeployment != null) {
|
|
5435
5174
|
const memberEntries = serializeAws_queryAutoDeployment(input.AutoDeployment, context);
|
|
5436
5175
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5437
5176
|
const loc = `AutoDeployment.${key}`;
|
|
@@ -5441,27 +5180,27 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
5441
5180
|
if (input.OperationId === undefined) {
|
|
5442
5181
|
input.OperationId = (0, uuid_1.v4)();
|
|
5443
5182
|
}
|
|
5444
|
-
if (input.OperationId
|
|
5183
|
+
if (input.OperationId != null) {
|
|
5445
5184
|
entries["OperationId"] = input.OperationId;
|
|
5446
5185
|
}
|
|
5447
|
-
if (input.Accounts
|
|
5186
|
+
if (input.Accounts != null) {
|
|
5448
5187
|
const memberEntries = serializeAws_queryAccountList(input.Accounts, context);
|
|
5449
5188
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5450
5189
|
const loc = `Accounts.${key}`;
|
|
5451
5190
|
entries[loc] = value;
|
|
5452
5191
|
});
|
|
5453
5192
|
}
|
|
5454
|
-
if (input.Regions
|
|
5193
|
+
if (input.Regions != null) {
|
|
5455
5194
|
const memberEntries = serializeAws_queryRegionList(input.Regions, context);
|
|
5456
5195
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5457
5196
|
const loc = `Regions.${key}`;
|
|
5458
5197
|
entries[loc] = value;
|
|
5459
5198
|
});
|
|
5460
5199
|
}
|
|
5461
|
-
if (input.CallAs
|
|
5200
|
+
if (input.CallAs != null) {
|
|
5462
5201
|
entries["CallAs"] = input.CallAs;
|
|
5463
5202
|
}
|
|
5464
|
-
if (input.ManagedExecution
|
|
5203
|
+
if (input.ManagedExecution != null) {
|
|
5465
5204
|
const memberEntries = serializeAws_queryManagedExecution(input.ManagedExecution, context);
|
|
5466
5205
|
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5467
5206
|
const loc = `ManagedExecution.${key}`;
|
|
@@ -5472,20 +5211,20 @@ const serializeAws_queryUpdateStackSetInput = (input, context) => {
|
|
|
5472
5211
|
};
|
|
5473
5212
|
const serializeAws_queryUpdateTerminationProtectionInput = (input, context) => {
|
|
5474
5213
|
const entries = {};
|
|
5475
|
-
if (input.EnableTerminationProtection
|
|
5214
|
+
if (input.EnableTerminationProtection != null) {
|
|
5476
5215
|
entries["EnableTerminationProtection"] = input.EnableTerminationProtection;
|
|
5477
5216
|
}
|
|
5478
|
-
if (input.StackName
|
|
5217
|
+
if (input.StackName != null) {
|
|
5479
5218
|
entries["StackName"] = input.StackName;
|
|
5480
5219
|
}
|
|
5481
5220
|
return entries;
|
|
5482
5221
|
};
|
|
5483
5222
|
const serializeAws_queryValidateTemplateInput = (input, context) => {
|
|
5484
5223
|
const entries = {};
|
|
5485
|
-
if (input.TemplateBody
|
|
5224
|
+
if (input.TemplateBody != null) {
|
|
5486
5225
|
entries["TemplateBody"] = input.TemplateBody;
|
|
5487
5226
|
}
|
|
5488
|
-
if (input.TemplateURL
|
|
5227
|
+
if (input.TemplateURL != null) {
|
|
5489
5228
|
entries["TemplateURL"] = input.TemplateURL;
|
|
5490
5229
|
}
|
|
5491
5230
|
return entries;
|
|
@@ -5520,9 +5259,6 @@ const deserializeAws_queryAccountLimitList = (output, context) => {
|
|
|
5520
5259
|
return (output || [])
|
|
5521
5260
|
.filter((e) => e != null)
|
|
5522
5261
|
.map((entry) => {
|
|
5523
|
-
if (entry === null) {
|
|
5524
|
-
return null;
|
|
5525
|
-
}
|
|
5526
5262
|
return deserializeAws_queryAccountLimit(entry, context);
|
|
5527
5263
|
});
|
|
5528
5264
|
};
|
|
@@ -5530,9 +5266,6 @@ const deserializeAws_queryAccountList = (output, context) => {
|
|
|
5530
5266
|
return (output || [])
|
|
5531
5267
|
.filter((e) => e != null)
|
|
5532
5268
|
.map((entry) => {
|
|
5533
|
-
if (entry === null) {
|
|
5534
|
-
return null;
|
|
5535
|
-
}
|
|
5536
5269
|
return (0, smithy_client_1.expectString)(entry);
|
|
5537
5270
|
});
|
|
5538
5271
|
};
|
|
@@ -5549,9 +5282,6 @@ const deserializeAws_queryAllowedValues = (output, context) => {
|
|
|
5549
5282
|
return (output || [])
|
|
5550
5283
|
.filter((e) => e != null)
|
|
5551
5284
|
.map((entry) => {
|
|
5552
|
-
if (entry === null) {
|
|
5553
|
-
return null;
|
|
5554
|
-
}
|
|
5555
5285
|
return (0, smithy_client_1.expectString)(entry);
|
|
5556
5286
|
});
|
|
5557
5287
|
};
|
|
@@ -5598,9 +5328,6 @@ const deserializeAws_queryBatchDescribeTypeConfigurationsErrors = (output, conte
|
|
|
5598
5328
|
return (output || [])
|
|
5599
5329
|
.filter((e) => e != null)
|
|
5600
5330
|
.map((entry) => {
|
|
5601
|
-
if (entry === null) {
|
|
5602
|
-
return null;
|
|
5603
|
-
}
|
|
5604
5331
|
return deserializeAws_queryBatchDescribeTypeConfigurationsError(entry, context);
|
|
5605
5332
|
});
|
|
5606
5333
|
};
|
|
@@ -5635,9 +5362,6 @@ const deserializeAws_queryCapabilities = (output, context) => {
|
|
|
5635
5362
|
return (output || [])
|
|
5636
5363
|
.filter((e) => e != null)
|
|
5637
5364
|
.map((entry) => {
|
|
5638
|
-
if (entry === null) {
|
|
5639
|
-
return null;
|
|
5640
|
-
}
|
|
5641
5365
|
return (0, smithy_client_1.expectString)(entry);
|
|
5642
5366
|
});
|
|
5643
5367
|
};
|
|
@@ -5671,9 +5395,6 @@ const deserializeAws_queryChanges = (output, context) => {
|
|
|
5671
5395
|
return (output || [])
|
|
5672
5396
|
.filter((e) => e != null)
|
|
5673
5397
|
.map((entry) => {
|
|
5674
|
-
if (entry === null) {
|
|
5675
|
-
return null;
|
|
5676
|
-
}
|
|
5677
5398
|
return deserializeAws_queryChange(entry, context);
|
|
5678
5399
|
});
|
|
5679
5400
|
};
|
|
@@ -5727,9 +5448,6 @@ const deserializeAws_queryChangeSetHooks = (output, context) => {
|
|
|
5727
5448
|
return (output || [])
|
|
5728
5449
|
.filter((e) => e != null)
|
|
5729
5450
|
.map((entry) => {
|
|
5730
|
-
if (entry === null) {
|
|
5731
|
-
return null;
|
|
5732
|
-
}
|
|
5733
5451
|
return deserializeAws_queryChangeSetHook(entry, context);
|
|
5734
5452
|
});
|
|
5735
5453
|
};
|
|
@@ -5759,9 +5477,6 @@ const deserializeAws_queryChangeSetSummaries = (output, context) => {
|
|
|
5759
5477
|
return (output || [])
|
|
5760
5478
|
.filter((e) => e != null)
|
|
5761
5479
|
.map((entry) => {
|
|
5762
|
-
if (entry === null) {
|
|
5763
|
-
return null;
|
|
5764
|
-
}
|
|
5765
5480
|
return deserializeAws_queryChangeSetSummary(entry, context);
|
|
5766
5481
|
});
|
|
5767
5482
|
};
|
|
@@ -6420,9 +6135,6 @@ const deserializeAws_queryExports = (output, context) => {
|
|
|
6420
6135
|
return (output || [])
|
|
6421
6136
|
.filter((e) => e != null)
|
|
6422
6137
|
.map((entry) => {
|
|
6423
|
-
if (entry === null) {
|
|
6424
|
-
return null;
|
|
6425
|
-
}
|
|
6426
6138
|
return deserializeAws_queryExport(entry, context);
|
|
6427
6139
|
});
|
|
6428
6140
|
};
|
|
@@ -6512,9 +6224,6 @@ const deserializeAws_queryImports = (output, context) => {
|
|
|
6512
6224
|
return (output || [])
|
|
6513
6225
|
.filter((e) => e != null)
|
|
6514
6226
|
.map((entry) => {
|
|
6515
|
-
if (entry === null) {
|
|
6516
|
-
return null;
|
|
6517
|
-
}
|
|
6518
6227
|
return (0, smithy_client_1.expectString)(entry);
|
|
6519
6228
|
});
|
|
6520
6229
|
};
|
|
@@ -6782,9 +6491,6 @@ const deserializeAws_queryLogicalResourceIds = (output, context) => {
|
|
|
6782
6491
|
return (output || [])
|
|
6783
6492
|
.filter((e) => e != null)
|
|
6784
6493
|
.map((entry) => {
|
|
6785
|
-
if (entry === null) {
|
|
6786
|
-
return null;
|
|
6787
|
-
}
|
|
6788
6494
|
return (0, smithy_client_1.expectString)(entry);
|
|
6789
6495
|
});
|
|
6790
6496
|
};
|
|
@@ -6823,9 +6529,6 @@ const deserializeAws_queryNotificationARNs = (output, context) => {
|
|
|
6823
6529
|
return (output || [])
|
|
6824
6530
|
.filter((e) => e != null)
|
|
6825
6531
|
.map((entry) => {
|
|
6826
|
-
if (entry === null) {
|
|
6827
|
-
return null;
|
|
6828
|
-
}
|
|
6829
6532
|
return (0, smithy_client_1.expectString)(entry);
|
|
6830
6533
|
});
|
|
6831
6534
|
};
|
|
@@ -6869,9 +6572,6 @@ const deserializeAws_queryOrganizationalUnitIdList = (output, context) => {
|
|
|
6869
6572
|
return (output || [])
|
|
6870
6573
|
.filter((e) => e != null)
|
|
6871
6574
|
.map((entry) => {
|
|
6872
|
-
if (entry === null) {
|
|
6873
|
-
return null;
|
|
6874
|
-
}
|
|
6875
6575
|
return (0, smithy_client_1.expectString)(entry);
|
|
6876
6576
|
});
|
|
6877
6577
|
};
|
|
@@ -6900,9 +6600,6 @@ const deserializeAws_queryOutputs = (output, context) => {
|
|
|
6900
6600
|
return (output || [])
|
|
6901
6601
|
.filter((e) => e != null)
|
|
6902
6602
|
.map((entry) => {
|
|
6903
|
-
if (entry === null) {
|
|
6904
|
-
return null;
|
|
6905
|
-
}
|
|
6906
6603
|
return deserializeAws_queryOutput(entry, context);
|
|
6907
6604
|
});
|
|
6908
6605
|
};
|
|
@@ -6972,9 +6669,6 @@ const deserializeAws_queryParameterDeclarations = (output, context) => {
|
|
|
6972
6669
|
return (output || [])
|
|
6973
6670
|
.filter((e) => e != null)
|
|
6974
6671
|
.map((entry) => {
|
|
6975
|
-
if (entry === null) {
|
|
6976
|
-
return null;
|
|
6977
|
-
}
|
|
6978
6672
|
return deserializeAws_queryParameterDeclaration(entry, context);
|
|
6979
6673
|
});
|
|
6980
6674
|
};
|
|
@@ -6982,9 +6676,6 @@ const deserializeAws_queryParameters = (output, context) => {
|
|
|
6982
6676
|
return (output || [])
|
|
6983
6677
|
.filter((e) => e != null)
|
|
6984
6678
|
.map((entry) => {
|
|
6985
|
-
if (entry === null) {
|
|
6986
|
-
return null;
|
|
6987
|
-
}
|
|
6988
6679
|
return deserializeAws_queryParameter(entry, context);
|
|
6989
6680
|
});
|
|
6990
6681
|
};
|
|
@@ -6992,9 +6683,6 @@ const deserializeAws_queryPhysicalResourceIdContext = (output, context) => {
|
|
|
6992
6683
|
return (output || [])
|
|
6993
6684
|
.filter((e) => e != null)
|
|
6994
6685
|
.map((entry) => {
|
|
6995
|
-
if (entry === null) {
|
|
6996
|
-
return null;
|
|
6997
|
-
}
|
|
6998
6686
|
return deserializeAws_queryPhysicalResourceIdContextKeyValuePair(entry, context);
|
|
6999
6687
|
});
|
|
7000
6688
|
};
|
|
@@ -7036,9 +6724,6 @@ const deserializeAws_queryPropertyDifferences = (output, context) => {
|
|
|
7036
6724
|
return (output || [])
|
|
7037
6725
|
.filter((e) => e != null)
|
|
7038
6726
|
.map((entry) => {
|
|
7039
|
-
if (entry === null) {
|
|
7040
|
-
return null;
|
|
7041
|
-
}
|
|
7042
6727
|
return deserializeAws_queryPropertyDifference(entry, context);
|
|
7043
6728
|
});
|
|
7044
6729
|
};
|
|
@@ -7059,9 +6744,6 @@ const deserializeAws_queryRegionList = (output, context) => {
|
|
|
7059
6744
|
return (output || [])
|
|
7060
6745
|
.filter((e) => e != null)
|
|
7061
6746
|
.map((entry) => {
|
|
7062
|
-
if (entry === null) {
|
|
7063
|
-
return null;
|
|
7064
|
-
}
|
|
7065
6747
|
return (0, smithy_client_1.expectString)(entry);
|
|
7066
6748
|
});
|
|
7067
6749
|
};
|
|
@@ -7087,9 +6769,6 @@ const deserializeAws_queryRegistrationTokenList = (output, context) => {
|
|
|
7087
6769
|
return (output || [])
|
|
7088
6770
|
.filter((e) => e != null)
|
|
7089
6771
|
.map((entry) => {
|
|
7090
|
-
if (entry === null) {
|
|
7091
|
-
return null;
|
|
7092
|
-
}
|
|
7093
6772
|
return (0, smithy_client_1.expectString)(entry);
|
|
7094
6773
|
});
|
|
7095
6774
|
};
|
|
@@ -7122,9 +6801,6 @@ const deserializeAws_queryRequiredActivatedTypes = (output, context) => {
|
|
|
7122
6801
|
return (output || [])
|
|
7123
6802
|
.filter((e) => e != null)
|
|
7124
6803
|
.map((entry) => {
|
|
7125
|
-
if (entry === null) {
|
|
7126
|
-
return null;
|
|
7127
|
-
}
|
|
7128
6804
|
return deserializeAws_queryRequiredActivatedType(entry, context);
|
|
7129
6805
|
});
|
|
7130
6806
|
};
|
|
@@ -7200,9 +6876,6 @@ const deserializeAws_queryResourceChangeDetails = (output, context) => {
|
|
|
7200
6876
|
return (output || [])
|
|
7201
6877
|
.filter((e) => e != null)
|
|
7202
6878
|
.map((entry) => {
|
|
7203
|
-
if (entry === null) {
|
|
7204
|
-
return null;
|
|
7205
|
-
}
|
|
7206
6879
|
return deserializeAws_queryResourceChangeDetail(entry, context);
|
|
7207
6880
|
});
|
|
7208
6881
|
};
|
|
@@ -7210,9 +6883,6 @@ const deserializeAws_queryResourceIdentifiers = (output, context) => {
|
|
|
7210
6883
|
return (output || [])
|
|
7211
6884
|
.filter((e) => e != null)
|
|
7212
6885
|
.map((entry) => {
|
|
7213
|
-
if (entry === null) {
|
|
7214
|
-
return null;
|
|
7215
|
-
}
|
|
7216
6886
|
return (0, smithy_client_1.expectString)(entry);
|
|
7217
6887
|
});
|
|
7218
6888
|
};
|
|
@@ -7220,9 +6890,6 @@ const deserializeAws_queryResourceIdentifierSummaries = (output, context) => {
|
|
|
7220
6890
|
return (output || [])
|
|
7221
6891
|
.filter((e) => e != null)
|
|
7222
6892
|
.map((entry) => {
|
|
7223
|
-
if (entry === null) {
|
|
7224
|
-
return null;
|
|
7225
|
-
}
|
|
7226
6893
|
return deserializeAws_queryResourceIdentifierSummary(entry, context);
|
|
7227
6894
|
});
|
|
7228
6895
|
};
|
|
@@ -7270,9 +6937,6 @@ const deserializeAws_queryResourceTypes = (output, context) => {
|
|
|
7270
6937
|
return (output || [])
|
|
7271
6938
|
.filter((e) => e != null)
|
|
7272
6939
|
.map((entry) => {
|
|
7273
|
-
if (entry === null) {
|
|
7274
|
-
return null;
|
|
7275
|
-
}
|
|
7276
6940
|
return (0, smithy_client_1.expectString)(entry);
|
|
7277
6941
|
});
|
|
7278
6942
|
};
|
|
@@ -7318,9 +6982,6 @@ const deserializeAws_queryRollbackTriggers = (output, context) => {
|
|
|
7318
6982
|
return (output || [])
|
|
7319
6983
|
.filter((e) => e != null)
|
|
7320
6984
|
.map((entry) => {
|
|
7321
|
-
if (entry === null) {
|
|
7322
|
-
return null;
|
|
7323
|
-
}
|
|
7324
6985
|
return deserializeAws_queryRollbackTrigger(entry, context);
|
|
7325
6986
|
});
|
|
7326
6987
|
};
|
|
@@ -7328,9 +6989,6 @@ const deserializeAws_queryScope = (output, context) => {
|
|
|
7328
6989
|
return (output || [])
|
|
7329
6990
|
.filter((e) => e != null)
|
|
7330
6991
|
.map((entry) => {
|
|
7331
|
-
if (entry === null) {
|
|
7332
|
-
return null;
|
|
7333
|
-
}
|
|
7334
6992
|
return (0, smithy_client_1.expectString)(entry);
|
|
7335
6993
|
});
|
|
7336
6994
|
};
|
|
@@ -7554,9 +7212,6 @@ const deserializeAws_queryStackEvents = (output, context) => {
|
|
|
7554
7212
|
return (output || [])
|
|
7555
7213
|
.filter((e) => e != null)
|
|
7556
7214
|
.map((entry) => {
|
|
7557
|
-
if (entry === null) {
|
|
7558
|
-
return null;
|
|
7559
|
-
}
|
|
7560
7215
|
return deserializeAws_queryStackEvent(entry, context);
|
|
7561
7216
|
});
|
|
7562
7217
|
};
|
|
@@ -7634,9 +7289,6 @@ const deserializeAws_queryStackInstanceSummaries = (output, context) => {
|
|
|
7634
7289
|
return (output || [])
|
|
7635
7290
|
.filter((e) => e != null)
|
|
7636
7291
|
.map((entry) => {
|
|
7637
|
-
if (entry === null) {
|
|
7638
|
-
return null;
|
|
7639
|
-
}
|
|
7640
7292
|
return deserializeAws_queryStackInstanceSummary(entry, context);
|
|
7641
7293
|
});
|
|
7642
7294
|
};
|
|
@@ -7882,9 +7534,6 @@ const deserializeAws_queryStackResourceDrifts = (output, context) => {
|
|
|
7882
7534
|
return (output || [])
|
|
7883
7535
|
.filter((e) => e != null)
|
|
7884
7536
|
.map((entry) => {
|
|
7885
|
-
if (entry === null) {
|
|
7886
|
-
return null;
|
|
7887
|
-
}
|
|
7888
7537
|
return deserializeAws_queryStackResourceDrift(entry, context);
|
|
7889
7538
|
});
|
|
7890
7539
|
};
|
|
@@ -7892,9 +7541,6 @@ const deserializeAws_queryStackResources = (output, context) => {
|
|
|
7892
7541
|
return (output || [])
|
|
7893
7542
|
.filter((e) => e != null)
|
|
7894
7543
|
.map((entry) => {
|
|
7895
|
-
if (entry === null) {
|
|
7896
|
-
return null;
|
|
7897
|
-
}
|
|
7898
7544
|
return deserializeAws_queryStackResource(entry, context);
|
|
7899
7545
|
});
|
|
7900
7546
|
};
|
|
@@ -7902,9 +7548,6 @@ const deserializeAws_queryStackResourceSummaries = (output, context) => {
|
|
|
7902
7548
|
return (output || [])
|
|
7903
7549
|
.filter((e) => e != null)
|
|
7904
7550
|
.map((entry) => {
|
|
7905
|
-
if (entry === null) {
|
|
7906
|
-
return null;
|
|
7907
|
-
}
|
|
7908
7551
|
return deserializeAws_queryStackResourceSummary(entry, context);
|
|
7909
7552
|
});
|
|
7910
7553
|
};
|
|
@@ -7949,9 +7592,6 @@ const deserializeAws_queryStacks = (output, context) => {
|
|
|
7949
7592
|
return (output || [])
|
|
7950
7593
|
.filter((e) => e != null)
|
|
7951
7594
|
.map((entry) => {
|
|
7952
|
-
if (entry === null) {
|
|
7953
|
-
return null;
|
|
7954
|
-
}
|
|
7955
7595
|
return deserializeAws_queryStack(entry, context);
|
|
7956
7596
|
});
|
|
7957
7597
|
};
|
|
@@ -8184,9 +7824,6 @@ const deserializeAws_queryStackSetOperationResultSummaries = (output, context) =
|
|
|
8184
7824
|
return (output || [])
|
|
8185
7825
|
.filter((e) => e != null)
|
|
8186
7826
|
.map((entry) => {
|
|
8187
|
-
if (entry === null) {
|
|
8188
|
-
return null;
|
|
8189
|
-
}
|
|
8190
7827
|
return deserializeAws_queryStackSetOperationResultSummary(entry, context);
|
|
8191
7828
|
});
|
|
8192
7829
|
};
|
|
@@ -8223,9 +7860,6 @@ const deserializeAws_queryStackSetOperationSummaries = (output, context) => {
|
|
|
8223
7860
|
return (output || [])
|
|
8224
7861
|
.filter((e) => e != null)
|
|
8225
7862
|
.map((entry) => {
|
|
8226
|
-
if (entry === null) {
|
|
8227
|
-
return null;
|
|
8228
|
-
}
|
|
8229
7863
|
return deserializeAws_queryStackSetOperationSummary(entry, context);
|
|
8230
7864
|
});
|
|
8231
7865
|
};
|
|
@@ -8262,9 +7896,6 @@ const deserializeAws_queryStackSetSummaries = (output, context) => {
|
|
|
8262
7896
|
return (output || [])
|
|
8263
7897
|
.filter((e) => e != null)
|
|
8264
7898
|
.map((entry) => {
|
|
8265
|
-
if (entry === null) {
|
|
8266
|
-
return null;
|
|
8267
|
-
}
|
|
8268
7899
|
return deserializeAws_queryStackSetSummary(entry, context);
|
|
8269
7900
|
});
|
|
8270
7901
|
};
|
|
@@ -8313,9 +7944,6 @@ const deserializeAws_queryStackSummaries = (output, context) => {
|
|
|
8313
7944
|
return (output || [])
|
|
8314
7945
|
.filter((e) => e != null)
|
|
8315
7946
|
.map((entry) => {
|
|
8316
|
-
if (entry === null) {
|
|
8317
|
-
return null;
|
|
8318
|
-
}
|
|
8319
7947
|
return deserializeAws_queryStackSummary(entry, context);
|
|
8320
7948
|
});
|
|
8321
7949
|
};
|
|
@@ -8372,9 +8000,6 @@ const deserializeAws_queryStageList = (output, context) => {
|
|
|
8372
8000
|
return (output || [])
|
|
8373
8001
|
.filter((e) => e != null)
|
|
8374
8002
|
.map((entry) => {
|
|
8375
|
-
if (entry === null) {
|
|
8376
|
-
return null;
|
|
8377
|
-
}
|
|
8378
8003
|
return (0, smithy_client_1.expectString)(entry);
|
|
8379
8004
|
});
|
|
8380
8005
|
};
|
|
@@ -8395,9 +8020,6 @@ const deserializeAws_querySupportedMajorVersions = (output, context) => {
|
|
|
8395
8020
|
return (output || [])
|
|
8396
8021
|
.filter((e) => e != null)
|
|
8397
8022
|
.map((entry) => {
|
|
8398
|
-
if (entry === null) {
|
|
8399
|
-
return null;
|
|
8400
|
-
}
|
|
8401
8023
|
return (0, smithy_client_1.strictParseInt32)(entry);
|
|
8402
8024
|
});
|
|
8403
8025
|
};
|
|
@@ -8418,9 +8040,6 @@ const deserializeAws_queryTags = (output, context) => {
|
|
|
8418
8040
|
return (output || [])
|
|
8419
8041
|
.filter((e) => e != null)
|
|
8420
8042
|
.map((entry) => {
|
|
8421
|
-
if (entry === null) {
|
|
8422
|
-
return null;
|
|
8423
|
-
}
|
|
8424
8043
|
return deserializeAws_queryTag(entry, context);
|
|
8425
8044
|
});
|
|
8426
8045
|
};
|
|
@@ -8449,9 +8068,6 @@ const deserializeAws_queryTemplateParameters = (output, context) => {
|
|
|
8449
8068
|
return (output || [])
|
|
8450
8069
|
.filter((e) => e != null)
|
|
8451
8070
|
.map((entry) => {
|
|
8452
|
-
if (entry === null) {
|
|
8453
|
-
return null;
|
|
8454
|
-
}
|
|
8455
8071
|
return deserializeAws_queryTemplateParameter(entry, context);
|
|
8456
8072
|
});
|
|
8457
8073
|
};
|
|
@@ -8477,9 +8093,6 @@ const deserializeAws_queryTransformsList = (output, context) => {
|
|
|
8477
8093
|
return (output || [])
|
|
8478
8094
|
.filter((e) => e != null)
|
|
8479
8095
|
.map((entry) => {
|
|
8480
|
-
if (entry === null) {
|
|
8481
|
-
return null;
|
|
8482
|
-
}
|
|
8483
8096
|
return (0, smithy_client_1.expectString)(entry);
|
|
8484
8097
|
});
|
|
8485
8098
|
};
|
|
@@ -8520,9 +8133,6 @@ const deserializeAws_queryTypeConfigurationDetailsList = (output, context) => {
|
|
|
8520
8133
|
return (output || [])
|
|
8521
8134
|
.filter((e) => e != null)
|
|
8522
8135
|
.map((entry) => {
|
|
8523
|
-
if (entry === null) {
|
|
8524
|
-
return null;
|
|
8525
|
-
}
|
|
8526
8136
|
return deserializeAws_queryTypeConfigurationDetails(entry, context);
|
|
8527
8137
|
});
|
|
8528
8138
|
};
|
|
@@ -8573,9 +8183,6 @@ const deserializeAws_queryTypeSummaries = (output, context) => {
|
|
|
8573
8183
|
return (output || [])
|
|
8574
8184
|
.filter((e) => e != null)
|
|
8575
8185
|
.map((entry) => {
|
|
8576
|
-
if (entry === null) {
|
|
8577
|
-
return null;
|
|
8578
|
-
}
|
|
8579
8186
|
return deserializeAws_queryTypeSummary(entry, context);
|
|
8580
8187
|
});
|
|
8581
8188
|
};
|
|
@@ -8640,9 +8247,6 @@ const deserializeAws_queryTypeVersionSummaries = (output, context) => {
|
|
|
8640
8247
|
return (output || [])
|
|
8641
8248
|
.filter((e) => e != null)
|
|
8642
8249
|
.map((entry) => {
|
|
8643
|
-
if (entry === null) {
|
|
8644
|
-
return null;
|
|
8645
|
-
}
|
|
8646
8250
|
return deserializeAws_queryTypeVersionSummary(entry, context);
|
|
8647
8251
|
});
|
|
8648
8252
|
};
|
|
@@ -8687,9 +8291,6 @@ const deserializeAws_queryUnprocessedTypeConfigurations = (output, context) => {
|
|
|
8687
8291
|
return (output || [])
|
|
8688
8292
|
.filter((e) => e != null)
|
|
8689
8293
|
.map((entry) => {
|
|
8690
|
-
if (entry === null) {
|
|
8691
|
-
return null;
|
|
8692
|
-
}
|
|
8693
8294
|
return deserializeAws_queryTypeConfigurationIdentifier(entry, context);
|
|
8694
8295
|
});
|
|
8695
8296
|
};
|