@aws-sdk/client-codebuild 3.504.0 → 3.509.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +69 -1093
- package/dist-es/protocols/Aws_json1_1.js +90 -1114
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -894,7 +894,7 @@ var se_UpdateWebhookCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
894
894
|
}, "se_UpdateWebhookCommand");
|
|
895
895
|
var de_BatchDeleteBuildsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
896
896
|
if (output.statusCode >= 300) {
|
|
897
|
-
return
|
|
897
|
+
return de_CommandError(output, context);
|
|
898
898
|
}
|
|
899
899
|
const data = await parseBody(output.body, context);
|
|
900
900
|
let contents = {};
|
|
@@ -905,28 +905,9 @@ var de_BatchDeleteBuildsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
905
905
|
};
|
|
906
906
|
return response;
|
|
907
907
|
}, "de_BatchDeleteBuildsCommand");
|
|
908
|
-
var de_BatchDeleteBuildsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
909
|
-
const parsedOutput = {
|
|
910
|
-
...output,
|
|
911
|
-
body: await parseErrorBody(output.body, context)
|
|
912
|
-
};
|
|
913
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
914
|
-
switch (errorCode) {
|
|
915
|
-
case "InvalidInputException":
|
|
916
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
917
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
918
|
-
default:
|
|
919
|
-
const parsedBody = parsedOutput.body;
|
|
920
|
-
return throwDefaultError({
|
|
921
|
-
output,
|
|
922
|
-
parsedBody,
|
|
923
|
-
errorCode
|
|
924
|
-
});
|
|
925
|
-
}
|
|
926
|
-
}, "de_BatchDeleteBuildsCommandError");
|
|
927
908
|
var de_BatchGetBuildBatchesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
928
909
|
if (output.statusCode >= 300) {
|
|
929
|
-
return
|
|
910
|
+
return de_CommandError(output, context);
|
|
930
911
|
}
|
|
931
912
|
const data = await parseBody(output.body, context);
|
|
932
913
|
let contents = {};
|
|
@@ -937,28 +918,9 @@ var de_BatchGetBuildBatchesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
937
918
|
};
|
|
938
919
|
return response;
|
|
939
920
|
}, "de_BatchGetBuildBatchesCommand");
|
|
940
|
-
var de_BatchGetBuildBatchesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
941
|
-
const parsedOutput = {
|
|
942
|
-
...output,
|
|
943
|
-
body: await parseErrorBody(output.body, context)
|
|
944
|
-
};
|
|
945
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
946
|
-
switch (errorCode) {
|
|
947
|
-
case "InvalidInputException":
|
|
948
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
949
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
950
|
-
default:
|
|
951
|
-
const parsedBody = parsedOutput.body;
|
|
952
|
-
return throwDefaultError({
|
|
953
|
-
output,
|
|
954
|
-
parsedBody,
|
|
955
|
-
errorCode
|
|
956
|
-
});
|
|
957
|
-
}
|
|
958
|
-
}, "de_BatchGetBuildBatchesCommandError");
|
|
959
921
|
var de_BatchGetBuildsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
960
922
|
if (output.statusCode >= 300) {
|
|
961
|
-
return
|
|
923
|
+
return de_CommandError(output, context);
|
|
962
924
|
}
|
|
963
925
|
const data = await parseBody(output.body, context);
|
|
964
926
|
let contents = {};
|
|
@@ -969,28 +931,9 @@ var de_BatchGetBuildsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
969
931
|
};
|
|
970
932
|
return response;
|
|
971
933
|
}, "de_BatchGetBuildsCommand");
|
|
972
|
-
var de_BatchGetBuildsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
973
|
-
const parsedOutput = {
|
|
974
|
-
...output,
|
|
975
|
-
body: await parseErrorBody(output.body, context)
|
|
976
|
-
};
|
|
977
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
978
|
-
switch (errorCode) {
|
|
979
|
-
case "InvalidInputException":
|
|
980
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
981
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
982
|
-
default:
|
|
983
|
-
const parsedBody = parsedOutput.body;
|
|
984
|
-
return throwDefaultError({
|
|
985
|
-
output,
|
|
986
|
-
parsedBody,
|
|
987
|
-
errorCode
|
|
988
|
-
});
|
|
989
|
-
}
|
|
990
|
-
}, "de_BatchGetBuildsCommandError");
|
|
991
934
|
var de_BatchGetFleetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
992
935
|
if (output.statusCode >= 300) {
|
|
993
|
-
return
|
|
936
|
+
return de_CommandError(output, context);
|
|
994
937
|
}
|
|
995
938
|
const data = await parseBody(output.body, context);
|
|
996
939
|
let contents = {};
|
|
@@ -1001,28 +944,9 @@ var de_BatchGetFleetsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1001
944
|
};
|
|
1002
945
|
return response;
|
|
1003
946
|
}, "de_BatchGetFleetsCommand");
|
|
1004
|
-
var de_BatchGetFleetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1005
|
-
const parsedOutput = {
|
|
1006
|
-
...output,
|
|
1007
|
-
body: await parseErrorBody(output.body, context)
|
|
1008
|
-
};
|
|
1009
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1010
|
-
switch (errorCode) {
|
|
1011
|
-
case "InvalidInputException":
|
|
1012
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1013
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1014
|
-
default:
|
|
1015
|
-
const parsedBody = parsedOutput.body;
|
|
1016
|
-
return throwDefaultError({
|
|
1017
|
-
output,
|
|
1018
|
-
parsedBody,
|
|
1019
|
-
errorCode
|
|
1020
|
-
});
|
|
1021
|
-
}
|
|
1022
|
-
}, "de_BatchGetFleetsCommandError");
|
|
1023
947
|
var de_BatchGetProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1024
948
|
if (output.statusCode >= 300) {
|
|
1025
|
-
return
|
|
949
|
+
return de_CommandError(output, context);
|
|
1026
950
|
}
|
|
1027
951
|
const data = await parseBody(output.body, context);
|
|
1028
952
|
let contents = {};
|
|
@@ -1033,28 +957,9 @@ var de_BatchGetProjectsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1033
957
|
};
|
|
1034
958
|
return response;
|
|
1035
959
|
}, "de_BatchGetProjectsCommand");
|
|
1036
|
-
var de_BatchGetProjectsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1037
|
-
const parsedOutput = {
|
|
1038
|
-
...output,
|
|
1039
|
-
body: await parseErrorBody(output.body, context)
|
|
1040
|
-
};
|
|
1041
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1042
|
-
switch (errorCode) {
|
|
1043
|
-
case "InvalidInputException":
|
|
1044
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1045
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1046
|
-
default:
|
|
1047
|
-
const parsedBody = parsedOutput.body;
|
|
1048
|
-
return throwDefaultError({
|
|
1049
|
-
output,
|
|
1050
|
-
parsedBody,
|
|
1051
|
-
errorCode
|
|
1052
|
-
});
|
|
1053
|
-
}
|
|
1054
|
-
}, "de_BatchGetProjectsCommandError");
|
|
1055
960
|
var de_BatchGetReportGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1056
961
|
if (output.statusCode >= 300) {
|
|
1057
|
-
return
|
|
962
|
+
return de_CommandError(output, context);
|
|
1058
963
|
}
|
|
1059
964
|
const data = await parseBody(output.body, context);
|
|
1060
965
|
let contents = {};
|
|
@@ -1065,28 +970,9 @@ var de_BatchGetReportGroupsCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1065
970
|
};
|
|
1066
971
|
return response;
|
|
1067
972
|
}, "de_BatchGetReportGroupsCommand");
|
|
1068
|
-
var de_BatchGetReportGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1069
|
-
const parsedOutput = {
|
|
1070
|
-
...output,
|
|
1071
|
-
body: await parseErrorBody(output.body, context)
|
|
1072
|
-
};
|
|
1073
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1074
|
-
switch (errorCode) {
|
|
1075
|
-
case "InvalidInputException":
|
|
1076
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1077
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1078
|
-
default:
|
|
1079
|
-
const parsedBody = parsedOutput.body;
|
|
1080
|
-
return throwDefaultError({
|
|
1081
|
-
output,
|
|
1082
|
-
parsedBody,
|
|
1083
|
-
errorCode
|
|
1084
|
-
});
|
|
1085
|
-
}
|
|
1086
|
-
}, "de_BatchGetReportGroupsCommandError");
|
|
1087
973
|
var de_BatchGetReportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1088
974
|
if (output.statusCode >= 300) {
|
|
1089
|
-
return
|
|
975
|
+
return de_CommandError(output, context);
|
|
1090
976
|
}
|
|
1091
977
|
const data = await parseBody(output.body, context);
|
|
1092
978
|
let contents = {};
|
|
@@ -1097,28 +983,9 @@ var de_BatchGetReportsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1097
983
|
};
|
|
1098
984
|
return response;
|
|
1099
985
|
}, "de_BatchGetReportsCommand");
|
|
1100
|
-
var de_BatchGetReportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1101
|
-
const parsedOutput = {
|
|
1102
|
-
...output,
|
|
1103
|
-
body: await parseErrorBody(output.body, context)
|
|
1104
|
-
};
|
|
1105
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1106
|
-
switch (errorCode) {
|
|
1107
|
-
case "InvalidInputException":
|
|
1108
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1109
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1110
|
-
default:
|
|
1111
|
-
const parsedBody = parsedOutput.body;
|
|
1112
|
-
return throwDefaultError({
|
|
1113
|
-
output,
|
|
1114
|
-
parsedBody,
|
|
1115
|
-
errorCode
|
|
1116
|
-
});
|
|
1117
|
-
}
|
|
1118
|
-
}, "de_BatchGetReportsCommandError");
|
|
1119
986
|
var de_CreateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1120
987
|
if (output.statusCode >= 300) {
|
|
1121
|
-
return
|
|
988
|
+
return de_CommandError(output, context);
|
|
1122
989
|
}
|
|
1123
990
|
const data = await parseBody(output.body, context);
|
|
1124
991
|
let contents = {};
|
|
@@ -1129,34 +996,9 @@ var de_CreateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1129
996
|
};
|
|
1130
997
|
return response;
|
|
1131
998
|
}, "de_CreateFleetCommand");
|
|
1132
|
-
var de_CreateFleetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1133
|
-
const parsedOutput = {
|
|
1134
|
-
...output,
|
|
1135
|
-
body: await parseErrorBody(output.body, context)
|
|
1136
|
-
};
|
|
1137
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1138
|
-
switch (errorCode) {
|
|
1139
|
-
case "AccountLimitExceededException":
|
|
1140
|
-
case "com.amazonaws.codebuild#AccountLimitExceededException":
|
|
1141
|
-
throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
|
|
1142
|
-
case "InvalidInputException":
|
|
1143
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1144
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1145
|
-
case "ResourceAlreadyExistsException":
|
|
1146
|
-
case "com.amazonaws.codebuild#ResourceAlreadyExistsException":
|
|
1147
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1148
|
-
default:
|
|
1149
|
-
const parsedBody = parsedOutput.body;
|
|
1150
|
-
return throwDefaultError({
|
|
1151
|
-
output,
|
|
1152
|
-
parsedBody,
|
|
1153
|
-
errorCode
|
|
1154
|
-
});
|
|
1155
|
-
}
|
|
1156
|
-
}, "de_CreateFleetCommandError");
|
|
1157
999
|
var de_CreateProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1158
1000
|
if (output.statusCode >= 300) {
|
|
1159
|
-
return
|
|
1001
|
+
return de_CommandError(output, context);
|
|
1160
1002
|
}
|
|
1161
1003
|
const data = await parseBody(output.body, context);
|
|
1162
1004
|
let contents = {};
|
|
@@ -1167,34 +1009,9 @@ var de_CreateProjectCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1167
1009
|
};
|
|
1168
1010
|
return response;
|
|
1169
1011
|
}, "de_CreateProjectCommand");
|
|
1170
|
-
var de_CreateProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1171
|
-
const parsedOutput = {
|
|
1172
|
-
...output,
|
|
1173
|
-
body: await parseErrorBody(output.body, context)
|
|
1174
|
-
};
|
|
1175
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1176
|
-
switch (errorCode) {
|
|
1177
|
-
case "AccountLimitExceededException":
|
|
1178
|
-
case "com.amazonaws.codebuild#AccountLimitExceededException":
|
|
1179
|
-
throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
|
|
1180
|
-
case "InvalidInputException":
|
|
1181
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1182
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1183
|
-
case "ResourceAlreadyExistsException":
|
|
1184
|
-
case "com.amazonaws.codebuild#ResourceAlreadyExistsException":
|
|
1185
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1186
|
-
default:
|
|
1187
|
-
const parsedBody = parsedOutput.body;
|
|
1188
|
-
return throwDefaultError({
|
|
1189
|
-
output,
|
|
1190
|
-
parsedBody,
|
|
1191
|
-
errorCode
|
|
1192
|
-
});
|
|
1193
|
-
}
|
|
1194
|
-
}, "de_CreateProjectCommandError");
|
|
1195
1012
|
var de_CreateReportGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1196
1013
|
if (output.statusCode >= 300) {
|
|
1197
|
-
return
|
|
1014
|
+
return de_CommandError(output, context);
|
|
1198
1015
|
}
|
|
1199
1016
|
const data = await parseBody(output.body, context);
|
|
1200
1017
|
let contents = {};
|
|
@@ -1205,34 +1022,9 @@ var de_CreateReportGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1205
1022
|
};
|
|
1206
1023
|
return response;
|
|
1207
1024
|
}, "de_CreateReportGroupCommand");
|
|
1208
|
-
var de_CreateReportGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1209
|
-
const parsedOutput = {
|
|
1210
|
-
...output,
|
|
1211
|
-
body: await parseErrorBody(output.body, context)
|
|
1212
|
-
};
|
|
1213
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1214
|
-
switch (errorCode) {
|
|
1215
|
-
case "AccountLimitExceededException":
|
|
1216
|
-
case "com.amazonaws.codebuild#AccountLimitExceededException":
|
|
1217
|
-
throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
|
|
1218
|
-
case "InvalidInputException":
|
|
1219
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1220
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1221
|
-
case "ResourceAlreadyExistsException":
|
|
1222
|
-
case "com.amazonaws.codebuild#ResourceAlreadyExistsException":
|
|
1223
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1224
|
-
default:
|
|
1225
|
-
const parsedBody = parsedOutput.body;
|
|
1226
|
-
return throwDefaultError({
|
|
1227
|
-
output,
|
|
1228
|
-
parsedBody,
|
|
1229
|
-
errorCode
|
|
1230
|
-
});
|
|
1231
|
-
}
|
|
1232
|
-
}, "de_CreateReportGroupCommandError");
|
|
1233
1025
|
var de_CreateWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1234
1026
|
if (output.statusCode >= 300) {
|
|
1235
|
-
return
|
|
1027
|
+
return de_CommandError(output, context);
|
|
1236
1028
|
}
|
|
1237
1029
|
const data = await parseBody(output.body, context);
|
|
1238
1030
|
let contents = {};
|
|
@@ -1243,37 +1035,9 @@ var de_CreateWebhookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1243
1035
|
};
|
|
1244
1036
|
return response;
|
|
1245
1037
|
}, "de_CreateWebhookCommand");
|
|
1246
|
-
var de_CreateWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1247
|
-
const parsedOutput = {
|
|
1248
|
-
...output,
|
|
1249
|
-
body: await parseErrorBody(output.body, context)
|
|
1250
|
-
};
|
|
1251
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1252
|
-
switch (errorCode) {
|
|
1253
|
-
case "InvalidInputException":
|
|
1254
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1255
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1256
|
-
case "OAuthProviderException":
|
|
1257
|
-
case "com.amazonaws.codebuild#OAuthProviderException":
|
|
1258
|
-
throw await de_OAuthProviderExceptionRes(parsedOutput, context);
|
|
1259
|
-
case "ResourceAlreadyExistsException":
|
|
1260
|
-
case "com.amazonaws.codebuild#ResourceAlreadyExistsException":
|
|
1261
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1262
|
-
case "ResourceNotFoundException":
|
|
1263
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
1264
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1265
|
-
default:
|
|
1266
|
-
const parsedBody = parsedOutput.body;
|
|
1267
|
-
return throwDefaultError({
|
|
1268
|
-
output,
|
|
1269
|
-
parsedBody,
|
|
1270
|
-
errorCode
|
|
1271
|
-
});
|
|
1272
|
-
}
|
|
1273
|
-
}, "de_CreateWebhookCommandError");
|
|
1274
1038
|
var de_DeleteBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1275
1039
|
if (output.statusCode >= 300) {
|
|
1276
|
-
return
|
|
1040
|
+
return de_CommandError(output, context);
|
|
1277
1041
|
}
|
|
1278
1042
|
const data = await parseBody(output.body, context);
|
|
1279
1043
|
let contents = {};
|
|
@@ -1284,28 +1048,9 @@ var de_DeleteBuildBatchCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1284
1048
|
};
|
|
1285
1049
|
return response;
|
|
1286
1050
|
}, "de_DeleteBuildBatchCommand");
|
|
1287
|
-
var de_DeleteBuildBatchCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1288
|
-
const parsedOutput = {
|
|
1289
|
-
...output,
|
|
1290
|
-
body: await parseErrorBody(output.body, context)
|
|
1291
|
-
};
|
|
1292
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1293
|
-
switch (errorCode) {
|
|
1294
|
-
case "InvalidInputException":
|
|
1295
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1296
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1297
|
-
default:
|
|
1298
|
-
const parsedBody = parsedOutput.body;
|
|
1299
|
-
return throwDefaultError({
|
|
1300
|
-
output,
|
|
1301
|
-
parsedBody,
|
|
1302
|
-
errorCode
|
|
1303
|
-
});
|
|
1304
|
-
}
|
|
1305
|
-
}, "de_DeleteBuildBatchCommandError");
|
|
1306
1051
|
var de_DeleteFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1307
1052
|
if (output.statusCode >= 300) {
|
|
1308
|
-
return
|
|
1053
|
+
return de_CommandError(output, context);
|
|
1309
1054
|
}
|
|
1310
1055
|
const data = await parseBody(output.body, context);
|
|
1311
1056
|
let contents = {};
|
|
@@ -1316,28 +1061,9 @@ var de_DeleteFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1316
1061
|
};
|
|
1317
1062
|
return response;
|
|
1318
1063
|
}, "de_DeleteFleetCommand");
|
|
1319
|
-
var de_DeleteFleetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1320
|
-
const parsedOutput = {
|
|
1321
|
-
...output,
|
|
1322
|
-
body: await parseErrorBody(output.body, context)
|
|
1323
|
-
};
|
|
1324
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1325
|
-
switch (errorCode) {
|
|
1326
|
-
case "InvalidInputException":
|
|
1327
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1328
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1329
|
-
default:
|
|
1330
|
-
const parsedBody = parsedOutput.body;
|
|
1331
|
-
return throwDefaultError({
|
|
1332
|
-
output,
|
|
1333
|
-
parsedBody,
|
|
1334
|
-
errorCode
|
|
1335
|
-
});
|
|
1336
|
-
}
|
|
1337
|
-
}, "de_DeleteFleetCommandError");
|
|
1338
1064
|
var de_DeleteProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1339
1065
|
if (output.statusCode >= 300) {
|
|
1340
|
-
return
|
|
1066
|
+
return de_CommandError(output, context);
|
|
1341
1067
|
}
|
|
1342
1068
|
const data = await parseBody(output.body, context);
|
|
1343
1069
|
let contents = {};
|
|
@@ -1348,28 +1074,9 @@ var de_DeleteProjectCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1348
1074
|
};
|
|
1349
1075
|
return response;
|
|
1350
1076
|
}, "de_DeleteProjectCommand");
|
|
1351
|
-
var de_DeleteProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1352
|
-
const parsedOutput = {
|
|
1353
|
-
...output,
|
|
1354
|
-
body: await parseErrorBody(output.body, context)
|
|
1355
|
-
};
|
|
1356
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1357
|
-
switch (errorCode) {
|
|
1358
|
-
case "InvalidInputException":
|
|
1359
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1360
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1361
|
-
default:
|
|
1362
|
-
const parsedBody = parsedOutput.body;
|
|
1363
|
-
return throwDefaultError({
|
|
1364
|
-
output,
|
|
1365
|
-
parsedBody,
|
|
1366
|
-
errorCode
|
|
1367
|
-
});
|
|
1368
|
-
}
|
|
1369
|
-
}, "de_DeleteProjectCommandError");
|
|
1370
1077
|
var de_DeleteReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1371
1078
|
if (output.statusCode >= 300) {
|
|
1372
|
-
return
|
|
1079
|
+
return de_CommandError(output, context);
|
|
1373
1080
|
}
|
|
1374
1081
|
const data = await parseBody(output.body, context);
|
|
1375
1082
|
let contents = {};
|
|
@@ -1380,28 +1087,9 @@ var de_DeleteReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1380
1087
|
};
|
|
1381
1088
|
return response;
|
|
1382
1089
|
}, "de_DeleteReportCommand");
|
|
1383
|
-
var de_DeleteReportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1384
|
-
const parsedOutput = {
|
|
1385
|
-
...output,
|
|
1386
|
-
body: await parseErrorBody(output.body, context)
|
|
1387
|
-
};
|
|
1388
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1389
|
-
switch (errorCode) {
|
|
1390
|
-
case "InvalidInputException":
|
|
1391
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1392
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1393
|
-
default:
|
|
1394
|
-
const parsedBody = parsedOutput.body;
|
|
1395
|
-
return throwDefaultError({
|
|
1396
|
-
output,
|
|
1397
|
-
parsedBody,
|
|
1398
|
-
errorCode
|
|
1399
|
-
});
|
|
1400
|
-
}
|
|
1401
|
-
}, "de_DeleteReportCommandError");
|
|
1402
1090
|
var de_DeleteReportGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1403
1091
|
if (output.statusCode >= 300) {
|
|
1404
|
-
return
|
|
1092
|
+
return de_CommandError(output, context);
|
|
1405
1093
|
}
|
|
1406
1094
|
const data = await parseBody(output.body, context);
|
|
1407
1095
|
let contents = {};
|
|
@@ -1412,28 +1100,9 @@ var de_DeleteReportGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1412
1100
|
};
|
|
1413
1101
|
return response;
|
|
1414
1102
|
}, "de_DeleteReportGroupCommand");
|
|
1415
|
-
var de_DeleteReportGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1416
|
-
const parsedOutput = {
|
|
1417
|
-
...output,
|
|
1418
|
-
body: await parseErrorBody(output.body, context)
|
|
1419
|
-
};
|
|
1420
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1421
|
-
switch (errorCode) {
|
|
1422
|
-
case "InvalidInputException":
|
|
1423
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1424
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1425
|
-
default:
|
|
1426
|
-
const parsedBody = parsedOutput.body;
|
|
1427
|
-
return throwDefaultError({
|
|
1428
|
-
output,
|
|
1429
|
-
parsedBody,
|
|
1430
|
-
errorCode
|
|
1431
|
-
});
|
|
1432
|
-
}
|
|
1433
|
-
}, "de_DeleteReportGroupCommandError");
|
|
1434
1103
|
var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1435
1104
|
if (output.statusCode >= 300) {
|
|
1436
|
-
return
|
|
1105
|
+
return de_CommandError(output, context);
|
|
1437
1106
|
}
|
|
1438
1107
|
const data = await parseBody(output.body, context);
|
|
1439
1108
|
let contents = {};
|
|
@@ -1444,28 +1113,9 @@ var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1444
1113
|
};
|
|
1445
1114
|
return response;
|
|
1446
1115
|
}, "de_DeleteResourcePolicyCommand");
|
|
1447
|
-
var de_DeleteResourcePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1448
|
-
const parsedOutput = {
|
|
1449
|
-
...output,
|
|
1450
|
-
body: await parseErrorBody(output.body, context)
|
|
1451
|
-
};
|
|
1452
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1453
|
-
switch (errorCode) {
|
|
1454
|
-
case "InvalidInputException":
|
|
1455
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1456
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1457
|
-
default:
|
|
1458
|
-
const parsedBody = parsedOutput.body;
|
|
1459
|
-
return throwDefaultError({
|
|
1460
|
-
output,
|
|
1461
|
-
parsedBody,
|
|
1462
|
-
errorCode
|
|
1463
|
-
});
|
|
1464
|
-
}
|
|
1465
|
-
}, "de_DeleteResourcePolicyCommandError");
|
|
1466
1116
|
var de_DeleteSourceCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1467
1117
|
if (output.statusCode >= 300) {
|
|
1468
|
-
return
|
|
1118
|
+
return de_CommandError(output, context);
|
|
1469
1119
|
}
|
|
1470
1120
|
const data = await parseBody(output.body, context);
|
|
1471
1121
|
let contents = {};
|
|
@@ -1476,31 +1126,9 @@ var de_DeleteSourceCredentialsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1476
1126
|
};
|
|
1477
1127
|
return response;
|
|
1478
1128
|
}, "de_DeleteSourceCredentialsCommand");
|
|
1479
|
-
var de_DeleteSourceCredentialsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1480
|
-
const parsedOutput = {
|
|
1481
|
-
...output,
|
|
1482
|
-
body: await parseErrorBody(output.body, context)
|
|
1483
|
-
};
|
|
1484
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1485
|
-
switch (errorCode) {
|
|
1486
|
-
case "InvalidInputException":
|
|
1487
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1488
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1489
|
-
case "ResourceNotFoundException":
|
|
1490
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
1491
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1492
|
-
default:
|
|
1493
|
-
const parsedBody = parsedOutput.body;
|
|
1494
|
-
return throwDefaultError({
|
|
1495
|
-
output,
|
|
1496
|
-
parsedBody,
|
|
1497
|
-
errorCode
|
|
1498
|
-
});
|
|
1499
|
-
}
|
|
1500
|
-
}, "de_DeleteSourceCredentialsCommandError");
|
|
1501
1129
|
var de_DeleteWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1502
1130
|
if (output.statusCode >= 300) {
|
|
1503
|
-
return
|
|
1131
|
+
return de_CommandError(output, context);
|
|
1504
1132
|
}
|
|
1505
1133
|
const data = await parseBody(output.body, context);
|
|
1506
1134
|
let contents = {};
|
|
@@ -1511,34 +1139,9 @@ var de_DeleteWebhookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1511
1139
|
};
|
|
1512
1140
|
return response;
|
|
1513
1141
|
}, "de_DeleteWebhookCommand");
|
|
1514
|
-
var de_DeleteWebhookCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1515
|
-
const parsedOutput = {
|
|
1516
|
-
...output,
|
|
1517
|
-
body: await parseErrorBody(output.body, context)
|
|
1518
|
-
};
|
|
1519
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1520
|
-
switch (errorCode) {
|
|
1521
|
-
case "InvalidInputException":
|
|
1522
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1523
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1524
|
-
case "OAuthProviderException":
|
|
1525
|
-
case "com.amazonaws.codebuild#OAuthProviderException":
|
|
1526
|
-
throw await de_OAuthProviderExceptionRes(parsedOutput, context);
|
|
1527
|
-
case "ResourceNotFoundException":
|
|
1528
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
1529
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1530
|
-
default:
|
|
1531
|
-
const parsedBody = parsedOutput.body;
|
|
1532
|
-
return throwDefaultError({
|
|
1533
|
-
output,
|
|
1534
|
-
parsedBody,
|
|
1535
|
-
errorCode
|
|
1536
|
-
});
|
|
1537
|
-
}
|
|
1538
|
-
}, "de_DeleteWebhookCommandError");
|
|
1539
1142
|
var de_DescribeCodeCoveragesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1540
1143
|
if (output.statusCode >= 300) {
|
|
1541
|
-
return
|
|
1144
|
+
return de_CommandError(output, context);
|
|
1542
1145
|
}
|
|
1543
1146
|
const data = await parseBody(output.body, context);
|
|
1544
1147
|
let contents = {};
|
|
@@ -1549,28 +1152,9 @@ var de_DescribeCodeCoveragesCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1549
1152
|
};
|
|
1550
1153
|
return response;
|
|
1551
1154
|
}, "de_DescribeCodeCoveragesCommand");
|
|
1552
|
-
var de_DescribeCodeCoveragesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1553
|
-
const parsedOutput = {
|
|
1554
|
-
...output,
|
|
1555
|
-
body: await parseErrorBody(output.body, context)
|
|
1556
|
-
};
|
|
1557
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1558
|
-
switch (errorCode) {
|
|
1559
|
-
case "InvalidInputException":
|
|
1560
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1561
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1562
|
-
default:
|
|
1563
|
-
const parsedBody = parsedOutput.body;
|
|
1564
|
-
return throwDefaultError({
|
|
1565
|
-
output,
|
|
1566
|
-
parsedBody,
|
|
1567
|
-
errorCode
|
|
1568
|
-
});
|
|
1569
|
-
}
|
|
1570
|
-
}, "de_DescribeCodeCoveragesCommandError");
|
|
1571
1155
|
var de_DescribeTestCasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1572
1156
|
if (output.statusCode >= 300) {
|
|
1573
|
-
return
|
|
1157
|
+
return de_CommandError(output, context);
|
|
1574
1158
|
}
|
|
1575
1159
|
const data = await parseBody(output.body, context);
|
|
1576
1160
|
let contents = {};
|
|
@@ -1581,31 +1165,9 @@ var de_DescribeTestCasesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1581
1165
|
};
|
|
1582
1166
|
return response;
|
|
1583
1167
|
}, "de_DescribeTestCasesCommand");
|
|
1584
|
-
var de_DescribeTestCasesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1585
|
-
const parsedOutput = {
|
|
1586
|
-
...output,
|
|
1587
|
-
body: await parseErrorBody(output.body, context)
|
|
1588
|
-
};
|
|
1589
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1590
|
-
switch (errorCode) {
|
|
1591
|
-
case "InvalidInputException":
|
|
1592
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1593
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1594
|
-
case "ResourceNotFoundException":
|
|
1595
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
1596
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1597
|
-
default:
|
|
1598
|
-
const parsedBody = parsedOutput.body;
|
|
1599
|
-
return throwDefaultError({
|
|
1600
|
-
output,
|
|
1601
|
-
parsedBody,
|
|
1602
|
-
errorCode
|
|
1603
|
-
});
|
|
1604
|
-
}
|
|
1605
|
-
}, "de_DescribeTestCasesCommandError");
|
|
1606
1168
|
var de_GetReportGroupTrendCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1607
1169
|
if (output.statusCode >= 300) {
|
|
1608
|
-
return
|
|
1170
|
+
return de_CommandError(output, context);
|
|
1609
1171
|
}
|
|
1610
1172
|
const data = await parseBody(output.body, context);
|
|
1611
1173
|
let contents = {};
|
|
@@ -1616,66 +1178,22 @@ var de_GetReportGroupTrendCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1616
1178
|
};
|
|
1617
1179
|
return response;
|
|
1618
1180
|
}, "de_GetReportGroupTrendCommand");
|
|
1619
|
-
var de_GetReportGroupTrendCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1620
|
-
const parsedOutput = {
|
|
1621
|
-
...output,
|
|
1622
|
-
body: await parseErrorBody(output.body, context)
|
|
1623
|
-
};
|
|
1624
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1625
|
-
switch (errorCode) {
|
|
1626
|
-
case "InvalidInputException":
|
|
1627
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1628
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1629
|
-
case "ResourceNotFoundException":
|
|
1630
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
1631
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1632
|
-
default:
|
|
1633
|
-
const parsedBody = parsedOutput.body;
|
|
1634
|
-
return throwDefaultError({
|
|
1635
|
-
output,
|
|
1636
|
-
parsedBody,
|
|
1637
|
-
errorCode
|
|
1638
|
-
});
|
|
1639
|
-
}
|
|
1640
|
-
}, "de_GetReportGroupTrendCommandError");
|
|
1641
1181
|
var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1642
1182
|
if (output.statusCode >= 300) {
|
|
1643
|
-
return
|
|
1183
|
+
return de_CommandError(output, context);
|
|
1644
1184
|
}
|
|
1645
1185
|
const data = await parseBody(output.body, context);
|
|
1646
1186
|
let contents = {};
|
|
1647
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1648
|
-
const response = {
|
|
1649
|
-
$metadata: deserializeMetadata(output),
|
|
1650
|
-
...contents
|
|
1651
|
-
};
|
|
1652
|
-
return response;
|
|
1653
|
-
}, "de_GetResourcePolicyCommand");
|
|
1654
|
-
var de_GetResourcePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1655
|
-
const parsedOutput = {
|
|
1656
|
-
...output,
|
|
1657
|
-
body: await parseErrorBody(output.body, context)
|
|
1658
|
-
};
|
|
1659
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1660
|
-
switch (errorCode) {
|
|
1661
|
-
case "InvalidInputException":
|
|
1662
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1663
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1664
|
-
case "ResourceNotFoundException":
|
|
1665
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
1666
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1667
|
-
default:
|
|
1668
|
-
const parsedBody = parsedOutput.body;
|
|
1669
|
-
return throwDefaultError({
|
|
1670
|
-
output,
|
|
1671
|
-
parsedBody,
|
|
1672
|
-
errorCode
|
|
1673
|
-
});
|
|
1674
|
-
}
|
|
1675
|
-
}, "de_GetResourcePolicyCommandError");
|
|
1187
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1188
|
+
const response = {
|
|
1189
|
+
$metadata: deserializeMetadata(output),
|
|
1190
|
+
...contents
|
|
1191
|
+
};
|
|
1192
|
+
return response;
|
|
1193
|
+
}, "de_GetResourcePolicyCommand");
|
|
1676
1194
|
var de_ImportSourceCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1677
1195
|
if (output.statusCode >= 300) {
|
|
1678
|
-
return
|
|
1196
|
+
return de_CommandError(output, context);
|
|
1679
1197
|
}
|
|
1680
1198
|
const data = await parseBody(output.body, context);
|
|
1681
1199
|
let contents = {};
|
|
@@ -1686,34 +1204,9 @@ var de_ImportSourceCredentialsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1686
1204
|
};
|
|
1687
1205
|
return response;
|
|
1688
1206
|
}, "de_ImportSourceCredentialsCommand");
|
|
1689
|
-
var de_ImportSourceCredentialsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1690
|
-
const parsedOutput = {
|
|
1691
|
-
...output,
|
|
1692
|
-
body: await parseErrorBody(output.body, context)
|
|
1693
|
-
};
|
|
1694
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1695
|
-
switch (errorCode) {
|
|
1696
|
-
case "AccountLimitExceededException":
|
|
1697
|
-
case "com.amazonaws.codebuild#AccountLimitExceededException":
|
|
1698
|
-
throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
|
|
1699
|
-
case "InvalidInputException":
|
|
1700
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1701
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1702
|
-
case "ResourceAlreadyExistsException":
|
|
1703
|
-
case "com.amazonaws.codebuild#ResourceAlreadyExistsException":
|
|
1704
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1705
|
-
default:
|
|
1706
|
-
const parsedBody = parsedOutput.body;
|
|
1707
|
-
return throwDefaultError({
|
|
1708
|
-
output,
|
|
1709
|
-
parsedBody,
|
|
1710
|
-
errorCode
|
|
1711
|
-
});
|
|
1712
|
-
}
|
|
1713
|
-
}, "de_ImportSourceCredentialsCommandError");
|
|
1714
1207
|
var de_InvalidateProjectCacheCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1715
1208
|
if (output.statusCode >= 300) {
|
|
1716
|
-
return
|
|
1209
|
+
return de_CommandError(output, context);
|
|
1717
1210
|
}
|
|
1718
1211
|
const data = await parseBody(output.body, context);
|
|
1719
1212
|
let contents = {};
|
|
@@ -1724,31 +1217,9 @@ var de_InvalidateProjectCacheCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1724
1217
|
};
|
|
1725
1218
|
return response;
|
|
1726
1219
|
}, "de_InvalidateProjectCacheCommand");
|
|
1727
|
-
var de_InvalidateProjectCacheCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1728
|
-
const parsedOutput = {
|
|
1729
|
-
...output,
|
|
1730
|
-
body: await parseErrorBody(output.body, context)
|
|
1731
|
-
};
|
|
1732
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1733
|
-
switch (errorCode) {
|
|
1734
|
-
case "InvalidInputException":
|
|
1735
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1736
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1737
|
-
case "ResourceNotFoundException":
|
|
1738
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
1739
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1740
|
-
default:
|
|
1741
|
-
const parsedBody = parsedOutput.body;
|
|
1742
|
-
return throwDefaultError({
|
|
1743
|
-
output,
|
|
1744
|
-
parsedBody,
|
|
1745
|
-
errorCode
|
|
1746
|
-
});
|
|
1747
|
-
}
|
|
1748
|
-
}, "de_InvalidateProjectCacheCommandError");
|
|
1749
1220
|
var de_ListBuildBatchesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1750
1221
|
if (output.statusCode >= 300) {
|
|
1751
|
-
return
|
|
1222
|
+
return de_CommandError(output, context);
|
|
1752
1223
|
}
|
|
1753
1224
|
const data = await parseBody(output.body, context);
|
|
1754
1225
|
let contents = {};
|
|
@@ -1759,28 +1230,9 @@ var de_ListBuildBatchesCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1759
1230
|
};
|
|
1760
1231
|
return response;
|
|
1761
1232
|
}, "de_ListBuildBatchesCommand");
|
|
1762
|
-
var de_ListBuildBatchesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1763
|
-
const parsedOutput = {
|
|
1764
|
-
...output,
|
|
1765
|
-
body: await parseErrorBody(output.body, context)
|
|
1766
|
-
};
|
|
1767
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1768
|
-
switch (errorCode) {
|
|
1769
|
-
case "InvalidInputException":
|
|
1770
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1771
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1772
|
-
default:
|
|
1773
|
-
const parsedBody = parsedOutput.body;
|
|
1774
|
-
return throwDefaultError({
|
|
1775
|
-
output,
|
|
1776
|
-
parsedBody,
|
|
1777
|
-
errorCode
|
|
1778
|
-
});
|
|
1779
|
-
}
|
|
1780
|
-
}, "de_ListBuildBatchesCommandError");
|
|
1781
1233
|
var de_ListBuildBatchesForProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1782
1234
|
if (output.statusCode >= 300) {
|
|
1783
|
-
return
|
|
1235
|
+
return de_CommandError(output, context);
|
|
1784
1236
|
}
|
|
1785
1237
|
const data = await parseBody(output.body, context);
|
|
1786
1238
|
let contents = {};
|
|
@@ -1791,31 +1243,9 @@ var de_ListBuildBatchesForProjectCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1791
1243
|
};
|
|
1792
1244
|
return response;
|
|
1793
1245
|
}, "de_ListBuildBatchesForProjectCommand");
|
|
1794
|
-
var de_ListBuildBatchesForProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1795
|
-
const parsedOutput = {
|
|
1796
|
-
...output,
|
|
1797
|
-
body: await parseErrorBody(output.body, context)
|
|
1798
|
-
};
|
|
1799
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1800
|
-
switch (errorCode) {
|
|
1801
|
-
case "InvalidInputException":
|
|
1802
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1803
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1804
|
-
case "ResourceNotFoundException":
|
|
1805
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
1806
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1807
|
-
default:
|
|
1808
|
-
const parsedBody = parsedOutput.body;
|
|
1809
|
-
return throwDefaultError({
|
|
1810
|
-
output,
|
|
1811
|
-
parsedBody,
|
|
1812
|
-
errorCode
|
|
1813
|
-
});
|
|
1814
|
-
}
|
|
1815
|
-
}, "de_ListBuildBatchesForProjectCommandError");
|
|
1816
1246
|
var de_ListBuildsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1817
1247
|
if (output.statusCode >= 300) {
|
|
1818
|
-
return
|
|
1248
|
+
return de_CommandError(output, context);
|
|
1819
1249
|
}
|
|
1820
1250
|
const data = await parseBody(output.body, context);
|
|
1821
1251
|
let contents = {};
|
|
@@ -1826,28 +1256,9 @@ var de_ListBuildsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1826
1256
|
};
|
|
1827
1257
|
return response;
|
|
1828
1258
|
}, "de_ListBuildsCommand");
|
|
1829
|
-
var de_ListBuildsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1830
|
-
const parsedOutput = {
|
|
1831
|
-
...output,
|
|
1832
|
-
body: await parseErrorBody(output.body, context)
|
|
1833
|
-
};
|
|
1834
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1835
|
-
switch (errorCode) {
|
|
1836
|
-
case "InvalidInputException":
|
|
1837
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1838
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1839
|
-
default:
|
|
1840
|
-
const parsedBody = parsedOutput.body;
|
|
1841
|
-
return throwDefaultError({
|
|
1842
|
-
output,
|
|
1843
|
-
parsedBody,
|
|
1844
|
-
errorCode
|
|
1845
|
-
});
|
|
1846
|
-
}
|
|
1847
|
-
}, "de_ListBuildsCommandError");
|
|
1848
1259
|
var de_ListBuildsForProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1849
1260
|
if (output.statusCode >= 300) {
|
|
1850
|
-
return
|
|
1261
|
+
return de_CommandError(output, context);
|
|
1851
1262
|
}
|
|
1852
1263
|
const data = await parseBody(output.body, context);
|
|
1853
1264
|
let contents = {};
|
|
@@ -1858,31 +1269,9 @@ var de_ListBuildsForProjectCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1858
1269
|
};
|
|
1859
1270
|
return response;
|
|
1860
1271
|
}, "de_ListBuildsForProjectCommand");
|
|
1861
|
-
var de_ListBuildsForProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1862
|
-
const parsedOutput = {
|
|
1863
|
-
...output,
|
|
1864
|
-
body: await parseErrorBody(output.body, context)
|
|
1865
|
-
};
|
|
1866
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1867
|
-
switch (errorCode) {
|
|
1868
|
-
case "InvalidInputException":
|
|
1869
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1870
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1871
|
-
case "ResourceNotFoundException":
|
|
1872
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
1873
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1874
|
-
default:
|
|
1875
|
-
const parsedBody = parsedOutput.body;
|
|
1876
|
-
return throwDefaultError({
|
|
1877
|
-
output,
|
|
1878
|
-
parsedBody,
|
|
1879
|
-
errorCode
|
|
1880
|
-
});
|
|
1881
|
-
}
|
|
1882
|
-
}, "de_ListBuildsForProjectCommandError");
|
|
1883
1272
|
var de_ListCuratedEnvironmentImagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1884
1273
|
if (output.statusCode >= 300) {
|
|
1885
|
-
return
|
|
1274
|
+
return de_CommandError(output, context);
|
|
1886
1275
|
}
|
|
1887
1276
|
const data = await parseBody(output.body, context);
|
|
1888
1277
|
let contents = {};
|
|
@@ -1893,22 +1282,9 @@ var de_ListCuratedEnvironmentImagesCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1893
1282
|
};
|
|
1894
1283
|
return response;
|
|
1895
1284
|
}, "de_ListCuratedEnvironmentImagesCommand");
|
|
1896
|
-
var de_ListCuratedEnvironmentImagesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1897
|
-
const parsedOutput = {
|
|
1898
|
-
...output,
|
|
1899
|
-
body: await parseErrorBody(output.body, context)
|
|
1900
|
-
};
|
|
1901
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1902
|
-
const parsedBody = parsedOutput.body;
|
|
1903
|
-
return throwDefaultError({
|
|
1904
|
-
output,
|
|
1905
|
-
parsedBody,
|
|
1906
|
-
errorCode
|
|
1907
|
-
});
|
|
1908
|
-
}, "de_ListCuratedEnvironmentImagesCommandError");
|
|
1909
1285
|
var de_ListFleetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1910
1286
|
if (output.statusCode >= 300) {
|
|
1911
|
-
return
|
|
1287
|
+
return de_CommandError(output, context);
|
|
1912
1288
|
}
|
|
1913
1289
|
const data = await parseBody(output.body, context);
|
|
1914
1290
|
let contents = {};
|
|
@@ -1919,28 +1295,9 @@ var de_ListFleetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1919
1295
|
};
|
|
1920
1296
|
return response;
|
|
1921
1297
|
}, "de_ListFleetsCommand");
|
|
1922
|
-
var de_ListFleetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1923
|
-
const parsedOutput = {
|
|
1924
|
-
...output,
|
|
1925
|
-
body: await parseErrorBody(output.body, context)
|
|
1926
|
-
};
|
|
1927
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1928
|
-
switch (errorCode) {
|
|
1929
|
-
case "InvalidInputException":
|
|
1930
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1931
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1932
|
-
default:
|
|
1933
|
-
const parsedBody = parsedOutput.body;
|
|
1934
|
-
return throwDefaultError({
|
|
1935
|
-
output,
|
|
1936
|
-
parsedBody,
|
|
1937
|
-
errorCode
|
|
1938
|
-
});
|
|
1939
|
-
}
|
|
1940
|
-
}, "de_ListFleetsCommandError");
|
|
1941
1298
|
var de_ListProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1942
1299
|
if (output.statusCode >= 300) {
|
|
1943
|
-
return
|
|
1300
|
+
return de_CommandError(output, context);
|
|
1944
1301
|
}
|
|
1945
1302
|
const data = await parseBody(output.body, context);
|
|
1946
1303
|
let contents = {};
|
|
@@ -1951,28 +1308,9 @@ var de_ListProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1951
1308
|
};
|
|
1952
1309
|
return response;
|
|
1953
1310
|
}, "de_ListProjectsCommand");
|
|
1954
|
-
var de_ListProjectsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1955
|
-
const parsedOutput = {
|
|
1956
|
-
...output,
|
|
1957
|
-
body: await parseErrorBody(output.body, context)
|
|
1958
|
-
};
|
|
1959
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1960
|
-
switch (errorCode) {
|
|
1961
|
-
case "InvalidInputException":
|
|
1962
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1963
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1964
|
-
default:
|
|
1965
|
-
const parsedBody = parsedOutput.body;
|
|
1966
|
-
return throwDefaultError({
|
|
1967
|
-
output,
|
|
1968
|
-
parsedBody,
|
|
1969
|
-
errorCode
|
|
1970
|
-
});
|
|
1971
|
-
}
|
|
1972
|
-
}, "de_ListProjectsCommandError");
|
|
1973
1311
|
var de_ListReportGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1974
1312
|
if (output.statusCode >= 300) {
|
|
1975
|
-
return
|
|
1313
|
+
return de_CommandError(output, context);
|
|
1976
1314
|
}
|
|
1977
1315
|
const data = await parseBody(output.body, context);
|
|
1978
1316
|
let contents = {};
|
|
@@ -1983,28 +1321,9 @@ var de_ListReportGroupsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1983
1321
|
};
|
|
1984
1322
|
return response;
|
|
1985
1323
|
}, "de_ListReportGroupsCommand");
|
|
1986
|
-
var de_ListReportGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1987
|
-
const parsedOutput = {
|
|
1988
|
-
...output,
|
|
1989
|
-
body: await parseErrorBody(output.body, context)
|
|
1990
|
-
};
|
|
1991
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1992
|
-
switch (errorCode) {
|
|
1993
|
-
case "InvalidInputException":
|
|
1994
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
1995
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1996
|
-
default:
|
|
1997
|
-
const parsedBody = parsedOutput.body;
|
|
1998
|
-
return throwDefaultError({
|
|
1999
|
-
output,
|
|
2000
|
-
parsedBody,
|
|
2001
|
-
errorCode
|
|
2002
|
-
});
|
|
2003
|
-
}
|
|
2004
|
-
}, "de_ListReportGroupsCommandError");
|
|
2005
1324
|
var de_ListReportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2006
1325
|
if (output.statusCode >= 300) {
|
|
2007
|
-
return
|
|
1326
|
+
return de_CommandError(output, context);
|
|
2008
1327
|
}
|
|
2009
1328
|
const data = await parseBody(output.body, context);
|
|
2010
1329
|
let contents = {};
|
|
@@ -2015,28 +1334,9 @@ var de_ListReportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2015
1334
|
};
|
|
2016
1335
|
return response;
|
|
2017
1336
|
}, "de_ListReportsCommand");
|
|
2018
|
-
var de_ListReportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2019
|
-
const parsedOutput = {
|
|
2020
|
-
...output,
|
|
2021
|
-
body: await parseErrorBody(output.body, context)
|
|
2022
|
-
};
|
|
2023
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2024
|
-
switch (errorCode) {
|
|
2025
|
-
case "InvalidInputException":
|
|
2026
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2027
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2028
|
-
default:
|
|
2029
|
-
const parsedBody = parsedOutput.body;
|
|
2030
|
-
return throwDefaultError({
|
|
2031
|
-
output,
|
|
2032
|
-
parsedBody,
|
|
2033
|
-
errorCode
|
|
2034
|
-
});
|
|
2035
|
-
}
|
|
2036
|
-
}, "de_ListReportsCommandError");
|
|
2037
1337
|
var de_ListReportsForReportGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2038
1338
|
if (output.statusCode >= 300) {
|
|
2039
|
-
return
|
|
1339
|
+
return de_CommandError(output, context);
|
|
2040
1340
|
}
|
|
2041
1341
|
const data = await parseBody(output.body, context);
|
|
2042
1342
|
let contents = {};
|
|
@@ -2047,31 +1347,9 @@ var de_ListReportsForReportGroupCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2047
1347
|
};
|
|
2048
1348
|
return response;
|
|
2049
1349
|
}, "de_ListReportsForReportGroupCommand");
|
|
2050
|
-
var de_ListReportsForReportGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2051
|
-
const parsedOutput = {
|
|
2052
|
-
...output,
|
|
2053
|
-
body: await parseErrorBody(output.body, context)
|
|
2054
|
-
};
|
|
2055
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2056
|
-
switch (errorCode) {
|
|
2057
|
-
case "InvalidInputException":
|
|
2058
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2059
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2060
|
-
case "ResourceNotFoundException":
|
|
2061
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
2062
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2063
|
-
default:
|
|
2064
|
-
const parsedBody = parsedOutput.body;
|
|
2065
|
-
return throwDefaultError({
|
|
2066
|
-
output,
|
|
2067
|
-
parsedBody,
|
|
2068
|
-
errorCode
|
|
2069
|
-
});
|
|
2070
|
-
}
|
|
2071
|
-
}, "de_ListReportsForReportGroupCommandError");
|
|
2072
1350
|
var de_ListSharedProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2073
1351
|
if (output.statusCode >= 300) {
|
|
2074
|
-
return
|
|
1352
|
+
return de_CommandError(output, context);
|
|
2075
1353
|
}
|
|
2076
1354
|
const data = await parseBody(output.body, context);
|
|
2077
1355
|
let contents = {};
|
|
@@ -2082,60 +1360,22 @@ var de_ListSharedProjectsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2082
1360
|
};
|
|
2083
1361
|
return response;
|
|
2084
1362
|
}, "de_ListSharedProjectsCommand");
|
|
2085
|
-
var de_ListSharedProjectsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2086
|
-
const parsedOutput = {
|
|
2087
|
-
...output,
|
|
2088
|
-
body: await parseErrorBody(output.body, context)
|
|
2089
|
-
};
|
|
2090
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2091
|
-
switch (errorCode) {
|
|
2092
|
-
case "InvalidInputException":
|
|
2093
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2094
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2095
|
-
default:
|
|
2096
|
-
const parsedBody = parsedOutput.body;
|
|
2097
|
-
return throwDefaultError({
|
|
2098
|
-
output,
|
|
2099
|
-
parsedBody,
|
|
2100
|
-
errorCode
|
|
2101
|
-
});
|
|
2102
|
-
}
|
|
2103
|
-
}, "de_ListSharedProjectsCommandError");
|
|
2104
1363
|
var de_ListSharedReportGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2105
1364
|
if (output.statusCode >= 300) {
|
|
2106
|
-
return
|
|
1365
|
+
return de_CommandError(output, context);
|
|
2107
1366
|
}
|
|
2108
1367
|
const data = await parseBody(output.body, context);
|
|
2109
1368
|
let contents = {};
|
|
2110
1369
|
contents = (0, import_smithy_client._json)(data);
|
|
2111
1370
|
const response = {
|
|
2112
1371
|
$metadata: deserializeMetadata(output),
|
|
2113
|
-
...contents
|
|
2114
|
-
};
|
|
2115
|
-
return response;
|
|
2116
|
-
}, "de_ListSharedReportGroupsCommand");
|
|
2117
|
-
var de_ListSharedReportGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2118
|
-
const parsedOutput = {
|
|
2119
|
-
...output,
|
|
2120
|
-
body: await parseErrorBody(output.body, context)
|
|
2121
|
-
};
|
|
2122
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2123
|
-
switch (errorCode) {
|
|
2124
|
-
case "InvalidInputException":
|
|
2125
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2126
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2127
|
-
default:
|
|
2128
|
-
const parsedBody = parsedOutput.body;
|
|
2129
|
-
return throwDefaultError({
|
|
2130
|
-
output,
|
|
2131
|
-
parsedBody,
|
|
2132
|
-
errorCode
|
|
2133
|
-
});
|
|
2134
|
-
}
|
|
2135
|
-
}, "de_ListSharedReportGroupsCommandError");
|
|
1372
|
+
...contents
|
|
1373
|
+
};
|
|
1374
|
+
return response;
|
|
1375
|
+
}, "de_ListSharedReportGroupsCommand");
|
|
2136
1376
|
var de_ListSourceCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2137
1377
|
if (output.statusCode >= 300) {
|
|
2138
|
-
return
|
|
1378
|
+
return de_CommandError(output, context);
|
|
2139
1379
|
}
|
|
2140
1380
|
const data = await parseBody(output.body, context);
|
|
2141
1381
|
let contents = {};
|
|
@@ -2146,28 +1386,9 @@ var de_ListSourceCredentialsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2146
1386
|
};
|
|
2147
1387
|
return response;
|
|
2148
1388
|
}, "de_ListSourceCredentialsCommand");
|
|
2149
|
-
var de_ListSourceCredentialsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2150
|
-
const parsedOutput = {
|
|
2151
|
-
...output,
|
|
2152
|
-
body: await parseErrorBody(output.body, context)
|
|
2153
|
-
};
|
|
2154
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2155
|
-
switch (errorCode) {
|
|
2156
|
-
case "InvalidInputException":
|
|
2157
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2158
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2159
|
-
default:
|
|
2160
|
-
const parsedBody = parsedOutput.body;
|
|
2161
|
-
return throwDefaultError({
|
|
2162
|
-
output,
|
|
2163
|
-
parsedBody,
|
|
2164
|
-
errorCode
|
|
2165
|
-
});
|
|
2166
|
-
}
|
|
2167
|
-
}, "de_ListSourceCredentialsCommandError");
|
|
2168
1389
|
var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2169
1390
|
if (output.statusCode >= 300) {
|
|
2170
|
-
return
|
|
1391
|
+
return de_CommandError(output, context);
|
|
2171
1392
|
}
|
|
2172
1393
|
const data = await parseBody(output.body, context);
|
|
2173
1394
|
let contents = {};
|
|
@@ -2178,31 +1399,9 @@ var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2178
1399
|
};
|
|
2179
1400
|
return response;
|
|
2180
1401
|
}, "de_PutResourcePolicyCommand");
|
|
2181
|
-
var de_PutResourcePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2182
|
-
const parsedOutput = {
|
|
2183
|
-
...output,
|
|
2184
|
-
body: await parseErrorBody(output.body, context)
|
|
2185
|
-
};
|
|
2186
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2187
|
-
switch (errorCode) {
|
|
2188
|
-
case "InvalidInputException":
|
|
2189
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2190
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2191
|
-
case "ResourceNotFoundException":
|
|
2192
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
2193
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2194
|
-
default:
|
|
2195
|
-
const parsedBody = parsedOutput.body;
|
|
2196
|
-
return throwDefaultError({
|
|
2197
|
-
output,
|
|
2198
|
-
parsedBody,
|
|
2199
|
-
errorCode
|
|
2200
|
-
});
|
|
2201
|
-
}
|
|
2202
|
-
}, "de_PutResourcePolicyCommandError");
|
|
2203
1402
|
var de_RetryBuildCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2204
1403
|
if (output.statusCode >= 300) {
|
|
2205
|
-
return
|
|
1404
|
+
return de_CommandError(output, context);
|
|
2206
1405
|
}
|
|
2207
1406
|
const data = await parseBody(output.body, context);
|
|
2208
1407
|
let contents = {};
|
|
@@ -2213,34 +1412,9 @@ var de_RetryBuildCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2213
1412
|
};
|
|
2214
1413
|
return response;
|
|
2215
1414
|
}, "de_RetryBuildCommand");
|
|
2216
|
-
var de_RetryBuildCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2217
|
-
const parsedOutput = {
|
|
2218
|
-
...output,
|
|
2219
|
-
body: await parseErrorBody(output.body, context)
|
|
2220
|
-
};
|
|
2221
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2222
|
-
switch (errorCode) {
|
|
2223
|
-
case "AccountLimitExceededException":
|
|
2224
|
-
case "com.amazonaws.codebuild#AccountLimitExceededException":
|
|
2225
|
-
throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
|
|
2226
|
-
case "InvalidInputException":
|
|
2227
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2228
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2229
|
-
case "ResourceNotFoundException":
|
|
2230
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
2231
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2232
|
-
default:
|
|
2233
|
-
const parsedBody = parsedOutput.body;
|
|
2234
|
-
return throwDefaultError({
|
|
2235
|
-
output,
|
|
2236
|
-
parsedBody,
|
|
2237
|
-
errorCode
|
|
2238
|
-
});
|
|
2239
|
-
}
|
|
2240
|
-
}, "de_RetryBuildCommandError");
|
|
2241
1415
|
var de_RetryBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2242
1416
|
if (output.statusCode >= 300) {
|
|
2243
|
-
return
|
|
1417
|
+
return de_CommandError(output, context);
|
|
2244
1418
|
}
|
|
2245
1419
|
const data = await parseBody(output.body, context);
|
|
2246
1420
|
let contents = {};
|
|
@@ -2251,31 +1425,9 @@ var de_RetryBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2251
1425
|
};
|
|
2252
1426
|
return response;
|
|
2253
1427
|
}, "de_RetryBuildBatchCommand");
|
|
2254
|
-
var de_RetryBuildBatchCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2255
|
-
const parsedOutput = {
|
|
2256
|
-
...output,
|
|
2257
|
-
body: await parseErrorBody(output.body, context)
|
|
2258
|
-
};
|
|
2259
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2260
|
-
switch (errorCode) {
|
|
2261
|
-
case "InvalidInputException":
|
|
2262
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2263
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2264
|
-
case "ResourceNotFoundException":
|
|
2265
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
2266
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2267
|
-
default:
|
|
2268
|
-
const parsedBody = parsedOutput.body;
|
|
2269
|
-
return throwDefaultError({
|
|
2270
|
-
output,
|
|
2271
|
-
parsedBody,
|
|
2272
|
-
errorCode
|
|
2273
|
-
});
|
|
2274
|
-
}
|
|
2275
|
-
}, "de_RetryBuildBatchCommandError");
|
|
2276
1428
|
var de_StartBuildCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2277
1429
|
if (output.statusCode >= 300) {
|
|
2278
|
-
return
|
|
1430
|
+
return de_CommandError(output, context);
|
|
2279
1431
|
}
|
|
2280
1432
|
const data = await parseBody(output.body, context);
|
|
2281
1433
|
let contents = {};
|
|
@@ -2286,34 +1438,9 @@ var de_StartBuildCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2286
1438
|
};
|
|
2287
1439
|
return response;
|
|
2288
1440
|
}, "de_StartBuildCommand");
|
|
2289
|
-
var de_StartBuildCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2290
|
-
const parsedOutput = {
|
|
2291
|
-
...output,
|
|
2292
|
-
body: await parseErrorBody(output.body, context)
|
|
2293
|
-
};
|
|
2294
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2295
|
-
switch (errorCode) {
|
|
2296
|
-
case "AccountLimitExceededException":
|
|
2297
|
-
case "com.amazonaws.codebuild#AccountLimitExceededException":
|
|
2298
|
-
throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
|
|
2299
|
-
case "InvalidInputException":
|
|
2300
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2301
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2302
|
-
case "ResourceNotFoundException":
|
|
2303
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
2304
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2305
|
-
default:
|
|
2306
|
-
const parsedBody = parsedOutput.body;
|
|
2307
|
-
return throwDefaultError({
|
|
2308
|
-
output,
|
|
2309
|
-
parsedBody,
|
|
2310
|
-
errorCode
|
|
2311
|
-
});
|
|
2312
|
-
}
|
|
2313
|
-
}, "de_StartBuildCommandError");
|
|
2314
1441
|
var de_StartBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2315
1442
|
if (output.statusCode >= 300) {
|
|
2316
|
-
return
|
|
1443
|
+
return de_CommandError(output, context);
|
|
2317
1444
|
}
|
|
2318
1445
|
const data = await parseBody(output.body, context);
|
|
2319
1446
|
let contents = {};
|
|
@@ -2324,31 +1451,9 @@ var de_StartBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2324
1451
|
};
|
|
2325
1452
|
return response;
|
|
2326
1453
|
}, "de_StartBuildBatchCommand");
|
|
2327
|
-
var de_StartBuildBatchCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2328
|
-
const parsedOutput = {
|
|
2329
|
-
...output,
|
|
2330
|
-
body: await parseErrorBody(output.body, context)
|
|
2331
|
-
};
|
|
2332
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2333
|
-
switch (errorCode) {
|
|
2334
|
-
case "InvalidInputException":
|
|
2335
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2336
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2337
|
-
case "ResourceNotFoundException":
|
|
2338
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
2339
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2340
|
-
default:
|
|
2341
|
-
const parsedBody = parsedOutput.body;
|
|
2342
|
-
return throwDefaultError({
|
|
2343
|
-
output,
|
|
2344
|
-
parsedBody,
|
|
2345
|
-
errorCode
|
|
2346
|
-
});
|
|
2347
|
-
}
|
|
2348
|
-
}, "de_StartBuildBatchCommandError");
|
|
2349
1454
|
var de_StopBuildCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2350
1455
|
if (output.statusCode >= 300) {
|
|
2351
|
-
return
|
|
1456
|
+
return de_CommandError(output, context);
|
|
2352
1457
|
}
|
|
2353
1458
|
const data = await parseBody(output.body, context);
|
|
2354
1459
|
let contents = {};
|
|
@@ -2359,31 +1464,9 @@ var de_StopBuildCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2359
1464
|
};
|
|
2360
1465
|
return response;
|
|
2361
1466
|
}, "de_StopBuildCommand");
|
|
2362
|
-
var de_StopBuildCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2363
|
-
const parsedOutput = {
|
|
2364
|
-
...output,
|
|
2365
|
-
body: await parseErrorBody(output.body, context)
|
|
2366
|
-
};
|
|
2367
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2368
|
-
switch (errorCode) {
|
|
2369
|
-
case "InvalidInputException":
|
|
2370
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2371
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2372
|
-
case "ResourceNotFoundException":
|
|
2373
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
2374
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2375
|
-
default:
|
|
2376
|
-
const parsedBody = parsedOutput.body;
|
|
2377
|
-
return throwDefaultError({
|
|
2378
|
-
output,
|
|
2379
|
-
parsedBody,
|
|
2380
|
-
errorCode
|
|
2381
|
-
});
|
|
2382
|
-
}
|
|
2383
|
-
}, "de_StopBuildCommandError");
|
|
2384
1467
|
var de_StopBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2385
1468
|
if (output.statusCode >= 300) {
|
|
2386
|
-
return
|
|
1469
|
+
return de_CommandError(output, context);
|
|
2387
1470
|
}
|
|
2388
1471
|
const data = await parseBody(output.body, context);
|
|
2389
1472
|
let contents = {};
|
|
@@ -2394,31 +1477,9 @@ var de_StopBuildBatchCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2394
1477
|
};
|
|
2395
1478
|
return response;
|
|
2396
1479
|
}, "de_StopBuildBatchCommand");
|
|
2397
|
-
var de_StopBuildBatchCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2398
|
-
const parsedOutput = {
|
|
2399
|
-
...output,
|
|
2400
|
-
body: await parseErrorBody(output.body, context)
|
|
2401
|
-
};
|
|
2402
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2403
|
-
switch (errorCode) {
|
|
2404
|
-
case "InvalidInputException":
|
|
2405
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2406
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2407
|
-
case "ResourceNotFoundException":
|
|
2408
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
2409
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2410
|
-
default:
|
|
2411
|
-
const parsedBody = parsedOutput.body;
|
|
2412
|
-
return throwDefaultError({
|
|
2413
|
-
output,
|
|
2414
|
-
parsedBody,
|
|
2415
|
-
errorCode
|
|
2416
|
-
});
|
|
2417
|
-
}
|
|
2418
|
-
}, "de_StopBuildBatchCommandError");
|
|
2419
1480
|
var de_UpdateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2420
1481
|
if (output.statusCode >= 300) {
|
|
2421
|
-
return
|
|
1482
|
+
return de_CommandError(output, context);
|
|
2422
1483
|
}
|
|
2423
1484
|
const data = await parseBody(output.body, context);
|
|
2424
1485
|
let contents = {};
|
|
@@ -2429,34 +1490,9 @@ var de_UpdateFleetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2429
1490
|
};
|
|
2430
1491
|
return response;
|
|
2431
1492
|
}, "de_UpdateFleetCommand");
|
|
2432
|
-
var de_UpdateFleetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2433
|
-
const parsedOutput = {
|
|
2434
|
-
...output,
|
|
2435
|
-
body: await parseErrorBody(output.body, context)
|
|
2436
|
-
};
|
|
2437
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2438
|
-
switch (errorCode) {
|
|
2439
|
-
case "AccountLimitExceededException":
|
|
2440
|
-
case "com.amazonaws.codebuild#AccountLimitExceededException":
|
|
2441
|
-
throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
|
|
2442
|
-
case "InvalidInputException":
|
|
2443
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2444
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2445
|
-
case "ResourceNotFoundException":
|
|
2446
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
2447
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2448
|
-
default:
|
|
2449
|
-
const parsedBody = parsedOutput.body;
|
|
2450
|
-
return throwDefaultError({
|
|
2451
|
-
output,
|
|
2452
|
-
parsedBody,
|
|
2453
|
-
errorCode
|
|
2454
|
-
});
|
|
2455
|
-
}
|
|
2456
|
-
}, "de_UpdateFleetCommandError");
|
|
2457
1493
|
var de_UpdateProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2458
1494
|
if (output.statusCode >= 300) {
|
|
2459
|
-
return
|
|
1495
|
+
return de_CommandError(output, context);
|
|
2460
1496
|
}
|
|
2461
1497
|
const data = await parseBody(output.body, context);
|
|
2462
1498
|
let contents = {};
|
|
@@ -2467,31 +1503,9 @@ var de_UpdateProjectCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2467
1503
|
};
|
|
2468
1504
|
return response;
|
|
2469
1505
|
}, "de_UpdateProjectCommand");
|
|
2470
|
-
var de_UpdateProjectCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2471
|
-
const parsedOutput = {
|
|
2472
|
-
...output,
|
|
2473
|
-
body: await parseErrorBody(output.body, context)
|
|
2474
|
-
};
|
|
2475
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2476
|
-
switch (errorCode) {
|
|
2477
|
-
case "InvalidInputException":
|
|
2478
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2479
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2480
|
-
case "ResourceNotFoundException":
|
|
2481
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
2482
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2483
|
-
default:
|
|
2484
|
-
const parsedBody = parsedOutput.body;
|
|
2485
|
-
return throwDefaultError({
|
|
2486
|
-
output,
|
|
2487
|
-
parsedBody,
|
|
2488
|
-
errorCode
|
|
2489
|
-
});
|
|
2490
|
-
}
|
|
2491
|
-
}, "de_UpdateProjectCommandError");
|
|
2492
1506
|
var de_UpdateProjectVisibilityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2493
1507
|
if (output.statusCode >= 300) {
|
|
2494
|
-
return
|
|
1508
|
+
return de_CommandError(output, context);
|
|
2495
1509
|
}
|
|
2496
1510
|
const data = await parseBody(output.body, context);
|
|
2497
1511
|
let contents = {};
|
|
@@ -2502,31 +1516,9 @@ var de_UpdateProjectVisibilityCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2502
1516
|
};
|
|
2503
1517
|
return response;
|
|
2504
1518
|
}, "de_UpdateProjectVisibilityCommand");
|
|
2505
|
-
var de_UpdateProjectVisibilityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2506
|
-
const parsedOutput = {
|
|
2507
|
-
...output,
|
|
2508
|
-
body: await parseErrorBody(output.body, context)
|
|
2509
|
-
};
|
|
2510
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2511
|
-
switch (errorCode) {
|
|
2512
|
-
case "InvalidInputException":
|
|
2513
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2514
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2515
|
-
case "ResourceNotFoundException":
|
|
2516
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
2517
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2518
|
-
default:
|
|
2519
|
-
const parsedBody = parsedOutput.body;
|
|
2520
|
-
return throwDefaultError({
|
|
2521
|
-
output,
|
|
2522
|
-
parsedBody,
|
|
2523
|
-
errorCode
|
|
2524
|
-
});
|
|
2525
|
-
}
|
|
2526
|
-
}, "de_UpdateProjectVisibilityCommandError");
|
|
2527
1519
|
var de_UpdateReportGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2528
1520
|
if (output.statusCode >= 300) {
|
|
2529
|
-
return
|
|
1521
|
+
return de_CommandError(output, context);
|
|
2530
1522
|
}
|
|
2531
1523
|
const data = await parseBody(output.body, context);
|
|
2532
1524
|
let contents = {};
|
|
@@ -2537,31 +1529,9 @@ var de_UpdateReportGroupCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2537
1529
|
};
|
|
2538
1530
|
return response;
|
|
2539
1531
|
}, "de_UpdateReportGroupCommand");
|
|
2540
|
-
var de_UpdateReportGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2541
|
-
const parsedOutput = {
|
|
2542
|
-
...output,
|
|
2543
|
-
body: await parseErrorBody(output.body, context)
|
|
2544
|
-
};
|
|
2545
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2546
|
-
switch (errorCode) {
|
|
2547
|
-
case "InvalidInputException":
|
|
2548
|
-
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2549
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
2550
|
-
case "ResourceNotFoundException":
|
|
2551
|
-
case "com.amazonaws.codebuild#ResourceNotFoundException":
|
|
2552
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2553
|
-
default:
|
|
2554
|
-
const parsedBody = parsedOutput.body;
|
|
2555
|
-
return throwDefaultError({
|
|
2556
|
-
output,
|
|
2557
|
-
parsedBody,
|
|
2558
|
-
errorCode
|
|
2559
|
-
});
|
|
2560
|
-
}
|
|
2561
|
-
}, "de_UpdateReportGroupCommandError");
|
|
2562
1532
|
var de_UpdateWebhookCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2563
1533
|
if (output.statusCode >= 300) {
|
|
2564
|
-
return
|
|
1534
|
+
return de_CommandError(output, context);
|
|
2565
1535
|
}
|
|
2566
1536
|
const data = await parseBody(output.body, context);
|
|
2567
1537
|
let contents = {};
|
|
@@ -2572,7 +1542,7 @@ var de_UpdateWebhookCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2572
1542
|
};
|
|
2573
1543
|
return response;
|
|
2574
1544
|
}, "de_UpdateWebhookCommand");
|
|
2575
|
-
var
|
|
1545
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2576
1546
|
const parsedOutput = {
|
|
2577
1547
|
...output,
|
|
2578
1548
|
body: await parseErrorBody(output.body, context)
|
|
@@ -2582,6 +1552,12 @@ var de_UpdateWebhookCommandError = /* @__PURE__ */ __name(async (output, context
|
|
|
2582
1552
|
case "InvalidInputException":
|
|
2583
1553
|
case "com.amazonaws.codebuild#InvalidInputException":
|
|
2584
1554
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1555
|
+
case "AccountLimitExceededException":
|
|
1556
|
+
case "com.amazonaws.codebuild#AccountLimitExceededException":
|
|
1557
|
+
throw await de_AccountLimitExceededExceptionRes(parsedOutput, context);
|
|
1558
|
+
case "ResourceAlreadyExistsException":
|
|
1559
|
+
case "com.amazonaws.codebuild#ResourceAlreadyExistsException":
|
|
1560
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
2585
1561
|
case "OAuthProviderException":
|
|
2586
1562
|
case "com.amazonaws.codebuild#OAuthProviderException":
|
|
2587
1563
|
throw await de_OAuthProviderExceptionRes(parsedOutput, context);
|
|
@@ -2596,7 +1572,7 @@ var de_UpdateWebhookCommandError = /* @__PURE__ */ __name(async (output, context
|
|
|
2596
1572
|
errorCode
|
|
2597
1573
|
});
|
|
2598
1574
|
}
|
|
2599
|
-
}, "
|
|
1575
|
+
}, "de_CommandError");
|
|
2600
1576
|
var de_AccountLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2601
1577
|
const body = parsedOutput.body;
|
|
2602
1578
|
const deserialized = (0, import_smithy_client._json)(body);
|