@aws-sdk/client-service-catalog 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_json1_1.js +435 -741
- package/dist-es/protocols/Aws_json1_1.js +697 -742
- package/package.json +6 -6
|
@@ -898,7 +898,6 @@ const deserializeAws_json1_1AcceptPortfolioShareCommandError = async (output, co
|
|
|
898
898
|
...output,
|
|
899
899
|
body: await parseBody(output.body, context),
|
|
900
900
|
};
|
|
901
|
-
let response;
|
|
902
901
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
903
902
|
switch (errorCode) {
|
|
904
903
|
case "InvalidParametersException":
|
|
@@ -912,14 +911,12 @@ const deserializeAws_json1_1AcceptPortfolioShareCommandError = async (output, co
|
|
|
912
911
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
913
912
|
default:
|
|
914
913
|
const parsedBody = parsedOutput.body;
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
$metadata,
|
|
914
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
915
|
+
output,
|
|
916
|
+
parsedBody,
|
|
917
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
918
|
+
errorCode,
|
|
921
919
|
});
|
|
922
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
923
920
|
}
|
|
924
921
|
};
|
|
925
922
|
const deserializeAws_json1_1AssociateBudgetWithResourceCommand = async (output, context) => {
|
|
@@ -941,7 +938,6 @@ const deserializeAws_json1_1AssociateBudgetWithResourceCommandError = async (out
|
|
|
941
938
|
...output,
|
|
942
939
|
body: await parseBody(output.body, context),
|
|
943
940
|
};
|
|
944
|
-
let response;
|
|
945
941
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
946
942
|
switch (errorCode) {
|
|
947
943
|
case "DuplicateResourceException":
|
|
@@ -958,14 +954,12 @@ const deserializeAws_json1_1AssociateBudgetWithResourceCommandError = async (out
|
|
|
958
954
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
959
955
|
default:
|
|
960
956
|
const parsedBody = parsedOutput.body;
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
$metadata,
|
|
957
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
958
|
+
output,
|
|
959
|
+
parsedBody,
|
|
960
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
961
|
+
errorCode,
|
|
967
962
|
});
|
|
968
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
969
963
|
}
|
|
970
964
|
};
|
|
971
965
|
const deserializeAws_json1_1AssociatePrincipalWithPortfolioCommand = async (output, context) => {
|
|
@@ -987,7 +981,6 @@ const deserializeAws_json1_1AssociatePrincipalWithPortfolioCommandError = async
|
|
|
987
981
|
...output,
|
|
988
982
|
body: await parseBody(output.body, context),
|
|
989
983
|
};
|
|
990
|
-
let response;
|
|
991
984
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
992
985
|
switch (errorCode) {
|
|
993
986
|
case "InvalidParametersException":
|
|
@@ -1001,14 +994,12 @@ const deserializeAws_json1_1AssociatePrincipalWithPortfolioCommandError = async
|
|
|
1001
994
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1002
995
|
default:
|
|
1003
996
|
const parsedBody = parsedOutput.body;
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
$metadata,
|
|
997
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
998
|
+
output,
|
|
999
|
+
parsedBody,
|
|
1000
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1001
|
+
errorCode,
|
|
1010
1002
|
});
|
|
1011
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1012
1003
|
}
|
|
1013
1004
|
};
|
|
1014
1005
|
const deserializeAws_json1_1AssociateProductWithPortfolioCommand = async (output, context) => {
|
|
@@ -1030,7 +1021,6 @@ const deserializeAws_json1_1AssociateProductWithPortfolioCommandError = async (o
|
|
|
1030
1021
|
...output,
|
|
1031
1022
|
body: await parseBody(output.body, context),
|
|
1032
1023
|
};
|
|
1033
|
-
let response;
|
|
1034
1024
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1035
1025
|
switch (errorCode) {
|
|
1036
1026
|
case "InvalidParametersException":
|
|
@@ -1044,14 +1034,12 @@ const deserializeAws_json1_1AssociateProductWithPortfolioCommandError = async (o
|
|
|
1044
1034
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1045
1035
|
default:
|
|
1046
1036
|
const parsedBody = parsedOutput.body;
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
$metadata,
|
|
1037
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1038
|
+
output,
|
|
1039
|
+
parsedBody,
|
|
1040
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1041
|
+
errorCode,
|
|
1053
1042
|
});
|
|
1054
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1055
1043
|
}
|
|
1056
1044
|
};
|
|
1057
1045
|
const deserializeAws_json1_1AssociateServiceActionWithProvisioningArtifactCommand = async (output, context) => {
|
|
@@ -1073,7 +1061,6 @@ const deserializeAws_json1_1AssociateServiceActionWithProvisioningArtifactComman
|
|
|
1073
1061
|
...output,
|
|
1074
1062
|
body: await parseBody(output.body, context),
|
|
1075
1063
|
};
|
|
1076
|
-
let response;
|
|
1077
1064
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1078
1065
|
switch (errorCode) {
|
|
1079
1066
|
case "DuplicateResourceException":
|
|
@@ -1087,14 +1074,12 @@ const deserializeAws_json1_1AssociateServiceActionWithProvisioningArtifactComman
|
|
|
1087
1074
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1088
1075
|
default:
|
|
1089
1076
|
const parsedBody = parsedOutput.body;
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
$metadata,
|
|
1077
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1078
|
+
output,
|
|
1079
|
+
parsedBody,
|
|
1080
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1081
|
+
errorCode,
|
|
1096
1082
|
});
|
|
1097
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1098
1083
|
}
|
|
1099
1084
|
};
|
|
1100
1085
|
const deserializeAws_json1_1AssociateTagOptionWithResourceCommand = async (output, context) => {
|
|
@@ -1116,7 +1101,6 @@ const deserializeAws_json1_1AssociateTagOptionWithResourceCommandError = async (
|
|
|
1116
1101
|
...output,
|
|
1117
1102
|
body: await parseBody(output.body, context),
|
|
1118
1103
|
};
|
|
1119
|
-
let response;
|
|
1120
1104
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1121
1105
|
switch (errorCode) {
|
|
1122
1106
|
case "DuplicateResourceException":
|
|
@@ -1139,14 +1123,12 @@ const deserializeAws_json1_1AssociateTagOptionWithResourceCommandError = async (
|
|
|
1139
1123
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
1140
1124
|
default:
|
|
1141
1125
|
const parsedBody = parsedOutput.body;
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
$metadata,
|
|
1126
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1127
|
+
output,
|
|
1128
|
+
parsedBody,
|
|
1129
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1130
|
+
errorCode,
|
|
1148
1131
|
});
|
|
1149
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1150
1132
|
}
|
|
1151
1133
|
};
|
|
1152
1134
|
const deserializeAws_json1_1BatchAssociateServiceActionWithProvisioningArtifactCommand = async (output, context) => {
|
|
@@ -1168,7 +1150,6 @@ const deserializeAws_json1_1BatchAssociateServiceActionWithProvisioningArtifactC
|
|
|
1168
1150
|
...output,
|
|
1169
1151
|
body: await parseBody(output.body, context),
|
|
1170
1152
|
};
|
|
1171
|
-
let response;
|
|
1172
1153
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1173
1154
|
switch (errorCode) {
|
|
1174
1155
|
case "InvalidParametersException":
|
|
@@ -1176,14 +1157,12 @@ const deserializeAws_json1_1BatchAssociateServiceActionWithProvisioningArtifactC
|
|
|
1176
1157
|
throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
|
|
1177
1158
|
default:
|
|
1178
1159
|
const parsedBody = parsedOutput.body;
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
$metadata,
|
|
1160
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1161
|
+
output,
|
|
1162
|
+
parsedBody,
|
|
1163
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1164
|
+
errorCode,
|
|
1185
1165
|
});
|
|
1186
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1187
1166
|
}
|
|
1188
1167
|
};
|
|
1189
1168
|
const deserializeAws_json1_1BatchDisassociateServiceActionFromProvisioningArtifactCommand = async (output, context) => {
|
|
@@ -1205,7 +1184,6 @@ const deserializeAws_json1_1BatchDisassociateServiceActionFromProvisioningArtifa
|
|
|
1205
1184
|
...output,
|
|
1206
1185
|
body: await parseBody(output.body, context),
|
|
1207
1186
|
};
|
|
1208
|
-
let response;
|
|
1209
1187
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1210
1188
|
switch (errorCode) {
|
|
1211
1189
|
case "InvalidParametersException":
|
|
@@ -1213,14 +1191,12 @@ const deserializeAws_json1_1BatchDisassociateServiceActionFromProvisioningArtifa
|
|
|
1213
1191
|
throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
|
|
1214
1192
|
default:
|
|
1215
1193
|
const parsedBody = parsedOutput.body;
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
$metadata,
|
|
1194
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1195
|
+
output,
|
|
1196
|
+
parsedBody,
|
|
1197
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1198
|
+
errorCode,
|
|
1222
1199
|
});
|
|
1223
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1224
1200
|
}
|
|
1225
1201
|
};
|
|
1226
1202
|
const deserializeAws_json1_1CopyProductCommand = async (output, context) => {
|
|
@@ -1242,7 +1218,6 @@ const deserializeAws_json1_1CopyProductCommandError = async (output, context) =>
|
|
|
1242
1218
|
...output,
|
|
1243
1219
|
body: await parseBody(output.body, context),
|
|
1244
1220
|
};
|
|
1245
|
-
let response;
|
|
1246
1221
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1247
1222
|
switch (errorCode) {
|
|
1248
1223
|
case "InvalidParametersException":
|
|
@@ -1253,14 +1228,12 @@ const deserializeAws_json1_1CopyProductCommandError = async (output, context) =>
|
|
|
1253
1228
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1254
1229
|
default:
|
|
1255
1230
|
const parsedBody = parsedOutput.body;
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
$metadata,
|
|
1231
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1232
|
+
output,
|
|
1233
|
+
parsedBody,
|
|
1234
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1235
|
+
errorCode,
|
|
1262
1236
|
});
|
|
1263
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1264
1237
|
}
|
|
1265
1238
|
};
|
|
1266
1239
|
const deserializeAws_json1_1CreateConstraintCommand = async (output, context) => {
|
|
@@ -1282,7 +1255,6 @@ const deserializeAws_json1_1CreateConstraintCommandError = async (output, contex
|
|
|
1282
1255
|
...output,
|
|
1283
1256
|
body: await parseBody(output.body, context),
|
|
1284
1257
|
};
|
|
1285
|
-
let response;
|
|
1286
1258
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1287
1259
|
switch (errorCode) {
|
|
1288
1260
|
case "DuplicateResourceException":
|
|
@@ -1299,14 +1271,12 @@ const deserializeAws_json1_1CreateConstraintCommandError = async (output, contex
|
|
|
1299
1271
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1300
1272
|
default:
|
|
1301
1273
|
const parsedBody = parsedOutput.body;
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
$metadata,
|
|
1274
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1275
|
+
output,
|
|
1276
|
+
parsedBody,
|
|
1277
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1278
|
+
errorCode,
|
|
1308
1279
|
});
|
|
1309
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1310
1280
|
}
|
|
1311
1281
|
};
|
|
1312
1282
|
const deserializeAws_json1_1CreatePortfolioCommand = async (output, context) => {
|
|
@@ -1328,7 +1298,6 @@ const deserializeAws_json1_1CreatePortfolioCommandError = async (output, context
|
|
|
1328
1298
|
...output,
|
|
1329
1299
|
body: await parseBody(output.body, context),
|
|
1330
1300
|
};
|
|
1331
|
-
let response;
|
|
1332
1301
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1333
1302
|
switch (errorCode) {
|
|
1334
1303
|
case "InvalidParametersException":
|
|
@@ -1342,14 +1311,12 @@ const deserializeAws_json1_1CreatePortfolioCommandError = async (output, context
|
|
|
1342
1311
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
1343
1312
|
default:
|
|
1344
1313
|
const parsedBody = parsedOutput.body;
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
$metadata,
|
|
1314
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1315
|
+
output,
|
|
1316
|
+
parsedBody,
|
|
1317
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1318
|
+
errorCode,
|
|
1351
1319
|
});
|
|
1352
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1353
1320
|
}
|
|
1354
1321
|
};
|
|
1355
1322
|
const deserializeAws_json1_1CreatePortfolioShareCommand = async (output, context) => {
|
|
@@ -1371,7 +1338,6 @@ const deserializeAws_json1_1CreatePortfolioShareCommandError = async (output, co
|
|
|
1371
1338
|
...output,
|
|
1372
1339
|
body: await parseBody(output.body, context),
|
|
1373
1340
|
};
|
|
1374
|
-
let response;
|
|
1375
1341
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1376
1342
|
switch (errorCode) {
|
|
1377
1343
|
case "InvalidParametersException":
|
|
@@ -1391,14 +1357,12 @@ const deserializeAws_json1_1CreatePortfolioShareCommandError = async (output, co
|
|
|
1391
1357
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1392
1358
|
default:
|
|
1393
1359
|
const parsedBody = parsedOutput.body;
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
$metadata,
|
|
1360
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1361
|
+
output,
|
|
1362
|
+
parsedBody,
|
|
1363
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1364
|
+
errorCode,
|
|
1400
1365
|
});
|
|
1401
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1402
1366
|
}
|
|
1403
1367
|
};
|
|
1404
1368
|
const deserializeAws_json1_1CreateProductCommand = async (output, context) => {
|
|
@@ -1420,7 +1384,6 @@ const deserializeAws_json1_1CreateProductCommandError = async (output, context)
|
|
|
1420
1384
|
...output,
|
|
1421
1385
|
body: await parseBody(output.body, context),
|
|
1422
1386
|
};
|
|
1423
|
-
let response;
|
|
1424
1387
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1425
1388
|
switch (errorCode) {
|
|
1426
1389
|
case "InvalidParametersException":
|
|
@@ -1434,14 +1397,12 @@ const deserializeAws_json1_1CreateProductCommandError = async (output, context)
|
|
|
1434
1397
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
1435
1398
|
default:
|
|
1436
1399
|
const parsedBody = parsedOutput.body;
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
$metadata,
|
|
1400
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1401
|
+
output,
|
|
1402
|
+
parsedBody,
|
|
1403
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1404
|
+
errorCode,
|
|
1443
1405
|
});
|
|
1444
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1445
1406
|
}
|
|
1446
1407
|
};
|
|
1447
1408
|
const deserializeAws_json1_1CreateProvisionedProductPlanCommand = async (output, context) => {
|
|
@@ -1463,7 +1424,6 @@ const deserializeAws_json1_1CreateProvisionedProductPlanCommandError = async (ou
|
|
|
1463
1424
|
...output,
|
|
1464
1425
|
body: await parseBody(output.body, context),
|
|
1465
1426
|
};
|
|
1466
|
-
let response;
|
|
1467
1427
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1468
1428
|
switch (errorCode) {
|
|
1469
1429
|
case "InvalidParametersException":
|
|
@@ -1477,14 +1437,12 @@ const deserializeAws_json1_1CreateProvisionedProductPlanCommandError = async (ou
|
|
|
1477
1437
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1478
1438
|
default:
|
|
1479
1439
|
const parsedBody = parsedOutput.body;
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
$metadata,
|
|
1440
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1441
|
+
output,
|
|
1442
|
+
parsedBody,
|
|
1443
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1444
|
+
errorCode,
|
|
1486
1445
|
});
|
|
1487
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1488
1446
|
}
|
|
1489
1447
|
};
|
|
1490
1448
|
const deserializeAws_json1_1CreateProvisioningArtifactCommand = async (output, context) => {
|
|
@@ -1506,7 +1464,6 @@ const deserializeAws_json1_1CreateProvisioningArtifactCommandError = async (outp
|
|
|
1506
1464
|
...output,
|
|
1507
1465
|
body: await parseBody(output.body, context),
|
|
1508
1466
|
};
|
|
1509
|
-
let response;
|
|
1510
1467
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1511
1468
|
switch (errorCode) {
|
|
1512
1469
|
case "InvalidParametersException":
|
|
@@ -1520,14 +1477,12 @@ const deserializeAws_json1_1CreateProvisioningArtifactCommandError = async (outp
|
|
|
1520
1477
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1521
1478
|
default:
|
|
1522
1479
|
const parsedBody = parsedOutput.body;
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
$metadata,
|
|
1480
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1481
|
+
output,
|
|
1482
|
+
parsedBody,
|
|
1483
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1484
|
+
errorCode,
|
|
1529
1485
|
});
|
|
1530
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1531
1486
|
}
|
|
1532
1487
|
};
|
|
1533
1488
|
const deserializeAws_json1_1CreateServiceActionCommand = async (output, context) => {
|
|
@@ -1549,7 +1504,6 @@ const deserializeAws_json1_1CreateServiceActionCommandError = async (output, con
|
|
|
1549
1504
|
...output,
|
|
1550
1505
|
body: await parseBody(output.body, context),
|
|
1551
1506
|
};
|
|
1552
|
-
let response;
|
|
1553
1507
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1554
1508
|
switch (errorCode) {
|
|
1555
1509
|
case "InvalidParametersException":
|
|
@@ -1560,14 +1514,12 @@ const deserializeAws_json1_1CreateServiceActionCommandError = async (output, con
|
|
|
1560
1514
|
throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
|
|
1561
1515
|
default:
|
|
1562
1516
|
const parsedBody = parsedOutput.body;
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
$metadata,
|
|
1517
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1518
|
+
output,
|
|
1519
|
+
parsedBody,
|
|
1520
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1521
|
+
errorCode,
|
|
1569
1522
|
});
|
|
1570
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1571
1523
|
}
|
|
1572
1524
|
};
|
|
1573
1525
|
const deserializeAws_json1_1CreateTagOptionCommand = async (output, context) => {
|
|
@@ -1589,7 +1541,6 @@ const deserializeAws_json1_1CreateTagOptionCommandError = async (output, context
|
|
|
1589
1541
|
...output,
|
|
1590
1542
|
body: await parseBody(output.body, context),
|
|
1591
1543
|
};
|
|
1592
|
-
let response;
|
|
1593
1544
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1594
1545
|
switch (errorCode) {
|
|
1595
1546
|
case "DuplicateResourceException":
|
|
@@ -1603,14 +1554,12 @@ const deserializeAws_json1_1CreateTagOptionCommandError = async (output, context
|
|
|
1603
1554
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
1604
1555
|
default:
|
|
1605
1556
|
const parsedBody = parsedOutput.body;
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
$metadata,
|
|
1557
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1558
|
+
output,
|
|
1559
|
+
parsedBody,
|
|
1560
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1561
|
+
errorCode,
|
|
1612
1562
|
});
|
|
1613
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1614
1563
|
}
|
|
1615
1564
|
};
|
|
1616
1565
|
const deserializeAws_json1_1DeleteConstraintCommand = async (output, context) => {
|
|
@@ -1632,7 +1581,6 @@ const deserializeAws_json1_1DeleteConstraintCommandError = async (output, contex
|
|
|
1632
1581
|
...output,
|
|
1633
1582
|
body: await parseBody(output.body, context),
|
|
1634
1583
|
};
|
|
1635
|
-
let response;
|
|
1636
1584
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1637
1585
|
switch (errorCode) {
|
|
1638
1586
|
case "InvalidParametersException":
|
|
@@ -1643,14 +1591,12 @@ const deserializeAws_json1_1DeleteConstraintCommandError = async (output, contex
|
|
|
1643
1591
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1644
1592
|
default:
|
|
1645
1593
|
const parsedBody = parsedOutput.body;
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
$metadata,
|
|
1594
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1595
|
+
output,
|
|
1596
|
+
parsedBody,
|
|
1597
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1598
|
+
errorCode,
|
|
1652
1599
|
});
|
|
1653
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1654
1600
|
}
|
|
1655
1601
|
};
|
|
1656
1602
|
const deserializeAws_json1_1DeletePortfolioCommand = async (output, context) => {
|
|
@@ -1672,7 +1618,6 @@ const deserializeAws_json1_1DeletePortfolioCommandError = async (output, context
|
|
|
1672
1618
|
...output,
|
|
1673
1619
|
body: await parseBody(output.body, context),
|
|
1674
1620
|
};
|
|
1675
|
-
let response;
|
|
1676
1621
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1677
1622
|
switch (errorCode) {
|
|
1678
1623
|
case "InvalidParametersException":
|
|
@@ -1689,14 +1634,12 @@ const deserializeAws_json1_1DeletePortfolioCommandError = async (output, context
|
|
|
1689
1634
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
1690
1635
|
default:
|
|
1691
1636
|
const parsedBody = parsedOutput.body;
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
$metadata,
|
|
1637
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1638
|
+
output,
|
|
1639
|
+
parsedBody,
|
|
1640
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1641
|
+
errorCode,
|
|
1698
1642
|
});
|
|
1699
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1700
1643
|
}
|
|
1701
1644
|
};
|
|
1702
1645
|
const deserializeAws_json1_1DeletePortfolioShareCommand = async (output, context) => {
|
|
@@ -1718,7 +1661,6 @@ const deserializeAws_json1_1DeletePortfolioShareCommandError = async (output, co
|
|
|
1718
1661
|
...output,
|
|
1719
1662
|
body: await parseBody(output.body, context),
|
|
1720
1663
|
};
|
|
1721
|
-
let response;
|
|
1722
1664
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1723
1665
|
switch (errorCode) {
|
|
1724
1666
|
case "InvalidParametersException":
|
|
@@ -1735,14 +1677,12 @@ const deserializeAws_json1_1DeletePortfolioShareCommandError = async (output, co
|
|
|
1735
1677
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1736
1678
|
default:
|
|
1737
1679
|
const parsedBody = parsedOutput.body;
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
$metadata,
|
|
1680
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1681
|
+
output,
|
|
1682
|
+
parsedBody,
|
|
1683
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1684
|
+
errorCode,
|
|
1744
1685
|
});
|
|
1745
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1746
1686
|
}
|
|
1747
1687
|
};
|
|
1748
1688
|
const deserializeAws_json1_1DeleteProductCommand = async (output, context) => {
|
|
@@ -1764,7 +1704,6 @@ const deserializeAws_json1_1DeleteProductCommandError = async (output, context)
|
|
|
1764
1704
|
...output,
|
|
1765
1705
|
body: await parseBody(output.body, context),
|
|
1766
1706
|
};
|
|
1767
|
-
let response;
|
|
1768
1707
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1769
1708
|
switch (errorCode) {
|
|
1770
1709
|
case "InvalidParametersException":
|
|
@@ -1781,14 +1720,12 @@ const deserializeAws_json1_1DeleteProductCommandError = async (output, context)
|
|
|
1781
1720
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
1782
1721
|
default:
|
|
1783
1722
|
const parsedBody = parsedOutput.body;
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
$metadata,
|
|
1723
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1724
|
+
output,
|
|
1725
|
+
parsedBody,
|
|
1726
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1727
|
+
errorCode,
|
|
1790
1728
|
});
|
|
1791
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1792
1729
|
}
|
|
1793
1730
|
};
|
|
1794
1731
|
const deserializeAws_json1_1DeleteProvisionedProductPlanCommand = async (output, context) => {
|
|
@@ -1810,7 +1747,6 @@ const deserializeAws_json1_1DeleteProvisionedProductPlanCommandError = async (ou
|
|
|
1810
1747
|
...output,
|
|
1811
1748
|
body: await parseBody(output.body, context),
|
|
1812
1749
|
};
|
|
1813
|
-
let response;
|
|
1814
1750
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1815
1751
|
switch (errorCode) {
|
|
1816
1752
|
case "InvalidParametersException":
|
|
@@ -1821,14 +1757,12 @@ const deserializeAws_json1_1DeleteProvisionedProductPlanCommandError = async (ou
|
|
|
1821
1757
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1822
1758
|
default:
|
|
1823
1759
|
const parsedBody = parsedOutput.body;
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
$metadata,
|
|
1760
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1761
|
+
output,
|
|
1762
|
+
parsedBody,
|
|
1763
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1764
|
+
errorCode,
|
|
1830
1765
|
});
|
|
1831
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1832
1766
|
}
|
|
1833
1767
|
};
|
|
1834
1768
|
const deserializeAws_json1_1DeleteProvisioningArtifactCommand = async (output, context) => {
|
|
@@ -1850,7 +1784,6 @@ const deserializeAws_json1_1DeleteProvisioningArtifactCommandError = async (outp
|
|
|
1850
1784
|
...output,
|
|
1851
1785
|
body: await parseBody(output.body, context),
|
|
1852
1786
|
};
|
|
1853
|
-
let response;
|
|
1854
1787
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1855
1788
|
switch (errorCode) {
|
|
1856
1789
|
case "InvalidParametersException":
|
|
@@ -1864,14 +1797,12 @@ const deserializeAws_json1_1DeleteProvisioningArtifactCommandError = async (outp
|
|
|
1864
1797
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1865
1798
|
default:
|
|
1866
1799
|
const parsedBody = parsedOutput.body;
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
$metadata,
|
|
1800
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1801
|
+
output,
|
|
1802
|
+
parsedBody,
|
|
1803
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1804
|
+
errorCode,
|
|
1873
1805
|
});
|
|
1874
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1875
1806
|
}
|
|
1876
1807
|
};
|
|
1877
1808
|
const deserializeAws_json1_1DeleteServiceActionCommand = async (output, context) => {
|
|
@@ -1893,7 +1824,6 @@ const deserializeAws_json1_1DeleteServiceActionCommandError = async (output, con
|
|
|
1893
1824
|
...output,
|
|
1894
1825
|
body: await parseBody(output.body, context),
|
|
1895
1826
|
};
|
|
1896
|
-
let response;
|
|
1897
1827
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1898
1828
|
switch (errorCode) {
|
|
1899
1829
|
case "ResourceInUseException":
|
|
@@ -1904,14 +1834,12 @@ const deserializeAws_json1_1DeleteServiceActionCommandError = async (output, con
|
|
|
1904
1834
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1905
1835
|
default:
|
|
1906
1836
|
const parsedBody = parsedOutput.body;
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
$metadata,
|
|
1837
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1838
|
+
output,
|
|
1839
|
+
parsedBody,
|
|
1840
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1841
|
+
errorCode,
|
|
1913
1842
|
});
|
|
1914
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1915
1843
|
}
|
|
1916
1844
|
};
|
|
1917
1845
|
const deserializeAws_json1_1DeleteTagOptionCommand = async (output, context) => {
|
|
@@ -1933,7 +1861,6 @@ const deserializeAws_json1_1DeleteTagOptionCommandError = async (output, context
|
|
|
1933
1861
|
...output,
|
|
1934
1862
|
body: await parseBody(output.body, context),
|
|
1935
1863
|
};
|
|
1936
|
-
let response;
|
|
1937
1864
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1938
1865
|
switch (errorCode) {
|
|
1939
1866
|
case "ResourceInUseException":
|
|
@@ -1947,14 +1874,12 @@ const deserializeAws_json1_1DeleteTagOptionCommandError = async (output, context
|
|
|
1947
1874
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
1948
1875
|
default:
|
|
1949
1876
|
const parsedBody = parsedOutput.body;
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
$metadata,
|
|
1877
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1878
|
+
output,
|
|
1879
|
+
parsedBody,
|
|
1880
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1881
|
+
errorCode,
|
|
1956
1882
|
});
|
|
1957
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1958
1883
|
}
|
|
1959
1884
|
};
|
|
1960
1885
|
const deserializeAws_json1_1DescribeConstraintCommand = async (output, context) => {
|
|
@@ -1976,7 +1901,6 @@ const deserializeAws_json1_1DescribeConstraintCommandError = async (output, cont
|
|
|
1976
1901
|
...output,
|
|
1977
1902
|
body: await parseBody(output.body, context),
|
|
1978
1903
|
};
|
|
1979
|
-
let response;
|
|
1980
1904
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1981
1905
|
switch (errorCode) {
|
|
1982
1906
|
case "ResourceNotFoundException":
|
|
@@ -1984,14 +1908,12 @@ const deserializeAws_json1_1DescribeConstraintCommandError = async (output, cont
|
|
|
1984
1908
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1985
1909
|
default:
|
|
1986
1910
|
const parsedBody = parsedOutput.body;
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
$metadata,
|
|
1911
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1912
|
+
output,
|
|
1913
|
+
parsedBody,
|
|
1914
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1915
|
+
errorCode,
|
|
1993
1916
|
});
|
|
1994
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1995
1917
|
}
|
|
1996
1918
|
};
|
|
1997
1919
|
const deserializeAws_json1_1DescribeCopyProductStatusCommand = async (output, context) => {
|
|
@@ -2013,7 +1935,6 @@ const deserializeAws_json1_1DescribeCopyProductStatusCommandError = async (outpu
|
|
|
2013
1935
|
...output,
|
|
2014
1936
|
body: await parseBody(output.body, context),
|
|
2015
1937
|
};
|
|
2016
|
-
let response;
|
|
2017
1938
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2018
1939
|
switch (errorCode) {
|
|
2019
1940
|
case "ResourceNotFoundException":
|
|
@@ -2021,14 +1942,12 @@ const deserializeAws_json1_1DescribeCopyProductStatusCommandError = async (outpu
|
|
|
2021
1942
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2022
1943
|
default:
|
|
2023
1944
|
const parsedBody = parsedOutput.body;
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
$metadata,
|
|
1945
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1946
|
+
output,
|
|
1947
|
+
parsedBody,
|
|
1948
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1949
|
+
errorCode,
|
|
2030
1950
|
});
|
|
2031
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2032
1951
|
}
|
|
2033
1952
|
};
|
|
2034
1953
|
const deserializeAws_json1_1DescribePortfolioCommand = async (output, context) => {
|
|
@@ -2050,7 +1969,6 @@ const deserializeAws_json1_1DescribePortfolioCommandError = async (output, conte
|
|
|
2050
1969
|
...output,
|
|
2051
1970
|
body: await parseBody(output.body, context),
|
|
2052
1971
|
};
|
|
2053
|
-
let response;
|
|
2054
1972
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2055
1973
|
switch (errorCode) {
|
|
2056
1974
|
case "ResourceNotFoundException":
|
|
@@ -2058,14 +1976,12 @@ const deserializeAws_json1_1DescribePortfolioCommandError = async (output, conte
|
|
|
2058
1976
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2059
1977
|
default:
|
|
2060
1978
|
const parsedBody = parsedOutput.body;
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
$metadata,
|
|
1979
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1980
|
+
output,
|
|
1981
|
+
parsedBody,
|
|
1982
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
1983
|
+
errorCode,
|
|
2067
1984
|
});
|
|
2068
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2069
1985
|
}
|
|
2070
1986
|
};
|
|
2071
1987
|
const deserializeAws_json1_1DescribePortfolioSharesCommand = async (output, context) => {
|
|
@@ -2087,7 +2003,6 @@ const deserializeAws_json1_1DescribePortfolioSharesCommandError = async (output,
|
|
|
2087
2003
|
...output,
|
|
2088
2004
|
body: await parseBody(output.body, context),
|
|
2089
2005
|
};
|
|
2090
|
-
let response;
|
|
2091
2006
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2092
2007
|
switch (errorCode) {
|
|
2093
2008
|
case "InvalidParametersException":
|
|
@@ -2098,14 +2013,12 @@ const deserializeAws_json1_1DescribePortfolioSharesCommandError = async (output,
|
|
|
2098
2013
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2099
2014
|
default:
|
|
2100
2015
|
const parsedBody = parsedOutput.body;
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
$metadata,
|
|
2016
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2017
|
+
output,
|
|
2018
|
+
parsedBody,
|
|
2019
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2020
|
+
errorCode,
|
|
2107
2021
|
});
|
|
2108
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2109
2022
|
}
|
|
2110
2023
|
};
|
|
2111
2024
|
const deserializeAws_json1_1DescribePortfolioShareStatusCommand = async (output, context) => {
|
|
@@ -2127,7 +2040,6 @@ const deserializeAws_json1_1DescribePortfolioShareStatusCommandError = async (ou
|
|
|
2127
2040
|
...output,
|
|
2128
2041
|
body: await parseBody(output.body, context),
|
|
2129
2042
|
};
|
|
2130
|
-
let response;
|
|
2131
2043
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2132
2044
|
switch (errorCode) {
|
|
2133
2045
|
case "InvalidParametersException":
|
|
@@ -2141,14 +2053,12 @@ const deserializeAws_json1_1DescribePortfolioShareStatusCommandError = async (ou
|
|
|
2141
2053
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2142
2054
|
default:
|
|
2143
2055
|
const parsedBody = parsedOutput.body;
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
$metadata,
|
|
2056
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2057
|
+
output,
|
|
2058
|
+
parsedBody,
|
|
2059
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2060
|
+
errorCode,
|
|
2150
2061
|
});
|
|
2151
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2152
2062
|
}
|
|
2153
2063
|
};
|
|
2154
2064
|
const deserializeAws_json1_1DescribeProductCommand = async (output, context) => {
|
|
@@ -2170,7 +2080,6 @@ const deserializeAws_json1_1DescribeProductCommandError = async (output, context
|
|
|
2170
2080
|
...output,
|
|
2171
2081
|
body: await parseBody(output.body, context),
|
|
2172
2082
|
};
|
|
2173
|
-
let response;
|
|
2174
2083
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2175
2084
|
switch (errorCode) {
|
|
2176
2085
|
case "InvalidParametersException":
|
|
@@ -2181,14 +2090,12 @@ const deserializeAws_json1_1DescribeProductCommandError = async (output, context
|
|
|
2181
2090
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2182
2091
|
default:
|
|
2183
2092
|
const parsedBody = parsedOutput.body;
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
$metadata,
|
|
2093
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2094
|
+
output,
|
|
2095
|
+
parsedBody,
|
|
2096
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2097
|
+
errorCode,
|
|
2190
2098
|
});
|
|
2191
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2192
2099
|
}
|
|
2193
2100
|
};
|
|
2194
2101
|
const deserializeAws_json1_1DescribeProductAsAdminCommand = async (output, context) => {
|
|
@@ -2210,7 +2117,6 @@ const deserializeAws_json1_1DescribeProductAsAdminCommandError = async (output,
|
|
|
2210
2117
|
...output,
|
|
2211
2118
|
body: await parseBody(output.body, context),
|
|
2212
2119
|
};
|
|
2213
|
-
let response;
|
|
2214
2120
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2215
2121
|
switch (errorCode) {
|
|
2216
2122
|
case "InvalidParametersException":
|
|
@@ -2221,14 +2127,12 @@ const deserializeAws_json1_1DescribeProductAsAdminCommandError = async (output,
|
|
|
2221
2127
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2222
2128
|
default:
|
|
2223
2129
|
const parsedBody = parsedOutput.body;
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
$metadata,
|
|
2130
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2131
|
+
output,
|
|
2132
|
+
parsedBody,
|
|
2133
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2134
|
+
errorCode,
|
|
2230
2135
|
});
|
|
2231
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2232
2136
|
}
|
|
2233
2137
|
};
|
|
2234
2138
|
const deserializeAws_json1_1DescribeProductViewCommand = async (output, context) => {
|
|
@@ -2250,7 +2154,6 @@ const deserializeAws_json1_1DescribeProductViewCommandError = async (output, con
|
|
|
2250
2154
|
...output,
|
|
2251
2155
|
body: await parseBody(output.body, context),
|
|
2252
2156
|
};
|
|
2253
|
-
let response;
|
|
2254
2157
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2255
2158
|
switch (errorCode) {
|
|
2256
2159
|
case "InvalidParametersException":
|
|
@@ -2261,14 +2164,12 @@ const deserializeAws_json1_1DescribeProductViewCommandError = async (output, con
|
|
|
2261
2164
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2262
2165
|
default:
|
|
2263
2166
|
const parsedBody = parsedOutput.body;
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
$metadata,
|
|
2167
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2168
|
+
output,
|
|
2169
|
+
parsedBody,
|
|
2170
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2171
|
+
errorCode,
|
|
2270
2172
|
});
|
|
2271
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2272
2173
|
}
|
|
2273
2174
|
};
|
|
2274
2175
|
const deserializeAws_json1_1DescribeProvisionedProductCommand = async (output, context) => {
|
|
@@ -2290,7 +2191,6 @@ const deserializeAws_json1_1DescribeProvisionedProductCommandError = async (outp
|
|
|
2290
2191
|
...output,
|
|
2291
2192
|
body: await parseBody(output.body, context),
|
|
2292
2193
|
};
|
|
2293
|
-
let response;
|
|
2294
2194
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2295
2195
|
switch (errorCode) {
|
|
2296
2196
|
case "InvalidParametersException":
|
|
@@ -2301,14 +2201,12 @@ const deserializeAws_json1_1DescribeProvisionedProductCommandError = async (outp
|
|
|
2301
2201
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2302
2202
|
default:
|
|
2303
2203
|
const parsedBody = parsedOutput.body;
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
$metadata,
|
|
2204
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2205
|
+
output,
|
|
2206
|
+
parsedBody,
|
|
2207
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2208
|
+
errorCode,
|
|
2310
2209
|
});
|
|
2311
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2312
2210
|
}
|
|
2313
2211
|
};
|
|
2314
2212
|
const deserializeAws_json1_1DescribeProvisionedProductPlanCommand = async (output, context) => {
|
|
@@ -2330,7 +2228,6 @@ const deserializeAws_json1_1DescribeProvisionedProductPlanCommandError = async (
|
|
|
2330
2228
|
...output,
|
|
2331
2229
|
body: await parseBody(output.body, context),
|
|
2332
2230
|
};
|
|
2333
|
-
let response;
|
|
2334
2231
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2335
2232
|
switch (errorCode) {
|
|
2336
2233
|
case "InvalidParametersException":
|
|
@@ -2341,14 +2238,12 @@ const deserializeAws_json1_1DescribeProvisionedProductPlanCommandError = async (
|
|
|
2341
2238
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2342
2239
|
default:
|
|
2343
2240
|
const parsedBody = parsedOutput.body;
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
$metadata,
|
|
2241
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2242
|
+
output,
|
|
2243
|
+
parsedBody,
|
|
2244
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2245
|
+
errorCode,
|
|
2350
2246
|
});
|
|
2351
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2352
2247
|
}
|
|
2353
2248
|
};
|
|
2354
2249
|
const deserializeAws_json1_1DescribeProvisioningArtifactCommand = async (output, context) => {
|
|
@@ -2370,7 +2265,6 @@ const deserializeAws_json1_1DescribeProvisioningArtifactCommandError = async (ou
|
|
|
2370
2265
|
...output,
|
|
2371
2266
|
body: await parseBody(output.body, context),
|
|
2372
2267
|
};
|
|
2373
|
-
let response;
|
|
2374
2268
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2375
2269
|
switch (errorCode) {
|
|
2376
2270
|
case "InvalidParametersException":
|
|
@@ -2381,14 +2275,12 @@ const deserializeAws_json1_1DescribeProvisioningArtifactCommandError = async (ou
|
|
|
2381
2275
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2382
2276
|
default:
|
|
2383
2277
|
const parsedBody = parsedOutput.body;
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
$metadata,
|
|
2278
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2279
|
+
output,
|
|
2280
|
+
parsedBody,
|
|
2281
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2282
|
+
errorCode,
|
|
2390
2283
|
});
|
|
2391
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2392
2284
|
}
|
|
2393
2285
|
};
|
|
2394
2286
|
const deserializeAws_json1_1DescribeProvisioningParametersCommand = async (output, context) => {
|
|
@@ -2410,7 +2302,6 @@ const deserializeAws_json1_1DescribeProvisioningParametersCommandError = async (
|
|
|
2410
2302
|
...output,
|
|
2411
2303
|
body: await parseBody(output.body, context),
|
|
2412
2304
|
};
|
|
2413
|
-
let response;
|
|
2414
2305
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2415
2306
|
switch (errorCode) {
|
|
2416
2307
|
case "InvalidParametersException":
|
|
@@ -2421,14 +2312,12 @@ const deserializeAws_json1_1DescribeProvisioningParametersCommandError = async (
|
|
|
2421
2312
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2422
2313
|
default:
|
|
2423
2314
|
const parsedBody = parsedOutput.body;
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
$metadata,
|
|
2315
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2316
|
+
output,
|
|
2317
|
+
parsedBody,
|
|
2318
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2319
|
+
errorCode,
|
|
2430
2320
|
});
|
|
2431
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2432
2321
|
}
|
|
2433
2322
|
};
|
|
2434
2323
|
const deserializeAws_json1_1DescribeRecordCommand = async (output, context) => {
|
|
@@ -2450,7 +2339,6 @@ const deserializeAws_json1_1DescribeRecordCommandError = async (output, context)
|
|
|
2450
2339
|
...output,
|
|
2451
2340
|
body: await parseBody(output.body, context),
|
|
2452
2341
|
};
|
|
2453
|
-
let response;
|
|
2454
2342
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2455
2343
|
switch (errorCode) {
|
|
2456
2344
|
case "ResourceNotFoundException":
|
|
@@ -2458,14 +2346,12 @@ const deserializeAws_json1_1DescribeRecordCommandError = async (output, context)
|
|
|
2458
2346
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2459
2347
|
default:
|
|
2460
2348
|
const parsedBody = parsedOutput.body;
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
$metadata,
|
|
2349
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2350
|
+
output,
|
|
2351
|
+
parsedBody,
|
|
2352
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2353
|
+
errorCode,
|
|
2467
2354
|
});
|
|
2468
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2469
2355
|
}
|
|
2470
2356
|
};
|
|
2471
2357
|
const deserializeAws_json1_1DescribeServiceActionCommand = async (output, context) => {
|
|
@@ -2487,7 +2373,6 @@ const deserializeAws_json1_1DescribeServiceActionCommandError = async (output, c
|
|
|
2487
2373
|
...output,
|
|
2488
2374
|
body: await parseBody(output.body, context),
|
|
2489
2375
|
};
|
|
2490
|
-
let response;
|
|
2491
2376
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2492
2377
|
switch (errorCode) {
|
|
2493
2378
|
case "ResourceNotFoundException":
|
|
@@ -2495,14 +2380,12 @@ const deserializeAws_json1_1DescribeServiceActionCommandError = async (output, c
|
|
|
2495
2380
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2496
2381
|
default:
|
|
2497
2382
|
const parsedBody = parsedOutput.body;
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
$metadata,
|
|
2383
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2384
|
+
output,
|
|
2385
|
+
parsedBody,
|
|
2386
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2387
|
+
errorCode,
|
|
2504
2388
|
});
|
|
2505
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2506
2389
|
}
|
|
2507
2390
|
};
|
|
2508
2391
|
const deserializeAws_json1_1DescribeServiceActionExecutionParametersCommand = async (output, context) => {
|
|
@@ -2524,7 +2407,6 @@ const deserializeAws_json1_1DescribeServiceActionExecutionParametersCommandError
|
|
|
2524
2407
|
...output,
|
|
2525
2408
|
body: await parseBody(output.body, context),
|
|
2526
2409
|
};
|
|
2527
|
-
let response;
|
|
2528
2410
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2529
2411
|
switch (errorCode) {
|
|
2530
2412
|
case "InvalidParametersException":
|
|
@@ -2535,14 +2417,12 @@ const deserializeAws_json1_1DescribeServiceActionExecutionParametersCommandError
|
|
|
2535
2417
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2536
2418
|
default:
|
|
2537
2419
|
const parsedBody = parsedOutput.body;
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
$metadata,
|
|
2420
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2421
|
+
output,
|
|
2422
|
+
parsedBody,
|
|
2423
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2424
|
+
errorCode,
|
|
2544
2425
|
});
|
|
2545
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2546
2426
|
}
|
|
2547
2427
|
};
|
|
2548
2428
|
const deserializeAws_json1_1DescribeTagOptionCommand = async (output, context) => {
|
|
@@ -2564,7 +2444,6 @@ const deserializeAws_json1_1DescribeTagOptionCommandError = async (output, conte
|
|
|
2564
2444
|
...output,
|
|
2565
2445
|
body: await parseBody(output.body, context),
|
|
2566
2446
|
};
|
|
2567
|
-
let response;
|
|
2568
2447
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2569
2448
|
switch (errorCode) {
|
|
2570
2449
|
case "ResourceNotFoundException":
|
|
@@ -2575,14 +2454,12 @@ const deserializeAws_json1_1DescribeTagOptionCommandError = async (output, conte
|
|
|
2575
2454
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
2576
2455
|
default:
|
|
2577
2456
|
const parsedBody = parsedOutput.body;
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
$metadata,
|
|
2457
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2458
|
+
output,
|
|
2459
|
+
parsedBody,
|
|
2460
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2461
|
+
errorCode,
|
|
2584
2462
|
});
|
|
2585
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2586
2463
|
}
|
|
2587
2464
|
};
|
|
2588
2465
|
const deserializeAws_json1_1DisableAWSOrganizationsAccessCommand = async (output, context) => {
|
|
@@ -2604,7 +2481,6 @@ const deserializeAws_json1_1DisableAWSOrganizationsAccessCommandError = async (o
|
|
|
2604
2481
|
...output,
|
|
2605
2482
|
body: await parseBody(output.body, context),
|
|
2606
2483
|
};
|
|
2607
|
-
let response;
|
|
2608
2484
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2609
2485
|
switch (errorCode) {
|
|
2610
2486
|
case "InvalidStateException":
|
|
@@ -2618,14 +2494,12 @@ const deserializeAws_json1_1DisableAWSOrganizationsAccessCommandError = async (o
|
|
|
2618
2494
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2619
2495
|
default:
|
|
2620
2496
|
const parsedBody = parsedOutput.body;
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
$metadata,
|
|
2497
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2498
|
+
output,
|
|
2499
|
+
parsedBody,
|
|
2500
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2501
|
+
errorCode,
|
|
2627
2502
|
});
|
|
2628
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2629
2503
|
}
|
|
2630
2504
|
};
|
|
2631
2505
|
const deserializeAws_json1_1DisassociateBudgetFromResourceCommand = async (output, context) => {
|
|
@@ -2647,7 +2521,6 @@ const deserializeAws_json1_1DisassociateBudgetFromResourceCommandError = async (
|
|
|
2647
2521
|
...output,
|
|
2648
2522
|
body: await parseBody(output.body, context),
|
|
2649
2523
|
};
|
|
2650
|
-
let response;
|
|
2651
2524
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2652
2525
|
switch (errorCode) {
|
|
2653
2526
|
case "ResourceNotFoundException":
|
|
@@ -2655,14 +2528,12 @@ const deserializeAws_json1_1DisassociateBudgetFromResourceCommandError = async (
|
|
|
2655
2528
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2656
2529
|
default:
|
|
2657
2530
|
const parsedBody = parsedOutput.body;
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
$metadata,
|
|
2531
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2532
|
+
output,
|
|
2533
|
+
parsedBody,
|
|
2534
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2535
|
+
errorCode,
|
|
2664
2536
|
});
|
|
2665
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2666
2537
|
}
|
|
2667
2538
|
};
|
|
2668
2539
|
const deserializeAws_json1_1DisassociatePrincipalFromPortfolioCommand = async (output, context) => {
|
|
@@ -2684,7 +2555,6 @@ const deserializeAws_json1_1DisassociatePrincipalFromPortfolioCommandError = asy
|
|
|
2684
2555
|
...output,
|
|
2685
2556
|
body: await parseBody(output.body, context),
|
|
2686
2557
|
};
|
|
2687
|
-
let response;
|
|
2688
2558
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2689
2559
|
switch (errorCode) {
|
|
2690
2560
|
case "InvalidParametersException":
|
|
@@ -2695,14 +2565,12 @@ const deserializeAws_json1_1DisassociatePrincipalFromPortfolioCommandError = asy
|
|
|
2695
2565
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2696
2566
|
default:
|
|
2697
2567
|
const parsedBody = parsedOutput.body;
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
$metadata,
|
|
2568
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2569
|
+
output,
|
|
2570
|
+
parsedBody,
|
|
2571
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2572
|
+
errorCode,
|
|
2704
2573
|
});
|
|
2705
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2706
2574
|
}
|
|
2707
2575
|
};
|
|
2708
2576
|
const deserializeAws_json1_1DisassociateProductFromPortfolioCommand = async (output, context) => {
|
|
@@ -2724,7 +2592,6 @@ const deserializeAws_json1_1DisassociateProductFromPortfolioCommandError = async
|
|
|
2724
2592
|
...output,
|
|
2725
2593
|
body: await parseBody(output.body, context),
|
|
2726
2594
|
};
|
|
2727
|
-
let response;
|
|
2728
2595
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2729
2596
|
switch (errorCode) {
|
|
2730
2597
|
case "InvalidParametersException":
|
|
@@ -2738,14 +2605,12 @@ const deserializeAws_json1_1DisassociateProductFromPortfolioCommandError = async
|
|
|
2738
2605
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2739
2606
|
default:
|
|
2740
2607
|
const parsedBody = parsedOutput.body;
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
$metadata,
|
|
2608
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2609
|
+
output,
|
|
2610
|
+
parsedBody,
|
|
2611
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2612
|
+
errorCode,
|
|
2747
2613
|
});
|
|
2748
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2749
2614
|
}
|
|
2750
2615
|
};
|
|
2751
2616
|
const deserializeAws_json1_1DisassociateServiceActionFromProvisioningArtifactCommand = async (output, context) => {
|
|
@@ -2767,7 +2632,6 @@ const deserializeAws_json1_1DisassociateServiceActionFromProvisioningArtifactCom
|
|
|
2767
2632
|
...output,
|
|
2768
2633
|
body: await parseBody(output.body, context),
|
|
2769
2634
|
};
|
|
2770
|
-
let response;
|
|
2771
2635
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2772
2636
|
switch (errorCode) {
|
|
2773
2637
|
case "ResourceNotFoundException":
|
|
@@ -2775,14 +2639,12 @@ const deserializeAws_json1_1DisassociateServiceActionFromProvisioningArtifactCom
|
|
|
2775
2639
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2776
2640
|
default:
|
|
2777
2641
|
const parsedBody = parsedOutput.body;
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
$metadata,
|
|
2642
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2643
|
+
output,
|
|
2644
|
+
parsedBody,
|
|
2645
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2646
|
+
errorCode,
|
|
2784
2647
|
});
|
|
2785
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2786
2648
|
}
|
|
2787
2649
|
};
|
|
2788
2650
|
const deserializeAws_json1_1DisassociateTagOptionFromResourceCommand = async (output, context) => {
|
|
@@ -2804,7 +2666,6 @@ const deserializeAws_json1_1DisassociateTagOptionFromResourceCommandError = asyn
|
|
|
2804
2666
|
...output,
|
|
2805
2667
|
body: await parseBody(output.body, context),
|
|
2806
2668
|
};
|
|
2807
|
-
let response;
|
|
2808
2669
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2809
2670
|
switch (errorCode) {
|
|
2810
2671
|
case "ResourceNotFoundException":
|
|
@@ -2815,14 +2676,12 @@ const deserializeAws_json1_1DisassociateTagOptionFromResourceCommandError = asyn
|
|
|
2815
2676
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
2816
2677
|
default:
|
|
2817
2678
|
const parsedBody = parsedOutput.body;
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
$metadata,
|
|
2679
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2680
|
+
output,
|
|
2681
|
+
parsedBody,
|
|
2682
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2683
|
+
errorCode,
|
|
2824
2684
|
});
|
|
2825
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2826
2685
|
}
|
|
2827
2686
|
};
|
|
2828
2687
|
const deserializeAws_json1_1EnableAWSOrganizationsAccessCommand = async (output, context) => {
|
|
@@ -2844,7 +2703,6 @@ const deserializeAws_json1_1EnableAWSOrganizationsAccessCommandError = async (ou
|
|
|
2844
2703
|
...output,
|
|
2845
2704
|
body: await parseBody(output.body, context),
|
|
2846
2705
|
};
|
|
2847
|
-
let response;
|
|
2848
2706
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2849
2707
|
switch (errorCode) {
|
|
2850
2708
|
case "InvalidStateException":
|
|
@@ -2858,14 +2716,12 @@ const deserializeAws_json1_1EnableAWSOrganizationsAccessCommandError = async (ou
|
|
|
2858
2716
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2859
2717
|
default:
|
|
2860
2718
|
const parsedBody = parsedOutput.body;
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
$metadata,
|
|
2719
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2720
|
+
output,
|
|
2721
|
+
parsedBody,
|
|
2722
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2723
|
+
errorCode,
|
|
2867
2724
|
});
|
|
2868
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2869
2725
|
}
|
|
2870
2726
|
};
|
|
2871
2727
|
const deserializeAws_json1_1ExecuteProvisionedProductPlanCommand = async (output, context) => {
|
|
@@ -2887,7 +2743,6 @@ const deserializeAws_json1_1ExecuteProvisionedProductPlanCommandError = async (o
|
|
|
2887
2743
|
...output,
|
|
2888
2744
|
body: await parseBody(output.body, context),
|
|
2889
2745
|
};
|
|
2890
|
-
let response;
|
|
2891
2746
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2892
2747
|
switch (errorCode) {
|
|
2893
2748
|
case "InvalidParametersException":
|
|
@@ -2901,14 +2756,12 @@ const deserializeAws_json1_1ExecuteProvisionedProductPlanCommandError = async (o
|
|
|
2901
2756
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2902
2757
|
default:
|
|
2903
2758
|
const parsedBody = parsedOutput.body;
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
$metadata,
|
|
2759
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2760
|
+
output,
|
|
2761
|
+
parsedBody,
|
|
2762
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2763
|
+
errorCode,
|
|
2910
2764
|
});
|
|
2911
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2912
2765
|
}
|
|
2913
2766
|
};
|
|
2914
2767
|
const deserializeAws_json1_1ExecuteProvisionedProductServiceActionCommand = async (output, context) => {
|
|
@@ -2930,7 +2783,6 @@ const deserializeAws_json1_1ExecuteProvisionedProductServiceActionCommandError =
|
|
|
2930
2783
|
...output,
|
|
2931
2784
|
body: await parseBody(output.body, context),
|
|
2932
2785
|
};
|
|
2933
|
-
let response;
|
|
2934
2786
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2935
2787
|
switch (errorCode) {
|
|
2936
2788
|
case "InvalidParametersException":
|
|
@@ -2944,14 +2796,12 @@ const deserializeAws_json1_1ExecuteProvisionedProductServiceActionCommandError =
|
|
|
2944
2796
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2945
2797
|
default:
|
|
2946
2798
|
const parsedBody = parsedOutput.body;
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
$metadata,
|
|
2799
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2800
|
+
output,
|
|
2801
|
+
parsedBody,
|
|
2802
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2803
|
+
errorCode,
|
|
2953
2804
|
});
|
|
2954
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2955
2805
|
}
|
|
2956
2806
|
};
|
|
2957
2807
|
const deserializeAws_json1_1GetAWSOrganizationsAccessStatusCommand = async (output, context) => {
|
|
@@ -2973,7 +2823,6 @@ const deserializeAws_json1_1GetAWSOrganizationsAccessStatusCommandError = async
|
|
|
2973
2823
|
...output,
|
|
2974
2824
|
body: await parseBody(output.body, context),
|
|
2975
2825
|
};
|
|
2976
|
-
let response;
|
|
2977
2826
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2978
2827
|
switch (errorCode) {
|
|
2979
2828
|
case "OperationNotSupportedException":
|
|
@@ -2984,14 +2833,12 @@ const deserializeAws_json1_1GetAWSOrganizationsAccessStatusCommandError = async
|
|
|
2984
2833
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2985
2834
|
default:
|
|
2986
2835
|
const parsedBody = parsedOutput.body;
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
$metadata,
|
|
2836
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2837
|
+
output,
|
|
2838
|
+
parsedBody,
|
|
2839
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2840
|
+
errorCode,
|
|
2993
2841
|
});
|
|
2994
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2995
2842
|
}
|
|
2996
2843
|
};
|
|
2997
2844
|
const deserializeAws_json1_1GetProvisionedProductOutputsCommand = async (output, context) => {
|
|
@@ -3013,7 +2860,6 @@ const deserializeAws_json1_1GetProvisionedProductOutputsCommandError = async (ou
|
|
|
3013
2860
|
...output,
|
|
3014
2861
|
body: await parseBody(output.body, context),
|
|
3015
2862
|
};
|
|
3016
|
-
let response;
|
|
3017
2863
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3018
2864
|
switch (errorCode) {
|
|
3019
2865
|
case "InvalidParametersException":
|
|
@@ -3024,14 +2870,12 @@ const deserializeAws_json1_1GetProvisionedProductOutputsCommandError = async (ou
|
|
|
3024
2870
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3025
2871
|
default:
|
|
3026
2872
|
const parsedBody = parsedOutput.body;
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
$metadata,
|
|
2873
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2874
|
+
output,
|
|
2875
|
+
parsedBody,
|
|
2876
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2877
|
+
errorCode,
|
|
3033
2878
|
});
|
|
3034
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3035
2879
|
}
|
|
3036
2880
|
};
|
|
3037
2881
|
const deserializeAws_json1_1ImportAsProvisionedProductCommand = async (output, context) => {
|
|
@@ -3053,7 +2897,6 @@ const deserializeAws_json1_1ImportAsProvisionedProductCommandError = async (outp
|
|
|
3053
2897
|
...output,
|
|
3054
2898
|
body: await parseBody(output.body, context),
|
|
3055
2899
|
};
|
|
3056
|
-
let response;
|
|
3057
2900
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3058
2901
|
switch (errorCode) {
|
|
3059
2902
|
case "DuplicateResourceException":
|
|
@@ -3070,14 +2913,12 @@ const deserializeAws_json1_1ImportAsProvisionedProductCommandError = async (outp
|
|
|
3070
2913
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3071
2914
|
default:
|
|
3072
2915
|
const parsedBody = parsedOutput.body;
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
$metadata,
|
|
2916
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2917
|
+
output,
|
|
2918
|
+
parsedBody,
|
|
2919
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2920
|
+
errorCode,
|
|
3079
2921
|
});
|
|
3080
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3081
2922
|
}
|
|
3082
2923
|
};
|
|
3083
2924
|
const deserializeAws_json1_1ListAcceptedPortfolioSharesCommand = async (output, context) => {
|
|
@@ -3099,7 +2940,6 @@ const deserializeAws_json1_1ListAcceptedPortfolioSharesCommandError = async (out
|
|
|
3099
2940
|
...output,
|
|
3100
2941
|
body: await parseBody(output.body, context),
|
|
3101
2942
|
};
|
|
3102
|
-
let response;
|
|
3103
2943
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3104
2944
|
switch (errorCode) {
|
|
3105
2945
|
case "InvalidParametersException":
|
|
@@ -3110,14 +2950,12 @@ const deserializeAws_json1_1ListAcceptedPortfolioSharesCommandError = async (out
|
|
|
3110
2950
|
throw await deserializeAws_json1_1OperationNotSupportedExceptionResponse(parsedOutput, context);
|
|
3111
2951
|
default:
|
|
3112
2952
|
const parsedBody = parsedOutput.body;
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
$metadata,
|
|
2953
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2954
|
+
output,
|
|
2955
|
+
parsedBody,
|
|
2956
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2957
|
+
errorCode,
|
|
3119
2958
|
});
|
|
3120
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3121
2959
|
}
|
|
3122
2960
|
};
|
|
3123
2961
|
const deserializeAws_json1_1ListBudgetsForResourceCommand = async (output, context) => {
|
|
@@ -3139,7 +2977,6 @@ const deserializeAws_json1_1ListBudgetsForResourceCommandError = async (output,
|
|
|
3139
2977
|
...output,
|
|
3140
2978
|
body: await parseBody(output.body, context),
|
|
3141
2979
|
};
|
|
3142
|
-
let response;
|
|
3143
2980
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3144
2981
|
switch (errorCode) {
|
|
3145
2982
|
case "InvalidParametersException":
|
|
@@ -3150,14 +2987,12 @@ const deserializeAws_json1_1ListBudgetsForResourceCommandError = async (output,
|
|
|
3150
2987
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3151
2988
|
default:
|
|
3152
2989
|
const parsedBody = parsedOutput.body;
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
$metadata,
|
|
2990
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2991
|
+
output,
|
|
2992
|
+
parsedBody,
|
|
2993
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
2994
|
+
errorCode,
|
|
3159
2995
|
});
|
|
3160
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3161
2996
|
}
|
|
3162
2997
|
};
|
|
3163
2998
|
const deserializeAws_json1_1ListConstraintsForPortfolioCommand = async (output, context) => {
|
|
@@ -3179,7 +3014,6 @@ const deserializeAws_json1_1ListConstraintsForPortfolioCommandError = async (out
|
|
|
3179
3014
|
...output,
|
|
3180
3015
|
body: await parseBody(output.body, context),
|
|
3181
3016
|
};
|
|
3182
|
-
let response;
|
|
3183
3017
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3184
3018
|
switch (errorCode) {
|
|
3185
3019
|
case "InvalidParametersException":
|
|
@@ -3190,14 +3024,12 @@ const deserializeAws_json1_1ListConstraintsForPortfolioCommandError = async (out
|
|
|
3190
3024
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3191
3025
|
default:
|
|
3192
3026
|
const parsedBody = parsedOutput.body;
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
$metadata,
|
|
3027
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3028
|
+
output,
|
|
3029
|
+
parsedBody,
|
|
3030
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3031
|
+
errorCode,
|
|
3199
3032
|
});
|
|
3200
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3201
3033
|
}
|
|
3202
3034
|
};
|
|
3203
3035
|
const deserializeAws_json1_1ListLaunchPathsCommand = async (output, context) => {
|
|
@@ -3219,7 +3051,6 @@ const deserializeAws_json1_1ListLaunchPathsCommandError = async (output, context
|
|
|
3219
3051
|
...output,
|
|
3220
3052
|
body: await parseBody(output.body, context),
|
|
3221
3053
|
};
|
|
3222
|
-
let response;
|
|
3223
3054
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3224
3055
|
switch (errorCode) {
|
|
3225
3056
|
case "InvalidParametersException":
|
|
@@ -3230,14 +3061,12 @@ const deserializeAws_json1_1ListLaunchPathsCommandError = async (output, context
|
|
|
3230
3061
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3231
3062
|
default:
|
|
3232
3063
|
const parsedBody = parsedOutput.body;
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
$metadata,
|
|
3064
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3065
|
+
output,
|
|
3066
|
+
parsedBody,
|
|
3067
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3068
|
+
errorCode,
|
|
3239
3069
|
});
|
|
3240
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3241
3070
|
}
|
|
3242
3071
|
};
|
|
3243
3072
|
const deserializeAws_json1_1ListOrganizationPortfolioAccessCommand = async (output, context) => {
|
|
@@ -3259,7 +3088,6 @@ const deserializeAws_json1_1ListOrganizationPortfolioAccessCommandError = async
|
|
|
3259
3088
|
...output,
|
|
3260
3089
|
body: await parseBody(output.body, context),
|
|
3261
3090
|
};
|
|
3262
|
-
let response;
|
|
3263
3091
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3264
3092
|
switch (errorCode) {
|
|
3265
3093
|
case "InvalidParametersException":
|
|
@@ -3273,14 +3101,12 @@ const deserializeAws_json1_1ListOrganizationPortfolioAccessCommandError = async
|
|
|
3273
3101
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3274
3102
|
default:
|
|
3275
3103
|
const parsedBody = parsedOutput.body;
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
$metadata,
|
|
3104
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3105
|
+
output,
|
|
3106
|
+
parsedBody,
|
|
3107
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3108
|
+
errorCode,
|
|
3282
3109
|
});
|
|
3283
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3284
3110
|
}
|
|
3285
3111
|
};
|
|
3286
3112
|
const deserializeAws_json1_1ListPortfolioAccessCommand = async (output, context) => {
|
|
@@ -3302,7 +3128,6 @@ const deserializeAws_json1_1ListPortfolioAccessCommandError = async (output, con
|
|
|
3302
3128
|
...output,
|
|
3303
3129
|
body: await parseBody(output.body, context),
|
|
3304
3130
|
};
|
|
3305
|
-
let response;
|
|
3306
3131
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3307
3132
|
switch (errorCode) {
|
|
3308
3133
|
case "InvalidParametersException":
|
|
@@ -3313,14 +3138,12 @@ const deserializeAws_json1_1ListPortfolioAccessCommandError = async (output, con
|
|
|
3313
3138
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3314
3139
|
default:
|
|
3315
3140
|
const parsedBody = parsedOutput.body;
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
$metadata,
|
|
3141
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3142
|
+
output,
|
|
3143
|
+
parsedBody,
|
|
3144
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3145
|
+
errorCode,
|
|
3322
3146
|
});
|
|
3323
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3324
3147
|
}
|
|
3325
3148
|
};
|
|
3326
3149
|
const deserializeAws_json1_1ListPortfoliosCommand = async (output, context) => {
|
|
@@ -3342,7 +3165,6 @@ const deserializeAws_json1_1ListPortfoliosCommandError = async (output, context)
|
|
|
3342
3165
|
...output,
|
|
3343
3166
|
body: await parseBody(output.body, context),
|
|
3344
3167
|
};
|
|
3345
|
-
let response;
|
|
3346
3168
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3347
3169
|
switch (errorCode) {
|
|
3348
3170
|
case "InvalidParametersException":
|
|
@@ -3350,14 +3172,12 @@ const deserializeAws_json1_1ListPortfoliosCommandError = async (output, context)
|
|
|
3350
3172
|
throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
|
|
3351
3173
|
default:
|
|
3352
3174
|
const parsedBody = parsedOutput.body;
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
$metadata,
|
|
3175
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3176
|
+
output,
|
|
3177
|
+
parsedBody,
|
|
3178
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3179
|
+
errorCode,
|
|
3359
3180
|
});
|
|
3360
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3361
3181
|
}
|
|
3362
3182
|
};
|
|
3363
3183
|
const deserializeAws_json1_1ListPortfoliosForProductCommand = async (output, context) => {
|
|
@@ -3379,7 +3199,6 @@ const deserializeAws_json1_1ListPortfoliosForProductCommandError = async (output
|
|
|
3379
3199
|
...output,
|
|
3380
3200
|
body: await parseBody(output.body, context),
|
|
3381
3201
|
};
|
|
3382
|
-
let response;
|
|
3383
3202
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3384
3203
|
switch (errorCode) {
|
|
3385
3204
|
case "InvalidParametersException":
|
|
@@ -3390,14 +3209,12 @@ const deserializeAws_json1_1ListPortfoliosForProductCommandError = async (output
|
|
|
3390
3209
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3391
3210
|
default:
|
|
3392
3211
|
const parsedBody = parsedOutput.body;
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
$metadata,
|
|
3212
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3213
|
+
output,
|
|
3214
|
+
parsedBody,
|
|
3215
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3216
|
+
errorCode,
|
|
3399
3217
|
});
|
|
3400
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3401
3218
|
}
|
|
3402
3219
|
};
|
|
3403
3220
|
const deserializeAws_json1_1ListPrincipalsForPortfolioCommand = async (output, context) => {
|
|
@@ -3419,7 +3236,6 @@ const deserializeAws_json1_1ListPrincipalsForPortfolioCommandError = async (outp
|
|
|
3419
3236
|
...output,
|
|
3420
3237
|
body: await parseBody(output.body, context),
|
|
3421
3238
|
};
|
|
3422
|
-
let response;
|
|
3423
3239
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3424
3240
|
switch (errorCode) {
|
|
3425
3241
|
case "InvalidParametersException":
|
|
@@ -3430,14 +3246,12 @@ const deserializeAws_json1_1ListPrincipalsForPortfolioCommandError = async (outp
|
|
|
3430
3246
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3431
3247
|
default:
|
|
3432
3248
|
const parsedBody = parsedOutput.body;
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
$metadata,
|
|
3249
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3250
|
+
output,
|
|
3251
|
+
parsedBody,
|
|
3252
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3253
|
+
errorCode,
|
|
3439
3254
|
});
|
|
3440
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3441
3255
|
}
|
|
3442
3256
|
};
|
|
3443
3257
|
const deserializeAws_json1_1ListProvisionedProductPlansCommand = async (output, context) => {
|
|
@@ -3459,7 +3273,6 @@ const deserializeAws_json1_1ListProvisionedProductPlansCommandError = async (out
|
|
|
3459
3273
|
...output,
|
|
3460
3274
|
body: await parseBody(output.body, context),
|
|
3461
3275
|
};
|
|
3462
|
-
let response;
|
|
3463
3276
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3464
3277
|
switch (errorCode) {
|
|
3465
3278
|
case "InvalidParametersException":
|
|
@@ -3470,14 +3283,12 @@ const deserializeAws_json1_1ListProvisionedProductPlansCommandError = async (out
|
|
|
3470
3283
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3471
3284
|
default:
|
|
3472
3285
|
const parsedBody = parsedOutput.body;
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
$metadata,
|
|
3286
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3287
|
+
output,
|
|
3288
|
+
parsedBody,
|
|
3289
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3290
|
+
errorCode,
|
|
3479
3291
|
});
|
|
3480
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3481
3292
|
}
|
|
3482
3293
|
};
|
|
3483
3294
|
const deserializeAws_json1_1ListProvisioningArtifactsCommand = async (output, context) => {
|
|
@@ -3499,7 +3310,6 @@ const deserializeAws_json1_1ListProvisioningArtifactsCommandError = async (outpu
|
|
|
3499
3310
|
...output,
|
|
3500
3311
|
body: await parseBody(output.body, context),
|
|
3501
3312
|
};
|
|
3502
|
-
let response;
|
|
3503
3313
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3504
3314
|
switch (errorCode) {
|
|
3505
3315
|
case "InvalidParametersException":
|
|
@@ -3510,14 +3320,12 @@ const deserializeAws_json1_1ListProvisioningArtifactsCommandError = async (outpu
|
|
|
3510
3320
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3511
3321
|
default:
|
|
3512
3322
|
const parsedBody = parsedOutput.body;
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
$metadata,
|
|
3323
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3324
|
+
output,
|
|
3325
|
+
parsedBody,
|
|
3326
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3327
|
+
errorCode,
|
|
3519
3328
|
});
|
|
3520
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3521
3329
|
}
|
|
3522
3330
|
};
|
|
3523
3331
|
const deserializeAws_json1_1ListProvisioningArtifactsForServiceActionCommand = async (output, context) => {
|
|
@@ -3539,7 +3347,6 @@ const deserializeAws_json1_1ListProvisioningArtifactsForServiceActionCommandErro
|
|
|
3539
3347
|
...output,
|
|
3540
3348
|
body: await parseBody(output.body, context),
|
|
3541
3349
|
};
|
|
3542
|
-
let response;
|
|
3543
3350
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3544
3351
|
switch (errorCode) {
|
|
3545
3352
|
case "InvalidParametersException":
|
|
@@ -3550,14 +3357,12 @@ const deserializeAws_json1_1ListProvisioningArtifactsForServiceActionCommandErro
|
|
|
3550
3357
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3551
3358
|
default:
|
|
3552
3359
|
const parsedBody = parsedOutput.body;
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
$metadata,
|
|
3360
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3361
|
+
output,
|
|
3362
|
+
parsedBody,
|
|
3363
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3364
|
+
errorCode,
|
|
3559
3365
|
});
|
|
3560
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3561
3366
|
}
|
|
3562
3367
|
};
|
|
3563
3368
|
const deserializeAws_json1_1ListRecordHistoryCommand = async (output, context) => {
|
|
@@ -3579,7 +3384,6 @@ const deserializeAws_json1_1ListRecordHistoryCommandError = async (output, conte
|
|
|
3579
3384
|
...output,
|
|
3580
3385
|
body: await parseBody(output.body, context),
|
|
3581
3386
|
};
|
|
3582
|
-
let response;
|
|
3583
3387
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3584
3388
|
switch (errorCode) {
|
|
3585
3389
|
case "InvalidParametersException":
|
|
@@ -3587,14 +3391,12 @@ const deserializeAws_json1_1ListRecordHistoryCommandError = async (output, conte
|
|
|
3587
3391
|
throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
|
|
3588
3392
|
default:
|
|
3589
3393
|
const parsedBody = parsedOutput.body;
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
$metadata,
|
|
3394
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3395
|
+
output,
|
|
3396
|
+
parsedBody,
|
|
3397
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3398
|
+
errorCode,
|
|
3596
3399
|
});
|
|
3597
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3598
3400
|
}
|
|
3599
3401
|
};
|
|
3600
3402
|
const deserializeAws_json1_1ListResourcesForTagOptionCommand = async (output, context) => {
|
|
@@ -3616,7 +3418,6 @@ const deserializeAws_json1_1ListResourcesForTagOptionCommandError = async (outpu
|
|
|
3616
3418
|
...output,
|
|
3617
3419
|
body: await parseBody(output.body, context),
|
|
3618
3420
|
};
|
|
3619
|
-
let response;
|
|
3620
3421
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3621
3422
|
switch (errorCode) {
|
|
3622
3423
|
case "InvalidParametersException":
|
|
@@ -3630,14 +3431,12 @@ const deserializeAws_json1_1ListResourcesForTagOptionCommandError = async (outpu
|
|
|
3630
3431
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
3631
3432
|
default:
|
|
3632
3433
|
const parsedBody = parsedOutput.body;
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
$metadata,
|
|
3434
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3435
|
+
output,
|
|
3436
|
+
parsedBody,
|
|
3437
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3438
|
+
errorCode,
|
|
3639
3439
|
});
|
|
3640
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3641
3440
|
}
|
|
3642
3441
|
};
|
|
3643
3442
|
const deserializeAws_json1_1ListServiceActionsCommand = async (output, context) => {
|
|
@@ -3659,7 +3458,6 @@ const deserializeAws_json1_1ListServiceActionsCommandError = async (output, cont
|
|
|
3659
3458
|
...output,
|
|
3660
3459
|
body: await parseBody(output.body, context),
|
|
3661
3460
|
};
|
|
3662
|
-
let response;
|
|
3663
3461
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3664
3462
|
switch (errorCode) {
|
|
3665
3463
|
case "InvalidParametersException":
|
|
@@ -3667,14 +3465,12 @@ const deserializeAws_json1_1ListServiceActionsCommandError = async (output, cont
|
|
|
3667
3465
|
throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
|
|
3668
3466
|
default:
|
|
3669
3467
|
const parsedBody = parsedOutput.body;
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
$metadata,
|
|
3468
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3469
|
+
output,
|
|
3470
|
+
parsedBody,
|
|
3471
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3472
|
+
errorCode,
|
|
3676
3473
|
});
|
|
3677
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3678
3474
|
}
|
|
3679
3475
|
};
|
|
3680
3476
|
const deserializeAws_json1_1ListServiceActionsForProvisioningArtifactCommand = async (output, context) => {
|
|
@@ -3696,7 +3492,6 @@ const deserializeAws_json1_1ListServiceActionsForProvisioningArtifactCommandErro
|
|
|
3696
3492
|
...output,
|
|
3697
3493
|
body: await parseBody(output.body, context),
|
|
3698
3494
|
};
|
|
3699
|
-
let response;
|
|
3700
3495
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3701
3496
|
switch (errorCode) {
|
|
3702
3497
|
case "InvalidParametersException":
|
|
@@ -3707,14 +3502,12 @@ const deserializeAws_json1_1ListServiceActionsForProvisioningArtifactCommandErro
|
|
|
3707
3502
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3708
3503
|
default:
|
|
3709
3504
|
const parsedBody = parsedOutput.body;
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
$metadata,
|
|
3505
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3506
|
+
output,
|
|
3507
|
+
parsedBody,
|
|
3508
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3509
|
+
errorCode,
|
|
3716
3510
|
});
|
|
3717
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3718
3511
|
}
|
|
3719
3512
|
};
|
|
3720
3513
|
const deserializeAws_json1_1ListStackInstancesForProvisionedProductCommand = async (output, context) => {
|
|
@@ -3736,7 +3529,6 @@ const deserializeAws_json1_1ListStackInstancesForProvisionedProductCommandError
|
|
|
3736
3529
|
...output,
|
|
3737
3530
|
body: await parseBody(output.body, context),
|
|
3738
3531
|
};
|
|
3739
|
-
let response;
|
|
3740
3532
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3741
3533
|
switch (errorCode) {
|
|
3742
3534
|
case "InvalidParametersException":
|
|
@@ -3747,14 +3539,12 @@ const deserializeAws_json1_1ListStackInstancesForProvisionedProductCommandError
|
|
|
3747
3539
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3748
3540
|
default:
|
|
3749
3541
|
const parsedBody = parsedOutput.body;
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
$metadata,
|
|
3542
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3543
|
+
output,
|
|
3544
|
+
parsedBody,
|
|
3545
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3546
|
+
errorCode,
|
|
3756
3547
|
});
|
|
3757
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3758
3548
|
}
|
|
3759
3549
|
};
|
|
3760
3550
|
const deserializeAws_json1_1ListTagOptionsCommand = async (output, context) => {
|
|
@@ -3776,7 +3566,6 @@ const deserializeAws_json1_1ListTagOptionsCommandError = async (output, context)
|
|
|
3776
3566
|
...output,
|
|
3777
3567
|
body: await parseBody(output.body, context),
|
|
3778
3568
|
};
|
|
3779
|
-
let response;
|
|
3780
3569
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3781
3570
|
switch (errorCode) {
|
|
3782
3571
|
case "InvalidParametersException":
|
|
@@ -3787,14 +3576,12 @@ const deserializeAws_json1_1ListTagOptionsCommandError = async (output, context)
|
|
|
3787
3576
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
3788
3577
|
default:
|
|
3789
3578
|
const parsedBody = parsedOutput.body;
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
$metadata,
|
|
3579
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3580
|
+
output,
|
|
3581
|
+
parsedBody,
|
|
3582
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3583
|
+
errorCode,
|
|
3796
3584
|
});
|
|
3797
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3798
3585
|
}
|
|
3799
3586
|
};
|
|
3800
3587
|
const deserializeAws_json1_1ProvisionProductCommand = async (output, context) => {
|
|
@@ -3816,7 +3603,6 @@ const deserializeAws_json1_1ProvisionProductCommandError = async (output, contex
|
|
|
3816
3603
|
...output,
|
|
3817
3604
|
body: await parseBody(output.body, context),
|
|
3818
3605
|
};
|
|
3819
|
-
let response;
|
|
3820
3606
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3821
3607
|
switch (errorCode) {
|
|
3822
3608
|
case "DuplicateResourceException":
|
|
@@ -3830,14 +3616,12 @@ const deserializeAws_json1_1ProvisionProductCommandError = async (output, contex
|
|
|
3830
3616
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3831
3617
|
default:
|
|
3832
3618
|
const parsedBody = parsedOutput.body;
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
$metadata,
|
|
3619
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3620
|
+
output,
|
|
3621
|
+
parsedBody,
|
|
3622
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3623
|
+
errorCode,
|
|
3839
3624
|
});
|
|
3840
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3841
3625
|
}
|
|
3842
3626
|
};
|
|
3843
3627
|
const deserializeAws_json1_1RejectPortfolioShareCommand = async (output, context) => {
|
|
@@ -3859,7 +3643,6 @@ const deserializeAws_json1_1RejectPortfolioShareCommandError = async (output, co
|
|
|
3859
3643
|
...output,
|
|
3860
3644
|
body: await parseBody(output.body, context),
|
|
3861
3645
|
};
|
|
3862
|
-
let response;
|
|
3863
3646
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3864
3647
|
switch (errorCode) {
|
|
3865
3648
|
case "ResourceNotFoundException":
|
|
@@ -3867,14 +3650,12 @@ const deserializeAws_json1_1RejectPortfolioShareCommandError = async (output, co
|
|
|
3867
3650
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3868
3651
|
default:
|
|
3869
3652
|
const parsedBody = parsedOutput.body;
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
$metadata,
|
|
3653
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3654
|
+
output,
|
|
3655
|
+
parsedBody,
|
|
3656
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3657
|
+
errorCode,
|
|
3876
3658
|
});
|
|
3877
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3878
3659
|
}
|
|
3879
3660
|
};
|
|
3880
3661
|
const deserializeAws_json1_1ScanProvisionedProductsCommand = async (output, context) => {
|
|
@@ -3896,7 +3677,6 @@ const deserializeAws_json1_1ScanProvisionedProductsCommandError = async (output,
|
|
|
3896
3677
|
...output,
|
|
3897
3678
|
body: await parseBody(output.body, context),
|
|
3898
3679
|
};
|
|
3899
|
-
let response;
|
|
3900
3680
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3901
3681
|
switch (errorCode) {
|
|
3902
3682
|
case "InvalidParametersException":
|
|
@@ -3904,14 +3684,12 @@ const deserializeAws_json1_1ScanProvisionedProductsCommandError = async (output,
|
|
|
3904
3684
|
throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
|
|
3905
3685
|
default:
|
|
3906
3686
|
const parsedBody = parsedOutput.body;
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
$metadata,
|
|
3687
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3688
|
+
output,
|
|
3689
|
+
parsedBody,
|
|
3690
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3691
|
+
errorCode,
|
|
3913
3692
|
});
|
|
3914
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3915
3693
|
}
|
|
3916
3694
|
};
|
|
3917
3695
|
const deserializeAws_json1_1SearchProductsCommand = async (output, context) => {
|
|
@@ -3933,7 +3711,6 @@ const deserializeAws_json1_1SearchProductsCommandError = async (output, context)
|
|
|
3933
3711
|
...output,
|
|
3934
3712
|
body: await parseBody(output.body, context),
|
|
3935
3713
|
};
|
|
3936
|
-
let response;
|
|
3937
3714
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3938
3715
|
switch (errorCode) {
|
|
3939
3716
|
case "InvalidParametersException":
|
|
@@ -3941,14 +3718,12 @@ const deserializeAws_json1_1SearchProductsCommandError = async (output, context)
|
|
|
3941
3718
|
throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
|
|
3942
3719
|
default:
|
|
3943
3720
|
const parsedBody = parsedOutput.body;
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
$metadata,
|
|
3721
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3722
|
+
output,
|
|
3723
|
+
parsedBody,
|
|
3724
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3725
|
+
errorCode,
|
|
3950
3726
|
});
|
|
3951
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3952
3727
|
}
|
|
3953
3728
|
};
|
|
3954
3729
|
const deserializeAws_json1_1SearchProductsAsAdminCommand = async (output, context) => {
|
|
@@ -3970,7 +3745,6 @@ const deserializeAws_json1_1SearchProductsAsAdminCommandError = async (output, c
|
|
|
3970
3745
|
...output,
|
|
3971
3746
|
body: await parseBody(output.body, context),
|
|
3972
3747
|
};
|
|
3973
|
-
let response;
|
|
3974
3748
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3975
3749
|
switch (errorCode) {
|
|
3976
3750
|
case "InvalidParametersException":
|
|
@@ -3981,14 +3755,12 @@ const deserializeAws_json1_1SearchProductsAsAdminCommandError = async (output, c
|
|
|
3981
3755
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3982
3756
|
default:
|
|
3983
3757
|
const parsedBody = parsedOutput.body;
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
$metadata,
|
|
3758
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3759
|
+
output,
|
|
3760
|
+
parsedBody,
|
|
3761
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3762
|
+
errorCode,
|
|
3990
3763
|
});
|
|
3991
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3992
3764
|
}
|
|
3993
3765
|
};
|
|
3994
3766
|
const deserializeAws_json1_1SearchProvisionedProductsCommand = async (output, context) => {
|
|
@@ -4010,7 +3782,6 @@ const deserializeAws_json1_1SearchProvisionedProductsCommandError = async (outpu
|
|
|
4010
3782
|
...output,
|
|
4011
3783
|
body: await parseBody(output.body, context),
|
|
4012
3784
|
};
|
|
4013
|
-
let response;
|
|
4014
3785
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4015
3786
|
switch (errorCode) {
|
|
4016
3787
|
case "InvalidParametersException":
|
|
@@ -4018,14 +3789,12 @@ const deserializeAws_json1_1SearchProvisionedProductsCommandError = async (outpu
|
|
|
4018
3789
|
throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
|
|
4019
3790
|
default:
|
|
4020
3791
|
const parsedBody = parsedOutput.body;
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
$metadata,
|
|
3792
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3793
|
+
output,
|
|
3794
|
+
parsedBody,
|
|
3795
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3796
|
+
errorCode,
|
|
4027
3797
|
});
|
|
4028
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4029
3798
|
}
|
|
4030
3799
|
};
|
|
4031
3800
|
const deserializeAws_json1_1TerminateProvisionedProductCommand = async (output, context) => {
|
|
@@ -4047,7 +3816,6 @@ const deserializeAws_json1_1TerminateProvisionedProductCommandError = async (out
|
|
|
4047
3816
|
...output,
|
|
4048
3817
|
body: await parseBody(output.body, context),
|
|
4049
3818
|
};
|
|
4050
|
-
let response;
|
|
4051
3819
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4052
3820
|
switch (errorCode) {
|
|
4053
3821
|
case "ResourceNotFoundException":
|
|
@@ -4055,14 +3823,12 @@ const deserializeAws_json1_1TerminateProvisionedProductCommandError = async (out
|
|
|
4055
3823
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4056
3824
|
default:
|
|
4057
3825
|
const parsedBody = parsedOutput.body;
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
$metadata,
|
|
3826
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3827
|
+
output,
|
|
3828
|
+
parsedBody,
|
|
3829
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3830
|
+
errorCode,
|
|
4064
3831
|
});
|
|
4065
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4066
3832
|
}
|
|
4067
3833
|
};
|
|
4068
3834
|
const deserializeAws_json1_1UpdateConstraintCommand = async (output, context) => {
|
|
@@ -4084,7 +3850,6 @@ const deserializeAws_json1_1UpdateConstraintCommandError = async (output, contex
|
|
|
4084
3850
|
...output,
|
|
4085
3851
|
body: await parseBody(output.body, context),
|
|
4086
3852
|
};
|
|
4087
|
-
let response;
|
|
4088
3853
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4089
3854
|
switch (errorCode) {
|
|
4090
3855
|
case "InvalidParametersException":
|
|
@@ -4095,14 +3860,12 @@ const deserializeAws_json1_1UpdateConstraintCommandError = async (output, contex
|
|
|
4095
3860
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4096
3861
|
default:
|
|
4097
3862
|
const parsedBody = parsedOutput.body;
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
$metadata,
|
|
3863
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3864
|
+
output,
|
|
3865
|
+
parsedBody,
|
|
3866
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3867
|
+
errorCode,
|
|
4104
3868
|
});
|
|
4105
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4106
3869
|
}
|
|
4107
3870
|
};
|
|
4108
3871
|
const deserializeAws_json1_1UpdatePortfolioCommand = async (output, context) => {
|
|
@@ -4124,7 +3887,6 @@ const deserializeAws_json1_1UpdatePortfolioCommandError = async (output, context
|
|
|
4124
3887
|
...output,
|
|
4125
3888
|
body: await parseBody(output.body, context),
|
|
4126
3889
|
};
|
|
4127
|
-
let response;
|
|
4128
3890
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4129
3891
|
switch (errorCode) {
|
|
4130
3892
|
case "InvalidParametersException":
|
|
@@ -4141,14 +3903,12 @@ const deserializeAws_json1_1UpdatePortfolioCommandError = async (output, context
|
|
|
4141
3903
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
4142
3904
|
default:
|
|
4143
3905
|
const parsedBody = parsedOutput.body;
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
$metadata,
|
|
3906
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3907
|
+
output,
|
|
3908
|
+
parsedBody,
|
|
3909
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3910
|
+
errorCode,
|
|
4150
3911
|
});
|
|
4151
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4152
3912
|
}
|
|
4153
3913
|
};
|
|
4154
3914
|
const deserializeAws_json1_1UpdatePortfolioShareCommand = async (output, context) => {
|
|
@@ -4170,7 +3930,6 @@ const deserializeAws_json1_1UpdatePortfolioShareCommandError = async (output, co
|
|
|
4170
3930
|
...output,
|
|
4171
3931
|
body: await parseBody(output.body, context),
|
|
4172
3932
|
};
|
|
4173
|
-
let response;
|
|
4174
3933
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4175
3934
|
switch (errorCode) {
|
|
4176
3935
|
case "InvalidParametersException":
|
|
@@ -4187,14 +3946,12 @@ const deserializeAws_json1_1UpdatePortfolioShareCommandError = async (output, co
|
|
|
4187
3946
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4188
3947
|
default:
|
|
4189
3948
|
const parsedBody = parsedOutput.body;
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
$metadata,
|
|
3949
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3950
|
+
output,
|
|
3951
|
+
parsedBody,
|
|
3952
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3953
|
+
errorCode,
|
|
4196
3954
|
});
|
|
4197
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4198
3955
|
}
|
|
4199
3956
|
};
|
|
4200
3957
|
const deserializeAws_json1_1UpdateProductCommand = async (output, context) => {
|
|
@@ -4216,7 +3973,6 @@ const deserializeAws_json1_1UpdateProductCommandError = async (output, context)
|
|
|
4216
3973
|
...output,
|
|
4217
3974
|
body: await parseBody(output.body, context),
|
|
4218
3975
|
};
|
|
4219
|
-
let response;
|
|
4220
3976
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4221
3977
|
switch (errorCode) {
|
|
4222
3978
|
case "InvalidParametersException":
|
|
@@ -4230,14 +3986,12 @@ const deserializeAws_json1_1UpdateProductCommandError = async (output, context)
|
|
|
4230
3986
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
4231
3987
|
default:
|
|
4232
3988
|
const parsedBody = parsedOutput.body;
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
$metadata,
|
|
3989
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3990
|
+
output,
|
|
3991
|
+
parsedBody,
|
|
3992
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3993
|
+
errorCode,
|
|
4239
3994
|
});
|
|
4240
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4241
3995
|
}
|
|
4242
3996
|
};
|
|
4243
3997
|
const deserializeAws_json1_1UpdateProvisionedProductCommand = async (output, context) => {
|
|
@@ -4259,7 +4013,6 @@ const deserializeAws_json1_1UpdateProvisionedProductCommandError = async (output
|
|
|
4259
4013
|
...output,
|
|
4260
4014
|
body: await parseBody(output.body, context),
|
|
4261
4015
|
};
|
|
4262
|
-
let response;
|
|
4263
4016
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4264
4017
|
switch (errorCode) {
|
|
4265
4018
|
case "InvalidParametersException":
|
|
@@ -4270,14 +4023,12 @@ const deserializeAws_json1_1UpdateProvisionedProductCommandError = async (output
|
|
|
4270
4023
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4271
4024
|
default:
|
|
4272
4025
|
const parsedBody = parsedOutput.body;
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
$metadata,
|
|
4026
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4027
|
+
output,
|
|
4028
|
+
parsedBody,
|
|
4029
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
4030
|
+
errorCode,
|
|
4279
4031
|
});
|
|
4280
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4281
4032
|
}
|
|
4282
4033
|
};
|
|
4283
4034
|
const deserializeAws_json1_1UpdateProvisionedProductPropertiesCommand = async (output, context) => {
|
|
@@ -4299,7 +4050,6 @@ const deserializeAws_json1_1UpdateProvisionedProductPropertiesCommandError = asy
|
|
|
4299
4050
|
...output,
|
|
4300
4051
|
body: await parseBody(output.body, context),
|
|
4301
4052
|
};
|
|
4302
|
-
let response;
|
|
4303
4053
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4304
4054
|
switch (errorCode) {
|
|
4305
4055
|
case "InvalidParametersException":
|
|
@@ -4313,14 +4063,12 @@ const deserializeAws_json1_1UpdateProvisionedProductPropertiesCommandError = asy
|
|
|
4313
4063
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4314
4064
|
default:
|
|
4315
4065
|
const parsedBody = parsedOutput.body;
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
$metadata,
|
|
4066
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4067
|
+
output,
|
|
4068
|
+
parsedBody,
|
|
4069
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
4070
|
+
errorCode,
|
|
4322
4071
|
});
|
|
4323
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4324
4072
|
}
|
|
4325
4073
|
};
|
|
4326
4074
|
const deserializeAws_json1_1UpdateProvisioningArtifactCommand = async (output, context) => {
|
|
@@ -4342,7 +4090,6 @@ const deserializeAws_json1_1UpdateProvisioningArtifactCommandError = async (outp
|
|
|
4342
4090
|
...output,
|
|
4343
4091
|
body: await parseBody(output.body, context),
|
|
4344
4092
|
};
|
|
4345
|
-
let response;
|
|
4346
4093
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4347
4094
|
switch (errorCode) {
|
|
4348
4095
|
case "InvalidParametersException":
|
|
@@ -4353,14 +4100,12 @@ const deserializeAws_json1_1UpdateProvisioningArtifactCommandError = async (outp
|
|
|
4353
4100
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4354
4101
|
default:
|
|
4355
4102
|
const parsedBody = parsedOutput.body;
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
$metadata,
|
|
4103
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4104
|
+
output,
|
|
4105
|
+
parsedBody,
|
|
4106
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
4107
|
+
errorCode,
|
|
4362
4108
|
});
|
|
4363
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4364
4109
|
}
|
|
4365
4110
|
};
|
|
4366
4111
|
const deserializeAws_json1_1UpdateServiceActionCommand = async (output, context) => {
|
|
@@ -4382,7 +4127,6 @@ const deserializeAws_json1_1UpdateServiceActionCommandError = async (output, con
|
|
|
4382
4127
|
...output,
|
|
4383
4128
|
body: await parseBody(output.body, context),
|
|
4384
4129
|
};
|
|
4385
|
-
let response;
|
|
4386
4130
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4387
4131
|
switch (errorCode) {
|
|
4388
4132
|
case "InvalidParametersException":
|
|
@@ -4393,14 +4137,12 @@ const deserializeAws_json1_1UpdateServiceActionCommandError = async (output, con
|
|
|
4393
4137
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4394
4138
|
default:
|
|
4395
4139
|
const parsedBody = parsedOutput.body;
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
$metadata,
|
|
4140
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4141
|
+
output,
|
|
4142
|
+
parsedBody,
|
|
4143
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
4144
|
+
errorCode,
|
|
4402
4145
|
});
|
|
4403
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4404
4146
|
}
|
|
4405
4147
|
};
|
|
4406
4148
|
const deserializeAws_json1_1UpdateTagOptionCommand = async (output, context) => {
|
|
@@ -4422,7 +4164,6 @@ const deserializeAws_json1_1UpdateTagOptionCommandError = async (output, context
|
|
|
4422
4164
|
...output,
|
|
4423
4165
|
body: await parseBody(output.body, context),
|
|
4424
4166
|
};
|
|
4425
|
-
let response;
|
|
4426
4167
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4427
4168
|
switch (errorCode) {
|
|
4428
4169
|
case "DuplicateResourceException":
|
|
@@ -4439,14 +4180,12 @@ const deserializeAws_json1_1UpdateTagOptionCommandError = async (output, context
|
|
|
4439
4180
|
throw await deserializeAws_json1_1TagOptionNotMigratedExceptionResponse(parsedOutput, context);
|
|
4440
4181
|
default:
|
|
4441
4182
|
const parsedBody = parsedOutput.body;
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
$metadata,
|
|
4183
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4184
|
+
output,
|
|
4185
|
+
parsedBody,
|
|
4186
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
4187
|
+
errorCode,
|
|
4448
4188
|
});
|
|
4449
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4450
4189
|
}
|
|
4451
4190
|
};
|
|
4452
4191
|
const deserializeAws_json1_1DuplicateResourceExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -4538,9 +4277,6 @@ const serializeAws_json1_1AddTags = (input, context) => {
|
|
|
4538
4277
|
return input
|
|
4539
4278
|
.filter((e) => e != null)
|
|
4540
4279
|
.map((entry) => {
|
|
4541
|
-
if (entry === null) {
|
|
4542
|
-
return null;
|
|
4543
|
-
}
|
|
4544
4280
|
return serializeAws_json1_1Tag(entry, context);
|
|
4545
4281
|
});
|
|
4546
4282
|
};
|
|
@@ -4600,9 +4336,6 @@ const serializeAws_json1_1CopyOptions = (input, context) => {
|
|
|
4600
4336
|
return input
|
|
4601
4337
|
.filter((e) => e != null)
|
|
4602
4338
|
.map((entry) => {
|
|
4603
|
-
if (entry === null) {
|
|
4604
|
-
return null;
|
|
4605
|
-
}
|
|
4606
4339
|
return entry;
|
|
4607
4340
|
});
|
|
4608
4341
|
};
|
|
@@ -4965,9 +4698,6 @@ const serializeAws_json1_1ExecutionParameterValueList = (input, context) => {
|
|
|
4965
4698
|
return input
|
|
4966
4699
|
.filter((e) => e != null)
|
|
4967
4700
|
.map((entry) => {
|
|
4968
|
-
if (entry === null) {
|
|
4969
|
-
return null;
|
|
4970
|
-
}
|
|
4971
4701
|
return entry;
|
|
4972
4702
|
});
|
|
4973
4703
|
};
|
|
@@ -5163,9 +4893,6 @@ const serializeAws_json1_1NotificationArns = (input, context) => {
|
|
|
5163
4893
|
return input
|
|
5164
4894
|
.filter((e) => e != null)
|
|
5165
4895
|
.map((entry) => {
|
|
5166
|
-
if (entry === null) {
|
|
5167
|
-
return null;
|
|
5168
|
-
}
|
|
5169
4896
|
return entry;
|
|
5170
4897
|
});
|
|
5171
4898
|
};
|
|
@@ -5179,9 +4906,6 @@ const serializeAws_json1_1OutputKeys = (input, context) => {
|
|
|
5179
4906
|
return input
|
|
5180
4907
|
.filter((e) => e != null)
|
|
5181
4908
|
.map((entry) => {
|
|
5182
|
-
if (entry === null) {
|
|
5183
|
-
return null;
|
|
5184
|
-
}
|
|
5185
4909
|
return entry;
|
|
5186
4910
|
});
|
|
5187
4911
|
};
|
|
@@ -5200,9 +4924,6 @@ const serializeAws_json1_1ProductViewFilterValues = (input, context) => {
|
|
|
5200
4924
|
return input
|
|
5201
4925
|
.filter((e) => e != null)
|
|
5202
4926
|
.map((entry) => {
|
|
5203
|
-
if (entry === null) {
|
|
5204
|
-
return null;
|
|
5205
|
-
}
|
|
5206
4927
|
return entry;
|
|
5207
4928
|
});
|
|
5208
4929
|
};
|
|
@@ -5232,9 +4953,6 @@ const serializeAws_json1_1ProvisionedProductViewFilterValues = (input, context)
|
|
|
5232
4953
|
return input
|
|
5233
4954
|
.filter((e) => e != null)
|
|
5234
4955
|
.map((entry) => {
|
|
5235
|
-
if (entry === null) {
|
|
5236
|
-
return null;
|
|
5237
|
-
}
|
|
5238
4956
|
return entry;
|
|
5239
4957
|
});
|
|
5240
4958
|
};
|
|
@@ -5268,9 +4986,6 @@ const serializeAws_json1_1ProvisioningParameters = (input, context) => {
|
|
|
5268
4986
|
return input
|
|
5269
4987
|
.filter((e) => e != null)
|
|
5270
4988
|
.map((entry) => {
|
|
5271
|
-
if (entry === null) {
|
|
5272
|
-
return null;
|
|
5273
|
-
}
|
|
5274
4989
|
return serializeAws_json1_1ProvisioningParameter(entry, context);
|
|
5275
4990
|
});
|
|
5276
4991
|
};
|
|
@@ -5383,9 +5098,6 @@ const serializeAws_json1_1ServiceActionAssociations = (input, context) => {
|
|
|
5383
5098
|
return input
|
|
5384
5099
|
.filter((e) => e != null)
|
|
5385
5100
|
.map((entry) => {
|
|
5386
|
-
if (entry === null) {
|
|
5387
|
-
return null;
|
|
5388
|
-
}
|
|
5389
5101
|
return serializeAws_json1_1ServiceActionAssociation(entry, context);
|
|
5390
5102
|
});
|
|
5391
5103
|
};
|
|
@@ -5404,9 +5116,6 @@ const serializeAws_json1_1SourceProvisioningArtifactProperties = (input, context
|
|
|
5404
5116
|
return input
|
|
5405
5117
|
.filter((e) => e != null)
|
|
5406
5118
|
.map((entry) => {
|
|
5407
|
-
if (entry === null) {
|
|
5408
|
-
return null;
|
|
5409
|
-
}
|
|
5410
5119
|
return serializeAws_json1_1SourceProvisioningArtifactPropertiesMap(entry, context);
|
|
5411
5120
|
});
|
|
5412
5121
|
};
|
|
@@ -5425,9 +5134,6 @@ const serializeAws_json1_1StackSetAccounts = (input, context) => {
|
|
|
5425
5134
|
return input
|
|
5426
5135
|
.filter((e) => e != null)
|
|
5427
5136
|
.map((entry) => {
|
|
5428
|
-
if (entry === null) {
|
|
5429
|
-
return null;
|
|
5430
|
-
}
|
|
5431
5137
|
return entry;
|
|
5432
5138
|
});
|
|
5433
5139
|
};
|
|
@@ -5435,9 +5141,6 @@ const serializeAws_json1_1StackSetRegions = (input, context) => {
|
|
|
5435
5141
|
return input
|
|
5436
5142
|
.filter((e) => e != null)
|
|
5437
5143
|
.map((entry) => {
|
|
5438
|
-
if (entry === null) {
|
|
5439
|
-
return null;
|
|
5440
|
-
}
|
|
5441
5144
|
return entry;
|
|
5442
5145
|
});
|
|
5443
5146
|
};
|
|
@@ -5451,9 +5154,6 @@ const serializeAws_json1_1TagKeys = (input, context) => {
|
|
|
5451
5154
|
return input
|
|
5452
5155
|
.filter((e) => e != null)
|
|
5453
5156
|
.map((entry) => {
|
|
5454
|
-
if (entry === null) {
|
|
5455
|
-
return null;
|
|
5456
|
-
}
|
|
5457
5157
|
return entry;
|
|
5458
5158
|
});
|
|
5459
5159
|
};
|
|
@@ -5461,9 +5161,6 @@ const serializeAws_json1_1Tags = (input, context) => {
|
|
|
5461
5161
|
return input
|
|
5462
5162
|
.filter((e) => e != null)
|
|
5463
5163
|
.map((entry) => {
|
|
5464
|
-
if (entry === null) {
|
|
5465
|
-
return null;
|
|
5466
|
-
}
|
|
5467
5164
|
return serializeAws_json1_1Tag(entry, context);
|
|
5468
5165
|
});
|
|
5469
5166
|
};
|
|
@@ -5578,9 +5275,6 @@ const serializeAws_json1_1UpdateProvisioningParameters = (input, context) => {
|
|
|
5578
5275
|
return input
|
|
5579
5276
|
.filter((e) => e != null)
|
|
5580
5277
|
.map((entry) => {
|
|
5581
|
-
if (entry === null) {
|
|
5582
|
-
return null;
|
|
5583
|
-
}
|
|
5584
5278
|
return serializeAws_json1_1UpdateProvisioningParameter(entry, context);
|
|
5585
5279
|
});
|
|
5586
5280
|
};
|