@aws-sdk/client-proton 3.141.0 → 3.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_0.js +375 -621
- package/dist-es/protocols/Aws_json1_0.js +601 -622
- package/package.json +11 -6
|
@@ -777,7 +777,6 @@ const deserializeAws_json1_0AcceptEnvironmentAccountConnectionCommandError = asy
|
|
|
777
777
|
...output,
|
|
778
778
|
body: await parseBody(output.body, context),
|
|
779
779
|
};
|
|
780
|
-
let response;
|
|
781
780
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
782
781
|
switch (errorCode) {
|
|
783
782
|
case "AccessDeniedException":
|
|
@@ -800,14 +799,12 @@ const deserializeAws_json1_0AcceptEnvironmentAccountConnectionCommandError = asy
|
|
|
800
799
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
801
800
|
default:
|
|
802
801
|
const parsedBody = parsedOutput.body;
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
$metadata,
|
|
802
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
803
|
+
output,
|
|
804
|
+
parsedBody,
|
|
805
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
806
|
+
errorCode,
|
|
809
807
|
});
|
|
810
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
811
808
|
}
|
|
812
809
|
};
|
|
813
810
|
const deserializeAws_json1_0CancelComponentDeploymentCommand = async (output, context) => {
|
|
@@ -829,7 +826,6 @@ const deserializeAws_json1_0CancelComponentDeploymentCommandError = async (outpu
|
|
|
829
826
|
...output,
|
|
830
827
|
body: await parseBody(output.body, context),
|
|
831
828
|
};
|
|
832
|
-
let response;
|
|
833
829
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
834
830
|
switch (errorCode) {
|
|
835
831
|
case "AccessDeniedException":
|
|
@@ -852,14 +848,12 @@ const deserializeAws_json1_0CancelComponentDeploymentCommandError = async (outpu
|
|
|
852
848
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
853
849
|
default:
|
|
854
850
|
const parsedBody = parsedOutput.body;
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
$metadata,
|
|
851
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
852
|
+
output,
|
|
853
|
+
parsedBody,
|
|
854
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
855
|
+
errorCode,
|
|
861
856
|
});
|
|
862
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
863
857
|
}
|
|
864
858
|
};
|
|
865
859
|
const deserializeAws_json1_0CancelEnvironmentDeploymentCommand = async (output, context) => {
|
|
@@ -881,7 +875,6 @@ const deserializeAws_json1_0CancelEnvironmentDeploymentCommandError = async (out
|
|
|
881
875
|
...output,
|
|
882
876
|
body: await parseBody(output.body, context),
|
|
883
877
|
};
|
|
884
|
-
let response;
|
|
885
878
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
886
879
|
switch (errorCode) {
|
|
887
880
|
case "AccessDeniedException":
|
|
@@ -904,14 +897,12 @@ const deserializeAws_json1_0CancelEnvironmentDeploymentCommandError = async (out
|
|
|
904
897
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
905
898
|
default:
|
|
906
899
|
const parsedBody = parsedOutput.body;
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
$metadata,
|
|
900
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
901
|
+
output,
|
|
902
|
+
parsedBody,
|
|
903
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
904
|
+
errorCode,
|
|
913
905
|
});
|
|
914
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
915
906
|
}
|
|
916
907
|
};
|
|
917
908
|
const deserializeAws_json1_0CancelServiceInstanceDeploymentCommand = async (output, context) => {
|
|
@@ -933,7 +924,6 @@ const deserializeAws_json1_0CancelServiceInstanceDeploymentCommandError = async
|
|
|
933
924
|
...output,
|
|
934
925
|
body: await parseBody(output.body, context),
|
|
935
926
|
};
|
|
936
|
-
let response;
|
|
937
927
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
938
928
|
switch (errorCode) {
|
|
939
929
|
case "AccessDeniedException":
|
|
@@ -956,14 +946,12 @@ const deserializeAws_json1_0CancelServiceInstanceDeploymentCommandError = async
|
|
|
956
946
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
957
947
|
default:
|
|
958
948
|
const parsedBody = parsedOutput.body;
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
$metadata,
|
|
949
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
950
|
+
output,
|
|
951
|
+
parsedBody,
|
|
952
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
953
|
+
errorCode,
|
|
965
954
|
});
|
|
966
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
967
955
|
}
|
|
968
956
|
};
|
|
969
957
|
const deserializeAws_json1_0CancelServicePipelineDeploymentCommand = async (output, context) => {
|
|
@@ -985,7 +973,6 @@ const deserializeAws_json1_0CancelServicePipelineDeploymentCommandError = async
|
|
|
985
973
|
...output,
|
|
986
974
|
body: await parseBody(output.body, context),
|
|
987
975
|
};
|
|
988
|
-
let response;
|
|
989
976
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
990
977
|
switch (errorCode) {
|
|
991
978
|
case "AccessDeniedException":
|
|
@@ -1008,14 +995,12 @@ const deserializeAws_json1_0CancelServicePipelineDeploymentCommandError = async
|
|
|
1008
995
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1009
996
|
default:
|
|
1010
997
|
const parsedBody = parsedOutput.body;
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
$metadata,
|
|
998
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
999
|
+
output,
|
|
1000
|
+
parsedBody,
|
|
1001
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1002
|
+
errorCode,
|
|
1017
1003
|
});
|
|
1018
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1019
1004
|
}
|
|
1020
1005
|
};
|
|
1021
1006
|
const deserializeAws_json1_0CreateComponentCommand = async (output, context) => {
|
|
@@ -1037,7 +1022,6 @@ const deserializeAws_json1_0CreateComponentCommandError = async (output, context
|
|
|
1037
1022
|
...output,
|
|
1038
1023
|
body: await parseBody(output.body, context),
|
|
1039
1024
|
};
|
|
1040
|
-
let response;
|
|
1041
1025
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1042
1026
|
switch (errorCode) {
|
|
1043
1027
|
case "AccessDeniedException":
|
|
@@ -1063,14 +1047,12 @@ const deserializeAws_json1_0CreateComponentCommandError = async (output, context
|
|
|
1063
1047
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1064
1048
|
default:
|
|
1065
1049
|
const parsedBody = parsedOutput.body;
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
$metadata,
|
|
1050
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1051
|
+
output,
|
|
1052
|
+
parsedBody,
|
|
1053
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1054
|
+
errorCode,
|
|
1072
1055
|
});
|
|
1073
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1074
1056
|
}
|
|
1075
1057
|
};
|
|
1076
1058
|
const deserializeAws_json1_0CreateEnvironmentCommand = async (output, context) => {
|
|
@@ -1092,7 +1074,6 @@ const deserializeAws_json1_0CreateEnvironmentCommandError = async (output, conte
|
|
|
1092
1074
|
...output,
|
|
1093
1075
|
body: await parseBody(output.body, context),
|
|
1094
1076
|
};
|
|
1095
|
-
let response;
|
|
1096
1077
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1097
1078
|
switch (errorCode) {
|
|
1098
1079
|
case "AccessDeniedException":
|
|
@@ -1118,14 +1099,12 @@ const deserializeAws_json1_0CreateEnvironmentCommandError = async (output, conte
|
|
|
1118
1099
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1119
1100
|
default:
|
|
1120
1101
|
const parsedBody = parsedOutput.body;
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
$metadata,
|
|
1102
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1103
|
+
output,
|
|
1104
|
+
parsedBody,
|
|
1105
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1106
|
+
errorCode,
|
|
1127
1107
|
});
|
|
1128
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1129
1108
|
}
|
|
1130
1109
|
};
|
|
1131
1110
|
const deserializeAws_json1_0CreateEnvironmentAccountConnectionCommand = async (output, context) => {
|
|
@@ -1147,7 +1126,6 @@ const deserializeAws_json1_0CreateEnvironmentAccountConnectionCommandError = asy
|
|
|
1147
1126
|
...output,
|
|
1148
1127
|
body: await parseBody(output.body, context),
|
|
1149
1128
|
};
|
|
1150
|
-
let response;
|
|
1151
1129
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1152
1130
|
switch (errorCode) {
|
|
1153
1131
|
case "AccessDeniedException":
|
|
@@ -1170,14 +1148,12 @@ const deserializeAws_json1_0CreateEnvironmentAccountConnectionCommandError = asy
|
|
|
1170
1148
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1171
1149
|
default:
|
|
1172
1150
|
const parsedBody = parsedOutput.body;
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
$metadata,
|
|
1151
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1152
|
+
output,
|
|
1153
|
+
parsedBody,
|
|
1154
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1155
|
+
errorCode,
|
|
1179
1156
|
});
|
|
1180
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1181
1157
|
}
|
|
1182
1158
|
};
|
|
1183
1159
|
const deserializeAws_json1_0CreateEnvironmentTemplateCommand = async (output, context) => {
|
|
@@ -1199,7 +1175,6 @@ const deserializeAws_json1_0CreateEnvironmentTemplateCommandError = async (outpu
|
|
|
1199
1175
|
...output,
|
|
1200
1176
|
body: await parseBody(output.body, context),
|
|
1201
1177
|
};
|
|
1202
|
-
let response;
|
|
1203
1178
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1204
1179
|
switch (errorCode) {
|
|
1205
1180
|
case "AccessDeniedException":
|
|
@@ -1222,14 +1197,12 @@ const deserializeAws_json1_0CreateEnvironmentTemplateCommandError = async (outpu
|
|
|
1222
1197
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1223
1198
|
default:
|
|
1224
1199
|
const parsedBody = parsedOutput.body;
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
$metadata,
|
|
1200
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1201
|
+
output,
|
|
1202
|
+
parsedBody,
|
|
1203
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1204
|
+
errorCode,
|
|
1231
1205
|
});
|
|
1232
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1233
1206
|
}
|
|
1234
1207
|
};
|
|
1235
1208
|
const deserializeAws_json1_0CreateEnvironmentTemplateVersionCommand = async (output, context) => {
|
|
@@ -1251,7 +1224,6 @@ const deserializeAws_json1_0CreateEnvironmentTemplateVersionCommandError = async
|
|
|
1251
1224
|
...output,
|
|
1252
1225
|
body: await parseBody(output.body, context),
|
|
1253
1226
|
};
|
|
1254
|
-
let response;
|
|
1255
1227
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1256
1228
|
switch (errorCode) {
|
|
1257
1229
|
case "AccessDeniedException":
|
|
@@ -1277,14 +1249,12 @@ const deserializeAws_json1_0CreateEnvironmentTemplateVersionCommandError = async
|
|
|
1277
1249
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1278
1250
|
default:
|
|
1279
1251
|
const parsedBody = parsedOutput.body;
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
$metadata,
|
|
1252
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1253
|
+
output,
|
|
1254
|
+
parsedBody,
|
|
1255
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1256
|
+
errorCode,
|
|
1286
1257
|
});
|
|
1287
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1288
1258
|
}
|
|
1289
1259
|
};
|
|
1290
1260
|
const deserializeAws_json1_0CreateRepositoryCommand = async (output, context) => {
|
|
@@ -1306,7 +1276,6 @@ const deserializeAws_json1_0CreateRepositoryCommandError = async (output, contex
|
|
|
1306
1276
|
...output,
|
|
1307
1277
|
body: await parseBody(output.body, context),
|
|
1308
1278
|
};
|
|
1309
|
-
let response;
|
|
1310
1279
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1311
1280
|
switch (errorCode) {
|
|
1312
1281
|
case "AccessDeniedException":
|
|
@@ -1329,14 +1298,12 @@ const deserializeAws_json1_0CreateRepositoryCommandError = async (output, contex
|
|
|
1329
1298
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1330
1299
|
default:
|
|
1331
1300
|
const parsedBody = parsedOutput.body;
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
$metadata,
|
|
1301
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1302
|
+
output,
|
|
1303
|
+
parsedBody,
|
|
1304
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1305
|
+
errorCode,
|
|
1338
1306
|
});
|
|
1339
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1340
1307
|
}
|
|
1341
1308
|
};
|
|
1342
1309
|
const deserializeAws_json1_0CreateServiceCommand = async (output, context) => {
|
|
@@ -1358,7 +1325,6 @@ const deserializeAws_json1_0CreateServiceCommandError = async (output, context)
|
|
|
1358
1325
|
...output,
|
|
1359
1326
|
body: await parseBody(output.body, context),
|
|
1360
1327
|
};
|
|
1361
|
-
let response;
|
|
1362
1328
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1363
1329
|
switch (errorCode) {
|
|
1364
1330
|
case "AccessDeniedException":
|
|
@@ -1384,14 +1350,12 @@ const deserializeAws_json1_0CreateServiceCommandError = async (output, context)
|
|
|
1384
1350
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1385
1351
|
default:
|
|
1386
1352
|
const parsedBody = parsedOutput.body;
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
$metadata,
|
|
1353
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1354
|
+
output,
|
|
1355
|
+
parsedBody,
|
|
1356
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1357
|
+
errorCode,
|
|
1393
1358
|
});
|
|
1394
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1395
1359
|
}
|
|
1396
1360
|
};
|
|
1397
1361
|
const deserializeAws_json1_0CreateServiceTemplateCommand = async (output, context) => {
|
|
@@ -1413,7 +1377,6 @@ const deserializeAws_json1_0CreateServiceTemplateCommandError = async (output, c
|
|
|
1413
1377
|
...output,
|
|
1414
1378
|
body: await parseBody(output.body, context),
|
|
1415
1379
|
};
|
|
1416
|
-
let response;
|
|
1417
1380
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1418
1381
|
switch (errorCode) {
|
|
1419
1382
|
case "AccessDeniedException":
|
|
@@ -1436,14 +1399,12 @@ const deserializeAws_json1_0CreateServiceTemplateCommandError = async (output, c
|
|
|
1436
1399
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1437
1400
|
default:
|
|
1438
1401
|
const parsedBody = parsedOutput.body;
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
$metadata,
|
|
1402
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1403
|
+
output,
|
|
1404
|
+
parsedBody,
|
|
1405
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1406
|
+
errorCode,
|
|
1445
1407
|
});
|
|
1446
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1447
1408
|
}
|
|
1448
1409
|
};
|
|
1449
1410
|
const deserializeAws_json1_0CreateServiceTemplateVersionCommand = async (output, context) => {
|
|
@@ -1465,7 +1426,6 @@ const deserializeAws_json1_0CreateServiceTemplateVersionCommandError = async (ou
|
|
|
1465
1426
|
...output,
|
|
1466
1427
|
body: await parseBody(output.body, context),
|
|
1467
1428
|
};
|
|
1468
|
-
let response;
|
|
1469
1429
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1470
1430
|
switch (errorCode) {
|
|
1471
1431
|
case "AccessDeniedException":
|
|
@@ -1491,14 +1451,12 @@ const deserializeAws_json1_0CreateServiceTemplateVersionCommandError = async (ou
|
|
|
1491
1451
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1492
1452
|
default:
|
|
1493
1453
|
const parsedBody = parsedOutput.body;
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
$metadata,
|
|
1454
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1455
|
+
output,
|
|
1456
|
+
parsedBody,
|
|
1457
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1458
|
+
errorCode,
|
|
1500
1459
|
});
|
|
1501
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1502
1460
|
}
|
|
1503
1461
|
};
|
|
1504
1462
|
const deserializeAws_json1_0CreateTemplateSyncConfigCommand = async (output, context) => {
|
|
@@ -1520,7 +1478,6 @@ const deserializeAws_json1_0CreateTemplateSyncConfigCommandError = async (output
|
|
|
1520
1478
|
...output,
|
|
1521
1479
|
body: await parseBody(output.body, context),
|
|
1522
1480
|
};
|
|
1523
|
-
let response;
|
|
1524
1481
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1525
1482
|
switch (errorCode) {
|
|
1526
1483
|
case "AccessDeniedException":
|
|
@@ -1543,14 +1500,12 @@ const deserializeAws_json1_0CreateTemplateSyncConfigCommandError = async (output
|
|
|
1543
1500
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1544
1501
|
default:
|
|
1545
1502
|
const parsedBody = parsedOutput.body;
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
$metadata,
|
|
1503
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1504
|
+
output,
|
|
1505
|
+
parsedBody,
|
|
1506
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1507
|
+
errorCode,
|
|
1552
1508
|
});
|
|
1553
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1554
1509
|
}
|
|
1555
1510
|
};
|
|
1556
1511
|
const deserializeAws_json1_0DeleteComponentCommand = async (output, context) => {
|
|
@@ -1572,7 +1527,6 @@ const deserializeAws_json1_0DeleteComponentCommandError = async (output, context
|
|
|
1572
1527
|
...output,
|
|
1573
1528
|
body: await parseBody(output.body, context),
|
|
1574
1529
|
};
|
|
1575
|
-
let response;
|
|
1576
1530
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1577
1531
|
switch (errorCode) {
|
|
1578
1532
|
case "AccessDeniedException":
|
|
@@ -1595,14 +1549,12 @@ const deserializeAws_json1_0DeleteComponentCommandError = async (output, context
|
|
|
1595
1549
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1596
1550
|
default:
|
|
1597
1551
|
const parsedBody = parsedOutput.body;
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
$metadata,
|
|
1552
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1553
|
+
output,
|
|
1554
|
+
parsedBody,
|
|
1555
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1556
|
+
errorCode,
|
|
1604
1557
|
});
|
|
1605
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1606
1558
|
}
|
|
1607
1559
|
};
|
|
1608
1560
|
const deserializeAws_json1_0DeleteEnvironmentCommand = async (output, context) => {
|
|
@@ -1624,7 +1576,6 @@ const deserializeAws_json1_0DeleteEnvironmentCommandError = async (output, conte
|
|
|
1624
1576
|
...output,
|
|
1625
1577
|
body: await parseBody(output.body, context),
|
|
1626
1578
|
};
|
|
1627
|
-
let response;
|
|
1628
1579
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1629
1580
|
switch (errorCode) {
|
|
1630
1581
|
case "AccessDeniedException":
|
|
@@ -1647,14 +1598,12 @@ const deserializeAws_json1_0DeleteEnvironmentCommandError = async (output, conte
|
|
|
1647
1598
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1648
1599
|
default:
|
|
1649
1600
|
const parsedBody = parsedOutput.body;
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
$metadata,
|
|
1601
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1602
|
+
output,
|
|
1603
|
+
parsedBody,
|
|
1604
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1605
|
+
errorCode,
|
|
1656
1606
|
});
|
|
1657
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1658
1607
|
}
|
|
1659
1608
|
};
|
|
1660
1609
|
const deserializeAws_json1_0DeleteEnvironmentAccountConnectionCommand = async (output, context) => {
|
|
@@ -1676,7 +1625,6 @@ const deserializeAws_json1_0DeleteEnvironmentAccountConnectionCommandError = asy
|
|
|
1676
1625
|
...output,
|
|
1677
1626
|
body: await parseBody(output.body, context),
|
|
1678
1627
|
};
|
|
1679
|
-
let response;
|
|
1680
1628
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1681
1629
|
switch (errorCode) {
|
|
1682
1630
|
case "AccessDeniedException":
|
|
@@ -1699,14 +1647,12 @@ const deserializeAws_json1_0DeleteEnvironmentAccountConnectionCommandError = asy
|
|
|
1699
1647
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1700
1648
|
default:
|
|
1701
1649
|
const parsedBody = parsedOutput.body;
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
$metadata,
|
|
1650
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1651
|
+
output,
|
|
1652
|
+
parsedBody,
|
|
1653
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1654
|
+
errorCode,
|
|
1708
1655
|
});
|
|
1709
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1710
1656
|
}
|
|
1711
1657
|
};
|
|
1712
1658
|
const deserializeAws_json1_0DeleteEnvironmentTemplateCommand = async (output, context) => {
|
|
@@ -1728,7 +1674,6 @@ const deserializeAws_json1_0DeleteEnvironmentTemplateCommandError = async (outpu
|
|
|
1728
1674
|
...output,
|
|
1729
1675
|
body: await parseBody(output.body, context),
|
|
1730
1676
|
};
|
|
1731
|
-
let response;
|
|
1732
1677
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1733
1678
|
switch (errorCode) {
|
|
1734
1679
|
case "AccessDeniedException":
|
|
@@ -1751,14 +1696,12 @@ const deserializeAws_json1_0DeleteEnvironmentTemplateCommandError = async (outpu
|
|
|
1751
1696
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1752
1697
|
default:
|
|
1753
1698
|
const parsedBody = parsedOutput.body;
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
$metadata,
|
|
1699
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1700
|
+
output,
|
|
1701
|
+
parsedBody,
|
|
1702
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1703
|
+
errorCode,
|
|
1760
1704
|
});
|
|
1761
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1762
1705
|
}
|
|
1763
1706
|
};
|
|
1764
1707
|
const deserializeAws_json1_0DeleteEnvironmentTemplateVersionCommand = async (output, context) => {
|
|
@@ -1780,7 +1723,6 @@ const deserializeAws_json1_0DeleteEnvironmentTemplateVersionCommandError = async
|
|
|
1780
1723
|
...output,
|
|
1781
1724
|
body: await parseBody(output.body, context),
|
|
1782
1725
|
};
|
|
1783
|
-
let response;
|
|
1784
1726
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1785
1727
|
switch (errorCode) {
|
|
1786
1728
|
case "AccessDeniedException":
|
|
@@ -1803,14 +1745,12 @@ const deserializeAws_json1_0DeleteEnvironmentTemplateVersionCommandError = async
|
|
|
1803
1745
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1804
1746
|
default:
|
|
1805
1747
|
const parsedBody = parsedOutput.body;
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
$metadata,
|
|
1748
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1749
|
+
output,
|
|
1750
|
+
parsedBody,
|
|
1751
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1752
|
+
errorCode,
|
|
1812
1753
|
});
|
|
1813
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1814
1754
|
}
|
|
1815
1755
|
};
|
|
1816
1756
|
const deserializeAws_json1_0DeleteRepositoryCommand = async (output, context) => {
|
|
@@ -1832,7 +1772,6 @@ const deserializeAws_json1_0DeleteRepositoryCommandError = async (output, contex
|
|
|
1832
1772
|
...output,
|
|
1833
1773
|
body: await parseBody(output.body, context),
|
|
1834
1774
|
};
|
|
1835
|
-
let response;
|
|
1836
1775
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1837
1776
|
switch (errorCode) {
|
|
1838
1777
|
case "AccessDeniedException":
|
|
@@ -1855,14 +1794,12 @@ const deserializeAws_json1_0DeleteRepositoryCommandError = async (output, contex
|
|
|
1855
1794
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1856
1795
|
default:
|
|
1857
1796
|
const parsedBody = parsedOutput.body;
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
$metadata,
|
|
1797
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1798
|
+
output,
|
|
1799
|
+
parsedBody,
|
|
1800
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1801
|
+
errorCode,
|
|
1864
1802
|
});
|
|
1865
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1866
1803
|
}
|
|
1867
1804
|
};
|
|
1868
1805
|
const deserializeAws_json1_0DeleteServiceCommand = async (output, context) => {
|
|
@@ -1884,7 +1821,6 @@ const deserializeAws_json1_0DeleteServiceCommandError = async (output, context)
|
|
|
1884
1821
|
...output,
|
|
1885
1822
|
body: await parseBody(output.body, context),
|
|
1886
1823
|
};
|
|
1887
|
-
let response;
|
|
1888
1824
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1889
1825
|
switch (errorCode) {
|
|
1890
1826
|
case "AccessDeniedException":
|
|
@@ -1907,14 +1843,12 @@ const deserializeAws_json1_0DeleteServiceCommandError = async (output, context)
|
|
|
1907
1843
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1908
1844
|
default:
|
|
1909
1845
|
const parsedBody = parsedOutput.body;
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
$metadata,
|
|
1846
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1847
|
+
output,
|
|
1848
|
+
parsedBody,
|
|
1849
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1850
|
+
errorCode,
|
|
1916
1851
|
});
|
|
1917
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1918
1852
|
}
|
|
1919
1853
|
};
|
|
1920
1854
|
const deserializeAws_json1_0DeleteServiceTemplateCommand = async (output, context) => {
|
|
@@ -1936,7 +1870,6 @@ const deserializeAws_json1_0DeleteServiceTemplateCommandError = async (output, c
|
|
|
1936
1870
|
...output,
|
|
1937
1871
|
body: await parseBody(output.body, context),
|
|
1938
1872
|
};
|
|
1939
|
-
let response;
|
|
1940
1873
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1941
1874
|
switch (errorCode) {
|
|
1942
1875
|
case "AccessDeniedException":
|
|
@@ -1959,14 +1892,12 @@ const deserializeAws_json1_0DeleteServiceTemplateCommandError = async (output, c
|
|
|
1959
1892
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1960
1893
|
default:
|
|
1961
1894
|
const parsedBody = parsedOutput.body;
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
$metadata,
|
|
1895
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1896
|
+
output,
|
|
1897
|
+
parsedBody,
|
|
1898
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1899
|
+
errorCode,
|
|
1968
1900
|
});
|
|
1969
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1970
1901
|
}
|
|
1971
1902
|
};
|
|
1972
1903
|
const deserializeAws_json1_0DeleteServiceTemplateVersionCommand = async (output, context) => {
|
|
@@ -1988,7 +1919,6 @@ const deserializeAws_json1_0DeleteServiceTemplateVersionCommandError = async (ou
|
|
|
1988
1919
|
...output,
|
|
1989
1920
|
body: await parseBody(output.body, context),
|
|
1990
1921
|
};
|
|
1991
|
-
let response;
|
|
1992
1922
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1993
1923
|
switch (errorCode) {
|
|
1994
1924
|
case "AccessDeniedException":
|
|
@@ -2011,14 +1941,12 @@ const deserializeAws_json1_0DeleteServiceTemplateVersionCommandError = async (ou
|
|
|
2011
1941
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2012
1942
|
default:
|
|
2013
1943
|
const parsedBody = parsedOutput.body;
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
$metadata,
|
|
1944
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1945
|
+
output,
|
|
1946
|
+
parsedBody,
|
|
1947
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1948
|
+
errorCode,
|
|
2020
1949
|
});
|
|
2021
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2022
1950
|
}
|
|
2023
1951
|
};
|
|
2024
1952
|
const deserializeAws_json1_0DeleteTemplateSyncConfigCommand = async (output, context) => {
|
|
@@ -2040,7 +1968,6 @@ const deserializeAws_json1_0DeleteTemplateSyncConfigCommandError = async (output
|
|
|
2040
1968
|
...output,
|
|
2041
1969
|
body: await parseBody(output.body, context),
|
|
2042
1970
|
};
|
|
2043
|
-
let response;
|
|
2044
1971
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2045
1972
|
switch (errorCode) {
|
|
2046
1973
|
case "AccessDeniedException":
|
|
@@ -2063,14 +1990,12 @@ const deserializeAws_json1_0DeleteTemplateSyncConfigCommandError = async (output
|
|
|
2063
1990
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2064
1991
|
default:
|
|
2065
1992
|
const parsedBody = parsedOutput.body;
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
$metadata,
|
|
1993
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1994
|
+
output,
|
|
1995
|
+
parsedBody,
|
|
1996
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1997
|
+
errorCode,
|
|
2072
1998
|
});
|
|
2073
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2074
1999
|
}
|
|
2075
2000
|
};
|
|
2076
2001
|
const deserializeAws_json1_0GetAccountSettingsCommand = async (output, context) => {
|
|
@@ -2092,7 +2017,6 @@ const deserializeAws_json1_0GetAccountSettingsCommandError = async (output, cont
|
|
|
2092
2017
|
...output,
|
|
2093
2018
|
body: await parseBody(output.body, context),
|
|
2094
2019
|
};
|
|
2095
|
-
let response;
|
|
2096
2020
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2097
2021
|
switch (errorCode) {
|
|
2098
2022
|
case "AccessDeniedException":
|
|
@@ -2112,14 +2036,12 @@ const deserializeAws_json1_0GetAccountSettingsCommandError = async (output, cont
|
|
|
2112
2036
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2113
2037
|
default:
|
|
2114
2038
|
const parsedBody = parsedOutput.body;
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
$metadata,
|
|
2039
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2040
|
+
output,
|
|
2041
|
+
parsedBody,
|
|
2042
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2043
|
+
errorCode,
|
|
2121
2044
|
});
|
|
2122
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2123
2045
|
}
|
|
2124
2046
|
};
|
|
2125
2047
|
const deserializeAws_json1_0GetComponentCommand = async (output, context) => {
|
|
@@ -2141,7 +2063,6 @@ const deserializeAws_json1_0GetComponentCommandError = async (output, context) =
|
|
|
2141
2063
|
...output,
|
|
2142
2064
|
body: await parseBody(output.body, context),
|
|
2143
2065
|
};
|
|
2144
|
-
let response;
|
|
2145
2066
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2146
2067
|
switch (errorCode) {
|
|
2147
2068
|
case "AccessDeniedException":
|
|
@@ -2161,14 +2082,12 @@ const deserializeAws_json1_0GetComponentCommandError = async (output, context) =
|
|
|
2161
2082
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2162
2083
|
default:
|
|
2163
2084
|
const parsedBody = parsedOutput.body;
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
$metadata,
|
|
2085
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2086
|
+
output,
|
|
2087
|
+
parsedBody,
|
|
2088
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2089
|
+
errorCode,
|
|
2170
2090
|
});
|
|
2171
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2172
2091
|
}
|
|
2173
2092
|
};
|
|
2174
2093
|
const deserializeAws_json1_0GetEnvironmentCommand = async (output, context) => {
|
|
@@ -2190,7 +2109,6 @@ const deserializeAws_json1_0GetEnvironmentCommandError = async (output, context)
|
|
|
2190
2109
|
...output,
|
|
2191
2110
|
body: await parseBody(output.body, context),
|
|
2192
2111
|
};
|
|
2193
|
-
let response;
|
|
2194
2112
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2195
2113
|
switch (errorCode) {
|
|
2196
2114
|
case "AccessDeniedException":
|
|
@@ -2210,14 +2128,12 @@ const deserializeAws_json1_0GetEnvironmentCommandError = async (output, context)
|
|
|
2210
2128
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2211
2129
|
default:
|
|
2212
2130
|
const parsedBody = parsedOutput.body;
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
$metadata,
|
|
2131
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2132
|
+
output,
|
|
2133
|
+
parsedBody,
|
|
2134
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2135
|
+
errorCode,
|
|
2219
2136
|
});
|
|
2220
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2221
2137
|
}
|
|
2222
2138
|
};
|
|
2223
2139
|
const deserializeAws_json1_0GetEnvironmentAccountConnectionCommand = async (output, context) => {
|
|
@@ -2239,7 +2155,6 @@ const deserializeAws_json1_0GetEnvironmentAccountConnectionCommandError = async
|
|
|
2239
2155
|
...output,
|
|
2240
2156
|
body: await parseBody(output.body, context),
|
|
2241
2157
|
};
|
|
2242
|
-
let response;
|
|
2243
2158
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2244
2159
|
switch (errorCode) {
|
|
2245
2160
|
case "AccessDeniedException":
|
|
@@ -2259,14 +2174,12 @@ const deserializeAws_json1_0GetEnvironmentAccountConnectionCommandError = async
|
|
|
2259
2174
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2260
2175
|
default:
|
|
2261
2176
|
const parsedBody = parsedOutput.body;
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
$metadata,
|
|
2177
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2178
|
+
output,
|
|
2179
|
+
parsedBody,
|
|
2180
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2181
|
+
errorCode,
|
|
2268
2182
|
});
|
|
2269
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2270
2183
|
}
|
|
2271
2184
|
};
|
|
2272
2185
|
const deserializeAws_json1_0GetEnvironmentTemplateCommand = async (output, context) => {
|
|
@@ -2288,7 +2201,6 @@ const deserializeAws_json1_0GetEnvironmentTemplateCommandError = async (output,
|
|
|
2288
2201
|
...output,
|
|
2289
2202
|
body: await parseBody(output.body, context),
|
|
2290
2203
|
};
|
|
2291
|
-
let response;
|
|
2292
2204
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2293
2205
|
switch (errorCode) {
|
|
2294
2206
|
case "AccessDeniedException":
|
|
@@ -2308,14 +2220,12 @@ const deserializeAws_json1_0GetEnvironmentTemplateCommandError = async (output,
|
|
|
2308
2220
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2309
2221
|
default:
|
|
2310
2222
|
const parsedBody = parsedOutput.body;
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
$metadata,
|
|
2223
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2224
|
+
output,
|
|
2225
|
+
parsedBody,
|
|
2226
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2227
|
+
errorCode,
|
|
2317
2228
|
});
|
|
2318
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2319
2229
|
}
|
|
2320
2230
|
};
|
|
2321
2231
|
const deserializeAws_json1_0GetEnvironmentTemplateVersionCommand = async (output, context) => {
|
|
@@ -2337,7 +2247,6 @@ const deserializeAws_json1_0GetEnvironmentTemplateVersionCommandError = async (o
|
|
|
2337
2247
|
...output,
|
|
2338
2248
|
body: await parseBody(output.body, context),
|
|
2339
2249
|
};
|
|
2340
|
-
let response;
|
|
2341
2250
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2342
2251
|
switch (errorCode) {
|
|
2343
2252
|
case "AccessDeniedException":
|
|
@@ -2357,14 +2266,12 @@ const deserializeAws_json1_0GetEnvironmentTemplateVersionCommandError = async (o
|
|
|
2357
2266
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2358
2267
|
default:
|
|
2359
2268
|
const parsedBody = parsedOutput.body;
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
$metadata,
|
|
2269
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2270
|
+
output,
|
|
2271
|
+
parsedBody,
|
|
2272
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2273
|
+
errorCode,
|
|
2366
2274
|
});
|
|
2367
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2368
2275
|
}
|
|
2369
2276
|
};
|
|
2370
2277
|
const deserializeAws_json1_0GetRepositoryCommand = async (output, context) => {
|
|
@@ -2386,7 +2293,6 @@ const deserializeAws_json1_0GetRepositoryCommandError = async (output, context)
|
|
|
2386
2293
|
...output,
|
|
2387
2294
|
body: await parseBody(output.body, context),
|
|
2388
2295
|
};
|
|
2389
|
-
let response;
|
|
2390
2296
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2391
2297
|
switch (errorCode) {
|
|
2392
2298
|
case "AccessDeniedException":
|
|
@@ -2406,14 +2312,12 @@ const deserializeAws_json1_0GetRepositoryCommandError = async (output, context)
|
|
|
2406
2312
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2407
2313
|
default:
|
|
2408
2314
|
const parsedBody = parsedOutput.body;
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
$metadata,
|
|
2315
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2316
|
+
output,
|
|
2317
|
+
parsedBody,
|
|
2318
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2319
|
+
errorCode,
|
|
2415
2320
|
});
|
|
2416
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2417
2321
|
}
|
|
2418
2322
|
};
|
|
2419
2323
|
const deserializeAws_json1_0GetRepositorySyncStatusCommand = async (output, context) => {
|
|
@@ -2435,7 +2339,6 @@ const deserializeAws_json1_0GetRepositorySyncStatusCommandError = async (output,
|
|
|
2435
2339
|
...output,
|
|
2436
2340
|
body: await parseBody(output.body, context),
|
|
2437
2341
|
};
|
|
2438
|
-
let response;
|
|
2439
2342
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2440
2343
|
switch (errorCode) {
|
|
2441
2344
|
case "AccessDeniedException":
|
|
@@ -2455,14 +2358,12 @@ const deserializeAws_json1_0GetRepositorySyncStatusCommandError = async (output,
|
|
|
2455
2358
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2456
2359
|
default:
|
|
2457
2360
|
const parsedBody = parsedOutput.body;
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
$metadata,
|
|
2361
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2362
|
+
output,
|
|
2363
|
+
parsedBody,
|
|
2364
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2365
|
+
errorCode,
|
|
2464
2366
|
});
|
|
2465
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2466
2367
|
}
|
|
2467
2368
|
};
|
|
2468
2369
|
const deserializeAws_json1_0GetServiceCommand = async (output, context) => {
|
|
@@ -2484,7 +2385,6 @@ const deserializeAws_json1_0GetServiceCommandError = async (output, context) =>
|
|
|
2484
2385
|
...output,
|
|
2485
2386
|
body: await parseBody(output.body, context),
|
|
2486
2387
|
};
|
|
2487
|
-
let response;
|
|
2488
2388
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2489
2389
|
switch (errorCode) {
|
|
2490
2390
|
case "AccessDeniedException":
|
|
@@ -2504,14 +2404,12 @@ const deserializeAws_json1_0GetServiceCommandError = async (output, context) =>
|
|
|
2504
2404
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2505
2405
|
default:
|
|
2506
2406
|
const parsedBody = parsedOutput.body;
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
$metadata,
|
|
2407
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2408
|
+
output,
|
|
2409
|
+
parsedBody,
|
|
2410
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2411
|
+
errorCode,
|
|
2513
2412
|
});
|
|
2514
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2515
2413
|
}
|
|
2516
2414
|
};
|
|
2517
2415
|
const deserializeAws_json1_0GetServiceInstanceCommand = async (output, context) => {
|
|
@@ -2533,7 +2431,6 @@ const deserializeAws_json1_0GetServiceInstanceCommandError = async (output, cont
|
|
|
2533
2431
|
...output,
|
|
2534
2432
|
body: await parseBody(output.body, context),
|
|
2535
2433
|
};
|
|
2536
|
-
let response;
|
|
2537
2434
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2538
2435
|
switch (errorCode) {
|
|
2539
2436
|
case "AccessDeniedException":
|
|
@@ -2553,14 +2450,12 @@ const deserializeAws_json1_0GetServiceInstanceCommandError = async (output, cont
|
|
|
2553
2450
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2554
2451
|
default:
|
|
2555
2452
|
const parsedBody = parsedOutput.body;
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
$metadata,
|
|
2453
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2454
|
+
output,
|
|
2455
|
+
parsedBody,
|
|
2456
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2457
|
+
errorCode,
|
|
2562
2458
|
});
|
|
2563
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2564
2459
|
}
|
|
2565
2460
|
};
|
|
2566
2461
|
const deserializeAws_json1_0GetServiceTemplateCommand = async (output, context) => {
|
|
@@ -2582,7 +2477,6 @@ const deserializeAws_json1_0GetServiceTemplateCommandError = async (output, cont
|
|
|
2582
2477
|
...output,
|
|
2583
2478
|
body: await parseBody(output.body, context),
|
|
2584
2479
|
};
|
|
2585
|
-
let response;
|
|
2586
2480
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2587
2481
|
switch (errorCode) {
|
|
2588
2482
|
case "AccessDeniedException":
|
|
@@ -2602,14 +2496,12 @@ const deserializeAws_json1_0GetServiceTemplateCommandError = async (output, cont
|
|
|
2602
2496
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2603
2497
|
default:
|
|
2604
2498
|
const parsedBody = parsedOutput.body;
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
$metadata,
|
|
2499
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2500
|
+
output,
|
|
2501
|
+
parsedBody,
|
|
2502
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2503
|
+
errorCode,
|
|
2611
2504
|
});
|
|
2612
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2613
2505
|
}
|
|
2614
2506
|
};
|
|
2615
2507
|
const deserializeAws_json1_0GetServiceTemplateVersionCommand = async (output, context) => {
|
|
@@ -2631,7 +2523,6 @@ const deserializeAws_json1_0GetServiceTemplateVersionCommandError = async (outpu
|
|
|
2631
2523
|
...output,
|
|
2632
2524
|
body: await parseBody(output.body, context),
|
|
2633
2525
|
};
|
|
2634
|
-
let response;
|
|
2635
2526
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2636
2527
|
switch (errorCode) {
|
|
2637
2528
|
case "AccessDeniedException":
|
|
@@ -2651,14 +2542,12 @@ const deserializeAws_json1_0GetServiceTemplateVersionCommandError = async (outpu
|
|
|
2651
2542
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2652
2543
|
default:
|
|
2653
2544
|
const parsedBody = parsedOutput.body;
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
$metadata,
|
|
2545
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2546
|
+
output,
|
|
2547
|
+
parsedBody,
|
|
2548
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2549
|
+
errorCode,
|
|
2660
2550
|
});
|
|
2661
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2662
2551
|
}
|
|
2663
2552
|
};
|
|
2664
2553
|
const deserializeAws_json1_0GetTemplateSyncConfigCommand = async (output, context) => {
|
|
@@ -2680,7 +2569,6 @@ const deserializeAws_json1_0GetTemplateSyncConfigCommandError = async (output, c
|
|
|
2680
2569
|
...output,
|
|
2681
2570
|
body: await parseBody(output.body, context),
|
|
2682
2571
|
};
|
|
2683
|
-
let response;
|
|
2684
2572
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2685
2573
|
switch (errorCode) {
|
|
2686
2574
|
case "AccessDeniedException":
|
|
@@ -2700,14 +2588,12 @@ const deserializeAws_json1_0GetTemplateSyncConfigCommandError = async (output, c
|
|
|
2700
2588
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2701
2589
|
default:
|
|
2702
2590
|
const parsedBody = parsedOutput.body;
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
$metadata,
|
|
2591
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2592
|
+
output,
|
|
2593
|
+
parsedBody,
|
|
2594
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2595
|
+
errorCode,
|
|
2709
2596
|
});
|
|
2710
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2711
2597
|
}
|
|
2712
2598
|
};
|
|
2713
2599
|
const deserializeAws_json1_0GetTemplateSyncStatusCommand = async (output, context) => {
|
|
@@ -2729,7 +2615,6 @@ const deserializeAws_json1_0GetTemplateSyncStatusCommandError = async (output, c
|
|
|
2729
2615
|
...output,
|
|
2730
2616
|
body: await parseBody(output.body, context),
|
|
2731
2617
|
};
|
|
2732
|
-
let response;
|
|
2733
2618
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2734
2619
|
switch (errorCode) {
|
|
2735
2620
|
case "AccessDeniedException":
|
|
@@ -2749,14 +2634,12 @@ const deserializeAws_json1_0GetTemplateSyncStatusCommandError = async (output, c
|
|
|
2749
2634
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2750
2635
|
default:
|
|
2751
2636
|
const parsedBody = parsedOutput.body;
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
$metadata,
|
|
2637
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2638
|
+
output,
|
|
2639
|
+
parsedBody,
|
|
2640
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2641
|
+
errorCode,
|
|
2758
2642
|
});
|
|
2759
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2760
2643
|
}
|
|
2761
2644
|
};
|
|
2762
2645
|
const deserializeAws_json1_0ListComponentOutputsCommand = async (output, context) => {
|
|
@@ -2778,7 +2661,6 @@ const deserializeAws_json1_0ListComponentOutputsCommandError = async (output, co
|
|
|
2778
2661
|
...output,
|
|
2779
2662
|
body: await parseBody(output.body, context),
|
|
2780
2663
|
};
|
|
2781
|
-
let response;
|
|
2782
2664
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2783
2665
|
switch (errorCode) {
|
|
2784
2666
|
case "AccessDeniedException":
|
|
@@ -2798,14 +2680,12 @@ const deserializeAws_json1_0ListComponentOutputsCommandError = async (output, co
|
|
|
2798
2680
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2799
2681
|
default:
|
|
2800
2682
|
const parsedBody = parsedOutput.body;
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
$metadata,
|
|
2683
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2684
|
+
output,
|
|
2685
|
+
parsedBody,
|
|
2686
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2687
|
+
errorCode,
|
|
2807
2688
|
});
|
|
2808
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2809
2689
|
}
|
|
2810
2690
|
};
|
|
2811
2691
|
const deserializeAws_json1_0ListComponentProvisionedResourcesCommand = async (output, context) => {
|
|
@@ -2827,7 +2707,6 @@ const deserializeAws_json1_0ListComponentProvisionedResourcesCommandError = asyn
|
|
|
2827
2707
|
...output,
|
|
2828
2708
|
body: await parseBody(output.body, context),
|
|
2829
2709
|
};
|
|
2830
|
-
let response;
|
|
2831
2710
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2832
2711
|
switch (errorCode) {
|
|
2833
2712
|
case "AccessDeniedException":
|
|
@@ -2847,14 +2726,12 @@ const deserializeAws_json1_0ListComponentProvisionedResourcesCommandError = asyn
|
|
|
2847
2726
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2848
2727
|
default:
|
|
2849
2728
|
const parsedBody = parsedOutput.body;
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
$metadata,
|
|
2729
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2730
|
+
output,
|
|
2731
|
+
parsedBody,
|
|
2732
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2733
|
+
errorCode,
|
|
2856
2734
|
});
|
|
2857
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2858
2735
|
}
|
|
2859
2736
|
};
|
|
2860
2737
|
const deserializeAws_json1_0ListComponentsCommand = async (output, context) => {
|
|
@@ -2876,7 +2753,6 @@ const deserializeAws_json1_0ListComponentsCommandError = async (output, context)
|
|
|
2876
2753
|
...output,
|
|
2877
2754
|
body: await parseBody(output.body, context),
|
|
2878
2755
|
};
|
|
2879
|
-
let response;
|
|
2880
2756
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2881
2757
|
switch (errorCode) {
|
|
2882
2758
|
case "AccessDeniedException":
|
|
@@ -2893,14 +2769,12 @@ const deserializeAws_json1_0ListComponentsCommandError = async (output, context)
|
|
|
2893
2769
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2894
2770
|
default:
|
|
2895
2771
|
const parsedBody = parsedOutput.body;
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
$metadata,
|
|
2772
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2773
|
+
output,
|
|
2774
|
+
parsedBody,
|
|
2775
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2776
|
+
errorCode,
|
|
2902
2777
|
});
|
|
2903
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2904
2778
|
}
|
|
2905
2779
|
};
|
|
2906
2780
|
const deserializeAws_json1_0ListEnvironmentAccountConnectionsCommand = async (output, context) => {
|
|
@@ -2922,7 +2796,6 @@ const deserializeAws_json1_0ListEnvironmentAccountConnectionsCommandError = asyn
|
|
|
2922
2796
|
...output,
|
|
2923
2797
|
body: await parseBody(output.body, context),
|
|
2924
2798
|
};
|
|
2925
|
-
let response;
|
|
2926
2799
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2927
2800
|
switch (errorCode) {
|
|
2928
2801
|
case "AccessDeniedException":
|
|
@@ -2939,14 +2812,12 @@ const deserializeAws_json1_0ListEnvironmentAccountConnectionsCommandError = asyn
|
|
|
2939
2812
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2940
2813
|
default:
|
|
2941
2814
|
const parsedBody = parsedOutput.body;
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
$metadata,
|
|
2815
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2816
|
+
output,
|
|
2817
|
+
parsedBody,
|
|
2818
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2819
|
+
errorCode,
|
|
2948
2820
|
});
|
|
2949
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2950
2821
|
}
|
|
2951
2822
|
};
|
|
2952
2823
|
const deserializeAws_json1_0ListEnvironmentOutputsCommand = async (output, context) => {
|
|
@@ -2968,7 +2839,6 @@ const deserializeAws_json1_0ListEnvironmentOutputsCommandError = async (output,
|
|
|
2968
2839
|
...output,
|
|
2969
2840
|
body: await parseBody(output.body, context),
|
|
2970
2841
|
};
|
|
2971
|
-
let response;
|
|
2972
2842
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2973
2843
|
switch (errorCode) {
|
|
2974
2844
|
case "AccessDeniedException":
|
|
@@ -2988,14 +2858,12 @@ const deserializeAws_json1_0ListEnvironmentOutputsCommandError = async (output,
|
|
|
2988
2858
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2989
2859
|
default:
|
|
2990
2860
|
const parsedBody = parsedOutput.body;
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
$metadata,
|
|
2861
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2862
|
+
output,
|
|
2863
|
+
parsedBody,
|
|
2864
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2865
|
+
errorCode,
|
|
2997
2866
|
});
|
|
2998
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2999
2867
|
}
|
|
3000
2868
|
};
|
|
3001
2869
|
const deserializeAws_json1_0ListEnvironmentProvisionedResourcesCommand = async (output, context) => {
|
|
@@ -3017,7 +2885,6 @@ const deserializeAws_json1_0ListEnvironmentProvisionedResourcesCommandError = as
|
|
|
3017
2885
|
...output,
|
|
3018
2886
|
body: await parseBody(output.body, context),
|
|
3019
2887
|
};
|
|
3020
|
-
let response;
|
|
3021
2888
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3022
2889
|
switch (errorCode) {
|
|
3023
2890
|
case "AccessDeniedException":
|
|
@@ -3037,14 +2904,12 @@ const deserializeAws_json1_0ListEnvironmentProvisionedResourcesCommandError = as
|
|
|
3037
2904
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3038
2905
|
default:
|
|
3039
2906
|
const parsedBody = parsedOutput.body;
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
$metadata,
|
|
2907
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2908
|
+
output,
|
|
2909
|
+
parsedBody,
|
|
2910
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2911
|
+
errorCode,
|
|
3046
2912
|
});
|
|
3047
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3048
2913
|
}
|
|
3049
2914
|
};
|
|
3050
2915
|
const deserializeAws_json1_0ListEnvironmentsCommand = async (output, context) => {
|
|
@@ -3066,7 +2931,6 @@ const deserializeAws_json1_0ListEnvironmentsCommandError = async (output, contex
|
|
|
3066
2931
|
...output,
|
|
3067
2932
|
body: await parseBody(output.body, context),
|
|
3068
2933
|
};
|
|
3069
|
-
let response;
|
|
3070
2934
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3071
2935
|
switch (errorCode) {
|
|
3072
2936
|
case "AccessDeniedException":
|
|
@@ -3086,14 +2950,12 @@ const deserializeAws_json1_0ListEnvironmentsCommandError = async (output, contex
|
|
|
3086
2950
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3087
2951
|
default:
|
|
3088
2952
|
const parsedBody = parsedOutput.body;
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
$metadata,
|
|
2953
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2954
|
+
output,
|
|
2955
|
+
parsedBody,
|
|
2956
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2957
|
+
errorCode,
|
|
3095
2958
|
});
|
|
3096
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3097
2959
|
}
|
|
3098
2960
|
};
|
|
3099
2961
|
const deserializeAws_json1_0ListEnvironmentTemplatesCommand = async (output, context) => {
|
|
@@ -3115,7 +2977,6 @@ const deserializeAws_json1_0ListEnvironmentTemplatesCommandError = async (output
|
|
|
3115
2977
|
...output,
|
|
3116
2978
|
body: await parseBody(output.body, context),
|
|
3117
2979
|
};
|
|
3118
|
-
let response;
|
|
3119
2980
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3120
2981
|
switch (errorCode) {
|
|
3121
2982
|
case "AccessDeniedException":
|
|
@@ -3132,14 +2993,12 @@ const deserializeAws_json1_0ListEnvironmentTemplatesCommandError = async (output
|
|
|
3132
2993
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3133
2994
|
default:
|
|
3134
2995
|
const parsedBody = parsedOutput.body;
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
$metadata,
|
|
2996
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2997
|
+
output,
|
|
2998
|
+
parsedBody,
|
|
2999
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3000
|
+
errorCode,
|
|
3141
3001
|
});
|
|
3142
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3143
3002
|
}
|
|
3144
3003
|
};
|
|
3145
3004
|
const deserializeAws_json1_0ListEnvironmentTemplateVersionsCommand = async (output, context) => {
|
|
@@ -3161,7 +3020,6 @@ const deserializeAws_json1_0ListEnvironmentTemplateVersionsCommandError = async
|
|
|
3161
3020
|
...output,
|
|
3162
3021
|
body: await parseBody(output.body, context),
|
|
3163
3022
|
};
|
|
3164
|
-
let response;
|
|
3165
3023
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3166
3024
|
switch (errorCode) {
|
|
3167
3025
|
case "AccessDeniedException":
|
|
@@ -3181,14 +3039,12 @@ const deserializeAws_json1_0ListEnvironmentTemplateVersionsCommandError = async
|
|
|
3181
3039
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3182
3040
|
default:
|
|
3183
3041
|
const parsedBody = parsedOutput.body;
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
$metadata,
|
|
3042
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3043
|
+
output,
|
|
3044
|
+
parsedBody,
|
|
3045
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3046
|
+
errorCode,
|
|
3190
3047
|
});
|
|
3191
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3192
3048
|
}
|
|
3193
3049
|
};
|
|
3194
3050
|
const deserializeAws_json1_0ListRepositoriesCommand = async (output, context) => {
|
|
@@ -3210,7 +3066,6 @@ const deserializeAws_json1_0ListRepositoriesCommandError = async (output, contex
|
|
|
3210
3066
|
...output,
|
|
3211
3067
|
body: await parseBody(output.body, context),
|
|
3212
3068
|
};
|
|
3213
|
-
let response;
|
|
3214
3069
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3215
3070
|
switch (errorCode) {
|
|
3216
3071
|
case "AccessDeniedException":
|
|
@@ -3230,14 +3085,12 @@ const deserializeAws_json1_0ListRepositoriesCommandError = async (output, contex
|
|
|
3230
3085
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3231
3086
|
default:
|
|
3232
3087
|
const parsedBody = parsedOutput.body;
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
$metadata,
|
|
3088
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3089
|
+
output,
|
|
3090
|
+
parsedBody,
|
|
3091
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3092
|
+
errorCode,
|
|
3239
3093
|
});
|
|
3240
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3241
3094
|
}
|
|
3242
3095
|
};
|
|
3243
3096
|
const deserializeAws_json1_0ListRepositorySyncDefinitionsCommand = async (output, context) => {
|
|
@@ -3259,7 +3112,6 @@ const deserializeAws_json1_0ListRepositorySyncDefinitionsCommandError = async (o
|
|
|
3259
3112
|
...output,
|
|
3260
3113
|
body: await parseBody(output.body, context),
|
|
3261
3114
|
};
|
|
3262
|
-
let response;
|
|
3263
3115
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3264
3116
|
switch (errorCode) {
|
|
3265
3117
|
case "AccessDeniedException":
|
|
@@ -3276,14 +3128,12 @@ const deserializeAws_json1_0ListRepositorySyncDefinitionsCommandError = async (o
|
|
|
3276
3128
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3277
3129
|
default:
|
|
3278
3130
|
const parsedBody = parsedOutput.body;
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
$metadata,
|
|
3131
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3132
|
+
output,
|
|
3133
|
+
parsedBody,
|
|
3134
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3135
|
+
errorCode,
|
|
3285
3136
|
});
|
|
3286
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3287
3137
|
}
|
|
3288
3138
|
};
|
|
3289
3139
|
const deserializeAws_json1_0ListServiceInstanceOutputsCommand = async (output, context) => {
|
|
@@ -3305,7 +3155,6 @@ const deserializeAws_json1_0ListServiceInstanceOutputsCommandError = async (outp
|
|
|
3305
3155
|
...output,
|
|
3306
3156
|
body: await parseBody(output.body, context),
|
|
3307
3157
|
};
|
|
3308
|
-
let response;
|
|
3309
3158
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3310
3159
|
switch (errorCode) {
|
|
3311
3160
|
case "AccessDeniedException":
|
|
@@ -3325,14 +3174,12 @@ const deserializeAws_json1_0ListServiceInstanceOutputsCommandError = async (outp
|
|
|
3325
3174
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3326
3175
|
default:
|
|
3327
3176
|
const parsedBody = parsedOutput.body;
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
$metadata,
|
|
3177
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3178
|
+
output,
|
|
3179
|
+
parsedBody,
|
|
3180
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3181
|
+
errorCode,
|
|
3334
3182
|
});
|
|
3335
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3336
3183
|
}
|
|
3337
3184
|
};
|
|
3338
3185
|
const deserializeAws_json1_0ListServiceInstanceProvisionedResourcesCommand = async (output, context) => {
|
|
@@ -3354,7 +3201,6 @@ const deserializeAws_json1_0ListServiceInstanceProvisionedResourcesCommandError
|
|
|
3354
3201
|
...output,
|
|
3355
3202
|
body: await parseBody(output.body, context),
|
|
3356
3203
|
};
|
|
3357
|
-
let response;
|
|
3358
3204
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3359
3205
|
switch (errorCode) {
|
|
3360
3206
|
case "AccessDeniedException":
|
|
@@ -3374,14 +3220,12 @@ const deserializeAws_json1_0ListServiceInstanceProvisionedResourcesCommandError
|
|
|
3374
3220
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3375
3221
|
default:
|
|
3376
3222
|
const parsedBody = parsedOutput.body;
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
$metadata,
|
|
3223
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3224
|
+
output,
|
|
3225
|
+
parsedBody,
|
|
3226
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3227
|
+
errorCode,
|
|
3383
3228
|
});
|
|
3384
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3385
3229
|
}
|
|
3386
3230
|
};
|
|
3387
3231
|
const deserializeAws_json1_0ListServiceInstancesCommand = async (output, context) => {
|
|
@@ -3403,7 +3247,6 @@ const deserializeAws_json1_0ListServiceInstancesCommandError = async (output, co
|
|
|
3403
3247
|
...output,
|
|
3404
3248
|
body: await parseBody(output.body, context),
|
|
3405
3249
|
};
|
|
3406
|
-
let response;
|
|
3407
3250
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3408
3251
|
switch (errorCode) {
|
|
3409
3252
|
case "AccessDeniedException":
|
|
@@ -3423,14 +3266,12 @@ const deserializeAws_json1_0ListServiceInstancesCommandError = async (output, co
|
|
|
3423
3266
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3424
3267
|
default:
|
|
3425
3268
|
const parsedBody = parsedOutput.body;
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
$metadata,
|
|
3269
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3270
|
+
output,
|
|
3271
|
+
parsedBody,
|
|
3272
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3273
|
+
errorCode,
|
|
3432
3274
|
});
|
|
3433
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3434
3275
|
}
|
|
3435
3276
|
};
|
|
3436
3277
|
const deserializeAws_json1_0ListServicePipelineOutputsCommand = async (output, context) => {
|
|
@@ -3452,7 +3293,6 @@ const deserializeAws_json1_0ListServicePipelineOutputsCommandError = async (outp
|
|
|
3452
3293
|
...output,
|
|
3453
3294
|
body: await parseBody(output.body, context),
|
|
3454
3295
|
};
|
|
3455
|
-
let response;
|
|
3456
3296
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3457
3297
|
switch (errorCode) {
|
|
3458
3298
|
case "AccessDeniedException":
|
|
@@ -3472,14 +3312,12 @@ const deserializeAws_json1_0ListServicePipelineOutputsCommandError = async (outp
|
|
|
3472
3312
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3473
3313
|
default:
|
|
3474
3314
|
const parsedBody = parsedOutput.body;
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
$metadata,
|
|
3315
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3316
|
+
output,
|
|
3317
|
+
parsedBody,
|
|
3318
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3319
|
+
errorCode,
|
|
3481
3320
|
});
|
|
3482
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3483
3321
|
}
|
|
3484
3322
|
};
|
|
3485
3323
|
const deserializeAws_json1_0ListServicePipelineProvisionedResourcesCommand = async (output, context) => {
|
|
@@ -3501,7 +3339,6 @@ const deserializeAws_json1_0ListServicePipelineProvisionedResourcesCommandError
|
|
|
3501
3339
|
...output,
|
|
3502
3340
|
body: await parseBody(output.body, context),
|
|
3503
3341
|
};
|
|
3504
|
-
let response;
|
|
3505
3342
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3506
3343
|
switch (errorCode) {
|
|
3507
3344
|
case "AccessDeniedException":
|
|
@@ -3521,14 +3358,12 @@ const deserializeAws_json1_0ListServicePipelineProvisionedResourcesCommandError
|
|
|
3521
3358
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3522
3359
|
default:
|
|
3523
3360
|
const parsedBody = parsedOutput.body;
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
$metadata,
|
|
3361
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3362
|
+
output,
|
|
3363
|
+
parsedBody,
|
|
3364
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3365
|
+
errorCode,
|
|
3530
3366
|
});
|
|
3531
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3532
3367
|
}
|
|
3533
3368
|
};
|
|
3534
3369
|
const deserializeAws_json1_0ListServicesCommand = async (output, context) => {
|
|
@@ -3550,7 +3385,6 @@ const deserializeAws_json1_0ListServicesCommandError = async (output, context) =
|
|
|
3550
3385
|
...output,
|
|
3551
3386
|
body: await parseBody(output.body, context),
|
|
3552
3387
|
};
|
|
3553
|
-
let response;
|
|
3554
3388
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3555
3389
|
switch (errorCode) {
|
|
3556
3390
|
case "AccessDeniedException":
|
|
@@ -3567,14 +3401,12 @@ const deserializeAws_json1_0ListServicesCommandError = async (output, context) =
|
|
|
3567
3401
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3568
3402
|
default:
|
|
3569
3403
|
const parsedBody = parsedOutput.body;
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
$metadata,
|
|
3404
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3405
|
+
output,
|
|
3406
|
+
parsedBody,
|
|
3407
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3408
|
+
errorCode,
|
|
3576
3409
|
});
|
|
3577
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3578
3410
|
}
|
|
3579
3411
|
};
|
|
3580
3412
|
const deserializeAws_json1_0ListServiceTemplatesCommand = async (output, context) => {
|
|
@@ -3596,7 +3428,6 @@ const deserializeAws_json1_0ListServiceTemplatesCommandError = async (output, co
|
|
|
3596
3428
|
...output,
|
|
3597
3429
|
body: await parseBody(output.body, context),
|
|
3598
3430
|
};
|
|
3599
|
-
let response;
|
|
3600
3431
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3601
3432
|
switch (errorCode) {
|
|
3602
3433
|
case "AccessDeniedException":
|
|
@@ -3613,14 +3444,12 @@ const deserializeAws_json1_0ListServiceTemplatesCommandError = async (output, co
|
|
|
3613
3444
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3614
3445
|
default:
|
|
3615
3446
|
const parsedBody = parsedOutput.body;
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
$metadata,
|
|
3447
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3448
|
+
output,
|
|
3449
|
+
parsedBody,
|
|
3450
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3451
|
+
errorCode,
|
|
3622
3452
|
});
|
|
3623
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3624
3453
|
}
|
|
3625
3454
|
};
|
|
3626
3455
|
const deserializeAws_json1_0ListServiceTemplateVersionsCommand = async (output, context) => {
|
|
@@ -3642,7 +3471,6 @@ const deserializeAws_json1_0ListServiceTemplateVersionsCommandError = async (out
|
|
|
3642
3471
|
...output,
|
|
3643
3472
|
body: await parseBody(output.body, context),
|
|
3644
3473
|
};
|
|
3645
|
-
let response;
|
|
3646
3474
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3647
3475
|
switch (errorCode) {
|
|
3648
3476
|
case "AccessDeniedException":
|
|
@@ -3662,14 +3490,12 @@ const deserializeAws_json1_0ListServiceTemplateVersionsCommandError = async (out
|
|
|
3662
3490
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3663
3491
|
default:
|
|
3664
3492
|
const parsedBody = parsedOutput.body;
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
$metadata,
|
|
3493
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3494
|
+
output,
|
|
3495
|
+
parsedBody,
|
|
3496
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3497
|
+
errorCode,
|
|
3671
3498
|
});
|
|
3672
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3673
3499
|
}
|
|
3674
3500
|
};
|
|
3675
3501
|
const deserializeAws_json1_0ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -3691,7 +3517,6 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
3691
3517
|
...output,
|
|
3692
3518
|
body: await parseBody(output.body, context),
|
|
3693
3519
|
};
|
|
3694
|
-
let response;
|
|
3695
3520
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3696
3521
|
switch (errorCode) {
|
|
3697
3522
|
case "AccessDeniedException":
|
|
@@ -3711,14 +3536,12 @@ const deserializeAws_json1_0ListTagsForResourceCommandError = async (output, con
|
|
|
3711
3536
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3712
3537
|
default:
|
|
3713
3538
|
const parsedBody = parsedOutput.body;
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
$metadata,
|
|
3539
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3540
|
+
output,
|
|
3541
|
+
parsedBody,
|
|
3542
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3543
|
+
errorCode,
|
|
3720
3544
|
});
|
|
3721
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3722
3545
|
}
|
|
3723
3546
|
};
|
|
3724
3547
|
const deserializeAws_json1_0NotifyResourceDeploymentStatusChangeCommand = async (output, context) => {
|
|
@@ -3740,7 +3563,6 @@ const deserializeAws_json1_0NotifyResourceDeploymentStatusChangeCommandError = a
|
|
|
3740
3563
|
...output,
|
|
3741
3564
|
body: await parseBody(output.body, context),
|
|
3742
3565
|
};
|
|
3743
|
-
let response;
|
|
3744
3566
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3745
3567
|
switch (errorCode) {
|
|
3746
3568
|
case "AccessDeniedException":
|
|
@@ -3766,14 +3588,12 @@ const deserializeAws_json1_0NotifyResourceDeploymentStatusChangeCommandError = a
|
|
|
3766
3588
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3767
3589
|
default:
|
|
3768
3590
|
const parsedBody = parsedOutput.body;
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
$metadata,
|
|
3591
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3592
|
+
output,
|
|
3593
|
+
parsedBody,
|
|
3594
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3595
|
+
errorCode,
|
|
3775
3596
|
});
|
|
3776
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3777
3597
|
}
|
|
3778
3598
|
};
|
|
3779
3599
|
const deserializeAws_json1_0RejectEnvironmentAccountConnectionCommand = async (output, context) => {
|
|
@@ -3795,7 +3615,6 @@ const deserializeAws_json1_0RejectEnvironmentAccountConnectionCommandError = asy
|
|
|
3795
3615
|
...output,
|
|
3796
3616
|
body: await parseBody(output.body, context),
|
|
3797
3617
|
};
|
|
3798
|
-
let response;
|
|
3799
3618
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3800
3619
|
switch (errorCode) {
|
|
3801
3620
|
case "AccessDeniedException":
|
|
@@ -3818,14 +3637,12 @@ const deserializeAws_json1_0RejectEnvironmentAccountConnectionCommandError = asy
|
|
|
3818
3637
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3819
3638
|
default:
|
|
3820
3639
|
const parsedBody = parsedOutput.body;
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
$metadata,
|
|
3640
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3641
|
+
output,
|
|
3642
|
+
parsedBody,
|
|
3643
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3644
|
+
errorCode,
|
|
3827
3645
|
});
|
|
3828
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3829
3646
|
}
|
|
3830
3647
|
};
|
|
3831
3648
|
const deserializeAws_json1_0TagResourceCommand = async (output, context) => {
|
|
@@ -3847,7 +3664,6 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
3847
3664
|
...output,
|
|
3848
3665
|
body: await parseBody(output.body, context),
|
|
3849
3666
|
};
|
|
3850
|
-
let response;
|
|
3851
3667
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3852
3668
|
switch (errorCode) {
|
|
3853
3669
|
case "AccessDeniedException":
|
|
@@ -3870,14 +3686,12 @@ const deserializeAws_json1_0TagResourceCommandError = async (output, context) =>
|
|
|
3870
3686
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3871
3687
|
default:
|
|
3872
3688
|
const parsedBody = parsedOutput.body;
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
$metadata,
|
|
3689
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3690
|
+
output,
|
|
3691
|
+
parsedBody,
|
|
3692
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3693
|
+
errorCode,
|
|
3879
3694
|
});
|
|
3880
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3881
3695
|
}
|
|
3882
3696
|
};
|
|
3883
3697
|
const deserializeAws_json1_0UntagResourceCommand = async (output, context) => {
|
|
@@ -3899,7 +3713,6 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
3899
3713
|
...output,
|
|
3900
3714
|
body: await parseBody(output.body, context),
|
|
3901
3715
|
};
|
|
3902
|
-
let response;
|
|
3903
3716
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3904
3717
|
switch (errorCode) {
|
|
3905
3718
|
case "AccessDeniedException":
|
|
@@ -3922,14 +3735,12 @@ const deserializeAws_json1_0UntagResourceCommandError = async (output, context)
|
|
|
3922
3735
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3923
3736
|
default:
|
|
3924
3737
|
const parsedBody = parsedOutput.body;
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
$metadata,
|
|
3738
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3739
|
+
output,
|
|
3740
|
+
parsedBody,
|
|
3741
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3742
|
+
errorCode,
|
|
3931
3743
|
});
|
|
3932
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3933
3744
|
}
|
|
3934
3745
|
};
|
|
3935
3746
|
const deserializeAws_json1_0UpdateAccountSettingsCommand = async (output, context) => {
|
|
@@ -3951,7 +3762,6 @@ const deserializeAws_json1_0UpdateAccountSettingsCommandError = async (output, c
|
|
|
3951
3762
|
...output,
|
|
3952
3763
|
body: await parseBody(output.body, context),
|
|
3953
3764
|
};
|
|
3954
|
-
let response;
|
|
3955
3765
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3956
3766
|
switch (errorCode) {
|
|
3957
3767
|
case "AccessDeniedException":
|
|
@@ -3971,14 +3781,12 @@ const deserializeAws_json1_0UpdateAccountSettingsCommandError = async (output, c
|
|
|
3971
3781
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3972
3782
|
default:
|
|
3973
3783
|
const parsedBody = parsedOutput.body;
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
$metadata,
|
|
3784
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3785
|
+
output,
|
|
3786
|
+
parsedBody,
|
|
3787
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3788
|
+
errorCode,
|
|
3980
3789
|
});
|
|
3981
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3982
3790
|
}
|
|
3983
3791
|
};
|
|
3984
3792
|
const deserializeAws_json1_0UpdateComponentCommand = async (output, context) => {
|
|
@@ -4000,7 +3808,6 @@ const deserializeAws_json1_0UpdateComponentCommandError = async (output, context
|
|
|
4000
3808
|
...output,
|
|
4001
3809
|
body: await parseBody(output.body, context),
|
|
4002
3810
|
};
|
|
4003
|
-
let response;
|
|
4004
3811
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4005
3812
|
switch (errorCode) {
|
|
4006
3813
|
case "AccessDeniedException":
|
|
@@ -4026,14 +3833,12 @@ const deserializeAws_json1_0UpdateComponentCommandError = async (output, context
|
|
|
4026
3833
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4027
3834
|
default:
|
|
4028
3835
|
const parsedBody = parsedOutput.body;
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
$metadata,
|
|
3836
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3837
|
+
output,
|
|
3838
|
+
parsedBody,
|
|
3839
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3840
|
+
errorCode,
|
|
4035
3841
|
});
|
|
4036
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4037
3842
|
}
|
|
4038
3843
|
};
|
|
4039
3844
|
const deserializeAws_json1_0UpdateEnvironmentCommand = async (output, context) => {
|
|
@@ -4055,7 +3860,6 @@ const deserializeAws_json1_0UpdateEnvironmentCommandError = async (output, conte
|
|
|
4055
3860
|
...output,
|
|
4056
3861
|
body: await parseBody(output.body, context),
|
|
4057
3862
|
};
|
|
4058
|
-
let response;
|
|
4059
3863
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4060
3864
|
switch (errorCode) {
|
|
4061
3865
|
case "AccessDeniedException":
|
|
@@ -4078,14 +3882,12 @@ const deserializeAws_json1_0UpdateEnvironmentCommandError = async (output, conte
|
|
|
4078
3882
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4079
3883
|
default:
|
|
4080
3884
|
const parsedBody = parsedOutput.body;
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
$metadata,
|
|
3885
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3886
|
+
output,
|
|
3887
|
+
parsedBody,
|
|
3888
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3889
|
+
errorCode,
|
|
4087
3890
|
});
|
|
4088
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4089
3891
|
}
|
|
4090
3892
|
};
|
|
4091
3893
|
const deserializeAws_json1_0UpdateEnvironmentAccountConnectionCommand = async (output, context) => {
|
|
@@ -4107,7 +3909,6 @@ const deserializeAws_json1_0UpdateEnvironmentAccountConnectionCommandError = asy
|
|
|
4107
3909
|
...output,
|
|
4108
3910
|
body: await parseBody(output.body, context),
|
|
4109
3911
|
};
|
|
4110
|
-
let response;
|
|
4111
3912
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4112
3913
|
switch (errorCode) {
|
|
4113
3914
|
case "AccessDeniedException":
|
|
@@ -4130,14 +3931,12 @@ const deserializeAws_json1_0UpdateEnvironmentAccountConnectionCommandError = asy
|
|
|
4130
3931
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4131
3932
|
default:
|
|
4132
3933
|
const parsedBody = parsedOutput.body;
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
$metadata,
|
|
3934
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3935
|
+
output,
|
|
3936
|
+
parsedBody,
|
|
3937
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3938
|
+
errorCode,
|
|
4139
3939
|
});
|
|
4140
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4141
3940
|
}
|
|
4142
3941
|
};
|
|
4143
3942
|
const deserializeAws_json1_0UpdateEnvironmentTemplateCommand = async (output, context) => {
|
|
@@ -4159,7 +3958,6 @@ const deserializeAws_json1_0UpdateEnvironmentTemplateCommandError = async (outpu
|
|
|
4159
3958
|
...output,
|
|
4160
3959
|
body: await parseBody(output.body, context),
|
|
4161
3960
|
};
|
|
4162
|
-
let response;
|
|
4163
3961
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4164
3962
|
switch (errorCode) {
|
|
4165
3963
|
case "AccessDeniedException":
|
|
@@ -4182,14 +3980,12 @@ const deserializeAws_json1_0UpdateEnvironmentTemplateCommandError = async (outpu
|
|
|
4182
3980
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4183
3981
|
default:
|
|
4184
3982
|
const parsedBody = parsedOutput.body;
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
$metadata,
|
|
3983
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3984
|
+
output,
|
|
3985
|
+
parsedBody,
|
|
3986
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
3987
|
+
errorCode,
|
|
4191
3988
|
});
|
|
4192
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4193
3989
|
}
|
|
4194
3990
|
};
|
|
4195
3991
|
const deserializeAws_json1_0UpdateEnvironmentTemplateVersionCommand = async (output, context) => {
|
|
@@ -4211,7 +4007,6 @@ const deserializeAws_json1_0UpdateEnvironmentTemplateVersionCommandError = async
|
|
|
4211
4007
|
...output,
|
|
4212
4008
|
body: await parseBody(output.body, context),
|
|
4213
4009
|
};
|
|
4214
|
-
let response;
|
|
4215
4010
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4216
4011
|
switch (errorCode) {
|
|
4217
4012
|
case "AccessDeniedException":
|
|
@@ -4234,14 +4029,12 @@ const deserializeAws_json1_0UpdateEnvironmentTemplateVersionCommandError = async
|
|
|
4234
4029
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4235
4030
|
default:
|
|
4236
4031
|
const parsedBody = parsedOutput.body;
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
$metadata,
|
|
4032
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4033
|
+
output,
|
|
4034
|
+
parsedBody,
|
|
4035
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
4036
|
+
errorCode,
|
|
4243
4037
|
});
|
|
4244
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4245
4038
|
}
|
|
4246
4039
|
};
|
|
4247
4040
|
const deserializeAws_json1_0UpdateServiceCommand = async (output, context) => {
|
|
@@ -4263,7 +4056,6 @@ const deserializeAws_json1_0UpdateServiceCommandError = async (output, context)
|
|
|
4263
4056
|
...output,
|
|
4264
4057
|
body: await parseBody(output.body, context),
|
|
4265
4058
|
};
|
|
4266
|
-
let response;
|
|
4267
4059
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4268
4060
|
switch (errorCode) {
|
|
4269
4061
|
case "AccessDeniedException":
|
|
@@ -4289,14 +4081,12 @@ const deserializeAws_json1_0UpdateServiceCommandError = async (output, context)
|
|
|
4289
4081
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4290
4082
|
default:
|
|
4291
4083
|
const parsedBody = parsedOutput.body;
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
$metadata,
|
|
4084
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4085
|
+
output,
|
|
4086
|
+
parsedBody,
|
|
4087
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
4088
|
+
errorCode,
|
|
4298
4089
|
});
|
|
4299
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4300
4090
|
}
|
|
4301
4091
|
};
|
|
4302
4092
|
const deserializeAws_json1_0UpdateServiceInstanceCommand = async (output, context) => {
|
|
@@ -4318,7 +4108,6 @@ const deserializeAws_json1_0UpdateServiceInstanceCommandError = async (output, c
|
|
|
4318
4108
|
...output,
|
|
4319
4109
|
body: await parseBody(output.body, context),
|
|
4320
4110
|
};
|
|
4321
|
-
let response;
|
|
4322
4111
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4323
4112
|
switch (errorCode) {
|
|
4324
4113
|
case "AccessDeniedException":
|
|
@@ -4341,14 +4130,12 @@ const deserializeAws_json1_0UpdateServiceInstanceCommandError = async (output, c
|
|
|
4341
4130
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4342
4131
|
default:
|
|
4343
4132
|
const parsedBody = parsedOutput.body;
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
$metadata,
|
|
4133
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4134
|
+
output,
|
|
4135
|
+
parsedBody,
|
|
4136
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
4137
|
+
errorCode,
|
|
4350
4138
|
});
|
|
4351
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4352
4139
|
}
|
|
4353
4140
|
};
|
|
4354
4141
|
const deserializeAws_json1_0UpdateServicePipelineCommand = async (output, context) => {
|
|
@@ -4370,7 +4157,6 @@ const deserializeAws_json1_0UpdateServicePipelineCommandError = async (output, c
|
|
|
4370
4157
|
...output,
|
|
4371
4158
|
body: await parseBody(output.body, context),
|
|
4372
4159
|
};
|
|
4373
|
-
let response;
|
|
4374
4160
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4375
4161
|
switch (errorCode) {
|
|
4376
4162
|
case "AccessDeniedException":
|
|
@@ -4393,14 +4179,12 @@ const deserializeAws_json1_0UpdateServicePipelineCommandError = async (output, c
|
|
|
4393
4179
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4394
4180
|
default:
|
|
4395
4181
|
const parsedBody = parsedOutput.body;
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
$metadata,
|
|
4182
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4183
|
+
output,
|
|
4184
|
+
parsedBody,
|
|
4185
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
4186
|
+
errorCode,
|
|
4402
4187
|
});
|
|
4403
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4404
4188
|
}
|
|
4405
4189
|
};
|
|
4406
4190
|
const deserializeAws_json1_0UpdateServiceTemplateCommand = async (output, context) => {
|
|
@@ -4422,7 +4206,6 @@ const deserializeAws_json1_0UpdateServiceTemplateCommandError = async (output, c
|
|
|
4422
4206
|
...output,
|
|
4423
4207
|
body: await parseBody(output.body, context),
|
|
4424
4208
|
};
|
|
4425
|
-
let response;
|
|
4426
4209
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4427
4210
|
switch (errorCode) {
|
|
4428
4211
|
case "AccessDeniedException":
|
|
@@ -4445,14 +4228,12 @@ const deserializeAws_json1_0UpdateServiceTemplateCommandError = async (output, c
|
|
|
4445
4228
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4446
4229
|
default:
|
|
4447
4230
|
const parsedBody = parsedOutput.body;
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
$metadata,
|
|
4231
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4232
|
+
output,
|
|
4233
|
+
parsedBody,
|
|
4234
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
4235
|
+
errorCode,
|
|
4454
4236
|
});
|
|
4455
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4456
4237
|
}
|
|
4457
4238
|
};
|
|
4458
4239
|
const deserializeAws_json1_0UpdateServiceTemplateVersionCommand = async (output, context) => {
|
|
@@ -4474,7 +4255,6 @@ const deserializeAws_json1_0UpdateServiceTemplateVersionCommandError = async (ou
|
|
|
4474
4255
|
...output,
|
|
4475
4256
|
body: await parseBody(output.body, context),
|
|
4476
4257
|
};
|
|
4477
|
-
let response;
|
|
4478
4258
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4479
4259
|
switch (errorCode) {
|
|
4480
4260
|
case "AccessDeniedException":
|
|
@@ -4497,14 +4277,12 @@ const deserializeAws_json1_0UpdateServiceTemplateVersionCommandError = async (ou
|
|
|
4497
4277
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4498
4278
|
default:
|
|
4499
4279
|
const parsedBody = parsedOutput.body;
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
$metadata,
|
|
4280
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4281
|
+
output,
|
|
4282
|
+
parsedBody,
|
|
4283
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
4284
|
+
errorCode,
|
|
4506
4285
|
});
|
|
4507
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4508
4286
|
}
|
|
4509
4287
|
};
|
|
4510
4288
|
const deserializeAws_json1_0UpdateTemplateSyncConfigCommand = async (output, context) => {
|
|
@@ -4526,7 +4304,6 @@ const deserializeAws_json1_0UpdateTemplateSyncConfigCommandError = async (output
|
|
|
4526
4304
|
...output,
|
|
4527
4305
|
body: await parseBody(output.body, context),
|
|
4528
4306
|
};
|
|
4529
|
-
let response;
|
|
4530
4307
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4531
4308
|
switch (errorCode) {
|
|
4532
4309
|
case "AccessDeniedException":
|
|
@@ -4549,14 +4326,12 @@ const deserializeAws_json1_0UpdateTemplateSyncConfigCommandError = async (output
|
|
|
4549
4326
|
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4550
4327
|
default:
|
|
4551
4328
|
const parsedBody = parsedOutput.body;
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
$metadata,
|
|
4329
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4330
|
+
output,
|
|
4331
|
+
parsedBody,
|
|
4332
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
4333
|
+
errorCode,
|
|
4558
4334
|
});
|
|
4559
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4560
4335
|
}
|
|
4561
4336
|
};
|
|
4562
4337
|
const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -4658,9 +4433,6 @@ const serializeAws_json1_0CompatibleEnvironmentTemplateInputList = (input, conte
|
|
|
4658
4433
|
return input
|
|
4659
4434
|
.filter((e) => e != null)
|
|
4660
4435
|
.map((entry) => {
|
|
4661
|
-
if (entry === null) {
|
|
4662
|
-
return null;
|
|
4663
|
-
}
|
|
4664
4436
|
return serializeAws_json1_0CompatibleEnvironmentTemplateInput(entry, context);
|
|
4665
4437
|
});
|
|
4666
4438
|
};
|
|
@@ -4848,9 +4620,6 @@ const serializeAws_json1_0EnvironmentAccountConnectionStatusList = (input, conte
|
|
|
4848
4620
|
return input
|
|
4849
4621
|
.filter((e) => e != null)
|
|
4850
4622
|
.map((entry) => {
|
|
4851
|
-
if (entry === null) {
|
|
4852
|
-
return null;
|
|
4853
|
-
}
|
|
4854
4623
|
return entry;
|
|
4855
4624
|
});
|
|
4856
4625
|
};
|
|
@@ -4864,9 +4633,6 @@ const serializeAws_json1_0EnvironmentTemplateFilterList = (input, context) => {
|
|
|
4864
4633
|
return input
|
|
4865
4634
|
.filter((e) => e != null)
|
|
4866
4635
|
.map((entry) => {
|
|
4867
|
-
if (entry === null) {
|
|
4868
|
-
return null;
|
|
4869
|
-
}
|
|
4870
4636
|
return serializeAws_json1_0EnvironmentTemplateFilter(entry, context);
|
|
4871
4637
|
});
|
|
4872
4638
|
};
|
|
@@ -5110,9 +4876,6 @@ const serializeAws_json1_0OutputsList = (input, context) => {
|
|
|
5110
4876
|
return input
|
|
5111
4877
|
.filter((e) => e != null)
|
|
5112
4878
|
.map((entry) => {
|
|
5113
|
-
if (entry === null) {
|
|
5114
|
-
return null;
|
|
5115
|
-
}
|
|
5116
4879
|
return serializeAws_json1_0Output(entry, context);
|
|
5117
4880
|
});
|
|
5118
4881
|
};
|
|
@@ -5138,9 +4901,6 @@ const serializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList = (in
|
|
|
5138
4901
|
return input
|
|
5139
4902
|
.filter((e) => e != null)
|
|
5140
4903
|
.map((entry) => {
|
|
5141
|
-
if (entry === null) {
|
|
5142
|
-
return null;
|
|
5143
|
-
}
|
|
5144
4904
|
return entry;
|
|
5145
4905
|
});
|
|
5146
4906
|
};
|
|
@@ -5154,9 +4914,6 @@ const serializeAws_json1_0TagKeyList = (input, context) => {
|
|
|
5154
4914
|
return input
|
|
5155
4915
|
.filter((e) => e != null)
|
|
5156
4916
|
.map((entry) => {
|
|
5157
|
-
if (entry === null) {
|
|
5158
|
-
return null;
|
|
5159
|
-
}
|
|
5160
4917
|
return entry;
|
|
5161
4918
|
});
|
|
5162
4919
|
};
|
|
@@ -5164,9 +4921,6 @@ const serializeAws_json1_0TagList = (input, context) => {
|
|
|
5164
4921
|
return input
|
|
5165
4922
|
.filter((e) => e != null)
|
|
5166
4923
|
.map((entry) => {
|
|
5167
|
-
if (entry === null) {
|
|
5168
|
-
return null;
|
|
5169
|
-
}
|
|
5170
4924
|
return serializeAws_json1_0Tag(entry, context);
|
|
5171
4925
|
});
|
|
5172
4926
|
};
|