@aws-sdk/client-codepipeline 3.180.0 → 3.183.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 +20 -0
- package/dist-cjs/protocols/Aws_json1_1.js +45 -39
- package/dist-es/CodePipeline.js +158 -165
- package/dist-es/CodePipelineClient.js +22 -28
- package/dist-es/commands/AcknowledgeJobCommand.js +21 -28
- package/dist-es/commands/AcknowledgeThirdPartyJobCommand.js +21 -28
- package/dist-es/commands/CreateCustomActionTypeCommand.js +21 -28
- package/dist-es/commands/CreatePipelineCommand.js +21 -28
- package/dist-es/commands/DeleteCustomActionTypeCommand.js +22 -29
- package/dist-es/commands/DeletePipelineCommand.js +22 -29
- package/dist-es/commands/DeleteWebhookCommand.js +21 -28
- package/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js +21 -28
- package/dist-es/commands/DisableStageTransitionCommand.js +22 -29
- package/dist-es/commands/EnableStageTransitionCommand.js +22 -29
- package/dist-es/commands/GetActionTypeCommand.js +21 -28
- package/dist-es/commands/GetJobDetailsCommand.js +21 -28
- package/dist-es/commands/GetPipelineCommand.js +21 -28
- package/dist-es/commands/GetPipelineExecutionCommand.js +21 -28
- package/dist-es/commands/GetPipelineStateCommand.js +21 -28
- package/dist-es/commands/GetThirdPartyJobDetailsCommand.js +21 -28
- package/dist-es/commands/ListActionExecutionsCommand.js +21 -28
- package/dist-es/commands/ListActionTypesCommand.js +21 -28
- package/dist-es/commands/ListPipelineExecutionsCommand.js +21 -28
- package/dist-es/commands/ListPipelinesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListWebhooksCommand.js +21 -28
- package/dist-es/commands/PollForJobsCommand.js +21 -28
- package/dist-es/commands/PollForThirdPartyJobsCommand.js +21 -28
- package/dist-es/commands/PutActionRevisionCommand.js +21 -28
- package/dist-es/commands/PutApprovalResultCommand.js +21 -28
- package/dist-es/commands/PutJobFailureResultCommand.js +22 -29
- package/dist-es/commands/PutJobSuccessResultCommand.js +22 -29
- package/dist-es/commands/PutThirdPartyJobFailureResultCommand.js +22 -29
- package/dist-es/commands/PutThirdPartyJobSuccessResultCommand.js +22 -29
- package/dist-es/commands/PutWebhookCommand.js +21 -28
- package/dist-es/commands/RegisterWebhookWithThirdPartyCommand.js +21 -28
- package/dist-es/commands/RetryStageExecutionCommand.js +21 -28
- package/dist-es/commands/StartPipelineExecutionCommand.js +21 -28
- package/dist-es/commands/StopPipelineExecutionCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateActionTypeCommand.js +22 -29
- package/dist-es/commands/UpdatePipelineCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CodePipelineServiceException.js +5 -10
- package/dist-es/models/models_0.js +854 -570
- package/dist-es/pagination/ListActionExecutionsPaginator.js +25 -68
- package/dist-es/pagination/ListActionTypesPaginator.js +24 -67
- package/dist-es/pagination/ListPipelineExecutionsPaginator.js +25 -68
- package/dist-es/pagination/ListPipelinesPaginator.js +25 -68
- package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
- package/dist-es/pagination/ListWebhooksPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +3101 -3733
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-codepipeline
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676))
|
|
20
|
+
* **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
# [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @aws-sdk/client-codepipeline
|
|
@@ -414,7 +414,7 @@ exports.deserializeAws_json1_1AcknowledgeJobCommand = deserializeAws_json1_1Ackn
|
|
|
414
414
|
const deserializeAws_json1_1AcknowledgeJobCommandError = async (output, context) => {
|
|
415
415
|
const parsedOutput = {
|
|
416
416
|
...output,
|
|
417
|
-
body: await
|
|
417
|
+
body: await parseErrorBody(output.body, context),
|
|
418
418
|
};
|
|
419
419
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
420
420
|
switch (errorCode) {
|
|
@@ -454,7 +454,7 @@ exports.deserializeAws_json1_1AcknowledgeThirdPartyJobCommand = deserializeAws_j
|
|
|
454
454
|
const deserializeAws_json1_1AcknowledgeThirdPartyJobCommandError = async (output, context) => {
|
|
455
455
|
const parsedOutput = {
|
|
456
456
|
...output,
|
|
457
|
-
body: await
|
|
457
|
+
body: await parseErrorBody(output.body, context),
|
|
458
458
|
};
|
|
459
459
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
460
460
|
switch (errorCode) {
|
|
@@ -497,7 +497,7 @@ exports.deserializeAws_json1_1CreateCustomActionTypeCommand = deserializeAws_jso
|
|
|
497
497
|
const deserializeAws_json1_1CreateCustomActionTypeCommandError = async (output, context) => {
|
|
498
498
|
const parsedOutput = {
|
|
499
499
|
...output,
|
|
500
|
-
body: await
|
|
500
|
+
body: await parseErrorBody(output.body, context),
|
|
501
501
|
};
|
|
502
502
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
503
503
|
switch (errorCode) {
|
|
@@ -543,7 +543,7 @@ exports.deserializeAws_json1_1CreatePipelineCommand = deserializeAws_json1_1Crea
|
|
|
543
543
|
const deserializeAws_json1_1CreatePipelineCommandError = async (output, context) => {
|
|
544
544
|
const parsedOutput = {
|
|
545
545
|
...output,
|
|
546
|
-
body: await
|
|
546
|
+
body: await parseErrorBody(output.body, context),
|
|
547
547
|
};
|
|
548
548
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
549
549
|
switch (errorCode) {
|
|
@@ -601,7 +601,7 @@ exports.deserializeAws_json1_1DeleteCustomActionTypeCommand = deserializeAws_jso
|
|
|
601
601
|
const deserializeAws_json1_1DeleteCustomActionTypeCommandError = async (output, context) => {
|
|
602
602
|
const parsedOutput = {
|
|
603
603
|
...output,
|
|
604
|
-
body: await
|
|
604
|
+
body: await parseErrorBody(output.body, context),
|
|
605
605
|
};
|
|
606
606
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
607
607
|
switch (errorCode) {
|
|
@@ -635,7 +635,7 @@ exports.deserializeAws_json1_1DeletePipelineCommand = deserializeAws_json1_1Dele
|
|
|
635
635
|
const deserializeAws_json1_1DeletePipelineCommandError = async (output, context) => {
|
|
636
636
|
const parsedOutput = {
|
|
637
637
|
...output,
|
|
638
|
-
body: await
|
|
638
|
+
body: await parseErrorBody(output.body, context),
|
|
639
639
|
};
|
|
640
640
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
641
641
|
switch (errorCode) {
|
|
@@ -672,7 +672,7 @@ exports.deserializeAws_json1_1DeleteWebhookCommand = deserializeAws_json1_1Delet
|
|
|
672
672
|
const deserializeAws_json1_1DeleteWebhookCommandError = async (output, context) => {
|
|
673
673
|
const parsedOutput = {
|
|
674
674
|
...output,
|
|
675
|
-
body: await
|
|
675
|
+
body: await parseErrorBody(output.body, context),
|
|
676
676
|
};
|
|
677
677
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
678
678
|
switch (errorCode) {
|
|
@@ -709,7 +709,7 @@ exports.deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommand = deseriali
|
|
|
709
709
|
const deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommandError = async (output, context) => {
|
|
710
710
|
const parsedOutput = {
|
|
711
711
|
...output,
|
|
712
|
-
body: await
|
|
712
|
+
body: await parseErrorBody(output.body, context),
|
|
713
713
|
};
|
|
714
714
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
715
715
|
switch (errorCode) {
|
|
@@ -743,7 +743,7 @@ exports.deserializeAws_json1_1DisableStageTransitionCommand = deserializeAws_jso
|
|
|
743
743
|
const deserializeAws_json1_1DisableStageTransitionCommandError = async (output, context) => {
|
|
744
744
|
const parsedOutput = {
|
|
745
745
|
...output,
|
|
746
|
-
body: await
|
|
746
|
+
body: await parseErrorBody(output.body, context),
|
|
747
747
|
};
|
|
748
748
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
749
749
|
switch (errorCode) {
|
|
@@ -780,7 +780,7 @@ exports.deserializeAws_json1_1EnableStageTransitionCommand = deserializeAws_json
|
|
|
780
780
|
const deserializeAws_json1_1EnableStageTransitionCommandError = async (output, context) => {
|
|
781
781
|
const parsedOutput = {
|
|
782
782
|
...output,
|
|
783
|
-
body: await
|
|
783
|
+
body: await parseErrorBody(output.body, context),
|
|
784
784
|
};
|
|
785
785
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
786
786
|
switch (errorCode) {
|
|
@@ -820,7 +820,7 @@ exports.deserializeAws_json1_1GetActionTypeCommand = deserializeAws_json1_1GetAc
|
|
|
820
820
|
const deserializeAws_json1_1GetActionTypeCommandError = async (output, context) => {
|
|
821
821
|
const parsedOutput = {
|
|
822
822
|
...output,
|
|
823
|
-
body: await
|
|
823
|
+
body: await parseErrorBody(output.body, context),
|
|
824
824
|
};
|
|
825
825
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
826
826
|
switch (errorCode) {
|
|
@@ -857,7 +857,7 @@ exports.deserializeAws_json1_1GetJobDetailsCommand = deserializeAws_json1_1GetJo
|
|
|
857
857
|
const deserializeAws_json1_1GetJobDetailsCommandError = async (output, context) => {
|
|
858
858
|
const parsedOutput = {
|
|
859
859
|
...output,
|
|
860
|
-
body: await
|
|
860
|
+
body: await parseErrorBody(output.body, context),
|
|
861
861
|
};
|
|
862
862
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
863
863
|
switch (errorCode) {
|
|
@@ -894,7 +894,7 @@ exports.deserializeAws_json1_1GetPipelineCommand = deserializeAws_json1_1GetPipe
|
|
|
894
894
|
const deserializeAws_json1_1GetPipelineCommandError = async (output, context) => {
|
|
895
895
|
const parsedOutput = {
|
|
896
896
|
...output,
|
|
897
|
-
body: await
|
|
897
|
+
body: await parseErrorBody(output.body, context),
|
|
898
898
|
};
|
|
899
899
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
900
900
|
switch (errorCode) {
|
|
@@ -934,7 +934,7 @@ exports.deserializeAws_json1_1GetPipelineExecutionCommand = deserializeAws_json1
|
|
|
934
934
|
const deserializeAws_json1_1GetPipelineExecutionCommandError = async (output, context) => {
|
|
935
935
|
const parsedOutput = {
|
|
936
936
|
...output,
|
|
937
|
-
body: await
|
|
937
|
+
body: await parseErrorBody(output.body, context),
|
|
938
938
|
};
|
|
939
939
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
940
940
|
switch (errorCode) {
|
|
@@ -974,7 +974,7 @@ exports.deserializeAws_json1_1GetPipelineStateCommand = deserializeAws_json1_1Ge
|
|
|
974
974
|
const deserializeAws_json1_1GetPipelineStateCommandError = async (output, context) => {
|
|
975
975
|
const parsedOutput = {
|
|
976
976
|
...output,
|
|
977
|
-
body: await
|
|
977
|
+
body: await parseErrorBody(output.body, context),
|
|
978
978
|
};
|
|
979
979
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
980
980
|
switch (errorCode) {
|
|
@@ -1011,7 +1011,7 @@ exports.deserializeAws_json1_1GetThirdPartyJobDetailsCommand = deserializeAws_js
|
|
|
1011
1011
|
const deserializeAws_json1_1GetThirdPartyJobDetailsCommandError = async (output, context) => {
|
|
1012
1012
|
const parsedOutput = {
|
|
1013
1013
|
...output,
|
|
1014
|
-
body: await
|
|
1014
|
+
body: await parseErrorBody(output.body, context),
|
|
1015
1015
|
};
|
|
1016
1016
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1017
1017
|
switch (errorCode) {
|
|
@@ -1054,7 +1054,7 @@ exports.deserializeAws_json1_1ListActionExecutionsCommand = deserializeAws_json1
|
|
|
1054
1054
|
const deserializeAws_json1_1ListActionExecutionsCommandError = async (output, context) => {
|
|
1055
1055
|
const parsedOutput = {
|
|
1056
1056
|
...output,
|
|
1057
|
-
body: await
|
|
1057
|
+
body: await parseErrorBody(output.body, context),
|
|
1058
1058
|
};
|
|
1059
1059
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1060
1060
|
switch (errorCode) {
|
|
@@ -1097,7 +1097,7 @@ exports.deserializeAws_json1_1ListActionTypesCommand = deserializeAws_json1_1Lis
|
|
|
1097
1097
|
const deserializeAws_json1_1ListActionTypesCommandError = async (output, context) => {
|
|
1098
1098
|
const parsedOutput = {
|
|
1099
1099
|
...output,
|
|
1100
|
-
body: await
|
|
1100
|
+
body: await parseErrorBody(output.body, context),
|
|
1101
1101
|
};
|
|
1102
1102
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1103
1103
|
switch (errorCode) {
|
|
@@ -1134,7 +1134,7 @@ exports.deserializeAws_json1_1ListPipelineExecutionsCommand = deserializeAws_jso
|
|
|
1134
1134
|
const deserializeAws_json1_1ListPipelineExecutionsCommandError = async (output, context) => {
|
|
1135
1135
|
const parsedOutput = {
|
|
1136
1136
|
...output,
|
|
1137
|
-
body: await
|
|
1137
|
+
body: await parseErrorBody(output.body, context),
|
|
1138
1138
|
};
|
|
1139
1139
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1140
1140
|
switch (errorCode) {
|
|
@@ -1174,7 +1174,7 @@ exports.deserializeAws_json1_1ListPipelinesCommand = deserializeAws_json1_1ListP
|
|
|
1174
1174
|
const deserializeAws_json1_1ListPipelinesCommandError = async (output, context) => {
|
|
1175
1175
|
const parsedOutput = {
|
|
1176
1176
|
...output,
|
|
1177
|
-
body: await
|
|
1177
|
+
body: await parseErrorBody(output.body, context),
|
|
1178
1178
|
};
|
|
1179
1179
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1180
1180
|
switch (errorCode) {
|
|
@@ -1211,7 +1211,7 @@ exports.deserializeAws_json1_1ListTagsForResourceCommand = deserializeAws_json1_
|
|
|
1211
1211
|
const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, context) => {
|
|
1212
1212
|
const parsedOutput = {
|
|
1213
1213
|
...output,
|
|
1214
|
-
body: await
|
|
1214
|
+
body: await parseErrorBody(output.body, context),
|
|
1215
1215
|
};
|
|
1216
1216
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1217
1217
|
switch (errorCode) {
|
|
@@ -1254,7 +1254,7 @@ exports.deserializeAws_json1_1ListWebhooksCommand = deserializeAws_json1_1ListWe
|
|
|
1254
1254
|
const deserializeAws_json1_1ListWebhooksCommandError = async (output, context) => {
|
|
1255
1255
|
const parsedOutput = {
|
|
1256
1256
|
...output,
|
|
1257
|
-
body: await
|
|
1257
|
+
body: await parseErrorBody(output.body, context),
|
|
1258
1258
|
};
|
|
1259
1259
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1260
1260
|
switch (errorCode) {
|
|
@@ -1291,7 +1291,7 @@ exports.deserializeAws_json1_1PollForJobsCommand = deserializeAws_json1_1PollFor
|
|
|
1291
1291
|
const deserializeAws_json1_1PollForJobsCommandError = async (output, context) => {
|
|
1292
1292
|
const parsedOutput = {
|
|
1293
1293
|
...output,
|
|
1294
|
-
body: await
|
|
1294
|
+
body: await parseErrorBody(output.body, context),
|
|
1295
1295
|
};
|
|
1296
1296
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1297
1297
|
switch (errorCode) {
|
|
@@ -1328,7 +1328,7 @@ exports.deserializeAws_json1_1PollForThirdPartyJobsCommand = deserializeAws_json
|
|
|
1328
1328
|
const deserializeAws_json1_1PollForThirdPartyJobsCommandError = async (output, context) => {
|
|
1329
1329
|
const parsedOutput = {
|
|
1330
1330
|
...output,
|
|
1331
|
-
body: await
|
|
1331
|
+
body: await parseErrorBody(output.body, context),
|
|
1332
1332
|
};
|
|
1333
1333
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1334
1334
|
switch (errorCode) {
|
|
@@ -1365,7 +1365,7 @@ exports.deserializeAws_json1_1PutActionRevisionCommand = deserializeAws_json1_1P
|
|
|
1365
1365
|
const deserializeAws_json1_1PutActionRevisionCommandError = async (output, context) => {
|
|
1366
1366
|
const parsedOutput = {
|
|
1367
1367
|
...output,
|
|
1368
|
-
body: await
|
|
1368
|
+
body: await parseErrorBody(output.body, context),
|
|
1369
1369
|
};
|
|
1370
1370
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1371
1371
|
switch (errorCode) {
|
|
@@ -1408,7 +1408,7 @@ exports.deserializeAws_json1_1PutApprovalResultCommand = deserializeAws_json1_1P
|
|
|
1408
1408
|
const deserializeAws_json1_1PutApprovalResultCommandError = async (output, context) => {
|
|
1409
1409
|
const parsedOutput = {
|
|
1410
1410
|
...output,
|
|
1411
|
-
body: await
|
|
1411
|
+
body: await parseErrorBody(output.body, context),
|
|
1412
1412
|
};
|
|
1413
1413
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1414
1414
|
switch (errorCode) {
|
|
@@ -1454,7 +1454,7 @@ exports.deserializeAws_json1_1PutJobFailureResultCommand = deserializeAws_json1_
|
|
|
1454
1454
|
const deserializeAws_json1_1PutJobFailureResultCommandError = async (output, context) => {
|
|
1455
1455
|
const parsedOutput = {
|
|
1456
1456
|
...output,
|
|
1457
|
-
body: await
|
|
1457
|
+
body: await parseErrorBody(output.body, context),
|
|
1458
1458
|
};
|
|
1459
1459
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1460
1460
|
switch (errorCode) {
|
|
@@ -1491,7 +1491,7 @@ exports.deserializeAws_json1_1PutJobSuccessResultCommand = deserializeAws_json1_
|
|
|
1491
1491
|
const deserializeAws_json1_1PutJobSuccessResultCommandError = async (output, context) => {
|
|
1492
1492
|
const parsedOutput = {
|
|
1493
1493
|
...output,
|
|
1494
|
-
body: await
|
|
1494
|
+
body: await parseErrorBody(output.body, context),
|
|
1495
1495
|
};
|
|
1496
1496
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1497
1497
|
switch (errorCode) {
|
|
@@ -1531,7 +1531,7 @@ exports.deserializeAws_json1_1PutThirdPartyJobFailureResultCommand = deserialize
|
|
|
1531
1531
|
const deserializeAws_json1_1PutThirdPartyJobFailureResultCommandError = async (output, context) => {
|
|
1532
1532
|
const parsedOutput = {
|
|
1533
1533
|
...output,
|
|
1534
|
-
body: await
|
|
1534
|
+
body: await parseErrorBody(output.body, context),
|
|
1535
1535
|
};
|
|
1536
1536
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1537
1537
|
switch (errorCode) {
|
|
@@ -1571,7 +1571,7 @@ exports.deserializeAws_json1_1PutThirdPartyJobSuccessResultCommand = deserialize
|
|
|
1571
1571
|
const deserializeAws_json1_1PutThirdPartyJobSuccessResultCommandError = async (output, context) => {
|
|
1572
1572
|
const parsedOutput = {
|
|
1573
1573
|
...output,
|
|
1574
|
-
body: await
|
|
1574
|
+
body: await parseErrorBody(output.body, context),
|
|
1575
1575
|
};
|
|
1576
1576
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1577
1577
|
switch (errorCode) {
|
|
@@ -1614,7 +1614,7 @@ exports.deserializeAws_json1_1PutWebhookCommand = deserializeAws_json1_1PutWebho
|
|
|
1614
1614
|
const deserializeAws_json1_1PutWebhookCommandError = async (output, context) => {
|
|
1615
1615
|
const parsedOutput = {
|
|
1616
1616
|
...output,
|
|
1617
|
-
body: await
|
|
1617
|
+
body: await parseErrorBody(output.body, context),
|
|
1618
1618
|
};
|
|
1619
1619
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1620
1620
|
switch (errorCode) {
|
|
@@ -1669,7 +1669,7 @@ exports.deserializeAws_json1_1RegisterWebhookWithThirdPartyCommand = deserialize
|
|
|
1669
1669
|
const deserializeAws_json1_1RegisterWebhookWithThirdPartyCommandError = async (output, context) => {
|
|
1670
1670
|
const parsedOutput = {
|
|
1671
1671
|
...output,
|
|
1672
|
-
body: await
|
|
1672
|
+
body: await parseErrorBody(output.body, context),
|
|
1673
1673
|
};
|
|
1674
1674
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1675
1675
|
switch (errorCode) {
|
|
@@ -1706,7 +1706,7 @@ exports.deserializeAws_json1_1RetryStageExecutionCommand = deserializeAws_json1_
|
|
|
1706
1706
|
const deserializeAws_json1_1RetryStageExecutionCommandError = async (output, context) => {
|
|
1707
1707
|
const parsedOutput = {
|
|
1708
1708
|
...output,
|
|
1709
|
-
body: await
|
|
1709
|
+
body: await parseErrorBody(output.body, context),
|
|
1710
1710
|
};
|
|
1711
1711
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1712
1712
|
switch (errorCode) {
|
|
@@ -1755,7 +1755,7 @@ exports.deserializeAws_json1_1StartPipelineExecutionCommand = deserializeAws_jso
|
|
|
1755
1755
|
const deserializeAws_json1_1StartPipelineExecutionCommandError = async (output, context) => {
|
|
1756
1756
|
const parsedOutput = {
|
|
1757
1757
|
...output,
|
|
1758
|
-
body: await
|
|
1758
|
+
body: await parseErrorBody(output.body, context),
|
|
1759
1759
|
};
|
|
1760
1760
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1761
1761
|
switch (errorCode) {
|
|
@@ -1795,7 +1795,7 @@ exports.deserializeAws_json1_1StopPipelineExecutionCommand = deserializeAws_json
|
|
|
1795
1795
|
const deserializeAws_json1_1StopPipelineExecutionCommandError = async (output, context) => {
|
|
1796
1796
|
const parsedOutput = {
|
|
1797
1797
|
...output,
|
|
1798
|
-
body: await
|
|
1798
|
+
body: await parseErrorBody(output.body, context),
|
|
1799
1799
|
};
|
|
1800
1800
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1801
1801
|
switch (errorCode) {
|
|
@@ -1841,7 +1841,7 @@ exports.deserializeAws_json1_1TagResourceCommand = deserializeAws_json1_1TagReso
|
|
|
1841
1841
|
const deserializeAws_json1_1TagResourceCommandError = async (output, context) => {
|
|
1842
1842
|
const parsedOutput = {
|
|
1843
1843
|
...output,
|
|
1844
|
-
body: await
|
|
1844
|
+
body: await parseErrorBody(output.body, context),
|
|
1845
1845
|
};
|
|
1846
1846
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1847
1847
|
switch (errorCode) {
|
|
@@ -1890,7 +1890,7 @@ exports.deserializeAws_json1_1UntagResourceCommand = deserializeAws_json1_1Untag
|
|
|
1890
1890
|
const deserializeAws_json1_1UntagResourceCommandError = async (output, context) => {
|
|
1891
1891
|
const parsedOutput = {
|
|
1892
1892
|
...output,
|
|
1893
|
-
body: await
|
|
1893
|
+
body: await parseErrorBody(output.body, context),
|
|
1894
1894
|
};
|
|
1895
1895
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1896
1896
|
switch (errorCode) {
|
|
@@ -1933,7 +1933,7 @@ exports.deserializeAws_json1_1UpdateActionTypeCommand = deserializeAws_json1_1Up
|
|
|
1933
1933
|
const deserializeAws_json1_1UpdateActionTypeCommandError = async (output, context) => {
|
|
1934
1934
|
const parsedOutput = {
|
|
1935
1935
|
...output,
|
|
1936
|
-
body: await
|
|
1936
|
+
body: await parseErrorBody(output.body, context),
|
|
1937
1937
|
};
|
|
1938
1938
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1939
1939
|
switch (errorCode) {
|
|
@@ -1973,7 +1973,7 @@ exports.deserializeAws_json1_1UpdatePipelineCommand = deserializeAws_json1_1Upda
|
|
|
1973
1973
|
const deserializeAws_json1_1UpdatePipelineCommandError = async (output, context) => {
|
|
1974
1974
|
const parsedOutput = {
|
|
1975
1975
|
...output,
|
|
1976
|
-
body: await
|
|
1976
|
+
body: await parseErrorBody(output.body, context),
|
|
1977
1977
|
};
|
|
1978
1978
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1979
1979
|
switch (errorCode) {
|
|
@@ -4291,6 +4291,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
4291
4291
|
}
|
|
4292
4292
|
return {};
|
|
4293
4293
|
});
|
|
4294
|
+
const parseErrorBody = async (errorBody, context) => {
|
|
4295
|
+
var _a;
|
|
4296
|
+
const value = await parseBody(errorBody, context);
|
|
4297
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
4298
|
+
return value;
|
|
4299
|
+
};
|
|
4294
4300
|
const loadRestJsonErrorCode = (output, data) => {
|
|
4295
4301
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
4296
4302
|
const sanitizeErrorCode = (rawValue) => {
|