@aws-sdk/client-codecommit 3.180.0 → 3.181.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 +12 -0
- package/dist-cjs/protocols/Aws_json1_1.js +83 -77
- package/dist-es/protocols/Aws_json1_1.js +90 -77
- package/package.json +3 -3
|
@@ -794,7 +794,7 @@ exports.deserializeAws_json1_1AssociateApprovalRuleTemplateWithRepositoryCommand
|
|
|
794
794
|
const deserializeAws_json1_1AssociateApprovalRuleTemplateWithRepositoryCommandError = async (output, context) => {
|
|
795
795
|
const parsedOutput = {
|
|
796
796
|
...output,
|
|
797
|
-
body: await
|
|
797
|
+
body: await parseErrorBody(output.body, context),
|
|
798
798
|
};
|
|
799
799
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
800
800
|
switch (errorCode) {
|
|
@@ -861,7 +861,7 @@ exports.deserializeAws_json1_1BatchAssociateApprovalRuleTemplateWithRepositories
|
|
|
861
861
|
const deserializeAws_json1_1BatchAssociateApprovalRuleTemplateWithRepositoriesCommandError = async (output, context) => {
|
|
862
862
|
const parsedOutput = {
|
|
863
863
|
...output,
|
|
864
|
-
body: await
|
|
864
|
+
body: await parseErrorBody(output.body, context),
|
|
865
865
|
};
|
|
866
866
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
867
867
|
switch (errorCode) {
|
|
@@ -922,7 +922,7 @@ exports.deserializeAws_json1_1BatchDescribeMergeConflictsCommand = deserializeAw
|
|
|
922
922
|
const deserializeAws_json1_1BatchDescribeMergeConflictsCommandError = async (output, context) => {
|
|
923
923
|
const parsedOutput = {
|
|
924
924
|
...output,
|
|
925
|
-
body: await
|
|
925
|
+
body: await parseErrorBody(output.body, context),
|
|
926
926
|
};
|
|
927
927
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
928
928
|
switch (errorCode) {
|
|
@@ -1016,7 +1016,7 @@ exports.deserializeAws_json1_1BatchDisassociateApprovalRuleTemplateFromRepositor
|
|
|
1016
1016
|
const deserializeAws_json1_1BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandError = async (output, context) => {
|
|
1017
1017
|
const parsedOutput = {
|
|
1018
1018
|
...output,
|
|
1019
|
-
body: await
|
|
1019
|
+
body: await parseErrorBody(output.body, context),
|
|
1020
1020
|
};
|
|
1021
1021
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1022
1022
|
switch (errorCode) {
|
|
@@ -1077,7 +1077,7 @@ exports.deserializeAws_json1_1BatchGetCommitsCommand = deserializeAws_json1_1Bat
|
|
|
1077
1077
|
const deserializeAws_json1_1BatchGetCommitsCommandError = async (output, context) => {
|
|
1078
1078
|
const parsedOutput = {
|
|
1079
1079
|
...output,
|
|
1080
|
-
body: await
|
|
1080
|
+
body: await parseErrorBody(output.body, context),
|
|
1081
1081
|
};
|
|
1082
1082
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1083
1083
|
switch (errorCode) {
|
|
@@ -1138,7 +1138,7 @@ exports.deserializeAws_json1_1BatchGetRepositoriesCommand = deserializeAws_json1
|
|
|
1138
1138
|
const deserializeAws_json1_1BatchGetRepositoriesCommandError = async (output, context) => {
|
|
1139
1139
|
const parsedOutput = {
|
|
1140
1140
|
...output,
|
|
1141
|
-
body: await
|
|
1141
|
+
body: await parseErrorBody(output.body, context),
|
|
1142
1142
|
};
|
|
1143
1143
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1144
1144
|
switch (errorCode) {
|
|
@@ -1193,7 +1193,7 @@ exports.deserializeAws_json1_1CreateApprovalRuleTemplateCommand = deserializeAws
|
|
|
1193
1193
|
const deserializeAws_json1_1CreateApprovalRuleTemplateCommandError = async (output, context) => {
|
|
1194
1194
|
const parsedOutput = {
|
|
1195
1195
|
...output,
|
|
1196
|
-
body: await
|
|
1196
|
+
body: await parseErrorBody(output.body, context),
|
|
1197
1197
|
};
|
|
1198
1198
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1199
1199
|
switch (errorCode) {
|
|
@@ -1242,7 +1242,7 @@ exports.deserializeAws_json1_1CreateBranchCommand = deserializeAws_json1_1Create
|
|
|
1242
1242
|
const deserializeAws_json1_1CreateBranchCommandError = async (output, context) => {
|
|
1243
1243
|
const parsedOutput = {
|
|
1244
1244
|
...output,
|
|
1245
|
-
body: await
|
|
1245
|
+
body: await parseErrorBody(output.body, context),
|
|
1246
1246
|
};
|
|
1247
1247
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1248
1248
|
switch (errorCode) {
|
|
@@ -1315,7 +1315,7 @@ exports.deserializeAws_json1_1CreateCommitCommand = deserializeAws_json1_1Create
|
|
|
1315
1315
|
const deserializeAws_json1_1CreateCommitCommandError = async (output, context) => {
|
|
1316
1316
|
const parsedOutput = {
|
|
1317
1317
|
...output,
|
|
1318
|
-
body: await
|
|
1318
|
+
body: await parseErrorBody(output.body, context),
|
|
1319
1319
|
};
|
|
1320
1320
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1321
1321
|
switch (errorCode) {
|
|
@@ -1460,7 +1460,7 @@ exports.deserializeAws_json1_1CreatePullRequestCommand = deserializeAws_json1_1C
|
|
|
1460
1460
|
const deserializeAws_json1_1CreatePullRequestCommandError = async (output, context) => {
|
|
1461
1461
|
const parsedOutput = {
|
|
1462
1462
|
...output,
|
|
1463
|
-
body: await
|
|
1463
|
+
body: await parseErrorBody(output.body, context),
|
|
1464
1464
|
};
|
|
1465
1465
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1466
1466
|
switch (errorCode) {
|
|
@@ -1566,7 +1566,7 @@ exports.deserializeAws_json1_1CreatePullRequestApprovalRuleCommand = deserialize
|
|
|
1566
1566
|
const deserializeAws_json1_1CreatePullRequestApprovalRuleCommandError = async (output, context) => {
|
|
1567
1567
|
const parsedOutput = {
|
|
1568
1568
|
...output,
|
|
1569
|
-
body: await
|
|
1569
|
+
body: await parseErrorBody(output.body, context),
|
|
1570
1570
|
};
|
|
1571
1571
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1572
1572
|
switch (errorCode) {
|
|
@@ -1642,7 +1642,7 @@ exports.deserializeAws_json1_1CreateRepositoryCommand = deserializeAws_json1_1Cr
|
|
|
1642
1642
|
const deserializeAws_json1_1CreateRepositoryCommandError = async (output, context) => {
|
|
1643
1643
|
const parsedOutput = {
|
|
1644
1644
|
...output,
|
|
1645
|
-
body: await
|
|
1645
|
+
body: await parseErrorBody(output.body, context),
|
|
1646
1646
|
};
|
|
1647
1647
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1648
1648
|
switch (errorCode) {
|
|
@@ -1715,7 +1715,7 @@ exports.deserializeAws_json1_1CreateUnreferencedMergeCommitCommand = deserialize
|
|
|
1715
1715
|
const deserializeAws_json1_1CreateUnreferencedMergeCommitCommandError = async (output, context) => {
|
|
1716
1716
|
const parsedOutput = {
|
|
1717
1717
|
...output,
|
|
1718
|
-
body: await
|
|
1718
|
+
body: await parseErrorBody(output.body, context),
|
|
1719
1719
|
};
|
|
1720
1720
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1721
1721
|
switch (errorCode) {
|
|
@@ -1854,7 +1854,7 @@ exports.deserializeAws_json1_1DeleteApprovalRuleTemplateCommand = deserializeAws
|
|
|
1854
1854
|
const deserializeAws_json1_1DeleteApprovalRuleTemplateCommandError = async (output, context) => {
|
|
1855
1855
|
const parsedOutput = {
|
|
1856
1856
|
...output,
|
|
1857
|
-
body: await
|
|
1857
|
+
body: await parseErrorBody(output.body, context),
|
|
1858
1858
|
};
|
|
1859
1859
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1860
1860
|
switch (errorCode) {
|
|
@@ -1894,7 +1894,7 @@ exports.deserializeAws_json1_1DeleteBranchCommand = deserializeAws_json1_1Delete
|
|
|
1894
1894
|
const deserializeAws_json1_1DeleteBranchCommandError = async (output, context) => {
|
|
1895
1895
|
const parsedOutput = {
|
|
1896
1896
|
...output,
|
|
1897
|
-
body: await
|
|
1897
|
+
body: await parseErrorBody(output.body, context),
|
|
1898
1898
|
};
|
|
1899
1899
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1900
1900
|
switch (errorCode) {
|
|
@@ -1958,7 +1958,7 @@ exports.deserializeAws_json1_1DeleteCommentContentCommand = deserializeAws_json1
|
|
|
1958
1958
|
const deserializeAws_json1_1DeleteCommentContentCommandError = async (output, context) => {
|
|
1959
1959
|
const parsedOutput = {
|
|
1960
1960
|
...output,
|
|
1961
|
-
body: await
|
|
1961
|
+
body: await parseErrorBody(output.body, context),
|
|
1962
1962
|
};
|
|
1963
1963
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1964
1964
|
switch (errorCode) {
|
|
@@ -2001,7 +2001,7 @@ exports.deserializeAws_json1_1DeleteFileCommand = deserializeAws_json1_1DeleteFi
|
|
|
2001
2001
|
const deserializeAws_json1_1DeleteFileCommandError = async (output, context) => {
|
|
2002
2002
|
const parsedOutput = {
|
|
2003
2003
|
...output,
|
|
2004
|
-
body: await
|
|
2004
|
+
body: await parseErrorBody(output.body, context),
|
|
2005
2005
|
};
|
|
2006
2006
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2007
2007
|
switch (errorCode) {
|
|
@@ -2098,7 +2098,7 @@ exports.deserializeAws_json1_1DeletePullRequestApprovalRuleCommand = deserialize
|
|
|
2098
2098
|
const deserializeAws_json1_1DeletePullRequestApprovalRuleCommandError = async (output, context) => {
|
|
2099
2099
|
const parsedOutput = {
|
|
2100
2100
|
...output,
|
|
2101
|
-
body: await
|
|
2101
|
+
body: await parseErrorBody(output.body, context),
|
|
2102
2102
|
};
|
|
2103
2103
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2104
2104
|
switch (errorCode) {
|
|
@@ -2165,7 +2165,7 @@ exports.deserializeAws_json1_1DeleteRepositoryCommand = deserializeAws_json1_1De
|
|
|
2165
2165
|
const deserializeAws_json1_1DeleteRepositoryCommandError = async (output, context) => {
|
|
2166
2166
|
const parsedOutput = {
|
|
2167
2167
|
...output,
|
|
2168
|
-
body: await
|
|
2168
|
+
body: await parseErrorBody(output.body, context),
|
|
2169
2169
|
};
|
|
2170
2170
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2171
2171
|
switch (errorCode) {
|
|
@@ -2217,7 +2217,7 @@ exports.deserializeAws_json1_1DescribeMergeConflictsCommand = deserializeAws_jso
|
|
|
2217
2217
|
const deserializeAws_json1_1DescribeMergeConflictsCommandError = async (output, context) => {
|
|
2218
2218
|
const parsedOutput = {
|
|
2219
2219
|
...output,
|
|
2220
|
-
body: await
|
|
2220
|
+
body: await parseErrorBody(output.body, context),
|
|
2221
2221
|
};
|
|
2222
2222
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2223
2223
|
switch (errorCode) {
|
|
@@ -2317,7 +2317,7 @@ exports.deserializeAws_json1_1DescribePullRequestEventsCommand = deserializeAws_
|
|
|
2317
2317
|
const deserializeAws_json1_1DescribePullRequestEventsCommandError = async (output, context) => {
|
|
2318
2318
|
const parsedOutput = {
|
|
2319
2319
|
...output,
|
|
2320
|
-
body: await
|
|
2320
|
+
body: await parseErrorBody(output.body, context),
|
|
2321
2321
|
};
|
|
2322
2322
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2323
2323
|
switch (errorCode) {
|
|
@@ -2384,7 +2384,7 @@ exports.deserializeAws_json1_1DisassociateApprovalRuleTemplateFromRepositoryComm
|
|
|
2384
2384
|
const deserializeAws_json1_1DisassociateApprovalRuleTemplateFromRepositoryCommandError = async (output, context) => {
|
|
2385
2385
|
const parsedOutput = {
|
|
2386
2386
|
...output,
|
|
2387
|
-
body: await
|
|
2387
|
+
body: await parseErrorBody(output.body, context),
|
|
2388
2388
|
};
|
|
2389
2389
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2390
2390
|
switch (errorCode) {
|
|
@@ -2448,7 +2448,7 @@ exports.deserializeAws_json1_1EvaluatePullRequestApprovalRulesCommand = deserial
|
|
|
2448
2448
|
const deserializeAws_json1_1EvaluatePullRequestApprovalRulesCommandError = async (output, context) => {
|
|
2449
2449
|
const parsedOutput = {
|
|
2450
2450
|
...output,
|
|
2451
|
-
body: await
|
|
2451
|
+
body: await parseErrorBody(output.body, context),
|
|
2452
2452
|
};
|
|
2453
2453
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2454
2454
|
switch (errorCode) {
|
|
@@ -2512,7 +2512,7 @@ exports.deserializeAws_json1_1GetApprovalRuleTemplateCommand = deserializeAws_js
|
|
|
2512
2512
|
const deserializeAws_json1_1GetApprovalRuleTemplateCommandError = async (output, context) => {
|
|
2513
2513
|
const parsedOutput = {
|
|
2514
2514
|
...output,
|
|
2515
|
-
body: await
|
|
2515
|
+
body: await parseErrorBody(output.body, context),
|
|
2516
2516
|
};
|
|
2517
2517
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2518
2518
|
switch (errorCode) {
|
|
@@ -2552,7 +2552,7 @@ exports.deserializeAws_json1_1GetBlobCommand = deserializeAws_json1_1GetBlobComm
|
|
|
2552
2552
|
const deserializeAws_json1_1GetBlobCommandError = async (output, context) => {
|
|
2553
2553
|
const parsedOutput = {
|
|
2554
2554
|
...output,
|
|
2555
|
-
body: await
|
|
2555
|
+
body: await parseErrorBody(output.body, context),
|
|
2556
2556
|
};
|
|
2557
2557
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2558
2558
|
switch (errorCode) {
|
|
@@ -2619,7 +2619,7 @@ exports.deserializeAws_json1_1GetBranchCommand = deserializeAws_json1_1GetBranch
|
|
|
2619
2619
|
const deserializeAws_json1_1GetBranchCommandError = async (output, context) => {
|
|
2620
2620
|
const parsedOutput = {
|
|
2621
2621
|
...output,
|
|
2622
|
-
body: await
|
|
2622
|
+
body: await parseErrorBody(output.body, context),
|
|
2623
2623
|
};
|
|
2624
2624
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2625
2625
|
switch (errorCode) {
|
|
@@ -2683,7 +2683,7 @@ exports.deserializeAws_json1_1GetCommentCommand = deserializeAws_json1_1GetComme
|
|
|
2683
2683
|
const deserializeAws_json1_1GetCommentCommandError = async (output, context) => {
|
|
2684
2684
|
const parsedOutput = {
|
|
2685
2685
|
...output,
|
|
2686
|
-
body: await
|
|
2686
|
+
body: await parseErrorBody(output.body, context),
|
|
2687
2687
|
};
|
|
2688
2688
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2689
2689
|
switch (errorCode) {
|
|
@@ -2741,7 +2741,7 @@ exports.deserializeAws_json1_1GetCommentReactionsCommand = deserializeAws_json1_
|
|
|
2741
2741
|
const deserializeAws_json1_1GetCommentReactionsCommandError = async (output, context) => {
|
|
2742
2742
|
const parsedOutput = {
|
|
2743
2743
|
...output,
|
|
2744
|
-
body: await
|
|
2744
|
+
body: await parseErrorBody(output.body, context),
|
|
2745
2745
|
};
|
|
2746
2746
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2747
2747
|
switch (errorCode) {
|
|
@@ -2793,7 +2793,7 @@ exports.deserializeAws_json1_1GetCommentsForComparedCommitCommand = deserializeA
|
|
|
2793
2793
|
const deserializeAws_json1_1GetCommentsForComparedCommitCommandError = async (output, context) => {
|
|
2794
2794
|
const parsedOutput = {
|
|
2795
2795
|
...output,
|
|
2796
|
-
body: await
|
|
2796
|
+
body: await parseErrorBody(output.body, context),
|
|
2797
2797
|
};
|
|
2798
2798
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2799
2799
|
switch (errorCode) {
|
|
@@ -2863,7 +2863,7 @@ exports.deserializeAws_json1_1GetCommentsForPullRequestCommand = deserializeAws_
|
|
|
2863
2863
|
const deserializeAws_json1_1GetCommentsForPullRequestCommandError = async (output, context) => {
|
|
2864
2864
|
const parsedOutput = {
|
|
2865
2865
|
...output,
|
|
2866
|
-
body: await
|
|
2866
|
+
body: await parseErrorBody(output.body, context),
|
|
2867
2867
|
};
|
|
2868
2868
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2869
2869
|
switch (errorCode) {
|
|
@@ -2945,7 +2945,7 @@ exports.deserializeAws_json1_1GetCommitCommand = deserializeAws_json1_1GetCommit
|
|
|
2945
2945
|
const deserializeAws_json1_1GetCommitCommandError = async (output, context) => {
|
|
2946
2946
|
const parsedOutput = {
|
|
2947
2947
|
...output,
|
|
2948
|
-
body: await
|
|
2948
|
+
body: await parseErrorBody(output.body, context),
|
|
2949
2949
|
};
|
|
2950
2950
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2951
2951
|
switch (errorCode) {
|
|
@@ -3009,7 +3009,7 @@ exports.deserializeAws_json1_1GetDifferencesCommand = deserializeAws_json1_1GetD
|
|
|
3009
3009
|
const deserializeAws_json1_1GetDifferencesCommandError = async (output, context) => {
|
|
3010
3010
|
const parsedOutput = {
|
|
3011
3011
|
...output,
|
|
3012
|
-
body: await
|
|
3012
|
+
body: await parseErrorBody(output.body, context),
|
|
3013
3013
|
};
|
|
3014
3014
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3015
3015
|
switch (errorCode) {
|
|
@@ -3088,7 +3088,7 @@ exports.deserializeAws_json1_1GetFileCommand = deserializeAws_json1_1GetFileComm
|
|
|
3088
3088
|
const deserializeAws_json1_1GetFileCommandError = async (output, context) => {
|
|
3089
3089
|
const parsedOutput = {
|
|
3090
3090
|
...output,
|
|
3091
|
-
body: await
|
|
3091
|
+
body: await parseErrorBody(output.body, context),
|
|
3092
3092
|
};
|
|
3093
3093
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3094
3094
|
switch (errorCode) {
|
|
@@ -3161,7 +3161,7 @@ exports.deserializeAws_json1_1GetFolderCommand = deserializeAws_json1_1GetFolder
|
|
|
3161
3161
|
const deserializeAws_json1_1GetFolderCommandError = async (output, context) => {
|
|
3162
3162
|
const parsedOutput = {
|
|
3163
3163
|
...output,
|
|
3164
|
-
body: await
|
|
3164
|
+
body: await parseErrorBody(output.body, context),
|
|
3165
3165
|
};
|
|
3166
3166
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3167
3167
|
switch (errorCode) {
|
|
@@ -3231,7 +3231,7 @@ exports.deserializeAws_json1_1GetMergeCommitCommand = deserializeAws_json1_1GetM
|
|
|
3231
3231
|
const deserializeAws_json1_1GetMergeCommitCommandError = async (output, context) => {
|
|
3232
3232
|
const parsedOutput = {
|
|
3233
3233
|
...output,
|
|
3234
|
-
body: await
|
|
3234
|
+
body: await parseErrorBody(output.body, context),
|
|
3235
3235
|
};
|
|
3236
3236
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3237
3237
|
switch (errorCode) {
|
|
@@ -3301,7 +3301,7 @@ exports.deserializeAws_json1_1GetMergeConflictsCommand = deserializeAws_json1_1G
|
|
|
3301
3301
|
const deserializeAws_json1_1GetMergeConflictsCommandError = async (output, context) => {
|
|
3302
3302
|
const parsedOutput = {
|
|
3303
3303
|
...output,
|
|
3304
|
-
body: await
|
|
3304
|
+
body: await parseErrorBody(output.body, context),
|
|
3305
3305
|
};
|
|
3306
3306
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3307
3307
|
switch (errorCode) {
|
|
@@ -3398,7 +3398,7 @@ exports.deserializeAws_json1_1GetMergeOptionsCommand = deserializeAws_json1_1Get
|
|
|
3398
3398
|
const deserializeAws_json1_1GetMergeOptionsCommandError = async (output, context) => {
|
|
3399
3399
|
const parsedOutput = {
|
|
3400
3400
|
...output,
|
|
3401
|
-
body: await
|
|
3401
|
+
body: await parseErrorBody(output.body, context),
|
|
3402
3402
|
};
|
|
3403
3403
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3404
3404
|
switch (errorCode) {
|
|
@@ -3477,7 +3477,7 @@ exports.deserializeAws_json1_1GetPullRequestCommand = deserializeAws_json1_1GetP
|
|
|
3477
3477
|
const deserializeAws_json1_1GetPullRequestCommandError = async (output, context) => {
|
|
3478
3478
|
const parsedOutput = {
|
|
3479
3479
|
...output,
|
|
3480
|
-
body: await
|
|
3480
|
+
body: await parseErrorBody(output.body, context),
|
|
3481
3481
|
};
|
|
3482
3482
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3483
3483
|
switch (errorCode) {
|
|
@@ -3532,7 +3532,7 @@ exports.deserializeAws_json1_1GetPullRequestApprovalStatesCommand = deserializeA
|
|
|
3532
3532
|
const deserializeAws_json1_1GetPullRequestApprovalStatesCommandError = async (output, context) => {
|
|
3533
3533
|
const parsedOutput = {
|
|
3534
3534
|
...output,
|
|
3535
|
-
body: await
|
|
3535
|
+
body: await parseErrorBody(output.body, context),
|
|
3536
3536
|
};
|
|
3537
3537
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3538
3538
|
switch (errorCode) {
|
|
@@ -3593,7 +3593,7 @@ exports.deserializeAws_json1_1GetPullRequestOverrideStateCommand = deserializeAw
|
|
|
3593
3593
|
const deserializeAws_json1_1GetPullRequestOverrideStateCommandError = async (output, context) => {
|
|
3594
3594
|
const parsedOutput = {
|
|
3595
3595
|
...output,
|
|
3596
|
-
body: await
|
|
3596
|
+
body: await parseErrorBody(output.body, context),
|
|
3597
3597
|
};
|
|
3598
3598
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3599
3599
|
switch (errorCode) {
|
|
@@ -3654,7 +3654,7 @@ exports.deserializeAws_json1_1GetRepositoryCommand = deserializeAws_json1_1GetRe
|
|
|
3654
3654
|
const deserializeAws_json1_1GetRepositoryCommandError = async (output, context) => {
|
|
3655
3655
|
const parsedOutput = {
|
|
3656
3656
|
...output,
|
|
3657
|
-
body: await
|
|
3657
|
+
body: await parseErrorBody(output.body, context),
|
|
3658
3658
|
};
|
|
3659
3659
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3660
3660
|
switch (errorCode) {
|
|
@@ -3709,7 +3709,7 @@ exports.deserializeAws_json1_1GetRepositoryTriggersCommand = deserializeAws_json
|
|
|
3709
3709
|
const deserializeAws_json1_1GetRepositoryTriggersCommandError = async (output, context) => {
|
|
3710
3710
|
const parsedOutput = {
|
|
3711
3711
|
...output,
|
|
3712
|
-
body: await
|
|
3712
|
+
body: await parseErrorBody(output.body, context),
|
|
3713
3713
|
};
|
|
3714
3714
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3715
3715
|
switch (errorCode) {
|
|
@@ -3764,7 +3764,7 @@ exports.deserializeAws_json1_1ListApprovalRuleTemplatesCommand = deserializeAws_
|
|
|
3764
3764
|
const deserializeAws_json1_1ListApprovalRuleTemplatesCommandError = async (output, context) => {
|
|
3765
3765
|
const parsedOutput = {
|
|
3766
3766
|
...output,
|
|
3767
|
-
body: await
|
|
3767
|
+
body: await parseErrorBody(output.body, context),
|
|
3768
3768
|
};
|
|
3769
3769
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3770
3770
|
switch (errorCode) {
|
|
@@ -3801,7 +3801,7 @@ exports.deserializeAws_json1_1ListAssociatedApprovalRuleTemplatesForRepositoryCo
|
|
|
3801
3801
|
const deserializeAws_json1_1ListAssociatedApprovalRuleTemplatesForRepositoryCommandError = async (output, context) => {
|
|
3802
3802
|
const parsedOutput = {
|
|
3803
3803
|
...output,
|
|
3804
|
-
body: await
|
|
3804
|
+
body: await parseErrorBody(output.body, context),
|
|
3805
3805
|
};
|
|
3806
3806
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3807
3807
|
switch (errorCode) {
|
|
@@ -3862,7 +3862,7 @@ exports.deserializeAws_json1_1ListBranchesCommand = deserializeAws_json1_1ListBr
|
|
|
3862
3862
|
const deserializeAws_json1_1ListBranchesCommandError = async (output, context) => {
|
|
3863
3863
|
const parsedOutput = {
|
|
3864
3864
|
...output,
|
|
3865
|
-
body: await
|
|
3865
|
+
body: await parseErrorBody(output.body, context),
|
|
3866
3866
|
};
|
|
3867
3867
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3868
3868
|
switch (errorCode) {
|
|
@@ -3920,7 +3920,7 @@ exports.deserializeAws_json1_1ListPullRequestsCommand = deserializeAws_json1_1Li
|
|
|
3920
3920
|
const deserializeAws_json1_1ListPullRequestsCommandError = async (output, context) => {
|
|
3921
3921
|
const parsedOutput = {
|
|
3922
3922
|
...output,
|
|
3923
|
-
body: await
|
|
3923
|
+
body: await parseErrorBody(output.body, context),
|
|
3924
3924
|
};
|
|
3925
3925
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3926
3926
|
switch (errorCode) {
|
|
@@ -3990,7 +3990,7 @@ exports.deserializeAws_json1_1ListRepositoriesCommand = deserializeAws_json1_1Li
|
|
|
3990
3990
|
const deserializeAws_json1_1ListRepositoriesCommandError = async (output, context) => {
|
|
3991
3991
|
const parsedOutput = {
|
|
3992
3992
|
...output,
|
|
3993
|
-
body: await
|
|
3993
|
+
body: await parseErrorBody(output.body, context),
|
|
3994
3994
|
};
|
|
3995
3995
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3996
3996
|
switch (errorCode) {
|
|
@@ -4030,7 +4030,7 @@ exports.deserializeAws_json1_1ListRepositoriesForApprovalRuleTemplateCommand = d
|
|
|
4030
4030
|
const deserializeAws_json1_1ListRepositoriesForApprovalRuleTemplateCommandError = async (output, context) => {
|
|
4031
4031
|
const parsedOutput = {
|
|
4032
4032
|
...output,
|
|
4033
|
-
body: await
|
|
4033
|
+
body: await parseErrorBody(output.body, context),
|
|
4034
4034
|
};
|
|
4035
4035
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4036
4036
|
switch (errorCode) {
|
|
@@ -4091,7 +4091,7 @@ exports.deserializeAws_json1_1ListTagsForResourceCommand = deserializeAws_json1_
|
|
|
4091
4091
|
const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
|
|
4092
4092
|
const parsedOutput = {
|
|
4093
4093
|
...output,
|
|
4094
|
-
body: await
|
|
4094
|
+
body: await parseErrorBody(output.body, context),
|
|
4095
4095
|
};
|
|
4096
4096
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4097
4097
|
switch (errorCode) {
|
|
@@ -4134,7 +4134,7 @@ exports.deserializeAws_json1_1MergeBranchesByFastForwardCommand = deserializeAws
|
|
|
4134
4134
|
const deserializeAws_json1_1MergeBranchesByFastForwardCommandError = async (output, context) => {
|
|
4135
4135
|
const parsedOutput = {
|
|
4136
4136
|
...output,
|
|
4137
|
-
body: await
|
|
4137
|
+
body: await parseErrorBody(output.body, context),
|
|
4138
4138
|
};
|
|
4139
4139
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4140
4140
|
switch (errorCode) {
|
|
@@ -4222,7 +4222,7 @@ exports.deserializeAws_json1_1MergeBranchesBySquashCommand = deserializeAws_json
|
|
|
4222
4222
|
const deserializeAws_json1_1MergeBranchesBySquashCommandError = async (output, context) => {
|
|
4223
4223
|
const parsedOutput = {
|
|
4224
4224
|
...output,
|
|
4225
|
-
body: await
|
|
4225
|
+
body: await parseErrorBody(output.body, context),
|
|
4226
4226
|
};
|
|
4227
4227
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4228
4228
|
switch (errorCode) {
|
|
@@ -4370,7 +4370,7 @@ exports.deserializeAws_json1_1MergeBranchesByThreeWayCommand = deserializeAws_js
|
|
|
4370
4370
|
const deserializeAws_json1_1MergeBranchesByThreeWayCommandError = async (output, context) => {
|
|
4371
4371
|
const parsedOutput = {
|
|
4372
4372
|
...output,
|
|
4373
|
-
body: await
|
|
4373
|
+
body: await parseErrorBody(output.body, context),
|
|
4374
4374
|
};
|
|
4375
4375
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4376
4376
|
switch (errorCode) {
|
|
@@ -4518,7 +4518,7 @@ exports.deserializeAws_json1_1MergePullRequestByFastForwardCommand = deserialize
|
|
|
4518
4518
|
const deserializeAws_json1_1MergePullRequestByFastForwardCommandError = async (output, context) => {
|
|
4519
4519
|
const parsedOutput = {
|
|
4520
4520
|
...output,
|
|
4521
|
-
body: await
|
|
4521
|
+
body: await parseErrorBody(output.body, context),
|
|
4522
4522
|
};
|
|
4523
4523
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4524
4524
|
switch (errorCode) {
|
|
@@ -4606,7 +4606,7 @@ exports.deserializeAws_json1_1MergePullRequestBySquashCommand = deserializeAws_j
|
|
|
4606
4606
|
const deserializeAws_json1_1MergePullRequestBySquashCommandError = async (output, context) => {
|
|
4607
4607
|
const parsedOutput = {
|
|
4608
4608
|
...output,
|
|
4609
|
-
body: await
|
|
4609
|
+
body: await parseErrorBody(output.body, context),
|
|
4610
4610
|
};
|
|
4611
4611
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4612
4612
|
switch (errorCode) {
|
|
@@ -4751,7 +4751,7 @@ exports.deserializeAws_json1_1MergePullRequestByThreeWayCommand = deserializeAws
|
|
|
4751
4751
|
const deserializeAws_json1_1MergePullRequestByThreeWayCommandError = async (output, context) => {
|
|
4752
4752
|
const parsedOutput = {
|
|
4753
4753
|
...output,
|
|
4754
|
-
body: await
|
|
4754
|
+
body: await parseErrorBody(output.body, context),
|
|
4755
4755
|
};
|
|
4756
4756
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4757
4757
|
switch (errorCode) {
|
|
@@ -4893,7 +4893,7 @@ exports.deserializeAws_json1_1OverridePullRequestApprovalRulesCommand = deserial
|
|
|
4893
4893
|
const deserializeAws_json1_1OverridePullRequestApprovalRulesCommandError = async (output, context) => {
|
|
4894
4894
|
const parsedOutput = {
|
|
4895
4895
|
...output,
|
|
4896
|
-
body: await
|
|
4896
|
+
body: await parseErrorBody(output.body, context),
|
|
4897
4897
|
};
|
|
4898
4898
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4899
4899
|
switch (errorCode) {
|
|
@@ -4969,7 +4969,7 @@ exports.deserializeAws_json1_1PostCommentForComparedCommitCommand = deserializeA
|
|
|
4969
4969
|
const deserializeAws_json1_1PostCommentForComparedCommitCommandError = async (output, context) => {
|
|
4970
4970
|
const parsedOutput = {
|
|
4971
4971
|
...output,
|
|
4972
|
-
body: await
|
|
4972
|
+
body: await parseErrorBody(output.body, context),
|
|
4973
4973
|
};
|
|
4974
4974
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4975
4975
|
switch (errorCode) {
|
|
@@ -5069,7 +5069,7 @@ exports.deserializeAws_json1_1PostCommentForPullRequestCommand = deserializeAws_
|
|
|
5069
5069
|
const deserializeAws_json1_1PostCommentForPullRequestCommandError = async (output, context) => {
|
|
5070
5070
|
const parsedOutput = {
|
|
5071
5071
|
...output,
|
|
5072
|
-
body: await
|
|
5072
|
+
body: await parseErrorBody(output.body, context),
|
|
5073
5073
|
};
|
|
5074
5074
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5075
5075
|
switch (errorCode) {
|
|
@@ -5181,7 +5181,7 @@ exports.deserializeAws_json1_1PostCommentReplyCommand = deserializeAws_json1_1Po
|
|
|
5181
5181
|
const deserializeAws_json1_1PostCommentReplyCommandError = async (output, context) => {
|
|
5182
5182
|
const parsedOutput = {
|
|
5183
5183
|
...output,
|
|
5184
|
-
body: await
|
|
5184
|
+
body: await parseErrorBody(output.body, context),
|
|
5185
5185
|
};
|
|
5186
5186
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5187
5187
|
switch (errorCode) {
|
|
@@ -5233,7 +5233,7 @@ exports.deserializeAws_json1_1PutCommentReactionCommand = deserializeAws_json1_1
|
|
|
5233
5233
|
const deserializeAws_json1_1PutCommentReactionCommandError = async (output, context) => {
|
|
5234
5234
|
const parsedOutput = {
|
|
5235
5235
|
...output,
|
|
5236
|
-
body: await
|
|
5236
|
+
body: await parseErrorBody(output.body, context),
|
|
5237
5237
|
};
|
|
5238
5238
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5239
5239
|
switch (errorCode) {
|
|
@@ -5285,7 +5285,7 @@ exports.deserializeAws_json1_1PutFileCommand = deserializeAws_json1_1PutFileComm
|
|
|
5285
5285
|
const deserializeAws_json1_1PutFileCommandError = async (output, context) => {
|
|
5286
5286
|
const parsedOutput = {
|
|
5287
5287
|
...output,
|
|
5288
|
-
body: await
|
|
5288
|
+
body: await parseErrorBody(output.body, context),
|
|
5289
5289
|
};
|
|
5290
5290
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5291
5291
|
switch (errorCode) {
|
|
@@ -5406,7 +5406,7 @@ exports.deserializeAws_json1_1PutRepositoryTriggersCommand = deserializeAws_json
|
|
|
5406
5406
|
const deserializeAws_json1_1PutRepositoryTriggersCommandError = async (output, context) => {
|
|
5407
5407
|
const parsedOutput = {
|
|
5408
5408
|
...output,
|
|
5409
|
-
body: await
|
|
5409
|
+
body: await parseErrorBody(output.body, context),
|
|
5410
5410
|
};
|
|
5411
5411
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5412
5412
|
switch (errorCode) {
|
|
@@ -5497,7 +5497,7 @@ exports.deserializeAws_json1_1TagResourceCommand = deserializeAws_json1_1TagReso
|
|
|
5497
5497
|
const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
|
|
5498
5498
|
const parsedOutput = {
|
|
5499
5499
|
...output,
|
|
5500
|
-
body: await
|
|
5500
|
+
body: await parseErrorBody(output.body, context),
|
|
5501
5501
|
};
|
|
5502
5502
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5503
5503
|
switch (errorCode) {
|
|
@@ -5555,7 +5555,7 @@ exports.deserializeAws_json1_1TestRepositoryTriggersCommand = deserializeAws_jso
|
|
|
5555
5555
|
const deserializeAws_json1_1TestRepositoryTriggersCommandError = async (output, context) => {
|
|
5556
5556
|
const parsedOutput = {
|
|
5557
5557
|
...output,
|
|
5558
|
-
body: await
|
|
5558
|
+
body: await parseErrorBody(output.body, context),
|
|
5559
5559
|
};
|
|
5560
5560
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5561
5561
|
switch (errorCode) {
|
|
@@ -5646,7 +5646,7 @@ exports.deserializeAws_json1_1UntagResourceCommand = deserializeAws_json1_1Untag
|
|
|
5646
5646
|
const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
|
|
5647
5647
|
const parsedOutput = {
|
|
5648
5648
|
...output,
|
|
5649
|
-
body: await
|
|
5649
|
+
body: await parseErrorBody(output.body, context),
|
|
5650
5650
|
};
|
|
5651
5651
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5652
5652
|
switch (errorCode) {
|
|
@@ -5704,7 +5704,7 @@ exports.deserializeAws_json1_1UpdateApprovalRuleTemplateContentCommand = deseria
|
|
|
5704
5704
|
const deserializeAws_json1_1UpdateApprovalRuleTemplateContentCommandError = async (output, context) => {
|
|
5705
5705
|
const parsedOutput = {
|
|
5706
5706
|
...output,
|
|
5707
|
-
body: await
|
|
5707
|
+
body: await parseErrorBody(output.body, context),
|
|
5708
5708
|
};
|
|
5709
5709
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5710
5710
|
switch (errorCode) {
|
|
@@ -5753,7 +5753,7 @@ exports.deserializeAws_json1_1UpdateApprovalRuleTemplateDescriptionCommand = des
|
|
|
5753
5753
|
const deserializeAws_json1_1UpdateApprovalRuleTemplateDescriptionCommandError = async (output, context) => {
|
|
5754
5754
|
const parsedOutput = {
|
|
5755
5755
|
...output,
|
|
5756
|
-
body: await
|
|
5756
|
+
body: await parseErrorBody(output.body, context),
|
|
5757
5757
|
};
|
|
5758
5758
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5759
5759
|
switch (errorCode) {
|
|
@@ -5796,7 +5796,7 @@ exports.deserializeAws_json1_1UpdateApprovalRuleTemplateNameCommand = deserializ
|
|
|
5796
5796
|
const deserializeAws_json1_1UpdateApprovalRuleTemplateNameCommandError = async (output, context) => {
|
|
5797
5797
|
const parsedOutput = {
|
|
5798
5798
|
...output,
|
|
5799
|
-
body: await
|
|
5799
|
+
body: await parseErrorBody(output.body, context),
|
|
5800
5800
|
};
|
|
5801
5801
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5802
5802
|
switch (errorCode) {
|
|
@@ -5839,7 +5839,7 @@ exports.deserializeAws_json1_1UpdateCommentCommand = deserializeAws_json1_1Updat
|
|
|
5839
5839
|
const deserializeAws_json1_1UpdateCommentCommandError = async (output, context) => {
|
|
5840
5840
|
const parsedOutput = {
|
|
5841
5841
|
...output,
|
|
5842
|
-
body: await
|
|
5842
|
+
body: await parseErrorBody(output.body, context),
|
|
5843
5843
|
};
|
|
5844
5844
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5845
5845
|
switch (errorCode) {
|
|
@@ -5888,7 +5888,7 @@ exports.deserializeAws_json1_1UpdateDefaultBranchCommand = deserializeAws_json1_
|
|
|
5888
5888
|
const deserializeAws_json1_1UpdateDefaultBranchCommandError = async (output, context) => {
|
|
5889
5889
|
const parsedOutput = {
|
|
5890
5890
|
...output,
|
|
5891
|
-
body: await
|
|
5891
|
+
body: await parseErrorBody(output.body, context),
|
|
5892
5892
|
};
|
|
5893
5893
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5894
5894
|
switch (errorCode) {
|
|
@@ -5952,7 +5952,7 @@ exports.deserializeAws_json1_1UpdatePullRequestApprovalRuleContentCommand = dese
|
|
|
5952
5952
|
const deserializeAws_json1_1UpdatePullRequestApprovalRuleContentCommandError = async (output, context) => {
|
|
5953
5953
|
const parsedOutput = {
|
|
5954
5954
|
...output,
|
|
5955
|
-
body: await
|
|
5955
|
+
body: await parseErrorBody(output.body, context),
|
|
5956
5956
|
};
|
|
5957
5957
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5958
5958
|
switch (errorCode) {
|
|
@@ -6028,7 +6028,7 @@ exports.deserializeAws_json1_1UpdatePullRequestApprovalStateCommand = deserializ
|
|
|
6028
6028
|
const deserializeAws_json1_1UpdatePullRequestApprovalStateCommandError = async (output, context) => {
|
|
6029
6029
|
const parsedOutput = {
|
|
6030
6030
|
...output,
|
|
6031
|
-
body: await
|
|
6031
|
+
body: await parseErrorBody(output.body, context),
|
|
6032
6032
|
};
|
|
6033
6033
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6034
6034
|
switch (errorCode) {
|
|
@@ -6107,7 +6107,7 @@ exports.deserializeAws_json1_1UpdatePullRequestDescriptionCommand = deserializeA
|
|
|
6107
6107
|
const deserializeAws_json1_1UpdatePullRequestDescriptionCommandError = async (output, context) => {
|
|
6108
6108
|
const parsedOutput = {
|
|
6109
6109
|
...output,
|
|
6110
|
-
body: await
|
|
6110
|
+
body: await parseErrorBody(output.body, context),
|
|
6111
6111
|
};
|
|
6112
6112
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6113
6113
|
switch (errorCode) {
|
|
@@ -6153,7 +6153,7 @@ exports.deserializeAws_json1_1UpdatePullRequestStatusCommand = deserializeAws_js
|
|
|
6153
6153
|
const deserializeAws_json1_1UpdatePullRequestStatusCommandError = async (output, context) => {
|
|
6154
6154
|
const parsedOutput = {
|
|
6155
6155
|
...output,
|
|
6156
|
-
body: await
|
|
6156
|
+
body: await parseErrorBody(output.body, context),
|
|
6157
6157
|
};
|
|
6158
6158
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6159
6159
|
switch (errorCode) {
|
|
@@ -6217,7 +6217,7 @@ exports.deserializeAws_json1_1UpdatePullRequestTitleCommand = deserializeAws_jso
|
|
|
6217
6217
|
const deserializeAws_json1_1UpdatePullRequestTitleCommandError = async (output, context) => {
|
|
6218
6218
|
const parsedOutput = {
|
|
6219
6219
|
...output,
|
|
6220
|
-
body: await
|
|
6220
|
+
body: await parseErrorBody(output.body, context),
|
|
6221
6221
|
};
|
|
6222
6222
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6223
6223
|
switch (errorCode) {
|
|
@@ -6263,7 +6263,7 @@ exports.deserializeAws_json1_1UpdateRepositoryDescriptionCommand = deserializeAw
|
|
|
6263
6263
|
const deserializeAws_json1_1UpdateRepositoryDescriptionCommandError = async (output, context) => {
|
|
6264
6264
|
const parsedOutput = {
|
|
6265
6265
|
...output,
|
|
6266
|
-
body: await
|
|
6266
|
+
body: await parseErrorBody(output.body, context),
|
|
6267
6267
|
};
|
|
6268
6268
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6269
6269
|
switch (errorCode) {
|
|
@@ -6318,7 +6318,7 @@ exports.deserializeAws_json1_1UpdateRepositoryNameCommand = deserializeAws_json1
|
|
|
6318
6318
|
const deserializeAws_json1_1UpdateRepositoryNameCommandError = async (output, context) => {
|
|
6319
6319
|
const parsedOutput = {
|
|
6320
6320
|
...output,
|
|
6321
|
-
body: await
|
|
6321
|
+
body: await parseErrorBody(output.body, context),
|
|
6322
6322
|
};
|
|
6323
6323
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6324
6324
|
switch (errorCode) {
|
|
@@ -11132,6 +11132,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
11132
11132
|
}
|
|
11133
11133
|
return {};
|
|
11134
11134
|
});
|
|
11135
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
11136
|
+
var _a;
|
|
11137
|
+
const value = await parseBody(errorBody, context);
|
|
11138
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
11139
|
+
return value;
|
|
11140
|
+
};
|
|
11135
11141
|
const loadRestJsonErrorCode = (output, data) => {
|
|
11136
11142
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
11137
11143
|
const sanitizeErrorCode = (rawValue) => {
|