@aws-sdk/client-codecommit 3.131.0 → 3.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +1 -1
- package/dist-cjs/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +2 -2
- package/dist-cjs/commands/BatchDescribeMergeConflictsCommand.js +2 -2
- package/dist-cjs/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +2 -2
- package/dist-cjs/commands/BatchGetCommitsCommand.js +2 -2
- package/dist-cjs/commands/BatchGetRepositoriesCommand.js +2 -2
- package/dist-cjs/commands/CreateApprovalRuleTemplateCommand.js +2 -2
- package/dist-cjs/commands/CreateBranchCommand.js +1 -1
- package/dist-cjs/commands/CreateCommitCommand.js +2 -2
- package/dist-cjs/commands/CreatePullRequestApprovalRuleCommand.js +2 -2
- package/dist-cjs/commands/CreatePullRequestCommand.js +2 -2
- package/dist-cjs/commands/CreateRepositoryCommand.js +2 -2
- package/dist-cjs/commands/CreateUnreferencedMergeCommitCommand.js +2 -2
- package/dist-cjs/commands/DeleteApprovalRuleTemplateCommand.js +2 -2
- package/dist-cjs/commands/DeleteBranchCommand.js +2 -2
- package/dist-cjs/commands/DeleteCommentContentCommand.js +2 -2
- package/dist-cjs/commands/DeleteFileCommand.js +2 -2
- package/dist-cjs/commands/DeletePullRequestApprovalRuleCommand.js +2 -2
- package/dist-cjs/commands/DeleteRepositoryCommand.js +2 -2
- package/dist-cjs/commands/DescribeMergeConflictsCommand.js +2 -2
- package/dist-cjs/commands/DescribePullRequestEventsCommand.js +2 -2
- package/dist-cjs/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +1 -1
- package/dist-cjs/commands/EvaluatePullRequestApprovalRulesCommand.js +2 -2
- package/dist-cjs/commands/GetApprovalRuleTemplateCommand.js +2 -2
- package/dist-cjs/commands/GetBlobCommand.js +2 -2
- package/dist-cjs/commands/GetBranchCommand.js +2 -2
- package/dist-cjs/commands/GetCommentCommand.js +2 -2
- package/dist-cjs/commands/GetCommentReactionsCommand.js +2 -2
- package/dist-cjs/commands/GetCommentsForComparedCommitCommand.js +2 -2
- package/dist-cjs/commands/GetCommentsForPullRequestCommand.js +2 -2
- package/dist-cjs/commands/GetCommitCommand.js +2 -2
- package/dist-cjs/commands/GetDifferencesCommand.js +2 -2
- package/dist-cjs/commands/GetFileCommand.js +2 -2
- package/dist-cjs/commands/GetFolderCommand.js +2 -2
- package/dist-cjs/commands/GetMergeCommitCommand.js +2 -2
- package/dist-cjs/commands/GetMergeConflictsCommand.js +2 -2
- package/dist-cjs/commands/GetMergeOptionsCommand.js +2 -2
- package/dist-cjs/commands/GetPullRequestApprovalStatesCommand.js +2 -2
- package/dist-cjs/commands/GetPullRequestCommand.js +2 -2
- package/dist-cjs/commands/GetPullRequestOverrideStateCommand.js +2 -2
- package/dist-cjs/commands/GetRepositoryCommand.js +2 -2
- package/dist-cjs/commands/GetRepositoryTriggersCommand.js +2 -2
- package/dist-cjs/commands/ListApprovalRuleTemplatesCommand.js +2 -2
- package/dist-cjs/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +2 -2
- package/dist-cjs/commands/ListBranchesCommand.js +2 -2
- package/dist-cjs/commands/ListPullRequestsCommand.js +2 -2
- package/dist-cjs/commands/ListRepositoriesCommand.js +2 -2
- package/dist-cjs/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/MergeBranchesByFastForwardCommand.js +2 -2
- package/dist-cjs/commands/MergeBranchesBySquashCommand.js +2 -2
- package/dist-cjs/commands/MergeBranchesByThreeWayCommand.js +2 -2
- package/dist-cjs/commands/MergePullRequestByFastForwardCommand.js +2 -2
- package/dist-cjs/commands/MergePullRequestBySquashCommand.js +2 -2
- package/dist-cjs/commands/MergePullRequestByThreeWayCommand.js +2 -2
- package/dist-cjs/commands/OverridePullRequestApprovalRulesCommand.js +1 -1
- package/dist-cjs/commands/PostCommentForComparedCommitCommand.js +2 -2
- package/dist-cjs/commands/PostCommentForPullRequestCommand.js +2 -2
- package/dist-cjs/commands/PostCommentReplyCommand.js +2 -2
- package/dist-cjs/commands/PutCommentReactionCommand.js +1 -1
- package/dist-cjs/commands/PutFileCommand.js +2 -2
- package/dist-cjs/commands/PutRepositoryTriggersCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +1 -1
- package/dist-cjs/commands/TestRepositoryTriggersCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +1 -1
- package/dist-cjs/commands/UpdateApprovalRuleTemplateContentCommand.js +2 -2
- package/dist-cjs/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +2 -2
- package/dist-cjs/commands/UpdateApprovalRuleTemplateNameCommand.js +2 -2
- package/dist-cjs/commands/UpdateCommentCommand.js +2 -2
- package/dist-cjs/commands/UpdateDefaultBranchCommand.js +1 -1
- package/dist-cjs/commands/UpdatePullRequestApprovalRuleContentCommand.js +2 -2
- package/dist-cjs/commands/UpdatePullRequestApprovalStateCommand.js +1 -1
- package/dist-cjs/commands/UpdatePullRequestDescriptionCommand.js +2 -2
- package/dist-cjs/commands/UpdatePullRequestStatusCommand.js +2 -2
- package/dist-cjs/commands/UpdatePullRequestTitleCommand.js +2 -2
- package/dist-cjs/commands/UpdateRepositoryDescriptionCommand.js +1 -1
- package/dist-cjs/commands/UpdateRepositoryNameCommand.js +1 -1
- package/dist-cjs/models/models_0.js +578 -864
- package/dist-cjs/models/models_1.js +226 -338
- package/dist-cjs/protocols/Aws_json1_1.js +385 -652
- package/dist-es/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.js +2 -2
- package/dist-es/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.js +3 -3
- package/dist-es/commands/BatchDescribeMergeConflictsCommand.js +3 -3
- package/dist-es/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.js +3 -3
- package/dist-es/commands/BatchGetCommitsCommand.js +3 -3
- package/dist-es/commands/BatchGetRepositoriesCommand.js +3 -3
- package/dist-es/commands/CreateApprovalRuleTemplateCommand.js +3 -3
- package/dist-es/commands/CreateBranchCommand.js +2 -2
- package/dist-es/commands/CreateCommitCommand.js +3 -3
- package/dist-es/commands/CreatePullRequestApprovalRuleCommand.js +3 -3
- package/dist-es/commands/CreatePullRequestCommand.js +3 -3
- package/dist-es/commands/CreateRepositoryCommand.js +3 -3
- package/dist-es/commands/CreateUnreferencedMergeCommitCommand.js +3 -3
- package/dist-es/commands/DeleteApprovalRuleTemplateCommand.js +3 -3
- package/dist-es/commands/DeleteBranchCommand.js +3 -3
- package/dist-es/commands/DeleteCommentContentCommand.js +3 -3
- package/dist-es/commands/DeleteFileCommand.js +3 -3
- package/dist-es/commands/DeletePullRequestApprovalRuleCommand.js +3 -3
- package/dist-es/commands/DeleteRepositoryCommand.js +3 -3
- package/dist-es/commands/DescribeMergeConflictsCommand.js +3 -3
- package/dist-es/commands/DescribePullRequestEventsCommand.js +3 -3
- package/dist-es/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.js +2 -2
- package/dist-es/commands/EvaluatePullRequestApprovalRulesCommand.js +3 -3
- package/dist-es/commands/GetApprovalRuleTemplateCommand.js +3 -3
- package/dist-es/commands/GetBlobCommand.js +3 -3
- package/dist-es/commands/GetBranchCommand.js +3 -3
- package/dist-es/commands/GetCommentCommand.js +3 -3
- package/dist-es/commands/GetCommentReactionsCommand.js +3 -3
- package/dist-es/commands/GetCommentsForComparedCommitCommand.js +3 -3
- package/dist-es/commands/GetCommentsForPullRequestCommand.js +3 -3
- package/dist-es/commands/GetCommitCommand.js +3 -3
- package/dist-es/commands/GetDifferencesCommand.js +3 -3
- package/dist-es/commands/GetFileCommand.js +3 -3
- package/dist-es/commands/GetFolderCommand.js +3 -3
- package/dist-es/commands/GetMergeCommitCommand.js +3 -3
- package/dist-es/commands/GetMergeConflictsCommand.js +3 -3
- package/dist-es/commands/GetMergeOptionsCommand.js +3 -3
- package/dist-es/commands/GetPullRequestApprovalStatesCommand.js +3 -3
- package/dist-es/commands/GetPullRequestCommand.js +3 -3
- package/dist-es/commands/GetPullRequestOverrideStateCommand.js +3 -3
- package/dist-es/commands/GetRepositoryCommand.js +3 -3
- package/dist-es/commands/GetRepositoryTriggersCommand.js +3 -3
- package/dist-es/commands/ListApprovalRuleTemplatesCommand.js +3 -3
- package/dist-es/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.js +3 -3
- package/dist-es/commands/ListBranchesCommand.js +3 -3
- package/dist-es/commands/ListPullRequestsCommand.js +3 -3
- package/dist-es/commands/ListRepositoriesCommand.js +3 -3
- package/dist-es/commands/ListRepositoriesForApprovalRuleTemplateCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/MergeBranchesByFastForwardCommand.js +3 -3
- package/dist-es/commands/MergeBranchesBySquashCommand.js +3 -3
- package/dist-es/commands/MergeBranchesByThreeWayCommand.js +3 -3
- package/dist-es/commands/MergePullRequestByFastForwardCommand.js +3 -3
- package/dist-es/commands/MergePullRequestBySquashCommand.js +3 -3
- package/dist-es/commands/MergePullRequestByThreeWayCommand.js +3 -3
- package/dist-es/commands/OverridePullRequestApprovalRulesCommand.js +2 -2
- package/dist-es/commands/PostCommentForComparedCommitCommand.js +3 -3
- package/dist-es/commands/PostCommentForPullRequestCommand.js +3 -3
- package/dist-es/commands/PostCommentReplyCommand.js +3 -3
- package/dist-es/commands/PutCommentReactionCommand.js +2 -2
- package/dist-es/commands/PutFileCommand.js +3 -3
- package/dist-es/commands/PutRepositoryTriggersCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TestRepositoryTriggersCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateApprovalRuleTemplateContentCommand.js +3 -3
- package/dist-es/commands/UpdateApprovalRuleTemplateDescriptionCommand.js +3 -3
- package/dist-es/commands/UpdateApprovalRuleTemplateNameCommand.js +3 -3
- package/dist-es/commands/UpdateCommentCommand.js +3 -3
- package/dist-es/commands/UpdateDefaultBranchCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestApprovalRuleContentCommand.js +3 -3
- package/dist-es/commands/UpdatePullRequestApprovalStateCommand.js +2 -2
- package/dist-es/commands/UpdatePullRequestDescriptionCommand.js +3 -3
- package/dist-es/commands/UpdatePullRequestStatusCommand.js +3 -3
- package/dist-es/commands/UpdatePullRequestTitleCommand.js +3 -3
- package/dist-es/commands/UpdateRepositoryDescriptionCommand.js +2 -2
- package/dist-es/commands/UpdateRepositoryNameCommand.js +2 -2
- package/dist-es/models/models_0.js +143 -572
- package/dist-es/models/models_1.js +56 -224
- package/dist-es/protocols/Aws_json1_1.js +617 -653
- package/dist-types/models/models_0.d.ts +572 -858
- package/dist-types/models/models_1.d.ts +224 -336
- package/dist-types/ts3.4/models/models_0.d.ts +286 -572
- package/dist-types/ts3.4/models/models_1.d.ts +112 -224
- package/package.json +6 -6
|
@@ -796,7 +796,6 @@ const deserializeAws_json1_1AssociateApprovalRuleTemplateWithRepositoryCommandEr
|
|
|
796
796
|
...output,
|
|
797
797
|
body: await parseBody(output.body, context),
|
|
798
798
|
};
|
|
799
|
-
let response;
|
|
800
799
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
801
800
|
switch (errorCode) {
|
|
802
801
|
case "ApprovalRuleTemplateDoesNotExistException":
|
|
@@ -837,14 +836,12 @@ const deserializeAws_json1_1AssociateApprovalRuleTemplateWithRepositoryCommandEr
|
|
|
837
836
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
838
837
|
default:
|
|
839
838
|
const parsedBody = parsedOutput.body;
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
$metadata,
|
|
839
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
840
|
+
output,
|
|
841
|
+
parsedBody,
|
|
842
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
843
|
+
errorCode,
|
|
846
844
|
});
|
|
847
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
848
845
|
}
|
|
849
846
|
};
|
|
850
847
|
const deserializeAws_json1_1BatchAssociateApprovalRuleTemplateWithRepositoriesCommand = async (output, context) => {
|
|
@@ -866,7 +863,6 @@ const deserializeAws_json1_1BatchAssociateApprovalRuleTemplateWithRepositoriesCo
|
|
|
866
863
|
...output,
|
|
867
864
|
body: await parseBody(output.body, context),
|
|
868
865
|
};
|
|
869
|
-
let response;
|
|
870
866
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
871
867
|
switch (errorCode) {
|
|
872
868
|
case "ApprovalRuleTemplateDoesNotExistException":
|
|
@@ -901,14 +897,12 @@ const deserializeAws_json1_1BatchAssociateApprovalRuleTemplateWithRepositoriesCo
|
|
|
901
897
|
throw await deserializeAws_json1_1RepositoryNamesRequiredExceptionResponse(parsedOutput, context);
|
|
902
898
|
default:
|
|
903
899
|
const parsedBody = parsedOutput.body;
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
$metadata,
|
|
900
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
901
|
+
output,
|
|
902
|
+
parsedBody,
|
|
903
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
904
|
+
errorCode,
|
|
910
905
|
});
|
|
911
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
912
906
|
}
|
|
913
907
|
};
|
|
914
908
|
const deserializeAws_json1_1BatchDescribeMergeConflictsCommand = async (output, context) => {
|
|
@@ -930,7 +924,6 @@ const deserializeAws_json1_1BatchDescribeMergeConflictsCommandError = async (out
|
|
|
930
924
|
...output,
|
|
931
925
|
body: await parseBody(output.body, context),
|
|
932
926
|
};
|
|
933
|
-
let response;
|
|
934
927
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
935
928
|
switch (errorCode) {
|
|
936
929
|
case "CommitDoesNotExistException":
|
|
@@ -998,14 +991,12 @@ const deserializeAws_json1_1BatchDescribeMergeConflictsCommandError = async (out
|
|
|
998
991
|
throw await deserializeAws_json1_1TipsDivergenceExceededExceptionResponse(parsedOutput, context);
|
|
999
992
|
default:
|
|
1000
993
|
const parsedBody = parsedOutput.body;
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
$metadata,
|
|
994
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
995
|
+
output,
|
|
996
|
+
parsedBody,
|
|
997
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
998
|
+
errorCode,
|
|
1007
999
|
});
|
|
1008
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1009
1000
|
}
|
|
1010
1001
|
};
|
|
1011
1002
|
const deserializeAws_json1_1BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand = async (output, context) => {
|
|
@@ -1027,7 +1018,6 @@ const deserializeAws_json1_1BatchDisassociateApprovalRuleTemplateFromRepositorie
|
|
|
1027
1018
|
...output,
|
|
1028
1019
|
body: await parseBody(output.body, context),
|
|
1029
1020
|
};
|
|
1030
|
-
let response;
|
|
1031
1021
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1032
1022
|
switch (errorCode) {
|
|
1033
1023
|
case "ApprovalRuleTemplateDoesNotExistException":
|
|
@@ -1062,14 +1052,12 @@ const deserializeAws_json1_1BatchDisassociateApprovalRuleTemplateFromRepositorie
|
|
|
1062
1052
|
throw await deserializeAws_json1_1RepositoryNamesRequiredExceptionResponse(parsedOutput, context);
|
|
1063
1053
|
default:
|
|
1064
1054
|
const parsedBody = parsedOutput.body;
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
$metadata,
|
|
1055
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1056
|
+
output,
|
|
1057
|
+
parsedBody,
|
|
1058
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1059
|
+
errorCode,
|
|
1071
1060
|
});
|
|
1072
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1073
1061
|
}
|
|
1074
1062
|
};
|
|
1075
1063
|
const deserializeAws_json1_1BatchGetCommitsCommand = async (output, context) => {
|
|
@@ -1091,7 +1079,6 @@ const deserializeAws_json1_1BatchGetCommitsCommandError = async (output, context
|
|
|
1091
1079
|
...output,
|
|
1092
1080
|
body: await parseBody(output.body, context),
|
|
1093
1081
|
};
|
|
1094
|
-
let response;
|
|
1095
1082
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1096
1083
|
switch (errorCode) {
|
|
1097
1084
|
case "CommitIdsLimitExceededException":
|
|
@@ -1126,14 +1113,12 @@ const deserializeAws_json1_1BatchGetCommitsCommandError = async (output, context
|
|
|
1126
1113
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
1127
1114
|
default:
|
|
1128
1115
|
const parsedBody = parsedOutput.body;
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
$metadata,
|
|
1116
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1117
|
+
output,
|
|
1118
|
+
parsedBody,
|
|
1119
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1120
|
+
errorCode,
|
|
1135
1121
|
});
|
|
1136
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1137
1122
|
}
|
|
1138
1123
|
};
|
|
1139
1124
|
const deserializeAws_json1_1BatchGetRepositoriesCommand = async (output, context) => {
|
|
@@ -1155,7 +1140,6 @@ const deserializeAws_json1_1BatchGetRepositoriesCommandError = async (output, co
|
|
|
1155
1140
|
...output,
|
|
1156
1141
|
body: await parseBody(output.body, context),
|
|
1157
1142
|
};
|
|
1158
|
-
let response;
|
|
1159
1143
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1160
1144
|
switch (errorCode) {
|
|
1161
1145
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -1184,14 +1168,12 @@ const deserializeAws_json1_1BatchGetRepositoriesCommandError = async (output, co
|
|
|
1184
1168
|
throw await deserializeAws_json1_1RepositoryNamesRequiredExceptionResponse(parsedOutput, context);
|
|
1185
1169
|
default:
|
|
1186
1170
|
const parsedBody = parsedOutput.body;
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
$metadata,
|
|
1171
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1172
|
+
output,
|
|
1173
|
+
parsedBody,
|
|
1174
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1175
|
+
errorCode,
|
|
1193
1176
|
});
|
|
1194
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1195
1177
|
}
|
|
1196
1178
|
};
|
|
1197
1179
|
const deserializeAws_json1_1CreateApprovalRuleTemplateCommand = async (output, context) => {
|
|
@@ -1213,7 +1195,6 @@ const deserializeAws_json1_1CreateApprovalRuleTemplateCommandError = async (outp
|
|
|
1213
1195
|
...output,
|
|
1214
1196
|
body: await parseBody(output.body, context),
|
|
1215
1197
|
};
|
|
1216
|
-
let response;
|
|
1217
1198
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1218
1199
|
switch (errorCode) {
|
|
1219
1200
|
case "ApprovalRuleTemplateContentRequiredException":
|
|
@@ -1239,14 +1220,12 @@ const deserializeAws_json1_1CreateApprovalRuleTemplateCommandError = async (outp
|
|
|
1239
1220
|
throw await deserializeAws_json1_1NumberOfRuleTemplatesExceededExceptionResponse(parsedOutput, context);
|
|
1240
1221
|
default:
|
|
1241
1222
|
const parsedBody = parsedOutput.body;
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
$metadata,
|
|
1223
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1224
|
+
output,
|
|
1225
|
+
parsedBody,
|
|
1226
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1227
|
+
errorCode,
|
|
1248
1228
|
});
|
|
1249
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1250
1229
|
}
|
|
1251
1230
|
};
|
|
1252
1231
|
const deserializeAws_json1_1CreateBranchCommand = async (output, context) => {
|
|
@@ -1265,7 +1244,6 @@ const deserializeAws_json1_1CreateBranchCommandError = async (output, context) =
|
|
|
1265
1244
|
...output,
|
|
1266
1245
|
body: await parseBody(output.body, context),
|
|
1267
1246
|
};
|
|
1268
|
-
let response;
|
|
1269
1247
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1270
1248
|
switch (errorCode) {
|
|
1271
1249
|
case "BranchNameExistsException":
|
|
@@ -1312,14 +1290,12 @@ const deserializeAws_json1_1CreateBranchCommandError = async (output, context) =
|
|
|
1312
1290
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
1313
1291
|
default:
|
|
1314
1292
|
const parsedBody = parsedOutput.body;
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
$metadata,
|
|
1293
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1294
|
+
output,
|
|
1295
|
+
parsedBody,
|
|
1296
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1297
|
+
errorCode,
|
|
1321
1298
|
});
|
|
1322
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1323
1299
|
}
|
|
1324
1300
|
};
|
|
1325
1301
|
const deserializeAws_json1_1CreateCommitCommand = async (output, context) => {
|
|
@@ -1341,7 +1317,6 @@ const deserializeAws_json1_1CreateCommitCommandError = async (output, context) =
|
|
|
1341
1317
|
...output,
|
|
1342
1318
|
body: await parseBody(output.body, context),
|
|
1343
1319
|
};
|
|
1344
|
-
let response;
|
|
1345
1320
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1346
1321
|
switch (errorCode) {
|
|
1347
1322
|
case "BranchDoesNotExistException":
|
|
@@ -1460,14 +1435,12 @@ const deserializeAws_json1_1CreateCommitCommandError = async (output, context) =
|
|
|
1460
1435
|
throw await deserializeAws_json1_1SourceFileOrContentRequiredExceptionResponse(parsedOutput, context);
|
|
1461
1436
|
default:
|
|
1462
1437
|
const parsedBody = parsedOutput.body;
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
$metadata,
|
|
1438
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1439
|
+
output,
|
|
1440
|
+
parsedBody,
|
|
1441
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1442
|
+
errorCode,
|
|
1469
1443
|
});
|
|
1470
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1471
1444
|
}
|
|
1472
1445
|
};
|
|
1473
1446
|
const deserializeAws_json1_1CreatePullRequestCommand = async (output, context) => {
|
|
@@ -1489,7 +1462,6 @@ const deserializeAws_json1_1CreatePullRequestCommandError = async (output, conte
|
|
|
1489
1462
|
...output,
|
|
1490
1463
|
body: await parseBody(output.body, context),
|
|
1491
1464
|
};
|
|
1492
|
-
let response;
|
|
1493
1465
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1494
1466
|
switch (errorCode) {
|
|
1495
1467
|
case "ClientRequestTokenRequiredException":
|
|
@@ -1569,14 +1541,12 @@ const deserializeAws_json1_1CreatePullRequestCommandError = async (output, conte
|
|
|
1569
1541
|
throw await deserializeAws_json1_1TitleRequiredExceptionResponse(parsedOutput, context);
|
|
1570
1542
|
default:
|
|
1571
1543
|
const parsedBody = parsedOutput.body;
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
$metadata,
|
|
1544
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1545
|
+
output,
|
|
1546
|
+
parsedBody,
|
|
1547
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1548
|
+
errorCode,
|
|
1578
1549
|
});
|
|
1579
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1580
1550
|
}
|
|
1581
1551
|
};
|
|
1582
1552
|
const deserializeAws_json1_1CreatePullRequestApprovalRuleCommand = async (output, context) => {
|
|
@@ -1598,7 +1568,6 @@ const deserializeAws_json1_1CreatePullRequestApprovalRuleCommandError = async (o
|
|
|
1598
1568
|
...output,
|
|
1599
1569
|
body: await parseBody(output.body, context),
|
|
1600
1570
|
};
|
|
1601
|
-
let response;
|
|
1602
1571
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1603
1572
|
switch (errorCode) {
|
|
1604
1573
|
case "ApprovalRuleContentRequiredException":
|
|
@@ -1648,14 +1617,12 @@ const deserializeAws_json1_1CreatePullRequestApprovalRuleCommandError = async (o
|
|
|
1648
1617
|
throw await deserializeAws_json1_1PullRequestIdRequiredExceptionResponse(parsedOutput, context);
|
|
1649
1618
|
default:
|
|
1650
1619
|
const parsedBody = parsedOutput.body;
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
$metadata,
|
|
1620
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1621
|
+
output,
|
|
1622
|
+
parsedBody,
|
|
1623
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1624
|
+
errorCode,
|
|
1657
1625
|
});
|
|
1658
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1659
1626
|
}
|
|
1660
1627
|
};
|
|
1661
1628
|
const deserializeAws_json1_1CreateRepositoryCommand = async (output, context) => {
|
|
@@ -1677,7 +1644,6 @@ const deserializeAws_json1_1CreateRepositoryCommandError = async (output, contex
|
|
|
1677
1644
|
...output,
|
|
1678
1645
|
body: await parseBody(output.body, context),
|
|
1679
1646
|
};
|
|
1680
|
-
let response;
|
|
1681
1647
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1682
1648
|
switch (errorCode) {
|
|
1683
1649
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -1724,14 +1690,12 @@ const deserializeAws_json1_1CreateRepositoryCommandError = async (output, contex
|
|
|
1724
1690
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
1725
1691
|
default:
|
|
1726
1692
|
const parsedBody = parsedOutput.body;
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
$metadata,
|
|
1693
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1694
|
+
output,
|
|
1695
|
+
parsedBody,
|
|
1696
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1697
|
+
errorCode,
|
|
1733
1698
|
});
|
|
1734
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1735
1699
|
}
|
|
1736
1700
|
};
|
|
1737
1701
|
const deserializeAws_json1_1CreateUnreferencedMergeCommitCommand = async (output, context) => {
|
|
@@ -1753,7 +1717,6 @@ const deserializeAws_json1_1CreateUnreferencedMergeCommitCommandError = async (o
|
|
|
1753
1717
|
...output,
|
|
1754
1718
|
body: await parseBody(output.body, context),
|
|
1755
1719
|
};
|
|
1756
|
-
let response;
|
|
1757
1720
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1758
1721
|
switch (errorCode) {
|
|
1759
1722
|
case "CommitDoesNotExistException":
|
|
@@ -1866,14 +1829,12 @@ const deserializeAws_json1_1CreateUnreferencedMergeCommitCommandError = async (o
|
|
|
1866
1829
|
throw await deserializeAws_json1_1TipsDivergenceExceededExceptionResponse(parsedOutput, context);
|
|
1867
1830
|
default:
|
|
1868
1831
|
const parsedBody = parsedOutput.body;
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
$metadata,
|
|
1832
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1833
|
+
output,
|
|
1834
|
+
parsedBody,
|
|
1835
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1836
|
+
errorCode,
|
|
1875
1837
|
});
|
|
1876
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1877
1838
|
}
|
|
1878
1839
|
};
|
|
1879
1840
|
const deserializeAws_json1_1DeleteApprovalRuleTemplateCommand = async (output, context) => {
|
|
@@ -1895,7 +1856,6 @@ const deserializeAws_json1_1DeleteApprovalRuleTemplateCommandError = async (outp
|
|
|
1895
1856
|
...output,
|
|
1896
1857
|
body: await parseBody(output.body, context),
|
|
1897
1858
|
};
|
|
1898
|
-
let response;
|
|
1899
1859
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1900
1860
|
switch (errorCode) {
|
|
1901
1861
|
case "ApprovalRuleTemplateInUseException":
|
|
@@ -1909,14 +1869,12 @@ const deserializeAws_json1_1DeleteApprovalRuleTemplateCommandError = async (outp
|
|
|
1909
1869
|
throw await deserializeAws_json1_1InvalidApprovalRuleTemplateNameExceptionResponse(parsedOutput, context);
|
|
1910
1870
|
default:
|
|
1911
1871
|
const parsedBody = parsedOutput.body;
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
$metadata,
|
|
1872
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1873
|
+
output,
|
|
1874
|
+
parsedBody,
|
|
1875
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1876
|
+
errorCode,
|
|
1918
1877
|
});
|
|
1919
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1920
1878
|
}
|
|
1921
1879
|
};
|
|
1922
1880
|
const deserializeAws_json1_1DeleteBranchCommand = async (output, context) => {
|
|
@@ -1938,7 +1896,6 @@ const deserializeAws_json1_1DeleteBranchCommandError = async (output, context) =
|
|
|
1938
1896
|
...output,
|
|
1939
1897
|
body: await parseBody(output.body, context),
|
|
1940
1898
|
};
|
|
1941
|
-
let response;
|
|
1942
1899
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1943
1900
|
switch (errorCode) {
|
|
1944
1901
|
case "BranchNameRequiredException":
|
|
@@ -1976,14 +1933,12 @@ const deserializeAws_json1_1DeleteBranchCommandError = async (output, context) =
|
|
|
1976
1933
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
1977
1934
|
default:
|
|
1978
1935
|
const parsedBody = parsedOutput.body;
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
$metadata,
|
|
1936
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1937
|
+
output,
|
|
1938
|
+
parsedBody,
|
|
1939
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1940
|
+
errorCode,
|
|
1985
1941
|
});
|
|
1986
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1987
1942
|
}
|
|
1988
1943
|
};
|
|
1989
1944
|
const deserializeAws_json1_1DeleteCommentContentCommand = async (output, context) => {
|
|
@@ -2005,7 +1960,6 @@ const deserializeAws_json1_1DeleteCommentContentCommandError = async (output, co
|
|
|
2005
1960
|
...output,
|
|
2006
1961
|
body: await parseBody(output.body, context),
|
|
2007
1962
|
};
|
|
2008
|
-
let response;
|
|
2009
1963
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2010
1964
|
switch (errorCode) {
|
|
2011
1965
|
case "CommentDeletedException":
|
|
@@ -2022,14 +1976,12 @@ const deserializeAws_json1_1DeleteCommentContentCommandError = async (output, co
|
|
|
2022
1976
|
throw await deserializeAws_json1_1InvalidCommentIdExceptionResponse(parsedOutput, context);
|
|
2023
1977
|
default:
|
|
2024
1978
|
const parsedBody = parsedOutput.body;
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
$metadata,
|
|
1979
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1980
|
+
output,
|
|
1981
|
+
parsedBody,
|
|
1982
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
1983
|
+
errorCode,
|
|
2031
1984
|
});
|
|
2032
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2033
1985
|
}
|
|
2034
1986
|
};
|
|
2035
1987
|
const deserializeAws_json1_1DeleteFileCommand = async (output, context) => {
|
|
@@ -2051,7 +2003,6 @@ const deserializeAws_json1_1DeleteFileCommandError = async (output, context) =>
|
|
|
2051
2003
|
...output,
|
|
2052
2004
|
body: await parseBody(output.body, context),
|
|
2053
2005
|
};
|
|
2054
|
-
let response;
|
|
2055
2006
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2056
2007
|
switch (errorCode) {
|
|
2057
2008
|
case "BranchDoesNotExistException":
|
|
@@ -2122,14 +2073,12 @@ const deserializeAws_json1_1DeleteFileCommandError = async (output, context) =>
|
|
|
2122
2073
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
2123
2074
|
default:
|
|
2124
2075
|
const parsedBody = parsedOutput.body;
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
$metadata,
|
|
2076
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2077
|
+
output,
|
|
2078
|
+
parsedBody,
|
|
2079
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2080
|
+
errorCode,
|
|
2131
2081
|
});
|
|
2132
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2133
2082
|
}
|
|
2134
2083
|
};
|
|
2135
2084
|
const deserializeAws_json1_1DeletePullRequestApprovalRuleCommand = async (output, context) => {
|
|
@@ -2151,7 +2100,6 @@ const deserializeAws_json1_1DeletePullRequestApprovalRuleCommandError = async (o
|
|
|
2151
2100
|
...output,
|
|
2152
2101
|
body: await parseBody(output.body, context),
|
|
2153
2102
|
};
|
|
2154
|
-
let response;
|
|
2155
2103
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2156
2104
|
switch (errorCode) {
|
|
2157
2105
|
case "ApprovalRuleNameRequiredException":
|
|
@@ -2192,14 +2140,12 @@ const deserializeAws_json1_1DeletePullRequestApprovalRuleCommandError = async (o
|
|
|
2192
2140
|
throw await deserializeAws_json1_1PullRequestIdRequiredExceptionResponse(parsedOutput, context);
|
|
2193
2141
|
default:
|
|
2194
2142
|
const parsedBody = parsedOutput.body;
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
$metadata,
|
|
2143
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2144
|
+
output,
|
|
2145
|
+
parsedBody,
|
|
2146
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2147
|
+
errorCode,
|
|
2201
2148
|
});
|
|
2202
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2203
2149
|
}
|
|
2204
2150
|
};
|
|
2205
2151
|
const deserializeAws_json1_1DeleteRepositoryCommand = async (output, context) => {
|
|
@@ -2221,7 +2167,6 @@ const deserializeAws_json1_1DeleteRepositoryCommandError = async (output, contex
|
|
|
2221
2167
|
...output,
|
|
2222
2168
|
body: await parseBody(output.body, context),
|
|
2223
2169
|
};
|
|
2224
|
-
let response;
|
|
2225
2170
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2226
2171
|
switch (errorCode) {
|
|
2227
2172
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -2247,14 +2192,12 @@ const deserializeAws_json1_1DeleteRepositoryCommandError = async (output, contex
|
|
|
2247
2192
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
2248
2193
|
default:
|
|
2249
2194
|
const parsedBody = parsedOutput.body;
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
$metadata,
|
|
2195
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2196
|
+
output,
|
|
2197
|
+
parsedBody,
|
|
2198
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2199
|
+
errorCode,
|
|
2256
2200
|
});
|
|
2257
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2258
2201
|
}
|
|
2259
2202
|
};
|
|
2260
2203
|
const deserializeAws_json1_1DescribeMergeConflictsCommand = async (output, context) => {
|
|
@@ -2276,7 +2219,6 @@ const deserializeAws_json1_1DescribeMergeConflictsCommandError = async (output,
|
|
|
2276
2219
|
...output,
|
|
2277
2220
|
body: await parseBody(output.body, context),
|
|
2278
2221
|
};
|
|
2279
|
-
let response;
|
|
2280
2222
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2281
2223
|
switch (errorCode) {
|
|
2282
2224
|
case "CommitDoesNotExistException":
|
|
@@ -2350,14 +2292,12 @@ const deserializeAws_json1_1DescribeMergeConflictsCommandError = async (output,
|
|
|
2350
2292
|
throw await deserializeAws_json1_1TipsDivergenceExceededExceptionResponse(parsedOutput, context);
|
|
2351
2293
|
default:
|
|
2352
2294
|
const parsedBody = parsedOutput.body;
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
$metadata,
|
|
2295
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2296
|
+
output,
|
|
2297
|
+
parsedBody,
|
|
2298
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2299
|
+
errorCode,
|
|
2359
2300
|
});
|
|
2360
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2361
2301
|
}
|
|
2362
2302
|
};
|
|
2363
2303
|
const deserializeAws_json1_1DescribePullRequestEventsCommand = async (output, context) => {
|
|
@@ -2379,7 +2319,6 @@ const deserializeAws_json1_1DescribePullRequestEventsCommandError = async (outpu
|
|
|
2379
2319
|
...output,
|
|
2380
2320
|
body: await parseBody(output.body, context),
|
|
2381
2321
|
};
|
|
2382
|
-
let response;
|
|
2383
2322
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2384
2323
|
switch (errorCode) {
|
|
2385
2324
|
case "ActorDoesNotExistException":
|
|
@@ -2423,14 +2362,12 @@ const deserializeAws_json1_1DescribePullRequestEventsCommandError = async (outpu
|
|
|
2423
2362
|
throw await deserializeAws_json1_1PullRequestIdRequiredExceptionResponse(parsedOutput, context);
|
|
2424
2363
|
default:
|
|
2425
2364
|
const parsedBody = parsedOutput.body;
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
$metadata,
|
|
2365
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2366
|
+
output,
|
|
2367
|
+
parsedBody,
|
|
2368
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2369
|
+
errorCode,
|
|
2432
2370
|
});
|
|
2433
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2434
2371
|
}
|
|
2435
2372
|
};
|
|
2436
2373
|
const deserializeAws_json1_1DisassociateApprovalRuleTemplateFromRepositoryCommand = async (output, context) => {
|
|
@@ -2449,7 +2386,6 @@ const deserializeAws_json1_1DisassociateApprovalRuleTemplateFromRepositoryComman
|
|
|
2449
2386
|
...output,
|
|
2450
2387
|
body: await parseBody(output.body, context),
|
|
2451
2388
|
};
|
|
2452
|
-
let response;
|
|
2453
2389
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2454
2390
|
switch (errorCode) {
|
|
2455
2391
|
case "ApprovalRuleTemplateDoesNotExistException":
|
|
@@ -2487,14 +2423,12 @@ const deserializeAws_json1_1DisassociateApprovalRuleTemplateFromRepositoryComman
|
|
|
2487
2423
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
2488
2424
|
default:
|
|
2489
2425
|
const parsedBody = parsedOutput.body;
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
$metadata,
|
|
2426
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2427
|
+
output,
|
|
2428
|
+
parsedBody,
|
|
2429
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2430
|
+
errorCode,
|
|
2496
2431
|
});
|
|
2497
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2498
2432
|
}
|
|
2499
2433
|
};
|
|
2500
2434
|
const deserializeAws_json1_1EvaluatePullRequestApprovalRulesCommand = async (output, context) => {
|
|
@@ -2516,7 +2450,6 @@ const deserializeAws_json1_1EvaluatePullRequestApprovalRulesCommandError = async
|
|
|
2516
2450
|
...output,
|
|
2517
2451
|
body: await parseBody(output.body, context),
|
|
2518
2452
|
};
|
|
2519
|
-
let response;
|
|
2520
2453
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2521
2454
|
switch (errorCode) {
|
|
2522
2455
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -2554,14 +2487,12 @@ const deserializeAws_json1_1EvaluatePullRequestApprovalRulesCommandError = async
|
|
|
2554
2487
|
throw await deserializeAws_json1_1RevisionNotCurrentExceptionResponse(parsedOutput, context);
|
|
2555
2488
|
default:
|
|
2556
2489
|
const parsedBody = parsedOutput.body;
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
$metadata,
|
|
2490
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2491
|
+
output,
|
|
2492
|
+
parsedBody,
|
|
2493
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2494
|
+
errorCode,
|
|
2563
2495
|
});
|
|
2564
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2565
2496
|
}
|
|
2566
2497
|
};
|
|
2567
2498
|
const deserializeAws_json1_1GetApprovalRuleTemplateCommand = async (output, context) => {
|
|
@@ -2583,7 +2514,6 @@ const deserializeAws_json1_1GetApprovalRuleTemplateCommandError = async (output,
|
|
|
2583
2514
|
...output,
|
|
2584
2515
|
body: await parseBody(output.body, context),
|
|
2585
2516
|
};
|
|
2586
|
-
let response;
|
|
2587
2517
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2588
2518
|
switch (errorCode) {
|
|
2589
2519
|
case "ApprovalRuleTemplateDoesNotExistException":
|
|
@@ -2597,14 +2527,12 @@ const deserializeAws_json1_1GetApprovalRuleTemplateCommandError = async (output,
|
|
|
2597
2527
|
throw await deserializeAws_json1_1InvalidApprovalRuleTemplateNameExceptionResponse(parsedOutput, context);
|
|
2598
2528
|
default:
|
|
2599
2529
|
const parsedBody = parsedOutput.body;
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
$metadata,
|
|
2530
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2531
|
+
output,
|
|
2532
|
+
parsedBody,
|
|
2533
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2534
|
+
errorCode,
|
|
2606
2535
|
});
|
|
2607
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2608
2536
|
}
|
|
2609
2537
|
};
|
|
2610
2538
|
const deserializeAws_json1_1GetBlobCommand = async (output, context) => {
|
|
@@ -2626,7 +2554,6 @@ const deserializeAws_json1_1GetBlobCommandError = async (output, context) => {
|
|
|
2626
2554
|
...output,
|
|
2627
2555
|
body: await parseBody(output.body, context),
|
|
2628
2556
|
};
|
|
2629
|
-
let response;
|
|
2630
2557
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2631
2558
|
switch (errorCode) {
|
|
2632
2559
|
case "BlobIdDoesNotExistException":
|
|
@@ -2667,14 +2594,12 @@ const deserializeAws_json1_1GetBlobCommandError = async (output, context) => {
|
|
|
2667
2594
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
2668
2595
|
default:
|
|
2669
2596
|
const parsedBody = parsedOutput.body;
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
$metadata,
|
|
2597
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2598
|
+
output,
|
|
2599
|
+
parsedBody,
|
|
2600
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2601
|
+
errorCode,
|
|
2676
2602
|
});
|
|
2677
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2678
2603
|
}
|
|
2679
2604
|
};
|
|
2680
2605
|
const deserializeAws_json1_1GetBranchCommand = async (output, context) => {
|
|
@@ -2696,7 +2621,6 @@ const deserializeAws_json1_1GetBranchCommandError = async (output, context) => {
|
|
|
2696
2621
|
...output,
|
|
2697
2622
|
body: await parseBody(output.body, context),
|
|
2698
2623
|
};
|
|
2699
|
-
let response;
|
|
2700
2624
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2701
2625
|
switch (errorCode) {
|
|
2702
2626
|
case "BranchDoesNotExistException":
|
|
@@ -2734,14 +2658,12 @@ const deserializeAws_json1_1GetBranchCommandError = async (output, context) => {
|
|
|
2734
2658
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
2735
2659
|
default:
|
|
2736
2660
|
const parsedBody = parsedOutput.body;
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
$metadata,
|
|
2661
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2662
|
+
output,
|
|
2663
|
+
parsedBody,
|
|
2664
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2665
|
+
errorCode,
|
|
2743
2666
|
});
|
|
2744
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2745
2667
|
}
|
|
2746
2668
|
};
|
|
2747
2669
|
const deserializeAws_json1_1GetCommentCommand = async (output, context) => {
|
|
@@ -2763,7 +2685,6 @@ const deserializeAws_json1_1GetCommentCommandError = async (output, context) =>
|
|
|
2763
2685
|
...output,
|
|
2764
2686
|
body: await parseBody(output.body, context),
|
|
2765
2687
|
};
|
|
2766
|
-
let response;
|
|
2767
2688
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2768
2689
|
switch (errorCode) {
|
|
2769
2690
|
case "CommentDeletedException":
|
|
@@ -2795,14 +2716,12 @@ const deserializeAws_json1_1GetCommentCommandError = async (output, context) =>
|
|
|
2795
2716
|
throw await deserializeAws_json1_1InvalidCommentIdExceptionResponse(parsedOutput, context);
|
|
2796
2717
|
default:
|
|
2797
2718
|
const parsedBody = parsedOutput.body;
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
$metadata,
|
|
2719
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2720
|
+
output,
|
|
2721
|
+
parsedBody,
|
|
2722
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2723
|
+
errorCode,
|
|
2804
2724
|
});
|
|
2805
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2806
2725
|
}
|
|
2807
2726
|
};
|
|
2808
2727
|
const deserializeAws_json1_1GetCommentReactionsCommand = async (output, context) => {
|
|
@@ -2824,7 +2743,6 @@ const deserializeAws_json1_1GetCommentReactionsCommandError = async (output, con
|
|
|
2824
2743
|
...output,
|
|
2825
2744
|
body: await parseBody(output.body, context),
|
|
2826
2745
|
};
|
|
2827
|
-
let response;
|
|
2828
2746
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2829
2747
|
switch (errorCode) {
|
|
2830
2748
|
case "CommentDeletedException":
|
|
@@ -2850,14 +2768,12 @@ const deserializeAws_json1_1GetCommentReactionsCommandError = async (output, con
|
|
|
2850
2768
|
throw await deserializeAws_json1_1InvalidReactionUserArnExceptionResponse(parsedOutput, context);
|
|
2851
2769
|
default:
|
|
2852
2770
|
const parsedBody = parsedOutput.body;
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
$metadata,
|
|
2771
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2772
|
+
output,
|
|
2773
|
+
parsedBody,
|
|
2774
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2775
|
+
errorCode,
|
|
2859
2776
|
});
|
|
2860
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2861
2777
|
}
|
|
2862
2778
|
};
|
|
2863
2779
|
const deserializeAws_json1_1GetCommentsForComparedCommitCommand = async (output, context) => {
|
|
@@ -2879,7 +2795,6 @@ const deserializeAws_json1_1GetCommentsForComparedCommitCommandError = async (ou
|
|
|
2879
2795
|
...output,
|
|
2880
2796
|
body: await parseBody(output.body, context),
|
|
2881
2797
|
};
|
|
2882
|
-
let response;
|
|
2883
2798
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2884
2799
|
switch (errorCode) {
|
|
2885
2800
|
case "CommitDoesNotExistException":
|
|
@@ -2923,14 +2838,12 @@ const deserializeAws_json1_1GetCommentsForComparedCommitCommandError = async (ou
|
|
|
2923
2838
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
2924
2839
|
default:
|
|
2925
2840
|
const parsedBody = parsedOutput.body;
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
$metadata,
|
|
2841
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2842
|
+
output,
|
|
2843
|
+
parsedBody,
|
|
2844
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2845
|
+
errorCode,
|
|
2932
2846
|
});
|
|
2933
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2934
2847
|
}
|
|
2935
2848
|
};
|
|
2936
2849
|
const deserializeAws_json1_1GetCommentsForPullRequestCommand = async (output, context) => {
|
|
@@ -2952,7 +2865,6 @@ const deserializeAws_json1_1GetCommentsForPullRequestCommandError = async (outpu
|
|
|
2952
2865
|
...output,
|
|
2953
2866
|
body: await parseBody(output.body, context),
|
|
2954
2867
|
};
|
|
2955
|
-
let response;
|
|
2956
2868
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2957
2869
|
switch (errorCode) {
|
|
2958
2870
|
case "CommitDoesNotExistException":
|
|
@@ -3008,14 +2920,12 @@ const deserializeAws_json1_1GetCommentsForPullRequestCommandError = async (outpu
|
|
|
3008
2920
|
throw await deserializeAws_json1_1RepositoryNotAssociatedWithPullRequestExceptionResponse(parsedOutput, context);
|
|
3009
2921
|
default:
|
|
3010
2922
|
const parsedBody = parsedOutput.body;
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
$metadata,
|
|
2923
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2924
|
+
output,
|
|
2925
|
+
parsedBody,
|
|
2926
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2927
|
+
errorCode,
|
|
3017
2928
|
});
|
|
3018
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3019
2929
|
}
|
|
3020
2930
|
};
|
|
3021
2931
|
const deserializeAws_json1_1GetCommitCommand = async (output, context) => {
|
|
@@ -3037,7 +2947,6 @@ const deserializeAws_json1_1GetCommitCommandError = async (output, context) => {
|
|
|
3037
2947
|
...output,
|
|
3038
2948
|
body: await parseBody(output.body, context),
|
|
3039
2949
|
};
|
|
3040
|
-
let response;
|
|
3041
2950
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3042
2951
|
switch (errorCode) {
|
|
3043
2952
|
case "CommitIdDoesNotExistException":
|
|
@@ -3075,14 +2984,12 @@ const deserializeAws_json1_1GetCommitCommandError = async (output, context) => {
|
|
|
3075
2984
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
3076
2985
|
default:
|
|
3077
2986
|
const parsedBody = parsedOutput.body;
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
$metadata,
|
|
2987
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2988
|
+
output,
|
|
2989
|
+
parsedBody,
|
|
2990
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
2991
|
+
errorCode,
|
|
3084
2992
|
});
|
|
3085
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3086
2993
|
}
|
|
3087
2994
|
};
|
|
3088
2995
|
const deserializeAws_json1_1GetDifferencesCommand = async (output, context) => {
|
|
@@ -3104,7 +3011,6 @@ const deserializeAws_json1_1GetDifferencesCommandError = async (output, context)
|
|
|
3104
3011
|
...output,
|
|
3105
3012
|
body: await parseBody(output.body, context),
|
|
3106
3013
|
};
|
|
3107
|
-
let response;
|
|
3108
3014
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3109
3015
|
switch (errorCode) {
|
|
3110
3016
|
case "CommitDoesNotExistException":
|
|
@@ -3157,14 +3063,12 @@ const deserializeAws_json1_1GetDifferencesCommandError = async (output, context)
|
|
|
3157
3063
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
3158
3064
|
default:
|
|
3159
3065
|
const parsedBody = parsedOutput.body;
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
$metadata,
|
|
3066
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3067
|
+
output,
|
|
3068
|
+
parsedBody,
|
|
3069
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3070
|
+
errorCode,
|
|
3166
3071
|
});
|
|
3167
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3168
3072
|
}
|
|
3169
3073
|
};
|
|
3170
3074
|
const deserializeAws_json1_1GetFileCommand = async (output, context) => {
|
|
@@ -3186,7 +3090,6 @@ const deserializeAws_json1_1GetFileCommandError = async (output, context) => {
|
|
|
3186
3090
|
...output,
|
|
3187
3091
|
body: await parseBody(output.body, context),
|
|
3188
3092
|
};
|
|
3189
|
-
let response;
|
|
3190
3093
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3191
3094
|
switch (errorCode) {
|
|
3192
3095
|
case "CommitDoesNotExistException":
|
|
@@ -3233,14 +3136,12 @@ const deserializeAws_json1_1GetFileCommandError = async (output, context) => {
|
|
|
3233
3136
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
3234
3137
|
default:
|
|
3235
3138
|
const parsedBody = parsedOutput.body;
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
$metadata,
|
|
3139
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3140
|
+
output,
|
|
3141
|
+
parsedBody,
|
|
3142
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3143
|
+
errorCode,
|
|
3242
3144
|
});
|
|
3243
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3244
3145
|
}
|
|
3245
3146
|
};
|
|
3246
3147
|
const deserializeAws_json1_1GetFolderCommand = async (output, context) => {
|
|
@@ -3262,7 +3163,6 @@ const deserializeAws_json1_1GetFolderCommandError = async (output, context) => {
|
|
|
3262
3163
|
...output,
|
|
3263
3164
|
body: await parseBody(output.body, context),
|
|
3264
3165
|
};
|
|
3265
|
-
let response;
|
|
3266
3166
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3267
3167
|
switch (errorCode) {
|
|
3268
3168
|
case "CommitDoesNotExistException":
|
|
@@ -3306,14 +3206,12 @@ const deserializeAws_json1_1GetFolderCommandError = async (output, context) => {
|
|
|
3306
3206
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
3307
3207
|
default:
|
|
3308
3208
|
const parsedBody = parsedOutput.body;
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
$metadata,
|
|
3209
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3210
|
+
output,
|
|
3211
|
+
parsedBody,
|
|
3212
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3213
|
+
errorCode,
|
|
3315
3214
|
});
|
|
3316
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3317
3215
|
}
|
|
3318
3216
|
};
|
|
3319
3217
|
const deserializeAws_json1_1GetMergeCommitCommand = async (output, context) => {
|
|
@@ -3335,7 +3233,6 @@ const deserializeAws_json1_1GetMergeCommitCommandError = async (output, context)
|
|
|
3335
3233
|
...output,
|
|
3336
3234
|
body: await parseBody(output.body, context),
|
|
3337
3235
|
};
|
|
3338
|
-
let response;
|
|
3339
3236
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3340
3237
|
switch (errorCode) {
|
|
3341
3238
|
case "CommitDoesNotExistException":
|
|
@@ -3379,14 +3276,12 @@ const deserializeAws_json1_1GetMergeCommitCommandError = async (output, context)
|
|
|
3379
3276
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
3380
3277
|
default:
|
|
3381
3278
|
const parsedBody = parsedOutput.body;
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
$metadata,
|
|
3279
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3280
|
+
output,
|
|
3281
|
+
parsedBody,
|
|
3282
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3283
|
+
errorCode,
|
|
3388
3284
|
});
|
|
3389
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3390
3285
|
}
|
|
3391
3286
|
};
|
|
3392
3287
|
const deserializeAws_json1_1GetMergeConflictsCommand = async (output, context) => {
|
|
@@ -3408,7 +3303,6 @@ const deserializeAws_json1_1GetMergeConflictsCommandError = async (output, conte
|
|
|
3408
3303
|
...output,
|
|
3409
3304
|
body: await parseBody(output.body, context),
|
|
3410
3305
|
};
|
|
3411
|
-
let response;
|
|
3412
3306
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3413
3307
|
switch (errorCode) {
|
|
3414
3308
|
case "CommitDoesNotExistException":
|
|
@@ -3479,14 +3373,12 @@ const deserializeAws_json1_1GetMergeConflictsCommandError = async (output, conte
|
|
|
3479
3373
|
throw await deserializeAws_json1_1TipsDivergenceExceededExceptionResponse(parsedOutput, context);
|
|
3480
3374
|
default:
|
|
3481
3375
|
const parsedBody = parsedOutput.body;
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
$metadata,
|
|
3376
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3377
|
+
output,
|
|
3378
|
+
parsedBody,
|
|
3379
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3380
|
+
errorCode,
|
|
3488
3381
|
});
|
|
3489
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3490
3382
|
}
|
|
3491
3383
|
};
|
|
3492
3384
|
const deserializeAws_json1_1GetMergeOptionsCommand = async (output, context) => {
|
|
@@ -3508,7 +3400,6 @@ const deserializeAws_json1_1GetMergeOptionsCommandError = async (output, context
|
|
|
3508
3400
|
...output,
|
|
3509
3401
|
body: await parseBody(output.body, context),
|
|
3510
3402
|
};
|
|
3511
|
-
let response;
|
|
3512
3403
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3513
3404
|
switch (errorCode) {
|
|
3514
3405
|
case "CommitDoesNotExistException":
|
|
@@ -3561,14 +3452,12 @@ const deserializeAws_json1_1GetMergeOptionsCommandError = async (output, context
|
|
|
3561
3452
|
throw await deserializeAws_json1_1TipsDivergenceExceededExceptionResponse(parsedOutput, context);
|
|
3562
3453
|
default:
|
|
3563
3454
|
const parsedBody = parsedOutput.body;
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
$metadata,
|
|
3455
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3456
|
+
output,
|
|
3457
|
+
parsedBody,
|
|
3458
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3459
|
+
errorCode,
|
|
3570
3460
|
});
|
|
3571
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3572
3461
|
}
|
|
3573
3462
|
};
|
|
3574
3463
|
const deserializeAws_json1_1GetPullRequestCommand = async (output, context) => {
|
|
@@ -3590,7 +3479,6 @@ const deserializeAws_json1_1GetPullRequestCommandError = async (output, context)
|
|
|
3590
3479
|
...output,
|
|
3591
3480
|
body: await parseBody(output.body, context),
|
|
3592
3481
|
};
|
|
3593
|
-
let response;
|
|
3594
3482
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3595
3483
|
switch (errorCode) {
|
|
3596
3484
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -3619,14 +3507,12 @@ const deserializeAws_json1_1GetPullRequestCommandError = async (output, context)
|
|
|
3619
3507
|
throw await deserializeAws_json1_1PullRequestIdRequiredExceptionResponse(parsedOutput, context);
|
|
3620
3508
|
default:
|
|
3621
3509
|
const parsedBody = parsedOutput.body;
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
$metadata,
|
|
3510
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3511
|
+
output,
|
|
3512
|
+
parsedBody,
|
|
3513
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3514
|
+
errorCode,
|
|
3628
3515
|
});
|
|
3629
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3630
3516
|
}
|
|
3631
3517
|
};
|
|
3632
3518
|
const deserializeAws_json1_1GetPullRequestApprovalStatesCommand = async (output, context) => {
|
|
@@ -3648,7 +3534,6 @@ const deserializeAws_json1_1GetPullRequestApprovalStatesCommandError = async (ou
|
|
|
3648
3534
|
...output,
|
|
3649
3535
|
body: await parseBody(output.body, context),
|
|
3650
3536
|
};
|
|
3651
|
-
let response;
|
|
3652
3537
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3653
3538
|
switch (errorCode) {
|
|
3654
3539
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -3683,14 +3568,12 @@ const deserializeAws_json1_1GetPullRequestApprovalStatesCommandError = async (ou
|
|
|
3683
3568
|
throw await deserializeAws_json1_1RevisionIdRequiredExceptionResponse(parsedOutput, context);
|
|
3684
3569
|
default:
|
|
3685
3570
|
const parsedBody = parsedOutput.body;
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
$metadata,
|
|
3571
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3572
|
+
output,
|
|
3573
|
+
parsedBody,
|
|
3574
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3575
|
+
errorCode,
|
|
3692
3576
|
});
|
|
3693
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3694
3577
|
}
|
|
3695
3578
|
};
|
|
3696
3579
|
const deserializeAws_json1_1GetPullRequestOverrideStateCommand = async (output, context) => {
|
|
@@ -3712,7 +3595,6 @@ const deserializeAws_json1_1GetPullRequestOverrideStateCommandError = async (out
|
|
|
3712
3595
|
...output,
|
|
3713
3596
|
body: await parseBody(output.body, context),
|
|
3714
3597
|
};
|
|
3715
|
-
let response;
|
|
3716
3598
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3717
3599
|
switch (errorCode) {
|
|
3718
3600
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -3747,14 +3629,12 @@ const deserializeAws_json1_1GetPullRequestOverrideStateCommandError = async (out
|
|
|
3747
3629
|
throw await deserializeAws_json1_1RevisionIdRequiredExceptionResponse(parsedOutput, context);
|
|
3748
3630
|
default:
|
|
3749
3631
|
const parsedBody = parsedOutput.body;
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
$metadata,
|
|
3632
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3633
|
+
output,
|
|
3634
|
+
parsedBody,
|
|
3635
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3636
|
+
errorCode,
|
|
3756
3637
|
});
|
|
3757
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3758
3638
|
}
|
|
3759
3639
|
};
|
|
3760
3640
|
const deserializeAws_json1_1GetRepositoryCommand = async (output, context) => {
|
|
@@ -3776,7 +3656,6 @@ const deserializeAws_json1_1GetRepositoryCommandError = async (output, context)
|
|
|
3776
3656
|
...output,
|
|
3777
3657
|
body: await parseBody(output.body, context),
|
|
3778
3658
|
};
|
|
3779
|
-
let response;
|
|
3780
3659
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3781
3660
|
switch (errorCode) {
|
|
3782
3661
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -3805,14 +3684,12 @@ const deserializeAws_json1_1GetRepositoryCommandError = async (output, context)
|
|
|
3805
3684
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
3806
3685
|
default:
|
|
3807
3686
|
const parsedBody = parsedOutput.body;
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
$metadata,
|
|
3687
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3688
|
+
output,
|
|
3689
|
+
parsedBody,
|
|
3690
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3691
|
+
errorCode,
|
|
3814
3692
|
});
|
|
3815
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3816
3693
|
}
|
|
3817
3694
|
};
|
|
3818
3695
|
const deserializeAws_json1_1GetRepositoryTriggersCommand = async (output, context) => {
|
|
@@ -3834,7 +3711,6 @@ const deserializeAws_json1_1GetRepositoryTriggersCommandError = async (output, c
|
|
|
3834
3711
|
...output,
|
|
3835
3712
|
body: await parseBody(output.body, context),
|
|
3836
3713
|
};
|
|
3837
|
-
let response;
|
|
3838
3714
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3839
3715
|
switch (errorCode) {
|
|
3840
3716
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -3863,14 +3739,12 @@ const deserializeAws_json1_1GetRepositoryTriggersCommandError = async (output, c
|
|
|
3863
3739
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
3864
3740
|
default:
|
|
3865
3741
|
const parsedBody = parsedOutput.body;
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
$metadata,
|
|
3742
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3743
|
+
output,
|
|
3744
|
+
parsedBody,
|
|
3745
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3746
|
+
errorCode,
|
|
3872
3747
|
});
|
|
3873
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3874
3748
|
}
|
|
3875
3749
|
};
|
|
3876
3750
|
const deserializeAws_json1_1ListApprovalRuleTemplatesCommand = async (output, context) => {
|
|
@@ -3892,7 +3766,6 @@ const deserializeAws_json1_1ListApprovalRuleTemplatesCommandError = async (outpu
|
|
|
3892
3766
|
...output,
|
|
3893
3767
|
body: await parseBody(output.body, context),
|
|
3894
3768
|
};
|
|
3895
|
-
let response;
|
|
3896
3769
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3897
3770
|
switch (errorCode) {
|
|
3898
3771
|
case "InvalidContinuationTokenException":
|
|
@@ -3903,14 +3776,12 @@ const deserializeAws_json1_1ListApprovalRuleTemplatesCommandError = async (outpu
|
|
|
3903
3776
|
throw await deserializeAws_json1_1InvalidMaxResultsExceptionResponse(parsedOutput, context);
|
|
3904
3777
|
default:
|
|
3905
3778
|
const parsedBody = parsedOutput.body;
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
$metadata,
|
|
3779
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3780
|
+
output,
|
|
3781
|
+
parsedBody,
|
|
3782
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3783
|
+
errorCode,
|
|
3912
3784
|
});
|
|
3913
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3914
3785
|
}
|
|
3915
3786
|
};
|
|
3916
3787
|
const deserializeAws_json1_1ListAssociatedApprovalRuleTemplatesForRepositoryCommand = async (output, context) => {
|
|
@@ -3932,7 +3803,6 @@ const deserializeAws_json1_1ListAssociatedApprovalRuleTemplatesForRepositoryComm
|
|
|
3932
3803
|
...output,
|
|
3933
3804
|
body: await parseBody(output.body, context),
|
|
3934
3805
|
};
|
|
3935
|
-
let response;
|
|
3936
3806
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3937
3807
|
switch (errorCode) {
|
|
3938
3808
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -3967,14 +3837,12 @@ const deserializeAws_json1_1ListAssociatedApprovalRuleTemplatesForRepositoryComm
|
|
|
3967
3837
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
3968
3838
|
default:
|
|
3969
3839
|
const parsedBody = parsedOutput.body;
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
$metadata,
|
|
3840
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3841
|
+
output,
|
|
3842
|
+
parsedBody,
|
|
3843
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3844
|
+
errorCode,
|
|
3976
3845
|
});
|
|
3977
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3978
3846
|
}
|
|
3979
3847
|
};
|
|
3980
3848
|
const deserializeAws_json1_1ListBranchesCommand = async (output, context) => {
|
|
@@ -3996,7 +3864,6 @@ const deserializeAws_json1_1ListBranchesCommandError = async (output, context) =
|
|
|
3996
3864
|
...output,
|
|
3997
3865
|
body: await parseBody(output.body, context),
|
|
3998
3866
|
};
|
|
3999
|
-
let response;
|
|
4000
3867
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4001
3868
|
switch (errorCode) {
|
|
4002
3869
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -4028,14 +3895,12 @@ const deserializeAws_json1_1ListBranchesCommandError = async (output, context) =
|
|
|
4028
3895
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
4029
3896
|
default:
|
|
4030
3897
|
const parsedBody = parsedOutput.body;
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
$metadata,
|
|
3898
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3899
|
+
output,
|
|
3900
|
+
parsedBody,
|
|
3901
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3902
|
+
errorCode,
|
|
4037
3903
|
});
|
|
4038
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4039
3904
|
}
|
|
4040
3905
|
};
|
|
4041
3906
|
const deserializeAws_json1_1ListPullRequestsCommand = async (output, context) => {
|
|
@@ -4057,7 +3922,6 @@ const deserializeAws_json1_1ListPullRequestsCommandError = async (output, contex
|
|
|
4057
3922
|
...output,
|
|
4058
3923
|
body: await parseBody(output.body, context),
|
|
4059
3924
|
};
|
|
4060
|
-
let response;
|
|
4061
3925
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4062
3926
|
switch (errorCode) {
|
|
4063
3927
|
case "AuthorDoesNotExistException":
|
|
@@ -4101,14 +3965,12 @@ const deserializeAws_json1_1ListPullRequestsCommandError = async (output, contex
|
|
|
4101
3965
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
4102
3966
|
default:
|
|
4103
3967
|
const parsedBody = parsedOutput.body;
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
$metadata,
|
|
3968
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3969
|
+
output,
|
|
3970
|
+
parsedBody,
|
|
3971
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
3972
|
+
errorCode,
|
|
4110
3973
|
});
|
|
4111
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4112
3974
|
}
|
|
4113
3975
|
};
|
|
4114
3976
|
const deserializeAws_json1_1ListRepositoriesCommand = async (output, context) => {
|
|
@@ -4130,7 +3992,6 @@ const deserializeAws_json1_1ListRepositoriesCommandError = async (output, contex
|
|
|
4130
3992
|
...output,
|
|
4131
3993
|
body: await parseBody(output.body, context),
|
|
4132
3994
|
};
|
|
4133
|
-
let response;
|
|
4134
3995
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4135
3996
|
switch (errorCode) {
|
|
4136
3997
|
case "InvalidContinuationTokenException":
|
|
@@ -4144,14 +4005,12 @@ const deserializeAws_json1_1ListRepositoriesCommandError = async (output, contex
|
|
|
4144
4005
|
throw await deserializeAws_json1_1InvalidSortByExceptionResponse(parsedOutput, context);
|
|
4145
4006
|
default:
|
|
4146
4007
|
const parsedBody = parsedOutput.body;
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
$metadata,
|
|
4008
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4009
|
+
output,
|
|
4010
|
+
parsedBody,
|
|
4011
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
4012
|
+
errorCode,
|
|
4153
4013
|
});
|
|
4154
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4155
4014
|
}
|
|
4156
4015
|
};
|
|
4157
4016
|
const deserializeAws_json1_1ListRepositoriesForApprovalRuleTemplateCommand = async (output, context) => {
|
|
@@ -4173,7 +4032,6 @@ const deserializeAws_json1_1ListRepositoriesForApprovalRuleTemplateCommandError
|
|
|
4173
4032
|
...output,
|
|
4174
4033
|
body: await parseBody(output.body, context),
|
|
4175
4034
|
};
|
|
4176
|
-
let response;
|
|
4177
4035
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4178
4036
|
switch (errorCode) {
|
|
4179
4037
|
case "ApprovalRuleTemplateDoesNotExistException":
|
|
@@ -4208,14 +4066,12 @@ const deserializeAws_json1_1ListRepositoriesForApprovalRuleTemplateCommandError
|
|
|
4208
4066
|
throw await deserializeAws_json1_1InvalidMaxResultsExceptionResponse(parsedOutput, context);
|
|
4209
4067
|
default:
|
|
4210
4068
|
const parsedBody = parsedOutput.body;
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
$metadata,
|
|
4069
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4070
|
+
output,
|
|
4071
|
+
parsedBody,
|
|
4072
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
4073
|
+
errorCode,
|
|
4217
4074
|
});
|
|
4218
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4219
4075
|
}
|
|
4220
4076
|
};
|
|
4221
4077
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -4237,7 +4093,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
4237
4093
|
...output,
|
|
4238
4094
|
body: await parseBody(output.body, context),
|
|
4239
4095
|
};
|
|
4240
|
-
let response;
|
|
4241
4096
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4242
4097
|
switch (errorCode) {
|
|
4243
4098
|
case "InvalidRepositoryNameException":
|
|
@@ -4254,14 +4109,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
4254
4109
|
throw await deserializeAws_json1_1ResourceArnRequiredExceptionResponse(parsedOutput, context);
|
|
4255
4110
|
default:
|
|
4256
4111
|
const parsedBody = parsedOutput.body;
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
$metadata,
|
|
4112
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4113
|
+
output,
|
|
4114
|
+
parsedBody,
|
|
4115
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
4116
|
+
errorCode,
|
|
4263
4117
|
});
|
|
4264
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4265
4118
|
}
|
|
4266
4119
|
};
|
|
4267
4120
|
const deserializeAws_json1_1MergeBranchesByFastForwardCommand = async (output, context) => {
|
|
@@ -4283,7 +4136,6 @@ const deserializeAws_json1_1MergeBranchesByFastForwardCommandError = async (outp
|
|
|
4283
4136
|
...output,
|
|
4284
4137
|
body: await parseBody(output.body, context),
|
|
4285
4138
|
};
|
|
4286
|
-
let response;
|
|
4287
4139
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4288
4140
|
switch (errorCode) {
|
|
4289
4141
|
case "BranchDoesNotExistException":
|
|
@@ -4345,14 +4197,12 @@ const deserializeAws_json1_1MergeBranchesByFastForwardCommandError = async (outp
|
|
|
4345
4197
|
throw await deserializeAws_json1_1TipsDivergenceExceededExceptionResponse(parsedOutput, context);
|
|
4346
4198
|
default:
|
|
4347
4199
|
const parsedBody = parsedOutput.body;
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
$metadata,
|
|
4200
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4201
|
+
output,
|
|
4202
|
+
parsedBody,
|
|
4203
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
4204
|
+
errorCode,
|
|
4354
4205
|
});
|
|
4355
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4356
4206
|
}
|
|
4357
4207
|
};
|
|
4358
4208
|
const deserializeAws_json1_1MergeBranchesBySquashCommand = async (output, context) => {
|
|
@@ -4374,7 +4224,6 @@ const deserializeAws_json1_1MergeBranchesBySquashCommandError = async (output, c
|
|
|
4374
4224
|
...output,
|
|
4375
4225
|
body: await parseBody(output.body, context),
|
|
4376
4226
|
};
|
|
4377
|
-
let response;
|
|
4378
4227
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4379
4228
|
switch (errorCode) {
|
|
4380
4229
|
case "BranchDoesNotExistException":
|
|
@@ -4496,14 +4345,12 @@ const deserializeAws_json1_1MergeBranchesBySquashCommandError = async (output, c
|
|
|
4496
4345
|
throw await deserializeAws_json1_1TipsDivergenceExceededExceptionResponse(parsedOutput, context);
|
|
4497
4346
|
default:
|
|
4498
4347
|
const parsedBody = parsedOutput.body;
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
$metadata,
|
|
4348
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4349
|
+
output,
|
|
4350
|
+
parsedBody,
|
|
4351
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
4352
|
+
errorCode,
|
|
4505
4353
|
});
|
|
4506
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4507
4354
|
}
|
|
4508
4355
|
};
|
|
4509
4356
|
const deserializeAws_json1_1MergeBranchesByThreeWayCommand = async (output, context) => {
|
|
@@ -4525,7 +4372,6 @@ const deserializeAws_json1_1MergeBranchesByThreeWayCommandError = async (output,
|
|
|
4525
4372
|
...output,
|
|
4526
4373
|
body: await parseBody(output.body, context),
|
|
4527
4374
|
};
|
|
4528
|
-
let response;
|
|
4529
4375
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4530
4376
|
switch (errorCode) {
|
|
4531
4377
|
case "BranchDoesNotExistException":
|
|
@@ -4647,14 +4493,12 @@ const deserializeAws_json1_1MergeBranchesByThreeWayCommandError = async (output,
|
|
|
4647
4493
|
throw await deserializeAws_json1_1TipsDivergenceExceededExceptionResponse(parsedOutput, context);
|
|
4648
4494
|
default:
|
|
4649
4495
|
const parsedBody = parsedOutput.body;
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
$metadata,
|
|
4496
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4497
|
+
output,
|
|
4498
|
+
parsedBody,
|
|
4499
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
4500
|
+
errorCode,
|
|
4656
4501
|
});
|
|
4657
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4658
4502
|
}
|
|
4659
4503
|
};
|
|
4660
4504
|
const deserializeAws_json1_1MergePullRequestByFastForwardCommand = async (output, context) => {
|
|
@@ -4676,7 +4520,6 @@ const deserializeAws_json1_1MergePullRequestByFastForwardCommandError = async (o
|
|
|
4676
4520
|
...output,
|
|
4677
4521
|
body: await parseBody(output.body, context),
|
|
4678
4522
|
};
|
|
4679
|
-
let response;
|
|
4680
4523
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4681
4524
|
switch (errorCode) {
|
|
4682
4525
|
case "ConcurrentReferenceUpdateException":
|
|
@@ -4738,14 +4581,12 @@ const deserializeAws_json1_1MergePullRequestByFastForwardCommandError = async (o
|
|
|
4738
4581
|
throw await deserializeAws_json1_1TipOfSourceReferenceIsDifferentExceptionResponse(parsedOutput, context);
|
|
4739
4582
|
default:
|
|
4740
4583
|
const parsedBody = parsedOutput.body;
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
$metadata,
|
|
4584
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4585
|
+
output,
|
|
4586
|
+
parsedBody,
|
|
4587
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
4588
|
+
errorCode,
|
|
4747
4589
|
});
|
|
4748
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4749
4590
|
}
|
|
4750
4591
|
};
|
|
4751
4592
|
const deserializeAws_json1_1MergePullRequestBySquashCommand = async (output, context) => {
|
|
@@ -4767,7 +4608,6 @@ const deserializeAws_json1_1MergePullRequestBySquashCommandError = async (output
|
|
|
4767
4608
|
...output,
|
|
4768
4609
|
body: await parseBody(output.body, context),
|
|
4769
4610
|
};
|
|
4770
|
-
let response;
|
|
4771
4611
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4772
4612
|
switch (errorCode) {
|
|
4773
4613
|
case "CommitMessageLengthExceededException":
|
|
@@ -4886,14 +4726,12 @@ const deserializeAws_json1_1MergePullRequestBySquashCommandError = async (output
|
|
|
4886
4726
|
throw await deserializeAws_json1_1TipsDivergenceExceededExceptionResponse(parsedOutput, context);
|
|
4887
4727
|
default:
|
|
4888
4728
|
const parsedBody = parsedOutput.body;
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
$metadata,
|
|
4729
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4730
|
+
output,
|
|
4731
|
+
parsedBody,
|
|
4732
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
4733
|
+
errorCode,
|
|
4895
4734
|
});
|
|
4896
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4897
4735
|
}
|
|
4898
4736
|
};
|
|
4899
4737
|
const deserializeAws_json1_1MergePullRequestByThreeWayCommand = async (output, context) => {
|
|
@@ -4915,7 +4753,6 @@ const deserializeAws_json1_1MergePullRequestByThreeWayCommandError = async (outp
|
|
|
4915
4753
|
...output,
|
|
4916
4754
|
body: await parseBody(output.body, context),
|
|
4917
4755
|
};
|
|
4918
|
-
let response;
|
|
4919
4756
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4920
4757
|
switch (errorCode) {
|
|
4921
4758
|
case "CommitMessageLengthExceededException":
|
|
@@ -5034,14 +4871,12 @@ const deserializeAws_json1_1MergePullRequestByThreeWayCommandError = async (outp
|
|
|
5034
4871
|
throw await deserializeAws_json1_1TipsDivergenceExceededExceptionResponse(parsedOutput, context);
|
|
5035
4872
|
default:
|
|
5036
4873
|
const parsedBody = parsedOutput.body;
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
$metadata,
|
|
4874
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4875
|
+
output,
|
|
4876
|
+
parsedBody,
|
|
4877
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
4878
|
+
errorCode,
|
|
5043
4879
|
});
|
|
5044
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5045
4880
|
}
|
|
5046
4881
|
};
|
|
5047
4882
|
const deserializeAws_json1_1OverridePullRequestApprovalRulesCommand = async (output, context) => {
|
|
@@ -5060,7 +4895,6 @@ const deserializeAws_json1_1OverridePullRequestApprovalRulesCommandError = async
|
|
|
5060
4895
|
...output,
|
|
5061
4896
|
body: await parseBody(output.body, context),
|
|
5062
4897
|
};
|
|
5063
|
-
let response;
|
|
5064
4898
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5065
4899
|
switch (errorCode) {
|
|
5066
4900
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -5110,14 +4944,12 @@ const deserializeAws_json1_1OverridePullRequestApprovalRulesCommandError = async
|
|
|
5110
4944
|
throw await deserializeAws_json1_1RevisionNotCurrentExceptionResponse(parsedOutput, context);
|
|
5111
4945
|
default:
|
|
5112
4946
|
const parsedBody = parsedOutput.body;
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
$metadata,
|
|
4947
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4948
|
+
output,
|
|
4949
|
+
parsedBody,
|
|
4950
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
4951
|
+
errorCode,
|
|
5119
4952
|
});
|
|
5120
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5121
4953
|
}
|
|
5122
4954
|
};
|
|
5123
4955
|
const deserializeAws_json1_1PostCommentForComparedCommitCommand = async (output, context) => {
|
|
@@ -5139,7 +4971,6 @@ const deserializeAws_json1_1PostCommentForComparedCommitCommandError = async (ou
|
|
|
5139
4971
|
...output,
|
|
5140
4972
|
body: await parseBody(output.body, context),
|
|
5141
4973
|
};
|
|
5142
|
-
let response;
|
|
5143
4974
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5144
4975
|
switch (errorCode) {
|
|
5145
4976
|
case "BeforeCommitIdAndAfterCommitIdAreSameException":
|
|
@@ -5213,14 +5044,12 @@ const deserializeAws_json1_1PostCommentForComparedCommitCommandError = async (ou
|
|
|
5213
5044
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
5214
5045
|
default:
|
|
5215
5046
|
const parsedBody = parsedOutput.body;
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
$metadata,
|
|
5047
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5048
|
+
output,
|
|
5049
|
+
parsedBody,
|
|
5050
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5051
|
+
errorCode,
|
|
5222
5052
|
});
|
|
5223
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5224
5053
|
}
|
|
5225
5054
|
};
|
|
5226
5055
|
const deserializeAws_json1_1PostCommentForPullRequestCommand = async (output, context) => {
|
|
@@ -5242,7 +5071,6 @@ const deserializeAws_json1_1PostCommentForPullRequestCommandError = async (outpu
|
|
|
5242
5071
|
...output,
|
|
5243
5072
|
body: await parseBody(output.body, context),
|
|
5244
5073
|
};
|
|
5245
|
-
let response;
|
|
5246
5074
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5247
5075
|
switch (errorCode) {
|
|
5248
5076
|
case "BeforeCommitIdAndAfterCommitIdAreSameException":
|
|
@@ -5328,14 +5156,12 @@ const deserializeAws_json1_1PostCommentForPullRequestCommandError = async (outpu
|
|
|
5328
5156
|
throw await deserializeAws_json1_1RepositoryNotAssociatedWithPullRequestExceptionResponse(parsedOutput, context);
|
|
5329
5157
|
default:
|
|
5330
5158
|
const parsedBody = parsedOutput.body;
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
$metadata,
|
|
5159
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5160
|
+
output,
|
|
5161
|
+
parsedBody,
|
|
5162
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5163
|
+
errorCode,
|
|
5337
5164
|
});
|
|
5338
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5339
5165
|
}
|
|
5340
5166
|
};
|
|
5341
5167
|
const deserializeAws_json1_1PostCommentReplyCommand = async (output, context) => {
|
|
@@ -5357,7 +5183,6 @@ const deserializeAws_json1_1PostCommentReplyCommandError = async (output, contex
|
|
|
5357
5183
|
...output,
|
|
5358
5184
|
body: await parseBody(output.body, context),
|
|
5359
5185
|
};
|
|
5360
|
-
let response;
|
|
5361
5186
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5362
5187
|
switch (errorCode) {
|
|
5363
5188
|
case "ClientRequestTokenRequiredException":
|
|
@@ -5386,14 +5211,12 @@ const deserializeAws_json1_1PostCommentReplyCommandError = async (output, contex
|
|
|
5386
5211
|
throw await deserializeAws_json1_1InvalidCommentIdExceptionResponse(parsedOutput, context);
|
|
5387
5212
|
default:
|
|
5388
5213
|
const parsedBody = parsedOutput.body;
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
$metadata,
|
|
5214
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5215
|
+
output,
|
|
5216
|
+
parsedBody,
|
|
5217
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5218
|
+
errorCode,
|
|
5395
5219
|
});
|
|
5396
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5397
5220
|
}
|
|
5398
5221
|
};
|
|
5399
5222
|
const deserializeAws_json1_1PutCommentReactionCommand = async (output, context) => {
|
|
@@ -5412,7 +5235,6 @@ const deserializeAws_json1_1PutCommentReactionCommandError = async (output, cont
|
|
|
5412
5235
|
...output,
|
|
5413
5236
|
body: await parseBody(output.body, context),
|
|
5414
5237
|
};
|
|
5415
|
-
let response;
|
|
5416
5238
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5417
5239
|
switch (errorCode) {
|
|
5418
5240
|
case "CommentDeletedException":
|
|
@@ -5438,14 +5260,12 @@ const deserializeAws_json1_1PutCommentReactionCommandError = async (output, cont
|
|
|
5438
5260
|
throw await deserializeAws_json1_1ReactionValueRequiredExceptionResponse(parsedOutput, context);
|
|
5439
5261
|
default:
|
|
5440
5262
|
const parsedBody = parsedOutput.body;
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
$metadata,
|
|
5263
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5264
|
+
output,
|
|
5265
|
+
parsedBody,
|
|
5266
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5267
|
+
errorCode,
|
|
5447
5268
|
});
|
|
5448
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5449
5269
|
}
|
|
5450
5270
|
};
|
|
5451
5271
|
const deserializeAws_json1_1PutFileCommand = async (output, context) => {
|
|
@@ -5467,7 +5287,6 @@ const deserializeAws_json1_1PutFileCommandError = async (output, context) => {
|
|
|
5467
5287
|
...output,
|
|
5468
5288
|
body: await parseBody(output.body, context),
|
|
5469
5289
|
};
|
|
5470
|
-
let response;
|
|
5471
5290
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5472
5291
|
switch (errorCode) {
|
|
5473
5292
|
case "BranchDoesNotExistException":
|
|
@@ -5562,14 +5381,12 @@ const deserializeAws_json1_1PutFileCommandError = async (output, context) => {
|
|
|
5562
5381
|
throw await deserializeAws_json1_1SameFileContentExceptionResponse(parsedOutput, context);
|
|
5563
5382
|
default:
|
|
5564
5383
|
const parsedBody = parsedOutput.body;
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
$metadata,
|
|
5384
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5385
|
+
output,
|
|
5386
|
+
parsedBody,
|
|
5387
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5388
|
+
errorCode,
|
|
5571
5389
|
});
|
|
5572
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5573
5390
|
}
|
|
5574
5391
|
};
|
|
5575
5392
|
const deserializeAws_json1_1PutRepositoryTriggersCommand = async (output, context) => {
|
|
@@ -5591,7 +5408,6 @@ const deserializeAws_json1_1PutRepositoryTriggersCommandError = async (output, c
|
|
|
5591
5408
|
...output,
|
|
5592
5409
|
body: await parseBody(output.body, context),
|
|
5593
5410
|
};
|
|
5594
|
-
let response;
|
|
5595
5411
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5596
5412
|
switch (errorCode) {
|
|
5597
5413
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -5659,14 +5475,12 @@ const deserializeAws_json1_1PutRepositoryTriggersCommandError = async (output, c
|
|
|
5659
5475
|
throw await deserializeAws_json1_1RepositoryTriggersListRequiredExceptionResponse(parsedOutput, context);
|
|
5660
5476
|
default:
|
|
5661
5477
|
const parsedBody = parsedOutput.body;
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
$metadata,
|
|
5478
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5479
|
+
output,
|
|
5480
|
+
parsedBody,
|
|
5481
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5482
|
+
errorCode,
|
|
5668
5483
|
});
|
|
5669
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5670
5484
|
}
|
|
5671
5485
|
};
|
|
5672
5486
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -5685,7 +5499,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
5685
5499
|
...output,
|
|
5686
5500
|
body: await parseBody(output.body, context),
|
|
5687
5501
|
};
|
|
5688
|
-
let response;
|
|
5689
5502
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5690
5503
|
switch (errorCode) {
|
|
5691
5504
|
case "InvalidRepositoryNameException":
|
|
@@ -5717,14 +5530,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
5717
5530
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
5718
5531
|
default:
|
|
5719
5532
|
const parsedBody = parsedOutput.body;
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
$metadata,
|
|
5533
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5534
|
+
output,
|
|
5535
|
+
parsedBody,
|
|
5536
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5537
|
+
errorCode,
|
|
5726
5538
|
});
|
|
5727
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5728
5539
|
}
|
|
5729
5540
|
};
|
|
5730
5541
|
const deserializeAws_json1_1TestRepositoryTriggersCommand = async (output, context) => {
|
|
@@ -5746,7 +5557,6 @@ const deserializeAws_json1_1TestRepositoryTriggersCommandError = async (output,
|
|
|
5746
5557
|
...output,
|
|
5747
5558
|
body: await parseBody(output.body, context),
|
|
5748
5559
|
};
|
|
5749
|
-
let response;
|
|
5750
5560
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5751
5561
|
switch (errorCode) {
|
|
5752
5562
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -5814,14 +5624,12 @@ const deserializeAws_json1_1TestRepositoryTriggersCommandError = async (output,
|
|
|
5814
5624
|
throw await deserializeAws_json1_1RepositoryTriggersListRequiredExceptionResponse(parsedOutput, context);
|
|
5815
5625
|
default:
|
|
5816
5626
|
const parsedBody = parsedOutput.body;
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
$metadata,
|
|
5627
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5628
|
+
output,
|
|
5629
|
+
parsedBody,
|
|
5630
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5631
|
+
errorCode,
|
|
5823
5632
|
});
|
|
5824
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5825
5633
|
}
|
|
5826
5634
|
};
|
|
5827
5635
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -5840,7 +5648,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
5840
5648
|
...output,
|
|
5841
5649
|
body: await parseBody(output.body, context),
|
|
5842
5650
|
};
|
|
5843
|
-
let response;
|
|
5844
5651
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5845
5652
|
switch (errorCode) {
|
|
5846
5653
|
case "InvalidRepositoryNameException":
|
|
@@ -5872,14 +5679,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
5872
5679
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
5873
5680
|
default:
|
|
5874
5681
|
const parsedBody = parsedOutput.body;
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
$metadata,
|
|
5682
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5683
|
+
output,
|
|
5684
|
+
parsedBody,
|
|
5685
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5686
|
+
errorCode,
|
|
5881
5687
|
});
|
|
5882
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5883
5688
|
}
|
|
5884
5689
|
};
|
|
5885
5690
|
const deserializeAws_json1_1UpdateApprovalRuleTemplateContentCommand = async (output, context) => {
|
|
@@ -5901,7 +5706,6 @@ const deserializeAws_json1_1UpdateApprovalRuleTemplateContentCommandError = asyn
|
|
|
5901
5706
|
...output,
|
|
5902
5707
|
body: await parseBody(output.body, context),
|
|
5903
5708
|
};
|
|
5904
|
-
let response;
|
|
5905
5709
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5906
5710
|
switch (errorCode) {
|
|
5907
5711
|
case "ApprovalRuleTemplateContentRequiredException":
|
|
@@ -5924,14 +5728,12 @@ const deserializeAws_json1_1UpdateApprovalRuleTemplateContentCommandError = asyn
|
|
|
5924
5728
|
throw await deserializeAws_json1_1InvalidRuleContentSha256ExceptionResponse(parsedOutput, context);
|
|
5925
5729
|
default:
|
|
5926
5730
|
const parsedBody = parsedOutput.body;
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
$metadata,
|
|
5731
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5732
|
+
output,
|
|
5733
|
+
parsedBody,
|
|
5734
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5735
|
+
errorCode,
|
|
5933
5736
|
});
|
|
5934
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5935
5737
|
}
|
|
5936
5738
|
};
|
|
5937
5739
|
const deserializeAws_json1_1UpdateApprovalRuleTemplateDescriptionCommand = async (output, context) => {
|
|
@@ -5953,7 +5755,6 @@ const deserializeAws_json1_1UpdateApprovalRuleTemplateDescriptionCommandError =
|
|
|
5953
5755
|
...output,
|
|
5954
5756
|
body: await parseBody(output.body, context),
|
|
5955
5757
|
};
|
|
5956
|
-
let response;
|
|
5957
5758
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5958
5759
|
switch (errorCode) {
|
|
5959
5760
|
case "ApprovalRuleTemplateDoesNotExistException":
|
|
@@ -5970,14 +5771,12 @@ const deserializeAws_json1_1UpdateApprovalRuleTemplateDescriptionCommandError =
|
|
|
5970
5771
|
throw await deserializeAws_json1_1InvalidApprovalRuleTemplateNameExceptionResponse(parsedOutput, context);
|
|
5971
5772
|
default:
|
|
5972
5773
|
const parsedBody = parsedOutput.body;
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
$metadata,
|
|
5774
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5775
|
+
output,
|
|
5776
|
+
parsedBody,
|
|
5777
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5778
|
+
errorCode,
|
|
5979
5779
|
});
|
|
5980
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5981
5780
|
}
|
|
5982
5781
|
};
|
|
5983
5782
|
const deserializeAws_json1_1UpdateApprovalRuleTemplateNameCommand = async (output, context) => {
|
|
@@ -5999,7 +5798,6 @@ const deserializeAws_json1_1UpdateApprovalRuleTemplateNameCommandError = async (
|
|
|
5999
5798
|
...output,
|
|
6000
5799
|
body: await parseBody(output.body, context),
|
|
6001
5800
|
};
|
|
6002
|
-
let response;
|
|
6003
5801
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6004
5802
|
switch (errorCode) {
|
|
6005
5803
|
case "ApprovalRuleTemplateDoesNotExistException":
|
|
@@ -6016,14 +5814,12 @@ const deserializeAws_json1_1UpdateApprovalRuleTemplateNameCommandError = async (
|
|
|
6016
5814
|
throw await deserializeAws_json1_1InvalidApprovalRuleTemplateNameExceptionResponse(parsedOutput, context);
|
|
6017
5815
|
default:
|
|
6018
5816
|
const parsedBody = parsedOutput.body;
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
$metadata,
|
|
5817
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5818
|
+
output,
|
|
5819
|
+
parsedBody,
|
|
5820
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5821
|
+
errorCode,
|
|
6025
5822
|
});
|
|
6026
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6027
5823
|
}
|
|
6028
5824
|
};
|
|
6029
5825
|
const deserializeAws_json1_1UpdateCommentCommand = async (output, context) => {
|
|
@@ -6045,7 +5841,6 @@ const deserializeAws_json1_1UpdateCommentCommandError = async (output, context)
|
|
|
6045
5841
|
...output,
|
|
6046
5842
|
body: await parseBody(output.body, context),
|
|
6047
5843
|
};
|
|
6048
|
-
let response;
|
|
6049
5844
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6050
5845
|
switch (errorCode) {
|
|
6051
5846
|
case "CommentContentRequiredException":
|
|
@@ -6071,14 +5866,12 @@ const deserializeAws_json1_1UpdateCommentCommandError = async (output, context)
|
|
|
6071
5866
|
throw await deserializeAws_json1_1InvalidCommentIdExceptionResponse(parsedOutput, context);
|
|
6072
5867
|
default:
|
|
6073
5868
|
const parsedBody = parsedOutput.body;
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
$metadata,
|
|
5869
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5870
|
+
output,
|
|
5871
|
+
parsedBody,
|
|
5872
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5873
|
+
errorCode,
|
|
6080
5874
|
});
|
|
6081
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6082
5875
|
}
|
|
6083
5876
|
};
|
|
6084
5877
|
const deserializeAws_json1_1UpdateDefaultBranchCommand = async (output, context) => {
|
|
@@ -6097,7 +5890,6 @@ const deserializeAws_json1_1UpdateDefaultBranchCommandError = async (output, con
|
|
|
6097
5890
|
...output,
|
|
6098
5891
|
body: await parseBody(output.body, context),
|
|
6099
5892
|
};
|
|
6100
|
-
let response;
|
|
6101
5893
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6102
5894
|
switch (errorCode) {
|
|
6103
5895
|
case "BranchDoesNotExistException":
|
|
@@ -6135,14 +5927,12 @@ const deserializeAws_json1_1UpdateDefaultBranchCommandError = async (output, con
|
|
|
6135
5927
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
6136
5928
|
default:
|
|
6137
5929
|
const parsedBody = parsedOutput.body;
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
$metadata,
|
|
5930
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5931
|
+
output,
|
|
5932
|
+
parsedBody,
|
|
5933
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
5934
|
+
errorCode,
|
|
6144
5935
|
});
|
|
6145
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6146
5936
|
}
|
|
6147
5937
|
};
|
|
6148
5938
|
const deserializeAws_json1_1UpdatePullRequestApprovalRuleContentCommand = async (output, context) => {
|
|
@@ -6164,7 +5954,6 @@ const deserializeAws_json1_1UpdatePullRequestApprovalRuleContentCommandError = a
|
|
|
6164
5954
|
...output,
|
|
6165
5955
|
body: await parseBody(output.body, context),
|
|
6166
5956
|
};
|
|
6167
|
-
let response;
|
|
6168
5957
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6169
5958
|
switch (errorCode) {
|
|
6170
5959
|
case "ApprovalRuleContentRequiredException":
|
|
@@ -6217,14 +6006,12 @@ const deserializeAws_json1_1UpdatePullRequestApprovalRuleContentCommandError = a
|
|
|
6217
6006
|
throw await deserializeAws_json1_1PullRequestIdRequiredExceptionResponse(parsedOutput, context);
|
|
6218
6007
|
default:
|
|
6219
6008
|
const parsedBody = parsedOutput.body;
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
$metadata,
|
|
6009
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6010
|
+
output,
|
|
6011
|
+
parsedBody,
|
|
6012
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
6013
|
+
errorCode,
|
|
6226
6014
|
});
|
|
6227
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6228
6015
|
}
|
|
6229
6016
|
};
|
|
6230
6017
|
const deserializeAws_json1_1UpdatePullRequestApprovalStateCommand = async (output, context) => {
|
|
@@ -6243,7 +6030,6 @@ const deserializeAws_json1_1UpdatePullRequestApprovalStateCommandError = async (
|
|
|
6243
6030
|
...output,
|
|
6244
6031
|
body: await parseBody(output.body, context),
|
|
6245
6032
|
};
|
|
6246
|
-
let response;
|
|
6247
6033
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6248
6034
|
switch (errorCode) {
|
|
6249
6035
|
case "ApprovalStateRequiredException":
|
|
@@ -6296,14 +6082,12 @@ const deserializeAws_json1_1UpdatePullRequestApprovalStateCommandError = async (
|
|
|
6296
6082
|
throw await deserializeAws_json1_1RevisionNotCurrentExceptionResponse(parsedOutput, context);
|
|
6297
6083
|
default:
|
|
6298
6084
|
const parsedBody = parsedOutput.body;
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
$metadata,
|
|
6085
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6086
|
+
output,
|
|
6087
|
+
parsedBody,
|
|
6088
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
6089
|
+
errorCode,
|
|
6305
6090
|
});
|
|
6306
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6307
6091
|
}
|
|
6308
6092
|
};
|
|
6309
6093
|
const deserializeAws_json1_1UpdatePullRequestDescriptionCommand = async (output, context) => {
|
|
@@ -6325,7 +6109,6 @@ const deserializeAws_json1_1UpdatePullRequestDescriptionCommandError = async (ou
|
|
|
6325
6109
|
...output,
|
|
6326
6110
|
body: await parseBody(output.body, context),
|
|
6327
6111
|
};
|
|
6328
|
-
let response;
|
|
6329
6112
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6330
6113
|
switch (errorCode) {
|
|
6331
6114
|
case "InvalidDescriptionException":
|
|
@@ -6345,14 +6128,12 @@ const deserializeAws_json1_1UpdatePullRequestDescriptionCommandError = async (ou
|
|
|
6345
6128
|
throw await deserializeAws_json1_1PullRequestIdRequiredExceptionResponse(parsedOutput, context);
|
|
6346
6129
|
default:
|
|
6347
6130
|
const parsedBody = parsedOutput.body;
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
|
|
6353
|
-
$metadata,
|
|
6131
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6132
|
+
output,
|
|
6133
|
+
parsedBody,
|
|
6134
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
6135
|
+
errorCode,
|
|
6354
6136
|
});
|
|
6355
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6356
6137
|
}
|
|
6357
6138
|
};
|
|
6358
6139
|
const deserializeAws_json1_1UpdatePullRequestStatusCommand = async (output, context) => {
|
|
@@ -6374,7 +6155,6 @@ const deserializeAws_json1_1UpdatePullRequestStatusCommandError = async (output,
|
|
|
6374
6155
|
...output,
|
|
6375
6156
|
body: await parseBody(output.body, context),
|
|
6376
6157
|
};
|
|
6377
|
-
let response;
|
|
6378
6158
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6379
6159
|
switch (errorCode) {
|
|
6380
6160
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -6412,14 +6192,12 @@ const deserializeAws_json1_1UpdatePullRequestStatusCommandError = async (output,
|
|
|
6412
6192
|
throw await deserializeAws_json1_1PullRequestStatusRequiredExceptionResponse(parsedOutput, context);
|
|
6413
6193
|
default:
|
|
6414
6194
|
const parsedBody = parsedOutput.body;
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
$metadata,
|
|
6195
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6196
|
+
output,
|
|
6197
|
+
parsedBody,
|
|
6198
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
6199
|
+
errorCode,
|
|
6421
6200
|
});
|
|
6422
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6423
6201
|
}
|
|
6424
6202
|
};
|
|
6425
6203
|
const deserializeAws_json1_1UpdatePullRequestTitleCommand = async (output, context) => {
|
|
@@ -6441,7 +6219,6 @@ const deserializeAws_json1_1UpdatePullRequestTitleCommandError = async (output,
|
|
|
6441
6219
|
...output,
|
|
6442
6220
|
body: await parseBody(output.body, context),
|
|
6443
6221
|
};
|
|
6444
|
-
let response;
|
|
6445
6222
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6446
6223
|
switch (errorCode) {
|
|
6447
6224
|
case "InvalidPullRequestIdException":
|
|
@@ -6464,14 +6241,12 @@ const deserializeAws_json1_1UpdatePullRequestTitleCommandError = async (output,
|
|
|
6464
6241
|
throw await deserializeAws_json1_1TitleRequiredExceptionResponse(parsedOutput, context);
|
|
6465
6242
|
default:
|
|
6466
6243
|
const parsedBody = parsedOutput.body;
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
$metadata,
|
|
6244
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6245
|
+
output,
|
|
6246
|
+
parsedBody,
|
|
6247
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
6248
|
+
errorCode,
|
|
6473
6249
|
});
|
|
6474
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6475
6250
|
}
|
|
6476
6251
|
};
|
|
6477
6252
|
const deserializeAws_json1_1UpdateRepositoryDescriptionCommand = async (output, context) => {
|
|
@@ -6490,7 +6265,6 @@ const deserializeAws_json1_1UpdateRepositoryDescriptionCommandError = async (out
|
|
|
6490
6265
|
...output,
|
|
6491
6266
|
body: await parseBody(output.body, context),
|
|
6492
6267
|
};
|
|
6493
|
-
let response;
|
|
6494
6268
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6495
6269
|
switch (errorCode) {
|
|
6496
6270
|
case "EncryptionIntegrityChecksFailedException":
|
|
@@ -6522,14 +6296,12 @@ const deserializeAws_json1_1UpdateRepositoryDescriptionCommandError = async (out
|
|
|
6522
6296
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
6523
6297
|
default:
|
|
6524
6298
|
const parsedBody = parsedOutput.body;
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
$metadata,
|
|
6299
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6300
|
+
output,
|
|
6301
|
+
parsedBody,
|
|
6302
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
6303
|
+
errorCode,
|
|
6531
6304
|
});
|
|
6532
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6533
6305
|
}
|
|
6534
6306
|
};
|
|
6535
6307
|
const deserializeAws_json1_1UpdateRepositoryNameCommand = async (output, context) => {
|
|
@@ -6548,7 +6320,6 @@ const deserializeAws_json1_1UpdateRepositoryNameCommandError = async (output, co
|
|
|
6548
6320
|
...output,
|
|
6549
6321
|
body: await parseBody(output.body, context),
|
|
6550
6322
|
};
|
|
6551
|
-
let response;
|
|
6552
6323
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6553
6324
|
switch (errorCode) {
|
|
6554
6325
|
case "InvalidRepositoryNameException":
|
|
@@ -6565,14 +6336,12 @@ const deserializeAws_json1_1UpdateRepositoryNameCommandError = async (output, co
|
|
|
6565
6336
|
throw await deserializeAws_json1_1RepositoryNameRequiredExceptionResponse(parsedOutput, context);
|
|
6566
6337
|
default:
|
|
6567
6338
|
const parsedBody = parsedOutput.body;
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
$metadata,
|
|
6339
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6340
|
+
output,
|
|
6341
|
+
parsedBody,
|
|
6342
|
+
exceptionCtor: CodeCommitServiceException_1.CodeCommitServiceException,
|
|
6343
|
+
errorCode,
|
|
6574
6344
|
});
|
|
6575
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6576
6345
|
}
|
|
6577
6346
|
};
|
|
6578
6347
|
const deserializeAws_json1_1ActorDoesNotExistExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -8293,9 +8062,6 @@ const serializeAws_json1_1BranchNameList = (input, context) => {
|
|
|
8293
8062
|
return input
|
|
8294
8063
|
.filter((e) => e != null)
|
|
8295
8064
|
.map((entry) => {
|
|
8296
|
-
if (entry === null) {
|
|
8297
|
-
return null;
|
|
8298
|
-
}
|
|
8299
8065
|
return entry;
|
|
8300
8066
|
});
|
|
8301
8067
|
};
|
|
@@ -8303,9 +8069,6 @@ const serializeAws_json1_1CommitIdsInputList = (input, context) => {
|
|
|
8303
8069
|
return input
|
|
8304
8070
|
.filter((e) => e != null)
|
|
8305
8071
|
.map((entry) => {
|
|
8306
|
-
if (entry === null) {
|
|
8307
|
-
return null;
|
|
8308
|
-
}
|
|
8309
8072
|
return entry;
|
|
8310
8073
|
});
|
|
8311
8074
|
};
|
|
@@ -8418,9 +8181,6 @@ const serializeAws_json1_1DeleteFileEntries = (input, context) => {
|
|
|
8418
8181
|
return input
|
|
8419
8182
|
.filter((e) => e != null)
|
|
8420
8183
|
.map((entry) => {
|
|
8421
|
-
if (entry === null) {
|
|
8422
|
-
return null;
|
|
8423
|
-
}
|
|
8424
8184
|
return serializeAws_json1_1DeleteFileEntry(entry, context);
|
|
8425
8185
|
});
|
|
8426
8186
|
};
|
|
@@ -8490,9 +8250,6 @@ const serializeAws_json1_1FilePaths = (input, context) => {
|
|
|
8490
8250
|
return input
|
|
8491
8251
|
.filter((e) => e != null)
|
|
8492
8252
|
.map((entry) => {
|
|
8493
|
-
if (entry === null) {
|
|
8494
|
-
return null;
|
|
8495
|
-
}
|
|
8496
8253
|
return entry;
|
|
8497
8254
|
});
|
|
8498
8255
|
};
|
|
@@ -8817,9 +8574,6 @@ const serializeAws_json1_1PutFileEntries = (input, context) => {
|
|
|
8817
8574
|
return input
|
|
8818
8575
|
.filter((e) => e != null)
|
|
8819
8576
|
.map((entry) => {
|
|
8820
|
-
if (entry === null) {
|
|
8821
|
-
return null;
|
|
8822
|
-
}
|
|
8823
8577
|
return serializeAws_json1_1PutFileEntry(entry, context);
|
|
8824
8578
|
});
|
|
8825
8579
|
};
|
|
@@ -8854,9 +8608,6 @@ const serializeAws_json1_1ReplaceContentEntries = (input, context) => {
|
|
|
8854
8608
|
return input
|
|
8855
8609
|
.filter((e) => e != null)
|
|
8856
8610
|
.map((entry) => {
|
|
8857
|
-
if (entry === null) {
|
|
8858
|
-
return null;
|
|
8859
|
-
}
|
|
8860
8611
|
return serializeAws_json1_1ReplaceContentEntry(entry, context);
|
|
8861
8612
|
});
|
|
8862
8613
|
};
|
|
@@ -8872,9 +8623,6 @@ const serializeAws_json1_1RepositoryNameList = (input, context) => {
|
|
|
8872
8623
|
return input
|
|
8873
8624
|
.filter((e) => e != null)
|
|
8874
8625
|
.map((entry) => {
|
|
8875
|
-
if (entry === null) {
|
|
8876
|
-
return null;
|
|
8877
|
-
}
|
|
8878
8626
|
return entry;
|
|
8879
8627
|
});
|
|
8880
8628
|
};
|
|
@@ -8891,9 +8639,6 @@ const serializeAws_json1_1RepositoryTriggerEventList = (input, context) => {
|
|
|
8891
8639
|
return input
|
|
8892
8640
|
.filter((e) => e != null)
|
|
8893
8641
|
.map((entry) => {
|
|
8894
|
-
if (entry === null) {
|
|
8895
|
-
return null;
|
|
8896
|
-
}
|
|
8897
8642
|
return entry;
|
|
8898
8643
|
});
|
|
8899
8644
|
};
|
|
@@ -8901,9 +8646,6 @@ const serializeAws_json1_1RepositoryTriggersList = (input, context) => {
|
|
|
8901
8646
|
return input
|
|
8902
8647
|
.filter((e) => e != null)
|
|
8903
8648
|
.map((entry) => {
|
|
8904
|
-
if (entry === null) {
|
|
8905
|
-
return null;
|
|
8906
|
-
}
|
|
8907
8649
|
return serializeAws_json1_1RepositoryTrigger(entry, context);
|
|
8908
8650
|
});
|
|
8909
8651
|
};
|
|
@@ -8911,9 +8653,6 @@ const serializeAws_json1_1SetFileModeEntries = (input, context) => {
|
|
|
8911
8653
|
return input
|
|
8912
8654
|
.filter((e) => e != null)
|
|
8913
8655
|
.map((entry) => {
|
|
8914
|
-
if (entry === null) {
|
|
8915
|
-
return null;
|
|
8916
|
-
}
|
|
8917
8656
|
return serializeAws_json1_1SetFileModeEntry(entry, context);
|
|
8918
8657
|
});
|
|
8919
8658
|
};
|
|
@@ -8933,9 +8672,6 @@ const serializeAws_json1_1TagKeysList = (input, context) => {
|
|
|
8933
8672
|
return input
|
|
8934
8673
|
.filter((e) => e != null)
|
|
8935
8674
|
.map((entry) => {
|
|
8936
|
-
if (entry === null) {
|
|
8937
|
-
return null;
|
|
8938
|
-
}
|
|
8939
8675
|
return entry;
|
|
8940
8676
|
});
|
|
8941
8677
|
};
|
|
@@ -8967,9 +8703,6 @@ const serializeAws_json1_1TargetList = (input, context) => {
|
|
|
8967
8703
|
return input
|
|
8968
8704
|
.filter((e) => e != null)
|
|
8969
8705
|
.map((entry) => {
|
|
8970
|
-
if (entry === null) {
|
|
8971
|
-
return null;
|
|
8972
|
-
}
|
|
8973
8706
|
return serializeAws_json1_1Target(entry, context);
|
|
8974
8707
|
});
|
|
8975
8708
|
};
|