@aws-sdk/client-codepipeline 3.118.1 → 3.128.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +519 -692
- package/dist-es/protocols/Aws_json1_1.js +404 -577
- package/package.json +26 -26
|
@@ -452,7 +452,7 @@ export var deserializeAws_json1_1AcknowledgeJobCommand = function (output, conte
|
|
|
452
452
|
});
|
|
453
453
|
}); };
|
|
454
454
|
var deserializeAws_json1_1AcknowledgeJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
455
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
455
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
456
456
|
var _c;
|
|
457
457
|
return __generator(this, function (_d) {
|
|
458
458
|
switch (_d.label) {
|
|
@@ -462,7 +462,6 @@ var deserializeAws_json1_1AcknowledgeJobCommandError = function (output, context
|
|
|
462
462
|
return [4, parseBody(output.body, context)];
|
|
463
463
|
case 1:
|
|
464
464
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
465
|
-
errorCode = "UnknownError";
|
|
466
465
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
467
466
|
_b = errorCode;
|
|
468
467
|
switch (_b) {
|
|
@@ -482,10 +481,12 @@ var deserializeAws_json1_1AcknowledgeJobCommandError = function (output, context
|
|
|
482
481
|
case 7: throw _d.sent();
|
|
483
482
|
case 8:
|
|
484
483
|
parsedBody = parsedOutput.body;
|
|
484
|
+
$metadata = deserializeMetadata(output);
|
|
485
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
485
486
|
response = new __BaseException({
|
|
486
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
487
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
487
488
|
$fault: "client",
|
|
488
|
-
$metadata:
|
|
489
|
+
$metadata: $metadata,
|
|
489
490
|
});
|
|
490
491
|
throw __decorateServiceException(response, parsedBody);
|
|
491
492
|
}
|
|
@@ -510,7 +511,7 @@ export var deserializeAws_json1_1AcknowledgeThirdPartyJobCommand = function (out
|
|
|
510
511
|
});
|
|
511
512
|
}); };
|
|
512
513
|
var deserializeAws_json1_1AcknowledgeThirdPartyJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
513
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
514
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
514
515
|
var _c;
|
|
515
516
|
return __generator(this, function (_d) {
|
|
516
517
|
switch (_d.label) {
|
|
@@ -520,7 +521,6 @@ var deserializeAws_json1_1AcknowledgeThirdPartyJobCommandError = function (outpu
|
|
|
520
521
|
return [4, parseBody(output.body, context)];
|
|
521
522
|
case 1:
|
|
522
523
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
523
|
-
errorCode = "UnknownError";
|
|
524
524
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
525
525
|
_b = errorCode;
|
|
526
526
|
switch (_b) {
|
|
@@ -544,10 +544,12 @@ var deserializeAws_json1_1AcknowledgeThirdPartyJobCommandError = function (outpu
|
|
|
544
544
|
case 9: throw _d.sent();
|
|
545
545
|
case 10:
|
|
546
546
|
parsedBody = parsedOutput.body;
|
|
547
|
+
$metadata = deserializeMetadata(output);
|
|
548
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
547
549
|
response = new __BaseException({
|
|
548
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
550
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
549
551
|
$fault: "client",
|
|
550
|
-
$metadata:
|
|
552
|
+
$metadata: $metadata,
|
|
551
553
|
});
|
|
552
554
|
throw __decorateServiceException(response, parsedBody);
|
|
553
555
|
}
|
|
@@ -572,7 +574,7 @@ export var deserializeAws_json1_1CreateCustomActionTypeCommand = function (outpu
|
|
|
572
574
|
});
|
|
573
575
|
}); };
|
|
574
576
|
var deserializeAws_json1_1CreateCustomActionTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
575
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
577
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
576
578
|
var _c;
|
|
577
579
|
return __generator(this, function (_d) {
|
|
578
580
|
switch (_d.label) {
|
|
@@ -582,7 +584,6 @@ var deserializeAws_json1_1CreateCustomActionTypeCommandError = function (output,
|
|
|
582
584
|
return [4, parseBody(output.body, context)];
|
|
583
585
|
case 1:
|
|
584
586
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
585
|
-
errorCode = "UnknownError";
|
|
586
587
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
587
588
|
_b = errorCode;
|
|
588
589
|
switch (_b) {
|
|
@@ -610,10 +611,12 @@ var deserializeAws_json1_1CreateCustomActionTypeCommandError = function (output,
|
|
|
610
611
|
case 11: throw _d.sent();
|
|
611
612
|
case 12:
|
|
612
613
|
parsedBody = parsedOutput.body;
|
|
614
|
+
$metadata = deserializeMetadata(output);
|
|
615
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
613
616
|
response = new __BaseException({
|
|
614
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
617
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
615
618
|
$fault: "client",
|
|
616
|
-
$metadata:
|
|
619
|
+
$metadata: $metadata,
|
|
617
620
|
});
|
|
618
621
|
throw __decorateServiceException(response, parsedBody);
|
|
619
622
|
}
|
|
@@ -638,7 +641,7 @@ export var deserializeAws_json1_1CreatePipelineCommand = function (output, conte
|
|
|
638
641
|
});
|
|
639
642
|
}); };
|
|
640
643
|
var deserializeAws_json1_1CreatePipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
641
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
644
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
642
645
|
var _c;
|
|
643
646
|
return __generator(this, function (_d) {
|
|
644
647
|
switch (_d.label) {
|
|
@@ -648,7 +651,6 @@ var deserializeAws_json1_1CreatePipelineCommandError = function (output, context
|
|
|
648
651
|
return [4, parseBody(output.body, context)];
|
|
649
652
|
case 1:
|
|
650
653
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
651
|
-
errorCode = "UnknownError";
|
|
652
654
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
653
655
|
_b = errorCode;
|
|
654
656
|
switch (_b) {
|
|
@@ -696,10 +698,12 @@ var deserializeAws_json1_1CreatePipelineCommandError = function (output, context
|
|
|
696
698
|
case 21: throw _d.sent();
|
|
697
699
|
case 22:
|
|
698
700
|
parsedBody = parsedOutput.body;
|
|
701
|
+
$metadata = deserializeMetadata(output);
|
|
702
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
699
703
|
response = new __BaseException({
|
|
700
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
704
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
701
705
|
$fault: "client",
|
|
702
|
-
$metadata:
|
|
706
|
+
$metadata: $metadata,
|
|
703
707
|
});
|
|
704
708
|
throw __decorateServiceException(response, parsedBody);
|
|
705
709
|
}
|
|
@@ -724,7 +728,7 @@ export var deserializeAws_json1_1DeleteCustomActionTypeCommand = function (outpu
|
|
|
724
728
|
});
|
|
725
729
|
}); };
|
|
726
730
|
var deserializeAws_json1_1DeleteCustomActionTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
727
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
731
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
728
732
|
var _c;
|
|
729
733
|
return __generator(this, function (_d) {
|
|
730
734
|
switch (_d.label) {
|
|
@@ -734,7 +738,6 @@ var deserializeAws_json1_1DeleteCustomActionTypeCommandError = function (output,
|
|
|
734
738
|
return [4, parseBody(output.body, context)];
|
|
735
739
|
case 1:
|
|
736
740
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
737
|
-
errorCode = "UnknownError";
|
|
738
741
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
739
742
|
_b = errorCode;
|
|
740
743
|
switch (_b) {
|
|
@@ -750,10 +753,12 @@ var deserializeAws_json1_1DeleteCustomActionTypeCommandError = function (output,
|
|
|
750
753
|
case 5: throw _d.sent();
|
|
751
754
|
case 6:
|
|
752
755
|
parsedBody = parsedOutput.body;
|
|
756
|
+
$metadata = deserializeMetadata(output);
|
|
757
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
753
758
|
response = new __BaseException({
|
|
754
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
759
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
755
760
|
$fault: "client",
|
|
756
|
-
$metadata:
|
|
761
|
+
$metadata: $metadata,
|
|
757
762
|
});
|
|
758
763
|
throw __decorateServiceException(response, parsedBody);
|
|
759
764
|
}
|
|
@@ -778,7 +783,7 @@ export var deserializeAws_json1_1DeletePipelineCommand = function (output, conte
|
|
|
778
783
|
});
|
|
779
784
|
}); };
|
|
780
785
|
var deserializeAws_json1_1DeletePipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
781
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
786
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
782
787
|
var _c;
|
|
783
788
|
return __generator(this, function (_d) {
|
|
784
789
|
switch (_d.label) {
|
|
@@ -788,7 +793,6 @@ var deserializeAws_json1_1DeletePipelineCommandError = function (output, context
|
|
|
788
793
|
return [4, parseBody(output.body, context)];
|
|
789
794
|
case 1:
|
|
790
795
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
791
|
-
errorCode = "UnknownError";
|
|
792
796
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
793
797
|
_b = errorCode;
|
|
794
798
|
switch (_b) {
|
|
@@ -804,10 +808,12 @@ var deserializeAws_json1_1DeletePipelineCommandError = function (output, context
|
|
|
804
808
|
case 5: throw _d.sent();
|
|
805
809
|
case 6:
|
|
806
810
|
parsedBody = parsedOutput.body;
|
|
811
|
+
$metadata = deserializeMetadata(output);
|
|
812
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
807
813
|
response = new __BaseException({
|
|
808
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
814
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
809
815
|
$fault: "client",
|
|
810
|
-
$metadata:
|
|
816
|
+
$metadata: $metadata,
|
|
811
817
|
});
|
|
812
818
|
throw __decorateServiceException(response, parsedBody);
|
|
813
819
|
}
|
|
@@ -832,7 +838,7 @@ export var deserializeAws_json1_1DeleteWebhookCommand = function (output, contex
|
|
|
832
838
|
});
|
|
833
839
|
}); };
|
|
834
840
|
var deserializeAws_json1_1DeleteWebhookCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
835
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
841
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
836
842
|
var _c;
|
|
837
843
|
return __generator(this, function (_d) {
|
|
838
844
|
switch (_d.label) {
|
|
@@ -842,7 +848,6 @@ var deserializeAws_json1_1DeleteWebhookCommandError = function (output, context)
|
|
|
842
848
|
return [4, parseBody(output.body, context)];
|
|
843
849
|
case 1:
|
|
844
850
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
845
|
-
errorCode = "UnknownError";
|
|
846
851
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
847
852
|
_b = errorCode;
|
|
848
853
|
switch (_b) {
|
|
@@ -858,10 +863,12 @@ var deserializeAws_json1_1DeleteWebhookCommandError = function (output, context)
|
|
|
858
863
|
case 5: throw _d.sent();
|
|
859
864
|
case 6:
|
|
860
865
|
parsedBody = parsedOutput.body;
|
|
866
|
+
$metadata = deserializeMetadata(output);
|
|
867
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
861
868
|
response = new __BaseException({
|
|
862
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
869
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
863
870
|
$fault: "client",
|
|
864
|
-
$metadata:
|
|
871
|
+
$metadata: $metadata,
|
|
865
872
|
});
|
|
866
873
|
throw __decorateServiceException(response, parsedBody);
|
|
867
874
|
}
|
|
@@ -886,7 +893,7 @@ export var deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommand = functi
|
|
|
886
893
|
});
|
|
887
894
|
}); };
|
|
888
895
|
var deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
889
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
896
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
890
897
|
var _c;
|
|
891
898
|
return __generator(this, function (_d) {
|
|
892
899
|
switch (_d.label) {
|
|
@@ -896,7 +903,6 @@ var deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommandError = function
|
|
|
896
903
|
return [4, parseBody(output.body, context)];
|
|
897
904
|
case 1:
|
|
898
905
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
899
|
-
errorCode = "UnknownError";
|
|
900
906
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
901
907
|
_b = errorCode;
|
|
902
908
|
switch (_b) {
|
|
@@ -912,10 +918,12 @@ var deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommandError = function
|
|
|
912
918
|
case 5: throw _d.sent();
|
|
913
919
|
case 6:
|
|
914
920
|
parsedBody = parsedOutput.body;
|
|
921
|
+
$metadata = deserializeMetadata(output);
|
|
922
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
915
923
|
response = new __BaseException({
|
|
916
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
924
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
917
925
|
$fault: "client",
|
|
918
|
-
$metadata:
|
|
926
|
+
$metadata: $metadata,
|
|
919
927
|
});
|
|
920
928
|
throw __decorateServiceException(response, parsedBody);
|
|
921
929
|
}
|
|
@@ -940,7 +948,7 @@ export var deserializeAws_json1_1DisableStageTransitionCommand = function (outpu
|
|
|
940
948
|
});
|
|
941
949
|
}); };
|
|
942
950
|
var deserializeAws_json1_1DisableStageTransitionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
943
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
951
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
944
952
|
var _c;
|
|
945
953
|
return __generator(this, function (_d) {
|
|
946
954
|
switch (_d.label) {
|
|
@@ -950,7 +958,6 @@ var deserializeAws_json1_1DisableStageTransitionCommandError = function (output,
|
|
|
950
958
|
return [4, parseBody(output.body, context)];
|
|
951
959
|
case 1:
|
|
952
960
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
953
|
-
errorCode = "UnknownError";
|
|
954
961
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
955
962
|
_b = errorCode;
|
|
956
963
|
switch (_b) {
|
|
@@ -970,10 +977,12 @@ var deserializeAws_json1_1DisableStageTransitionCommandError = function (output,
|
|
|
970
977
|
case 7: throw _d.sent();
|
|
971
978
|
case 8:
|
|
972
979
|
parsedBody = parsedOutput.body;
|
|
980
|
+
$metadata = deserializeMetadata(output);
|
|
981
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
973
982
|
response = new __BaseException({
|
|
974
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
983
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
975
984
|
$fault: "client",
|
|
976
|
-
$metadata:
|
|
985
|
+
$metadata: $metadata,
|
|
977
986
|
});
|
|
978
987
|
throw __decorateServiceException(response, parsedBody);
|
|
979
988
|
}
|
|
@@ -998,7 +1007,7 @@ export var deserializeAws_json1_1EnableStageTransitionCommand = function (output
|
|
|
998
1007
|
});
|
|
999
1008
|
}); };
|
|
1000
1009
|
var deserializeAws_json1_1EnableStageTransitionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1001
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1010
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1002
1011
|
var _c;
|
|
1003
1012
|
return __generator(this, function (_d) {
|
|
1004
1013
|
switch (_d.label) {
|
|
@@ -1008,7 +1017,6 @@ var deserializeAws_json1_1EnableStageTransitionCommandError = function (output,
|
|
|
1008
1017
|
return [4, parseBody(output.body, context)];
|
|
1009
1018
|
case 1:
|
|
1010
1019
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1011
|
-
errorCode = "UnknownError";
|
|
1012
1020
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1013
1021
|
_b = errorCode;
|
|
1014
1022
|
switch (_b) {
|
|
@@ -1028,10 +1036,12 @@ var deserializeAws_json1_1EnableStageTransitionCommandError = function (output,
|
|
|
1028
1036
|
case 7: throw _d.sent();
|
|
1029
1037
|
case 8:
|
|
1030
1038
|
parsedBody = parsedOutput.body;
|
|
1039
|
+
$metadata = deserializeMetadata(output);
|
|
1040
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1031
1041
|
response = new __BaseException({
|
|
1032
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1042
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1033
1043
|
$fault: "client",
|
|
1034
|
-
$metadata:
|
|
1044
|
+
$metadata: $metadata,
|
|
1035
1045
|
});
|
|
1036
1046
|
throw __decorateServiceException(response, parsedBody);
|
|
1037
1047
|
}
|
|
@@ -1056,7 +1066,7 @@ export var deserializeAws_json1_1GetActionTypeCommand = function (output, contex
|
|
|
1056
1066
|
});
|
|
1057
1067
|
}); };
|
|
1058
1068
|
var deserializeAws_json1_1GetActionTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1059
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1069
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1060
1070
|
var _c;
|
|
1061
1071
|
return __generator(this, function (_d) {
|
|
1062
1072
|
switch (_d.label) {
|
|
@@ -1066,7 +1076,6 @@ var deserializeAws_json1_1GetActionTypeCommandError = function (output, context)
|
|
|
1066
1076
|
return [4, parseBody(output.body, context)];
|
|
1067
1077
|
case 1:
|
|
1068
1078
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1069
|
-
errorCode = "UnknownError";
|
|
1070
1079
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1071
1080
|
_b = errorCode;
|
|
1072
1081
|
switch (_b) {
|
|
@@ -1082,10 +1091,12 @@ var deserializeAws_json1_1GetActionTypeCommandError = function (output, context)
|
|
|
1082
1091
|
case 5: throw _d.sent();
|
|
1083
1092
|
case 6:
|
|
1084
1093
|
parsedBody = parsedOutput.body;
|
|
1094
|
+
$metadata = deserializeMetadata(output);
|
|
1095
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1085
1096
|
response = new __BaseException({
|
|
1086
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1097
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1087
1098
|
$fault: "client",
|
|
1088
|
-
$metadata:
|
|
1099
|
+
$metadata: $metadata,
|
|
1089
1100
|
});
|
|
1090
1101
|
throw __decorateServiceException(response, parsedBody);
|
|
1091
1102
|
}
|
|
@@ -1110,7 +1121,7 @@ export var deserializeAws_json1_1GetJobDetailsCommand = function (output, contex
|
|
|
1110
1121
|
});
|
|
1111
1122
|
}); };
|
|
1112
1123
|
var deserializeAws_json1_1GetJobDetailsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1113
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1124
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1114
1125
|
var _c;
|
|
1115
1126
|
return __generator(this, function (_d) {
|
|
1116
1127
|
switch (_d.label) {
|
|
@@ -1120,7 +1131,6 @@ var deserializeAws_json1_1GetJobDetailsCommandError = function (output, context)
|
|
|
1120
1131
|
return [4, parseBody(output.body, context)];
|
|
1121
1132
|
case 1:
|
|
1122
1133
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1123
|
-
errorCode = "UnknownError";
|
|
1124
1134
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1125
1135
|
_b = errorCode;
|
|
1126
1136
|
switch (_b) {
|
|
@@ -1136,10 +1146,12 @@ var deserializeAws_json1_1GetJobDetailsCommandError = function (output, context)
|
|
|
1136
1146
|
case 5: throw _d.sent();
|
|
1137
1147
|
case 6:
|
|
1138
1148
|
parsedBody = parsedOutput.body;
|
|
1149
|
+
$metadata = deserializeMetadata(output);
|
|
1150
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1139
1151
|
response = new __BaseException({
|
|
1140
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1152
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1141
1153
|
$fault: "client",
|
|
1142
|
-
$metadata:
|
|
1154
|
+
$metadata: $metadata,
|
|
1143
1155
|
});
|
|
1144
1156
|
throw __decorateServiceException(response, parsedBody);
|
|
1145
1157
|
}
|
|
@@ -1164,7 +1176,7 @@ export var deserializeAws_json1_1GetPipelineCommand = function (output, context)
|
|
|
1164
1176
|
});
|
|
1165
1177
|
}); };
|
|
1166
1178
|
var deserializeAws_json1_1GetPipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1167
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1179
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1168
1180
|
var _c;
|
|
1169
1181
|
return __generator(this, function (_d) {
|
|
1170
1182
|
switch (_d.label) {
|
|
@@ -1174,7 +1186,6 @@ var deserializeAws_json1_1GetPipelineCommandError = function (output, context) {
|
|
|
1174
1186
|
return [4, parseBody(output.body, context)];
|
|
1175
1187
|
case 1:
|
|
1176
1188
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1177
|
-
errorCode = "UnknownError";
|
|
1178
1189
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1179
1190
|
_b = errorCode;
|
|
1180
1191
|
switch (_b) {
|
|
@@ -1194,10 +1205,12 @@ var deserializeAws_json1_1GetPipelineCommandError = function (output, context) {
|
|
|
1194
1205
|
case 7: throw _d.sent();
|
|
1195
1206
|
case 8:
|
|
1196
1207
|
parsedBody = parsedOutput.body;
|
|
1208
|
+
$metadata = deserializeMetadata(output);
|
|
1209
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1197
1210
|
response = new __BaseException({
|
|
1198
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1211
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1199
1212
|
$fault: "client",
|
|
1200
|
-
$metadata:
|
|
1213
|
+
$metadata: $metadata,
|
|
1201
1214
|
});
|
|
1202
1215
|
throw __decorateServiceException(response, parsedBody);
|
|
1203
1216
|
}
|
|
@@ -1222,7 +1235,7 @@ export var deserializeAws_json1_1GetPipelineExecutionCommand = function (output,
|
|
|
1222
1235
|
});
|
|
1223
1236
|
}); };
|
|
1224
1237
|
var deserializeAws_json1_1GetPipelineExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1225
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1238
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1226
1239
|
var _c;
|
|
1227
1240
|
return __generator(this, function (_d) {
|
|
1228
1241
|
switch (_d.label) {
|
|
@@ -1232,7 +1245,6 @@ var deserializeAws_json1_1GetPipelineExecutionCommandError = function (output, c
|
|
|
1232
1245
|
return [4, parseBody(output.body, context)];
|
|
1233
1246
|
case 1:
|
|
1234
1247
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1235
|
-
errorCode = "UnknownError";
|
|
1236
1248
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1237
1249
|
_b = errorCode;
|
|
1238
1250
|
switch (_b) {
|
|
@@ -1252,10 +1264,12 @@ var deserializeAws_json1_1GetPipelineExecutionCommandError = function (output, c
|
|
|
1252
1264
|
case 7: throw _d.sent();
|
|
1253
1265
|
case 8:
|
|
1254
1266
|
parsedBody = parsedOutput.body;
|
|
1267
|
+
$metadata = deserializeMetadata(output);
|
|
1268
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1255
1269
|
response = new __BaseException({
|
|
1256
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1270
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1257
1271
|
$fault: "client",
|
|
1258
|
-
$metadata:
|
|
1272
|
+
$metadata: $metadata,
|
|
1259
1273
|
});
|
|
1260
1274
|
throw __decorateServiceException(response, parsedBody);
|
|
1261
1275
|
}
|
|
@@ -1280,7 +1294,7 @@ export var deserializeAws_json1_1GetPipelineStateCommand = function (output, con
|
|
|
1280
1294
|
});
|
|
1281
1295
|
}); };
|
|
1282
1296
|
var deserializeAws_json1_1GetPipelineStateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1283
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1297
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1284
1298
|
var _c;
|
|
1285
1299
|
return __generator(this, function (_d) {
|
|
1286
1300
|
switch (_d.label) {
|
|
@@ -1290,7 +1304,6 @@ var deserializeAws_json1_1GetPipelineStateCommandError = function (output, conte
|
|
|
1290
1304
|
return [4, parseBody(output.body, context)];
|
|
1291
1305
|
case 1:
|
|
1292
1306
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1293
|
-
errorCode = "UnknownError";
|
|
1294
1307
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1295
1308
|
_b = errorCode;
|
|
1296
1309
|
switch (_b) {
|
|
@@ -1306,10 +1319,12 @@ var deserializeAws_json1_1GetPipelineStateCommandError = function (output, conte
|
|
|
1306
1319
|
case 5: throw _d.sent();
|
|
1307
1320
|
case 6:
|
|
1308
1321
|
parsedBody = parsedOutput.body;
|
|
1322
|
+
$metadata = deserializeMetadata(output);
|
|
1323
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1309
1324
|
response = new __BaseException({
|
|
1310
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1325
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1311
1326
|
$fault: "client",
|
|
1312
|
-
$metadata:
|
|
1327
|
+
$metadata: $metadata,
|
|
1313
1328
|
});
|
|
1314
1329
|
throw __decorateServiceException(response, parsedBody);
|
|
1315
1330
|
}
|
|
@@ -1334,7 +1349,7 @@ export var deserializeAws_json1_1GetThirdPartyJobDetailsCommand = function (outp
|
|
|
1334
1349
|
});
|
|
1335
1350
|
}); };
|
|
1336
1351
|
var deserializeAws_json1_1GetThirdPartyJobDetailsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1337
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1352
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1338
1353
|
var _c;
|
|
1339
1354
|
return __generator(this, function (_d) {
|
|
1340
1355
|
switch (_d.label) {
|
|
@@ -1344,7 +1359,6 @@ var deserializeAws_json1_1GetThirdPartyJobDetailsCommandError = function (output
|
|
|
1344
1359
|
return [4, parseBody(output.body, context)];
|
|
1345
1360
|
case 1:
|
|
1346
1361
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1347
|
-
errorCode = "UnknownError";
|
|
1348
1362
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1349
1363
|
_b = errorCode;
|
|
1350
1364
|
switch (_b) {
|
|
@@ -1368,10 +1382,12 @@ var deserializeAws_json1_1GetThirdPartyJobDetailsCommandError = function (output
|
|
|
1368
1382
|
case 9: throw _d.sent();
|
|
1369
1383
|
case 10:
|
|
1370
1384
|
parsedBody = parsedOutput.body;
|
|
1385
|
+
$metadata = deserializeMetadata(output);
|
|
1386
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1371
1387
|
response = new __BaseException({
|
|
1372
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1388
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1373
1389
|
$fault: "client",
|
|
1374
|
-
$metadata:
|
|
1390
|
+
$metadata: $metadata,
|
|
1375
1391
|
});
|
|
1376
1392
|
throw __decorateServiceException(response, parsedBody);
|
|
1377
1393
|
}
|
|
@@ -1396,7 +1412,7 @@ export var deserializeAws_json1_1ListActionExecutionsCommand = function (output,
|
|
|
1396
1412
|
});
|
|
1397
1413
|
}); };
|
|
1398
1414
|
var deserializeAws_json1_1ListActionExecutionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1399
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1415
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1400
1416
|
var _c;
|
|
1401
1417
|
return __generator(this, function (_d) {
|
|
1402
1418
|
switch (_d.label) {
|
|
@@ -1406,7 +1422,6 @@ var deserializeAws_json1_1ListActionExecutionsCommandError = function (output, c
|
|
|
1406
1422
|
return [4, parseBody(output.body, context)];
|
|
1407
1423
|
case 1:
|
|
1408
1424
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1409
|
-
errorCode = "UnknownError";
|
|
1410
1425
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1411
1426
|
_b = errorCode;
|
|
1412
1427
|
switch (_b) {
|
|
@@ -1430,10 +1445,12 @@ var deserializeAws_json1_1ListActionExecutionsCommandError = function (output, c
|
|
|
1430
1445
|
case 9: throw _d.sent();
|
|
1431
1446
|
case 10:
|
|
1432
1447
|
parsedBody = parsedOutput.body;
|
|
1448
|
+
$metadata = deserializeMetadata(output);
|
|
1449
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1433
1450
|
response = new __BaseException({
|
|
1434
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1451
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1435
1452
|
$fault: "client",
|
|
1436
|
-
$metadata:
|
|
1453
|
+
$metadata: $metadata,
|
|
1437
1454
|
});
|
|
1438
1455
|
throw __decorateServiceException(response, parsedBody);
|
|
1439
1456
|
}
|
|
@@ -1458,7 +1475,7 @@ export var deserializeAws_json1_1ListActionTypesCommand = function (output, cont
|
|
|
1458
1475
|
});
|
|
1459
1476
|
}); };
|
|
1460
1477
|
var deserializeAws_json1_1ListActionTypesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1461
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1478
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1462
1479
|
var _c;
|
|
1463
1480
|
return __generator(this, function (_d) {
|
|
1464
1481
|
switch (_d.label) {
|
|
@@ -1468,7 +1485,6 @@ var deserializeAws_json1_1ListActionTypesCommandError = function (output, contex
|
|
|
1468
1485
|
return [4, parseBody(output.body, context)];
|
|
1469
1486
|
case 1:
|
|
1470
1487
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1471
|
-
errorCode = "UnknownError";
|
|
1472
1488
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1473
1489
|
_b = errorCode;
|
|
1474
1490
|
switch (_b) {
|
|
@@ -1484,10 +1500,12 @@ var deserializeAws_json1_1ListActionTypesCommandError = function (output, contex
|
|
|
1484
1500
|
case 5: throw _d.sent();
|
|
1485
1501
|
case 6:
|
|
1486
1502
|
parsedBody = parsedOutput.body;
|
|
1503
|
+
$metadata = deserializeMetadata(output);
|
|
1504
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1487
1505
|
response = new __BaseException({
|
|
1488
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1506
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1489
1507
|
$fault: "client",
|
|
1490
|
-
$metadata:
|
|
1508
|
+
$metadata: $metadata,
|
|
1491
1509
|
});
|
|
1492
1510
|
throw __decorateServiceException(response, parsedBody);
|
|
1493
1511
|
}
|
|
@@ -1512,7 +1530,7 @@ export var deserializeAws_json1_1ListPipelineExecutionsCommand = function (outpu
|
|
|
1512
1530
|
});
|
|
1513
1531
|
}); };
|
|
1514
1532
|
var deserializeAws_json1_1ListPipelineExecutionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1515
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1533
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1516
1534
|
var _c;
|
|
1517
1535
|
return __generator(this, function (_d) {
|
|
1518
1536
|
switch (_d.label) {
|
|
@@ -1522,7 +1540,6 @@ var deserializeAws_json1_1ListPipelineExecutionsCommandError = function (output,
|
|
|
1522
1540
|
return [4, parseBody(output.body, context)];
|
|
1523
1541
|
case 1:
|
|
1524
1542
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1525
|
-
errorCode = "UnknownError";
|
|
1526
1543
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1527
1544
|
_b = errorCode;
|
|
1528
1545
|
switch (_b) {
|
|
@@ -1542,10 +1559,12 @@ var deserializeAws_json1_1ListPipelineExecutionsCommandError = function (output,
|
|
|
1542
1559
|
case 7: throw _d.sent();
|
|
1543
1560
|
case 8:
|
|
1544
1561
|
parsedBody = parsedOutput.body;
|
|
1562
|
+
$metadata = deserializeMetadata(output);
|
|
1563
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1545
1564
|
response = new __BaseException({
|
|
1546
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1565
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1547
1566
|
$fault: "client",
|
|
1548
|
-
$metadata:
|
|
1567
|
+
$metadata: $metadata,
|
|
1549
1568
|
});
|
|
1550
1569
|
throw __decorateServiceException(response, parsedBody);
|
|
1551
1570
|
}
|
|
@@ -1570,7 +1589,7 @@ export var deserializeAws_json1_1ListPipelinesCommand = function (output, contex
|
|
|
1570
1589
|
});
|
|
1571
1590
|
}); };
|
|
1572
1591
|
var deserializeAws_json1_1ListPipelinesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1573
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1592
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1574
1593
|
var _c;
|
|
1575
1594
|
return __generator(this, function (_d) {
|
|
1576
1595
|
switch (_d.label) {
|
|
@@ -1580,7 +1599,6 @@ var deserializeAws_json1_1ListPipelinesCommandError = function (output, context)
|
|
|
1580
1599
|
return [4, parseBody(output.body, context)];
|
|
1581
1600
|
case 1:
|
|
1582
1601
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1583
|
-
errorCode = "UnknownError";
|
|
1584
1602
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1585
1603
|
_b = errorCode;
|
|
1586
1604
|
switch (_b) {
|
|
@@ -1596,10 +1614,12 @@ var deserializeAws_json1_1ListPipelinesCommandError = function (output, context)
|
|
|
1596
1614
|
case 5: throw _d.sent();
|
|
1597
1615
|
case 6:
|
|
1598
1616
|
parsedBody = parsedOutput.body;
|
|
1617
|
+
$metadata = deserializeMetadata(output);
|
|
1618
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1599
1619
|
response = new __BaseException({
|
|
1600
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1620
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1601
1621
|
$fault: "client",
|
|
1602
|
-
$metadata:
|
|
1622
|
+
$metadata: $metadata,
|
|
1603
1623
|
});
|
|
1604
1624
|
throw __decorateServiceException(response, parsedBody);
|
|
1605
1625
|
}
|
|
@@ -1624,7 +1644,7 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
1624
1644
|
});
|
|
1625
1645
|
}); };
|
|
1626
1646
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1627
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1647
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1628
1648
|
var _c;
|
|
1629
1649
|
return __generator(this, function (_d) {
|
|
1630
1650
|
switch (_d.label) {
|
|
@@ -1634,7 +1654,6 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
1634
1654
|
return [4, parseBody(output.body, context)];
|
|
1635
1655
|
case 1:
|
|
1636
1656
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1637
|
-
errorCode = "UnknownError";
|
|
1638
1657
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1639
1658
|
_b = errorCode;
|
|
1640
1659
|
switch (_b) {
|
|
@@ -1658,10 +1677,12 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
1658
1677
|
case 9: throw _d.sent();
|
|
1659
1678
|
case 10:
|
|
1660
1679
|
parsedBody = parsedOutput.body;
|
|
1680
|
+
$metadata = deserializeMetadata(output);
|
|
1681
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1661
1682
|
response = new __BaseException({
|
|
1662
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1683
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1663
1684
|
$fault: "client",
|
|
1664
|
-
$metadata:
|
|
1685
|
+
$metadata: $metadata,
|
|
1665
1686
|
});
|
|
1666
1687
|
throw __decorateServiceException(response, parsedBody);
|
|
1667
1688
|
}
|
|
@@ -1686,7 +1707,7 @@ export var deserializeAws_json1_1ListWebhooksCommand = function (output, context
|
|
|
1686
1707
|
});
|
|
1687
1708
|
}); };
|
|
1688
1709
|
var deserializeAws_json1_1ListWebhooksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1689
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1710
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1690
1711
|
var _c;
|
|
1691
1712
|
return __generator(this, function (_d) {
|
|
1692
1713
|
switch (_d.label) {
|
|
@@ -1696,7 +1717,6 @@ var deserializeAws_json1_1ListWebhooksCommandError = function (output, context)
|
|
|
1696
1717
|
return [4, parseBody(output.body, context)];
|
|
1697
1718
|
case 1:
|
|
1698
1719
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1699
|
-
errorCode = "UnknownError";
|
|
1700
1720
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1701
1721
|
_b = errorCode;
|
|
1702
1722
|
switch (_b) {
|
|
@@ -1712,10 +1732,12 @@ var deserializeAws_json1_1ListWebhooksCommandError = function (output, context)
|
|
|
1712
1732
|
case 5: throw _d.sent();
|
|
1713
1733
|
case 6:
|
|
1714
1734
|
parsedBody = parsedOutput.body;
|
|
1735
|
+
$metadata = deserializeMetadata(output);
|
|
1736
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1715
1737
|
response = new __BaseException({
|
|
1716
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1738
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1717
1739
|
$fault: "client",
|
|
1718
|
-
$metadata:
|
|
1740
|
+
$metadata: $metadata,
|
|
1719
1741
|
});
|
|
1720
1742
|
throw __decorateServiceException(response, parsedBody);
|
|
1721
1743
|
}
|
|
@@ -1740,7 +1762,7 @@ export var deserializeAws_json1_1PollForJobsCommand = function (output, context)
|
|
|
1740
1762
|
});
|
|
1741
1763
|
}); };
|
|
1742
1764
|
var deserializeAws_json1_1PollForJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1743
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1765
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1744
1766
|
var _c;
|
|
1745
1767
|
return __generator(this, function (_d) {
|
|
1746
1768
|
switch (_d.label) {
|
|
@@ -1750,7 +1772,6 @@ var deserializeAws_json1_1PollForJobsCommandError = function (output, context) {
|
|
|
1750
1772
|
return [4, parseBody(output.body, context)];
|
|
1751
1773
|
case 1:
|
|
1752
1774
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1753
|
-
errorCode = "UnknownError";
|
|
1754
1775
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1755
1776
|
_b = errorCode;
|
|
1756
1777
|
switch (_b) {
|
|
@@ -1766,10 +1787,12 @@ var deserializeAws_json1_1PollForJobsCommandError = function (output, context) {
|
|
|
1766
1787
|
case 5: throw _d.sent();
|
|
1767
1788
|
case 6:
|
|
1768
1789
|
parsedBody = parsedOutput.body;
|
|
1790
|
+
$metadata = deserializeMetadata(output);
|
|
1791
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1769
1792
|
response = new __BaseException({
|
|
1770
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1793
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1771
1794
|
$fault: "client",
|
|
1772
|
-
$metadata:
|
|
1795
|
+
$metadata: $metadata,
|
|
1773
1796
|
});
|
|
1774
1797
|
throw __decorateServiceException(response, parsedBody);
|
|
1775
1798
|
}
|
|
@@ -1794,7 +1817,7 @@ export var deserializeAws_json1_1PollForThirdPartyJobsCommand = function (output
|
|
|
1794
1817
|
});
|
|
1795
1818
|
}); };
|
|
1796
1819
|
var deserializeAws_json1_1PollForThirdPartyJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1797
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1820
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1798
1821
|
var _c;
|
|
1799
1822
|
return __generator(this, function (_d) {
|
|
1800
1823
|
switch (_d.label) {
|
|
@@ -1804,7 +1827,6 @@ var deserializeAws_json1_1PollForThirdPartyJobsCommandError = function (output,
|
|
|
1804
1827
|
return [4, parseBody(output.body, context)];
|
|
1805
1828
|
case 1:
|
|
1806
1829
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1807
|
-
errorCode = "UnknownError";
|
|
1808
1830
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1809
1831
|
_b = errorCode;
|
|
1810
1832
|
switch (_b) {
|
|
@@ -1820,10 +1842,12 @@ var deserializeAws_json1_1PollForThirdPartyJobsCommandError = function (output,
|
|
|
1820
1842
|
case 5: throw _d.sent();
|
|
1821
1843
|
case 6:
|
|
1822
1844
|
parsedBody = parsedOutput.body;
|
|
1845
|
+
$metadata = deserializeMetadata(output);
|
|
1846
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1823
1847
|
response = new __BaseException({
|
|
1824
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1848
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1825
1849
|
$fault: "client",
|
|
1826
|
-
$metadata:
|
|
1850
|
+
$metadata: $metadata,
|
|
1827
1851
|
});
|
|
1828
1852
|
throw __decorateServiceException(response, parsedBody);
|
|
1829
1853
|
}
|
|
@@ -1848,7 +1872,7 @@ export var deserializeAws_json1_1PutActionRevisionCommand = function (output, co
|
|
|
1848
1872
|
});
|
|
1849
1873
|
}); };
|
|
1850
1874
|
var deserializeAws_json1_1PutActionRevisionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1851
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1875
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1852
1876
|
var _c;
|
|
1853
1877
|
return __generator(this, function (_d) {
|
|
1854
1878
|
switch (_d.label) {
|
|
@@ -1858,7 +1882,6 @@ var deserializeAws_json1_1PutActionRevisionCommandError = function (output, cont
|
|
|
1858
1882
|
return [4, parseBody(output.body, context)];
|
|
1859
1883
|
case 1:
|
|
1860
1884
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1861
|
-
errorCode = "UnknownError";
|
|
1862
1885
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1863
1886
|
_b = errorCode;
|
|
1864
1887
|
switch (_b) {
|
|
@@ -1882,10 +1905,12 @@ var deserializeAws_json1_1PutActionRevisionCommandError = function (output, cont
|
|
|
1882
1905
|
case 9: throw _d.sent();
|
|
1883
1906
|
case 10:
|
|
1884
1907
|
parsedBody = parsedOutput.body;
|
|
1908
|
+
$metadata = deserializeMetadata(output);
|
|
1909
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1885
1910
|
response = new __BaseException({
|
|
1886
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1911
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1887
1912
|
$fault: "client",
|
|
1888
|
-
$metadata:
|
|
1913
|
+
$metadata: $metadata,
|
|
1889
1914
|
});
|
|
1890
1915
|
throw __decorateServiceException(response, parsedBody);
|
|
1891
1916
|
}
|
|
@@ -1910,7 +1935,7 @@ export var deserializeAws_json1_1PutApprovalResultCommand = function (output, co
|
|
|
1910
1935
|
});
|
|
1911
1936
|
}); };
|
|
1912
1937
|
var deserializeAws_json1_1PutApprovalResultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1913
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1938
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1914
1939
|
var _c;
|
|
1915
1940
|
return __generator(this, function (_d) {
|
|
1916
1941
|
switch (_d.label) {
|
|
@@ -1920,7 +1945,6 @@ var deserializeAws_json1_1PutApprovalResultCommandError = function (output, cont
|
|
|
1920
1945
|
return [4, parseBody(output.body, context)];
|
|
1921
1946
|
case 1:
|
|
1922
1947
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1923
|
-
errorCode = "UnknownError";
|
|
1924
1948
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1925
1949
|
_b = errorCode;
|
|
1926
1950
|
switch (_b) {
|
|
@@ -1952,10 +1976,12 @@ var deserializeAws_json1_1PutApprovalResultCommandError = function (output, cont
|
|
|
1952
1976
|
case 13: throw _d.sent();
|
|
1953
1977
|
case 14:
|
|
1954
1978
|
parsedBody = parsedOutput.body;
|
|
1979
|
+
$metadata = deserializeMetadata(output);
|
|
1980
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1955
1981
|
response = new __BaseException({
|
|
1956
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1982
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1957
1983
|
$fault: "client",
|
|
1958
|
-
$metadata:
|
|
1984
|
+
$metadata: $metadata,
|
|
1959
1985
|
});
|
|
1960
1986
|
throw __decorateServiceException(response, parsedBody);
|
|
1961
1987
|
}
|
|
@@ -1980,7 +2006,7 @@ export var deserializeAws_json1_1PutJobFailureResultCommand = function (output,
|
|
|
1980
2006
|
});
|
|
1981
2007
|
}); };
|
|
1982
2008
|
var deserializeAws_json1_1PutJobFailureResultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1983
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2009
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1984
2010
|
var _c;
|
|
1985
2011
|
return __generator(this, function (_d) {
|
|
1986
2012
|
switch (_d.label) {
|
|
@@ -1990,7 +2016,6 @@ var deserializeAws_json1_1PutJobFailureResultCommandError = function (output, co
|
|
|
1990
2016
|
return [4, parseBody(output.body, context)];
|
|
1991
2017
|
case 1:
|
|
1992
2018
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1993
|
-
errorCode = "UnknownError";
|
|
1994
2019
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1995
2020
|
_b = errorCode;
|
|
1996
2021
|
switch (_b) {
|
|
@@ -2010,10 +2035,12 @@ var deserializeAws_json1_1PutJobFailureResultCommandError = function (output, co
|
|
|
2010
2035
|
case 7: throw _d.sent();
|
|
2011
2036
|
case 8:
|
|
2012
2037
|
parsedBody = parsedOutput.body;
|
|
2038
|
+
$metadata = deserializeMetadata(output);
|
|
2039
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2013
2040
|
response = new __BaseException({
|
|
2014
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2041
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2015
2042
|
$fault: "client",
|
|
2016
|
-
$metadata:
|
|
2043
|
+
$metadata: $metadata,
|
|
2017
2044
|
});
|
|
2018
2045
|
throw __decorateServiceException(response, parsedBody);
|
|
2019
2046
|
}
|
|
@@ -2038,7 +2065,7 @@ export var deserializeAws_json1_1PutJobSuccessResultCommand = function (output,
|
|
|
2038
2065
|
});
|
|
2039
2066
|
}); };
|
|
2040
2067
|
var deserializeAws_json1_1PutJobSuccessResultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2041
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2068
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2042
2069
|
var _c;
|
|
2043
2070
|
return __generator(this, function (_d) {
|
|
2044
2071
|
switch (_d.label) {
|
|
@@ -2048,7 +2075,6 @@ var deserializeAws_json1_1PutJobSuccessResultCommandError = function (output, co
|
|
|
2048
2075
|
return [4, parseBody(output.body, context)];
|
|
2049
2076
|
case 1:
|
|
2050
2077
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2051
|
-
errorCode = "UnknownError";
|
|
2052
2078
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2053
2079
|
_b = errorCode;
|
|
2054
2080
|
switch (_b) {
|
|
@@ -2072,10 +2098,12 @@ var deserializeAws_json1_1PutJobSuccessResultCommandError = function (output, co
|
|
|
2072
2098
|
case 9: throw _d.sent();
|
|
2073
2099
|
case 10:
|
|
2074
2100
|
parsedBody = parsedOutput.body;
|
|
2101
|
+
$metadata = deserializeMetadata(output);
|
|
2102
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2075
2103
|
response = new __BaseException({
|
|
2076
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2104
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2077
2105
|
$fault: "client",
|
|
2078
|
-
$metadata:
|
|
2106
|
+
$metadata: $metadata,
|
|
2079
2107
|
});
|
|
2080
2108
|
throw __decorateServiceException(response, parsedBody);
|
|
2081
2109
|
}
|
|
@@ -2100,7 +2128,7 @@ export var deserializeAws_json1_1PutThirdPartyJobFailureResultCommand = function
|
|
|
2100
2128
|
});
|
|
2101
2129
|
}); };
|
|
2102
2130
|
var deserializeAws_json1_1PutThirdPartyJobFailureResultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2103
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2131
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2104
2132
|
var _c;
|
|
2105
2133
|
return __generator(this, function (_d) {
|
|
2106
2134
|
switch (_d.label) {
|
|
@@ -2110,7 +2138,6 @@ var deserializeAws_json1_1PutThirdPartyJobFailureResultCommandError = function (
|
|
|
2110
2138
|
return [4, parseBody(output.body, context)];
|
|
2111
2139
|
case 1:
|
|
2112
2140
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2113
|
-
errorCode = "UnknownError";
|
|
2114
2141
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2115
2142
|
_b = errorCode;
|
|
2116
2143
|
switch (_b) {
|
|
@@ -2134,10 +2161,12 @@ var deserializeAws_json1_1PutThirdPartyJobFailureResultCommandError = function (
|
|
|
2134
2161
|
case 9: throw _d.sent();
|
|
2135
2162
|
case 10:
|
|
2136
2163
|
parsedBody = parsedOutput.body;
|
|
2164
|
+
$metadata = deserializeMetadata(output);
|
|
2165
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2137
2166
|
response = new __BaseException({
|
|
2138
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2167
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2139
2168
|
$fault: "client",
|
|
2140
|
-
$metadata:
|
|
2169
|
+
$metadata: $metadata,
|
|
2141
2170
|
});
|
|
2142
2171
|
throw __decorateServiceException(response, parsedBody);
|
|
2143
2172
|
}
|
|
@@ -2162,7 +2191,7 @@ export var deserializeAws_json1_1PutThirdPartyJobSuccessResultCommand = function
|
|
|
2162
2191
|
});
|
|
2163
2192
|
}); };
|
|
2164
2193
|
var deserializeAws_json1_1PutThirdPartyJobSuccessResultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2165
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2194
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2166
2195
|
var _c;
|
|
2167
2196
|
return __generator(this, function (_d) {
|
|
2168
2197
|
switch (_d.label) {
|
|
@@ -2172,7 +2201,6 @@ var deserializeAws_json1_1PutThirdPartyJobSuccessResultCommandError = function (
|
|
|
2172
2201
|
return [4, parseBody(output.body, context)];
|
|
2173
2202
|
case 1:
|
|
2174
2203
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2175
|
-
errorCode = "UnknownError";
|
|
2176
2204
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2177
2205
|
_b = errorCode;
|
|
2178
2206
|
switch (_b) {
|
|
@@ -2196,10 +2224,12 @@ var deserializeAws_json1_1PutThirdPartyJobSuccessResultCommandError = function (
|
|
|
2196
2224
|
case 9: throw _d.sent();
|
|
2197
2225
|
case 10:
|
|
2198
2226
|
parsedBody = parsedOutput.body;
|
|
2227
|
+
$metadata = deserializeMetadata(output);
|
|
2228
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2199
2229
|
response = new __BaseException({
|
|
2200
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2230
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2201
2231
|
$fault: "client",
|
|
2202
|
-
$metadata:
|
|
2232
|
+
$metadata: $metadata,
|
|
2203
2233
|
});
|
|
2204
2234
|
throw __decorateServiceException(response, parsedBody);
|
|
2205
2235
|
}
|
|
@@ -2224,7 +2254,7 @@ export var deserializeAws_json1_1PutWebhookCommand = function (output, context)
|
|
|
2224
2254
|
});
|
|
2225
2255
|
}); };
|
|
2226
2256
|
var deserializeAws_json1_1PutWebhookCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2227
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2257
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2228
2258
|
var _c;
|
|
2229
2259
|
return __generator(this, function (_d) {
|
|
2230
2260
|
switch (_d.label) {
|
|
@@ -2234,7 +2264,6 @@ var deserializeAws_json1_1PutWebhookCommandError = function (output, context) {
|
|
|
2234
2264
|
return [4, parseBody(output.body, context)];
|
|
2235
2265
|
case 1:
|
|
2236
2266
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2237
|
-
errorCode = "UnknownError";
|
|
2238
2267
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2239
2268
|
_b = errorCode;
|
|
2240
2269
|
switch (_b) {
|
|
@@ -2274,10 +2303,12 @@ var deserializeAws_json1_1PutWebhookCommandError = function (output, context) {
|
|
|
2274
2303
|
case 17: throw _d.sent();
|
|
2275
2304
|
case 18:
|
|
2276
2305
|
parsedBody = parsedOutput.body;
|
|
2306
|
+
$metadata = deserializeMetadata(output);
|
|
2307
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2277
2308
|
response = new __BaseException({
|
|
2278
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2309
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2279
2310
|
$fault: "client",
|
|
2280
|
-
$metadata:
|
|
2311
|
+
$metadata: $metadata,
|
|
2281
2312
|
});
|
|
2282
2313
|
throw __decorateServiceException(response, parsedBody);
|
|
2283
2314
|
}
|
|
@@ -2302,7 +2333,7 @@ export var deserializeAws_json1_1RegisterWebhookWithThirdPartyCommand = function
|
|
|
2302
2333
|
});
|
|
2303
2334
|
}); };
|
|
2304
2335
|
var deserializeAws_json1_1RegisterWebhookWithThirdPartyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2305
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2336
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2306
2337
|
var _c;
|
|
2307
2338
|
return __generator(this, function (_d) {
|
|
2308
2339
|
switch (_d.label) {
|
|
@@ -2312,7 +2343,6 @@ var deserializeAws_json1_1RegisterWebhookWithThirdPartyCommandError = function (
|
|
|
2312
2343
|
return [4, parseBody(output.body, context)];
|
|
2313
2344
|
case 1:
|
|
2314
2345
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2315
|
-
errorCode = "UnknownError";
|
|
2316
2346
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2317
2347
|
_b = errorCode;
|
|
2318
2348
|
switch (_b) {
|
|
@@ -2328,10 +2358,12 @@ var deserializeAws_json1_1RegisterWebhookWithThirdPartyCommandError = function (
|
|
|
2328
2358
|
case 5: throw _d.sent();
|
|
2329
2359
|
case 6:
|
|
2330
2360
|
parsedBody = parsedOutput.body;
|
|
2361
|
+
$metadata = deserializeMetadata(output);
|
|
2362
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2331
2363
|
response = new __BaseException({
|
|
2332
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2364
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2333
2365
|
$fault: "client",
|
|
2334
|
-
$metadata:
|
|
2366
|
+
$metadata: $metadata,
|
|
2335
2367
|
});
|
|
2336
2368
|
throw __decorateServiceException(response, parsedBody);
|
|
2337
2369
|
}
|
|
@@ -2356,7 +2388,7 @@ export var deserializeAws_json1_1RetryStageExecutionCommand = function (output,
|
|
|
2356
2388
|
});
|
|
2357
2389
|
}); };
|
|
2358
2390
|
var deserializeAws_json1_1RetryStageExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2359
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2391
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2360
2392
|
var _c;
|
|
2361
2393
|
return __generator(this, function (_d) {
|
|
2362
2394
|
switch (_d.label) {
|
|
@@ -2366,7 +2398,6 @@ var deserializeAws_json1_1RetryStageExecutionCommandError = function (output, co
|
|
|
2366
2398
|
return [4, parseBody(output.body, context)];
|
|
2367
2399
|
case 1:
|
|
2368
2400
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2369
|
-
errorCode = "UnknownError";
|
|
2370
2401
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2371
2402
|
_b = errorCode;
|
|
2372
2403
|
switch (_b) {
|
|
@@ -2398,10 +2429,12 @@ var deserializeAws_json1_1RetryStageExecutionCommandError = function (output, co
|
|
|
2398
2429
|
case 13: throw _d.sent();
|
|
2399
2430
|
case 14:
|
|
2400
2431
|
parsedBody = parsedOutput.body;
|
|
2432
|
+
$metadata = deserializeMetadata(output);
|
|
2433
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2401
2434
|
response = new __BaseException({
|
|
2402
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2435
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2403
2436
|
$fault: "client",
|
|
2404
|
-
$metadata:
|
|
2437
|
+
$metadata: $metadata,
|
|
2405
2438
|
});
|
|
2406
2439
|
throw __decorateServiceException(response, parsedBody);
|
|
2407
2440
|
}
|
|
@@ -2426,7 +2459,7 @@ export var deserializeAws_json1_1StartPipelineExecutionCommand = function (outpu
|
|
|
2426
2459
|
});
|
|
2427
2460
|
}); };
|
|
2428
2461
|
var deserializeAws_json1_1StartPipelineExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2429
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2462
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2430
2463
|
var _c;
|
|
2431
2464
|
return __generator(this, function (_d) {
|
|
2432
2465
|
switch (_d.label) {
|
|
@@ -2436,7 +2469,6 @@ var deserializeAws_json1_1StartPipelineExecutionCommandError = function (output,
|
|
|
2436
2469
|
return [4, parseBody(output.body, context)];
|
|
2437
2470
|
case 1:
|
|
2438
2471
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2439
|
-
errorCode = "UnknownError";
|
|
2440
2472
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2441
2473
|
_b = errorCode;
|
|
2442
2474
|
switch (_b) {
|
|
@@ -2456,10 +2488,12 @@ var deserializeAws_json1_1StartPipelineExecutionCommandError = function (output,
|
|
|
2456
2488
|
case 7: throw _d.sent();
|
|
2457
2489
|
case 8:
|
|
2458
2490
|
parsedBody = parsedOutput.body;
|
|
2491
|
+
$metadata = deserializeMetadata(output);
|
|
2492
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2459
2493
|
response = new __BaseException({
|
|
2460
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2494
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2461
2495
|
$fault: "client",
|
|
2462
|
-
$metadata:
|
|
2496
|
+
$metadata: $metadata,
|
|
2463
2497
|
});
|
|
2464
2498
|
throw __decorateServiceException(response, parsedBody);
|
|
2465
2499
|
}
|
|
@@ -2484,7 +2518,7 @@ export var deserializeAws_json1_1StopPipelineExecutionCommand = function (output
|
|
|
2484
2518
|
});
|
|
2485
2519
|
}); };
|
|
2486
2520
|
var deserializeAws_json1_1StopPipelineExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2487
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2521
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2488
2522
|
var _c;
|
|
2489
2523
|
return __generator(this, function (_d) {
|
|
2490
2524
|
switch (_d.label) {
|
|
@@ -2494,7 +2528,6 @@ var deserializeAws_json1_1StopPipelineExecutionCommandError = function (output,
|
|
|
2494
2528
|
return [4, parseBody(output.body, context)];
|
|
2495
2529
|
case 1:
|
|
2496
2530
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2497
|
-
errorCode = "UnknownError";
|
|
2498
2531
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2499
2532
|
_b = errorCode;
|
|
2500
2533
|
switch (_b) {
|
|
@@ -2522,10 +2555,12 @@ var deserializeAws_json1_1StopPipelineExecutionCommandError = function (output,
|
|
|
2522
2555
|
case 11: throw _d.sent();
|
|
2523
2556
|
case 12:
|
|
2524
2557
|
parsedBody = parsedOutput.body;
|
|
2558
|
+
$metadata = deserializeMetadata(output);
|
|
2559
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2525
2560
|
response = new __BaseException({
|
|
2526
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2561
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2527
2562
|
$fault: "client",
|
|
2528
|
-
$metadata:
|
|
2563
|
+
$metadata: $metadata,
|
|
2529
2564
|
});
|
|
2530
2565
|
throw __decorateServiceException(response, parsedBody);
|
|
2531
2566
|
}
|
|
@@ -2550,7 +2585,7 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
2550
2585
|
});
|
|
2551
2586
|
}); };
|
|
2552
2587
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2553
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2588
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2554
2589
|
var _c;
|
|
2555
2590
|
return __generator(this, function (_d) {
|
|
2556
2591
|
switch (_d.label) {
|
|
@@ -2560,7 +2595,6 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
2560
2595
|
return [4, parseBody(output.body, context)];
|
|
2561
2596
|
case 1:
|
|
2562
2597
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2563
|
-
errorCode = "UnknownError";
|
|
2564
2598
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2565
2599
|
_b = errorCode;
|
|
2566
2600
|
switch (_b) {
|
|
@@ -2592,10 +2626,12 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
2592
2626
|
case 13: throw _d.sent();
|
|
2593
2627
|
case 14:
|
|
2594
2628
|
parsedBody = parsedOutput.body;
|
|
2629
|
+
$metadata = deserializeMetadata(output);
|
|
2630
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2595
2631
|
response = new __BaseException({
|
|
2596
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2632
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2597
2633
|
$fault: "client",
|
|
2598
|
-
$metadata:
|
|
2634
|
+
$metadata: $metadata,
|
|
2599
2635
|
});
|
|
2600
2636
|
throw __decorateServiceException(response, parsedBody);
|
|
2601
2637
|
}
|
|
@@ -2620,7 +2656,7 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
2620
2656
|
});
|
|
2621
2657
|
}); };
|
|
2622
2658
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2623
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2659
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2624
2660
|
var _c;
|
|
2625
2661
|
return __generator(this, function (_d) {
|
|
2626
2662
|
switch (_d.label) {
|
|
@@ -2630,7 +2666,6 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
2630
2666
|
return [4, parseBody(output.body, context)];
|
|
2631
2667
|
case 1:
|
|
2632
2668
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2633
|
-
errorCode = "UnknownError";
|
|
2634
2669
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2635
2670
|
_b = errorCode;
|
|
2636
2671
|
switch (_b) {
|
|
@@ -2658,10 +2693,12 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
2658
2693
|
case 11: throw _d.sent();
|
|
2659
2694
|
case 12:
|
|
2660
2695
|
parsedBody = parsedOutput.body;
|
|
2696
|
+
$metadata = deserializeMetadata(output);
|
|
2697
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2661
2698
|
response = new __BaseException({
|
|
2662
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2699
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2663
2700
|
$fault: "client",
|
|
2664
|
-
$metadata:
|
|
2701
|
+
$metadata: $metadata,
|
|
2665
2702
|
});
|
|
2666
2703
|
throw __decorateServiceException(response, parsedBody);
|
|
2667
2704
|
}
|
|
@@ -2686,7 +2723,7 @@ export var deserializeAws_json1_1UpdateActionTypeCommand = function (output, con
|
|
|
2686
2723
|
});
|
|
2687
2724
|
}); };
|
|
2688
2725
|
var deserializeAws_json1_1UpdateActionTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2689
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2726
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2690
2727
|
var _c;
|
|
2691
2728
|
return __generator(this, function (_d) {
|
|
2692
2729
|
switch (_d.label) {
|
|
@@ -2696,7 +2733,6 @@ var deserializeAws_json1_1UpdateActionTypeCommandError = function (output, conte
|
|
|
2696
2733
|
return [4, parseBody(output.body, context)];
|
|
2697
2734
|
case 1:
|
|
2698
2735
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2699
|
-
errorCode = "UnknownError";
|
|
2700
2736
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2701
2737
|
_b = errorCode;
|
|
2702
2738
|
switch (_b) {
|
|
@@ -2716,10 +2752,12 @@ var deserializeAws_json1_1UpdateActionTypeCommandError = function (output, conte
|
|
|
2716
2752
|
case 7: throw _d.sent();
|
|
2717
2753
|
case 8:
|
|
2718
2754
|
parsedBody = parsedOutput.body;
|
|
2755
|
+
$metadata = deserializeMetadata(output);
|
|
2756
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2719
2757
|
response = new __BaseException({
|
|
2720
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2758
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2721
2759
|
$fault: "client",
|
|
2722
|
-
$metadata:
|
|
2760
|
+
$metadata: $metadata,
|
|
2723
2761
|
});
|
|
2724
2762
|
throw __decorateServiceException(response, parsedBody);
|
|
2725
2763
|
}
|
|
@@ -2744,7 +2782,7 @@ export var deserializeAws_json1_1UpdatePipelineCommand = function (output, conte
|
|
|
2744
2782
|
});
|
|
2745
2783
|
}); };
|
|
2746
2784
|
var deserializeAws_json1_1UpdatePipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2747
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2785
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2748
2786
|
var _c;
|
|
2749
2787
|
return __generator(this, function (_d) {
|
|
2750
2788
|
switch (_d.label) {
|
|
@@ -2754,7 +2792,6 @@ var deserializeAws_json1_1UpdatePipelineCommandError = function (output, context
|
|
|
2754
2792
|
return [4, parseBody(output.body, context)];
|
|
2755
2793
|
case 1:
|
|
2756
2794
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2757
|
-
errorCode = "UnknownError";
|
|
2758
2795
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2759
2796
|
_b = errorCode;
|
|
2760
2797
|
switch (_b) {
|
|
@@ -2786,10 +2823,12 @@ var deserializeAws_json1_1UpdatePipelineCommandError = function (output, context
|
|
|
2786
2823
|
case 13: throw _d.sent();
|
|
2787
2824
|
case 14:
|
|
2788
2825
|
parsedBody = parsedOutput.body;
|
|
2826
|
+
$metadata = deserializeMetadata(output);
|
|
2827
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2789
2828
|
response = new __BaseException({
|
|
2790
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2829
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2791
2830
|
$fault: "client",
|
|
2792
|
-
$metadata:
|
|
2831
|
+
$metadata: $metadata,
|
|
2793
2832
|
});
|
|
2794
2833
|
throw __decorateServiceException(response, parsedBody);
|
|
2795
2834
|
}
|
|
@@ -3120,10 +3159,10 @@ var deserializeAws_json1_1WebhookNotFoundExceptionResponse = function (parsedOut
|
|
|
3120
3159
|
});
|
|
3121
3160
|
}); };
|
|
3122
3161
|
var serializeAws_json1_1AcknowledgeJobInput = function (input, context) {
|
|
3123
|
-
return __assign(__assign({}, (input.jobId
|
|
3162
|
+
return __assign(__assign({}, (input.jobId != null && { jobId: input.jobId })), (input.nonce != null && { nonce: input.nonce }));
|
|
3124
3163
|
};
|
|
3125
3164
|
var serializeAws_json1_1AcknowledgeThirdPartyJobInput = function (input, context) {
|
|
3126
|
-
return __assign(__assign(__assign({}, (input.clientToken
|
|
3165
|
+
return __assign(__assign(__assign({}, (input.clientToken != null && { clientToken: input.clientToken })), (input.jobId != null && { jobId: input.jobId })), (input.nonce != null && { nonce: input.nonce }));
|
|
3127
3166
|
};
|
|
3128
3167
|
var serializeAws_json1_1ActionConfigurationMap = function (input, context) {
|
|
3129
3168
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -3136,7 +3175,7 @@ var serializeAws_json1_1ActionConfigurationMap = function (input, context) {
|
|
|
3136
3175
|
}, {});
|
|
3137
3176
|
};
|
|
3138
3177
|
var serializeAws_json1_1ActionConfigurationProperty = function (input, context) {
|
|
3139
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description
|
|
3178
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.key != null && { key: input.key })), (input.name != null && { name: input.name })), (input.queryable != null && { queryable: input.queryable })), (input.required != null && { required: input.required })), (input.secret != null && { secret: input.secret })), (input.type != null && { type: input.type }));
|
|
3140
3179
|
};
|
|
3141
3180
|
var serializeAws_json1_1ActionConfigurationPropertyList = function (input, context) {
|
|
3142
3181
|
return input
|
|
@@ -3149,62 +3188,47 @@ var serializeAws_json1_1ActionConfigurationPropertyList = function (input, conte
|
|
|
3149
3188
|
});
|
|
3150
3189
|
};
|
|
3151
3190
|
var serializeAws_json1_1ActionDeclaration = function (input, context) {
|
|
3152
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actionTypeId
|
|
3153
|
-
input.actionTypeId !== null && { actionTypeId: serializeAws_json1_1ActionTypeId(input.actionTypeId, context) })), (input.configuration !== undefined &&
|
|
3154
|
-
input.configuration !== null && {
|
|
3191
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actionTypeId != null && { actionTypeId: serializeAws_json1_1ActionTypeId(input.actionTypeId, context) })), (input.configuration != null && {
|
|
3155
3192
|
configuration: serializeAws_json1_1ActionConfigurationMap(input.configuration, context),
|
|
3156
|
-
})), (input.inputArtifacts
|
|
3157
|
-
input.inputArtifacts !== null && {
|
|
3193
|
+
})), (input.inputArtifacts != null && {
|
|
3158
3194
|
inputArtifacts: serializeAws_json1_1InputArtifactList(input.inputArtifacts, context),
|
|
3159
|
-
})), (input.name
|
|
3160
|
-
input.outputArtifacts !== null && {
|
|
3195
|
+
})), (input.name != null && { name: input.name })), (input.namespace != null && { namespace: input.namespace })), (input.outputArtifacts != null && {
|
|
3161
3196
|
outputArtifacts: serializeAws_json1_1OutputArtifactList(input.outputArtifacts, context),
|
|
3162
|
-
})), (input.region
|
|
3197
|
+
})), (input.region != null && { region: input.region })), (input.roleArn != null && { roleArn: input.roleArn })), (input.runOrder != null && { runOrder: input.runOrder }));
|
|
3163
3198
|
};
|
|
3164
3199
|
var serializeAws_json1_1ActionExecutionFilter = function (input, context) {
|
|
3165
|
-
return __assign({}, (input.pipelineExecutionId
|
|
3166
|
-
input.pipelineExecutionId !== null && { pipelineExecutionId: input.pipelineExecutionId }));
|
|
3200
|
+
return __assign({}, (input.pipelineExecutionId != null && { pipelineExecutionId: input.pipelineExecutionId }));
|
|
3167
3201
|
};
|
|
3168
3202
|
var serializeAws_json1_1ActionRevision = function (input, context) {
|
|
3169
|
-
return __assign(__assign(__assign({}, (input.created
|
|
3170
|
-
input.created !== null && { created: Math.round(input.created.getTime() / 1000) })), (input.revisionChangeId !== undefined &&
|
|
3171
|
-
input.revisionChangeId !== null && { revisionChangeId: input.revisionChangeId })), (input.revisionId !== undefined && input.revisionId !== null && { revisionId: input.revisionId }));
|
|
3203
|
+
return __assign(__assign(__assign({}, (input.created != null && { created: Math.round(input.created.getTime() / 1000) })), (input.revisionChangeId != null && { revisionChangeId: input.revisionChangeId })), (input.revisionId != null && { revisionId: input.revisionId }));
|
|
3172
3204
|
};
|
|
3173
3205
|
var serializeAws_json1_1ActionTypeArtifactDetails = function (input, context) {
|
|
3174
|
-
return __assign(__assign({}, (input.maximumCount
|
|
3206
|
+
return __assign(__assign({}, (input.maximumCount != null && { maximumCount: input.maximumCount })), (input.minimumCount != null && { minimumCount: input.minimumCount }));
|
|
3175
3207
|
};
|
|
3176
3208
|
var serializeAws_json1_1ActionTypeDeclaration = function (input, context) {
|
|
3177
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description
|
|
3178
|
-
input.executor !== null && { executor: serializeAws_json1_1ActionTypeExecutor(input.executor, context) })), (input.id !== undefined &&
|
|
3179
|
-
input.id !== null && { id: serializeAws_json1_1ActionTypeIdentifier(input.id, context) })), (input.inputArtifactDetails !== undefined &&
|
|
3180
|
-
input.inputArtifactDetails !== null && {
|
|
3209
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.executor != null && { executor: serializeAws_json1_1ActionTypeExecutor(input.executor, context) })), (input.id != null && { id: serializeAws_json1_1ActionTypeIdentifier(input.id, context) })), (input.inputArtifactDetails != null && {
|
|
3181
3210
|
inputArtifactDetails: serializeAws_json1_1ActionTypeArtifactDetails(input.inputArtifactDetails, context),
|
|
3182
|
-
})), (input.outputArtifactDetails
|
|
3183
|
-
input.outputArtifactDetails !== null && {
|
|
3211
|
+
})), (input.outputArtifactDetails != null && {
|
|
3184
3212
|
outputArtifactDetails: serializeAws_json1_1ActionTypeArtifactDetails(input.outputArtifactDetails, context),
|
|
3185
|
-
})), (input.permissions
|
|
3186
|
-
input.permissions !== null && {
|
|
3213
|
+
})), (input.permissions != null && {
|
|
3187
3214
|
permissions: serializeAws_json1_1ActionTypePermissions(input.permissions, context),
|
|
3188
|
-
})), (input.properties
|
|
3189
|
-
|
|
3190
|
-
|
|
3215
|
+
})), (input.properties != null && {
|
|
3216
|
+
properties: serializeAws_json1_1ActionTypeProperties(input.properties, context),
|
|
3217
|
+
})), (input.urls != null && { urls: serializeAws_json1_1ActionTypeUrls(input.urls, context) }));
|
|
3191
3218
|
};
|
|
3192
3219
|
var serializeAws_json1_1ActionTypeExecutor = function (input, context) {
|
|
3193
|
-
return __assign(__assign(__assign(__assign({}, (input.configuration
|
|
3194
|
-
input.configuration !== null && {
|
|
3220
|
+
return __assign(__assign(__assign(__assign({}, (input.configuration != null && {
|
|
3195
3221
|
configuration: serializeAws_json1_1ExecutorConfiguration(input.configuration, context),
|
|
3196
|
-
})), (input.jobTimeout
|
|
3197
|
-
input.policyStatementsTemplate !== null && { policyStatementsTemplate: input.policyStatementsTemplate })), (input.type !== undefined && input.type !== null && { type: input.type }));
|
|
3222
|
+
})), (input.jobTimeout != null && { jobTimeout: input.jobTimeout })), (input.policyStatementsTemplate != null && { policyStatementsTemplate: input.policyStatementsTemplate })), (input.type != null && { type: input.type }));
|
|
3198
3223
|
};
|
|
3199
3224
|
var serializeAws_json1_1ActionTypeId = function (input, context) {
|
|
3200
|
-
return __assign(__assign(__assign(__assign({}, (input.category
|
|
3225
|
+
return __assign(__assign(__assign(__assign({}, (input.category != null && { category: input.category })), (input.owner != null && { owner: input.owner })), (input.provider != null && { provider: input.provider })), (input.version != null && { version: input.version }));
|
|
3201
3226
|
};
|
|
3202
3227
|
var serializeAws_json1_1ActionTypeIdentifier = function (input, context) {
|
|
3203
|
-
return __assign(__assign(__assign(__assign({}, (input.category
|
|
3228
|
+
return __assign(__assign(__assign(__assign({}, (input.category != null && { category: input.category })), (input.owner != null && { owner: input.owner })), (input.provider != null && { provider: input.provider })), (input.version != null && { version: input.version }));
|
|
3204
3229
|
};
|
|
3205
3230
|
var serializeAws_json1_1ActionTypePermissions = function (input, context) {
|
|
3206
|
-
return __assign({}, (input.allowedAccounts
|
|
3207
|
-
input.allowedAccounts !== null && {
|
|
3231
|
+
return __assign({}, (input.allowedAccounts != null && {
|
|
3208
3232
|
allowedAccounts: serializeAws_json1_1AllowedAccounts(input.allowedAccounts, context),
|
|
3209
3233
|
}));
|
|
3210
3234
|
};
|
|
@@ -3219,21 +3243,13 @@ var serializeAws_json1_1ActionTypeProperties = function (input, context) {
|
|
|
3219
3243
|
});
|
|
3220
3244
|
};
|
|
3221
3245
|
var serializeAws_json1_1ActionTypeProperty = function (input, context) {
|
|
3222
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.description
|
|
3246
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.key != null && { key: input.key })), (input.name != null && { name: input.name })), (input.noEcho != null && { noEcho: input.noEcho })), (input.optional != null && { optional: input.optional })), (input.queryable != null && { queryable: input.queryable }));
|
|
3223
3247
|
};
|
|
3224
3248
|
var serializeAws_json1_1ActionTypeSettings = function (input, context) {
|
|
3225
|
-
return __assign(__assign(__assign(__assign({}, (input.entityUrlTemplate
|
|
3226
|
-
input.entityUrlTemplate !== null && { entityUrlTemplate: input.entityUrlTemplate })), (input.executionUrlTemplate !== undefined &&
|
|
3227
|
-
input.executionUrlTemplate !== null && { executionUrlTemplate: input.executionUrlTemplate })), (input.revisionUrlTemplate !== undefined &&
|
|
3228
|
-
input.revisionUrlTemplate !== null && { revisionUrlTemplate: input.revisionUrlTemplate })), (input.thirdPartyConfigurationUrl !== undefined &&
|
|
3229
|
-
input.thirdPartyConfigurationUrl !== null && { thirdPartyConfigurationUrl: input.thirdPartyConfigurationUrl }));
|
|
3249
|
+
return __assign(__assign(__assign(__assign({}, (input.entityUrlTemplate != null && { entityUrlTemplate: input.entityUrlTemplate })), (input.executionUrlTemplate != null && { executionUrlTemplate: input.executionUrlTemplate })), (input.revisionUrlTemplate != null && { revisionUrlTemplate: input.revisionUrlTemplate })), (input.thirdPartyConfigurationUrl != null && { thirdPartyConfigurationUrl: input.thirdPartyConfigurationUrl }));
|
|
3230
3250
|
};
|
|
3231
3251
|
var serializeAws_json1_1ActionTypeUrls = function (input, context) {
|
|
3232
|
-
return __assign(__assign(__assign(__assign({}, (input.configurationUrl
|
|
3233
|
-
input.configurationUrl !== null && { configurationUrl: input.configurationUrl })), (input.entityUrlTemplate !== undefined &&
|
|
3234
|
-
input.entityUrlTemplate !== null && { entityUrlTemplate: input.entityUrlTemplate })), (input.executionUrlTemplate !== undefined &&
|
|
3235
|
-
input.executionUrlTemplate !== null && { executionUrlTemplate: input.executionUrlTemplate })), (input.revisionUrlTemplate !== undefined &&
|
|
3236
|
-
input.revisionUrlTemplate !== null && { revisionUrlTemplate: input.revisionUrlTemplate }));
|
|
3252
|
+
return __assign(__assign(__assign(__assign({}, (input.configurationUrl != null && { configurationUrl: input.configurationUrl })), (input.entityUrlTemplate != null && { entityUrlTemplate: input.entityUrlTemplate })), (input.executionUrlTemplate != null && { executionUrlTemplate: input.executionUrlTemplate })), (input.revisionUrlTemplate != null && { revisionUrlTemplate: input.revisionUrlTemplate }));
|
|
3237
3253
|
};
|
|
3238
3254
|
var serializeAws_json1_1AllowedAccounts = function (input, context) {
|
|
3239
3255
|
return input
|
|
@@ -3246,16 +3262,15 @@ var serializeAws_json1_1AllowedAccounts = function (input, context) {
|
|
|
3246
3262
|
});
|
|
3247
3263
|
};
|
|
3248
3264
|
var serializeAws_json1_1ApprovalResult = function (input, context) {
|
|
3249
|
-
return __assign(__assign({}, (input.status
|
|
3265
|
+
return __assign(__assign({}, (input.status != null && { status: input.status })), (input.summary != null && { summary: input.summary }));
|
|
3250
3266
|
};
|
|
3251
3267
|
var serializeAws_json1_1ArtifactDetails = function (input, context) {
|
|
3252
|
-
return __assign(__assign({}, (input.maximumCount
|
|
3268
|
+
return __assign(__assign({}, (input.maximumCount != null && { maximumCount: input.maximumCount })), (input.minimumCount != null && { minimumCount: input.minimumCount }));
|
|
3253
3269
|
};
|
|
3254
3270
|
var serializeAws_json1_1ArtifactStore = function (input, context) {
|
|
3255
|
-
return __assign(__assign(__assign({}, (input.encryptionKey
|
|
3256
|
-
input.encryptionKey !== null && {
|
|
3271
|
+
return __assign(__assign(__assign({}, (input.encryptionKey != null && {
|
|
3257
3272
|
encryptionKey: serializeAws_json1_1EncryptionKey(input.encryptionKey, context),
|
|
3258
|
-
})), (input.location
|
|
3273
|
+
})), (input.location != null && { location: input.location })), (input.type != null && { type: input.type }));
|
|
3259
3274
|
};
|
|
3260
3275
|
var serializeAws_json1_1ArtifactStoreMap = function (input, context) {
|
|
3261
3276
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -3268,93 +3283,77 @@ var serializeAws_json1_1ArtifactStoreMap = function (input, context) {
|
|
|
3268
3283
|
}, {});
|
|
3269
3284
|
};
|
|
3270
3285
|
var serializeAws_json1_1BlockerDeclaration = function (input, context) {
|
|
3271
|
-
return __assign(__assign({}, (input.name
|
|
3286
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.type != null && { type: input.type }));
|
|
3272
3287
|
};
|
|
3273
3288
|
var serializeAws_json1_1CreateCustomActionTypeInput = function (input, context) {
|
|
3274
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.category
|
|
3275
|
-
input.configurationProperties !== null && {
|
|
3289
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.category != null && { category: input.category })), (input.configurationProperties != null && {
|
|
3276
3290
|
configurationProperties: serializeAws_json1_1ActionConfigurationPropertyList(input.configurationProperties, context),
|
|
3277
|
-
})), (input.inputArtifactDetails
|
|
3278
|
-
input.inputArtifactDetails !== null && {
|
|
3291
|
+
})), (input.inputArtifactDetails != null && {
|
|
3279
3292
|
inputArtifactDetails: serializeAws_json1_1ArtifactDetails(input.inputArtifactDetails, context),
|
|
3280
|
-
})), (input.outputArtifactDetails
|
|
3281
|
-
input.outputArtifactDetails !== null && {
|
|
3293
|
+
})), (input.outputArtifactDetails != null && {
|
|
3282
3294
|
outputArtifactDetails: serializeAws_json1_1ArtifactDetails(input.outputArtifactDetails, context),
|
|
3283
|
-
})), (input.provider
|
|
3284
|
-
input.settings !== null && { settings: serializeAws_json1_1ActionTypeSettings(input.settings, context) })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.version !== undefined && input.version !== null && { version: input.version }));
|
|
3295
|
+
})), (input.provider != null && { provider: input.provider })), (input.settings != null && { settings: serializeAws_json1_1ActionTypeSettings(input.settings, context) })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.version != null && { version: input.version }));
|
|
3285
3296
|
};
|
|
3286
3297
|
var serializeAws_json1_1CreatePipelineInput = function (input, context) {
|
|
3287
|
-
return __assign(__assign({}, (input.pipeline
|
|
3288
|
-
input.pipeline !== null && { pipeline: serializeAws_json1_1PipelineDeclaration(input.pipeline, context) })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
3298
|
+
return __assign(__assign({}, (input.pipeline != null && { pipeline: serializeAws_json1_1PipelineDeclaration(input.pipeline, context) })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
3289
3299
|
};
|
|
3290
3300
|
var serializeAws_json1_1CurrentRevision = function (input, context) {
|
|
3291
|
-
return __assign(__assign(__assign(__assign({}, (input.changeIdentifier
|
|
3292
|
-
input.changeIdentifier !== null && { changeIdentifier: input.changeIdentifier })), (input.created !== undefined &&
|
|
3293
|
-
input.created !== null && { created: Math.round(input.created.getTime() / 1000) })), (input.revision !== undefined && input.revision !== null && { revision: input.revision })), (input.revisionSummary !== undefined &&
|
|
3294
|
-
input.revisionSummary !== null && { revisionSummary: input.revisionSummary }));
|
|
3301
|
+
return __assign(__assign(__assign(__assign({}, (input.changeIdentifier != null && { changeIdentifier: input.changeIdentifier })), (input.created != null && { created: Math.round(input.created.getTime() / 1000) })), (input.revision != null && { revision: input.revision })), (input.revisionSummary != null && { revisionSummary: input.revisionSummary }));
|
|
3295
3302
|
};
|
|
3296
3303
|
var serializeAws_json1_1DeleteCustomActionTypeInput = function (input, context) {
|
|
3297
|
-
return __assign(__assign(__assign({}, (input.category
|
|
3304
|
+
return __assign(__assign(__assign({}, (input.category != null && { category: input.category })), (input.provider != null && { provider: input.provider })), (input.version != null && { version: input.version }));
|
|
3298
3305
|
};
|
|
3299
3306
|
var serializeAws_json1_1DeletePipelineInput = function (input, context) {
|
|
3300
|
-
return __assign({}, (input.name
|
|
3307
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
3301
3308
|
};
|
|
3302
3309
|
var serializeAws_json1_1DeleteWebhookInput = function (input, context) {
|
|
3303
|
-
return __assign({}, (input.name
|
|
3310
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
3304
3311
|
};
|
|
3305
3312
|
var serializeAws_json1_1DeregisterWebhookWithThirdPartyInput = function (input, context) {
|
|
3306
|
-
return __assign({}, (input.webhookName
|
|
3313
|
+
return __assign({}, (input.webhookName != null && { webhookName: input.webhookName }));
|
|
3307
3314
|
};
|
|
3308
3315
|
var serializeAws_json1_1DisableStageTransitionInput = function (input, context) {
|
|
3309
|
-
return __assign(__assign(__assign(__assign({}, (input.pipelineName
|
|
3310
|
-
input.transitionType !== null && { transitionType: input.transitionType }));
|
|
3316
|
+
return __assign(__assign(__assign(__assign({}, (input.pipelineName != null && { pipelineName: input.pipelineName })), (input.reason != null && { reason: input.reason })), (input.stageName != null && { stageName: input.stageName })), (input.transitionType != null && { transitionType: input.transitionType }));
|
|
3311
3317
|
};
|
|
3312
3318
|
var serializeAws_json1_1EnableStageTransitionInput = function (input, context) {
|
|
3313
|
-
return __assign(__assign(__assign({}, (input.pipelineName
|
|
3314
|
-
input.transitionType !== null && { transitionType: input.transitionType }));
|
|
3319
|
+
return __assign(__assign(__assign({}, (input.pipelineName != null && { pipelineName: input.pipelineName })), (input.stageName != null && { stageName: input.stageName })), (input.transitionType != null && { transitionType: input.transitionType }));
|
|
3315
3320
|
};
|
|
3316
3321
|
var serializeAws_json1_1EncryptionKey = function (input, context) {
|
|
3317
|
-
return __assign(__assign({}, (input.id
|
|
3322
|
+
return __assign(__assign({}, (input.id != null && { id: input.id })), (input.type != null && { type: input.type }));
|
|
3318
3323
|
};
|
|
3319
3324
|
var serializeAws_json1_1ExecutionDetails = function (input, context) {
|
|
3320
|
-
return __assign(__assign(__assign({}, (input.externalExecutionId
|
|
3321
|
-
input.externalExecutionId !== null && { externalExecutionId: input.externalExecutionId })), (input.percentComplete !== undefined &&
|
|
3322
|
-
input.percentComplete !== null && { percentComplete: input.percentComplete })), (input.summary !== undefined && input.summary !== null && { summary: input.summary }));
|
|
3325
|
+
return __assign(__assign(__assign({}, (input.externalExecutionId != null && { externalExecutionId: input.externalExecutionId })), (input.percentComplete != null && { percentComplete: input.percentComplete })), (input.summary != null && { summary: input.summary }));
|
|
3323
3326
|
};
|
|
3324
3327
|
var serializeAws_json1_1ExecutorConfiguration = function (input, context) {
|
|
3325
|
-
return __assign(__assign({}, (input.jobWorkerExecutorConfiguration
|
|
3326
|
-
input.jobWorkerExecutorConfiguration !== null && {
|
|
3328
|
+
return __assign(__assign({}, (input.jobWorkerExecutorConfiguration != null && {
|
|
3327
3329
|
jobWorkerExecutorConfiguration: serializeAws_json1_1JobWorkerExecutorConfiguration(input.jobWorkerExecutorConfiguration, context),
|
|
3328
|
-
})), (input.lambdaExecutorConfiguration
|
|
3329
|
-
input.lambdaExecutorConfiguration !== null && {
|
|
3330
|
+
})), (input.lambdaExecutorConfiguration != null && {
|
|
3330
3331
|
lambdaExecutorConfiguration: serializeAws_json1_1LambdaExecutorConfiguration(input.lambdaExecutorConfiguration, context),
|
|
3331
3332
|
}));
|
|
3332
3333
|
};
|
|
3333
3334
|
var serializeAws_json1_1FailureDetails = function (input, context) {
|
|
3334
|
-
return __assign(__assign(__assign({}, (input.externalExecutionId
|
|
3335
|
-
input.externalExecutionId !== null && { externalExecutionId: input.externalExecutionId })), (input.message !== undefined && input.message !== null && { message: input.message })), (input.type !== undefined && input.type !== null && { type: input.type }));
|
|
3335
|
+
return __assign(__assign(__assign({}, (input.externalExecutionId != null && { externalExecutionId: input.externalExecutionId })), (input.message != null && { message: input.message })), (input.type != null && { type: input.type }));
|
|
3336
3336
|
};
|
|
3337
3337
|
var serializeAws_json1_1GetActionTypeInput = function (input, context) {
|
|
3338
|
-
return __assign(__assign(__assign(__assign({}, (input.category
|
|
3338
|
+
return __assign(__assign(__assign(__assign({}, (input.category != null && { category: input.category })), (input.owner != null && { owner: input.owner })), (input.provider != null && { provider: input.provider })), (input.version != null && { version: input.version }));
|
|
3339
3339
|
};
|
|
3340
3340
|
var serializeAws_json1_1GetJobDetailsInput = function (input, context) {
|
|
3341
|
-
return __assign({}, (input.jobId
|
|
3341
|
+
return __assign({}, (input.jobId != null && { jobId: input.jobId }));
|
|
3342
3342
|
};
|
|
3343
3343
|
var serializeAws_json1_1GetPipelineExecutionInput = function (input, context) {
|
|
3344
|
-
return __assign(__assign({}, (input.pipelineExecutionId
|
|
3345
|
-
input.pipelineExecutionId !== null && { pipelineExecutionId: input.pipelineExecutionId })), (input.pipelineName !== undefined && input.pipelineName !== null && { pipelineName: input.pipelineName }));
|
|
3344
|
+
return __assign(__assign({}, (input.pipelineExecutionId != null && { pipelineExecutionId: input.pipelineExecutionId })), (input.pipelineName != null && { pipelineName: input.pipelineName }));
|
|
3346
3345
|
};
|
|
3347
3346
|
var serializeAws_json1_1GetPipelineInput = function (input, context) {
|
|
3348
|
-
return __assign(__assign({}, (input.name
|
|
3347
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.version != null && { version: input.version }));
|
|
3349
3348
|
};
|
|
3350
3349
|
var serializeAws_json1_1GetPipelineStateInput = function (input, context) {
|
|
3351
|
-
return __assign({}, (input.name
|
|
3350
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
3352
3351
|
};
|
|
3353
3352
|
var serializeAws_json1_1GetThirdPartyJobDetailsInput = function (input, context) {
|
|
3354
|
-
return __assign(__assign({}, (input.clientToken
|
|
3353
|
+
return __assign(__assign({}, (input.clientToken != null && { clientToken: input.clientToken })), (input.jobId != null && { jobId: input.jobId }));
|
|
3355
3354
|
};
|
|
3356
3355
|
var serializeAws_json1_1InputArtifact = function (input, context) {
|
|
3357
|
-
return __assign({}, (input.name
|
|
3356
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
3358
3357
|
};
|
|
3359
3358
|
var serializeAws_json1_1InputArtifactList = function (input, context) {
|
|
3360
3359
|
return input
|
|
@@ -3367,40 +3366,35 @@ var serializeAws_json1_1InputArtifactList = function (input, context) {
|
|
|
3367
3366
|
});
|
|
3368
3367
|
};
|
|
3369
3368
|
var serializeAws_json1_1JobWorkerExecutorConfiguration = function (input, context) {
|
|
3370
|
-
return __assign(__assign({}, (input.pollingAccounts
|
|
3371
|
-
input.pollingAccounts !== null && {
|
|
3369
|
+
return __assign(__assign({}, (input.pollingAccounts != null && {
|
|
3372
3370
|
pollingAccounts: serializeAws_json1_1PollingAccountList(input.pollingAccounts, context),
|
|
3373
|
-
})), (input.pollingServicePrincipals
|
|
3374
|
-
input.pollingServicePrincipals !== null && {
|
|
3371
|
+
})), (input.pollingServicePrincipals != null && {
|
|
3375
3372
|
pollingServicePrincipals: serializeAws_json1_1PollingServicePrincipalList(input.pollingServicePrincipals, context),
|
|
3376
3373
|
}));
|
|
3377
3374
|
};
|
|
3378
3375
|
var serializeAws_json1_1LambdaExecutorConfiguration = function (input, context) {
|
|
3379
|
-
return __assign({}, (input.lambdaFunctionArn
|
|
3380
|
-
input.lambdaFunctionArn !== null && { lambdaFunctionArn: input.lambdaFunctionArn }));
|
|
3376
|
+
return __assign({}, (input.lambdaFunctionArn != null && { lambdaFunctionArn: input.lambdaFunctionArn }));
|
|
3381
3377
|
};
|
|
3382
3378
|
var serializeAws_json1_1ListActionExecutionsInput = function (input, context) {
|
|
3383
|
-
return __assign(__assign(__assign(__assign({}, (input.filter
|
|
3384
|
-
input.filter !== null && { filter: serializeAws_json1_1ActionExecutionFilter(input.filter, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.pipelineName !== undefined && input.pipelineName !== null && { pipelineName: input.pipelineName }));
|
|
3379
|
+
return __assign(__assign(__assign(__assign({}, (input.filter != null && { filter: serializeAws_json1_1ActionExecutionFilter(input.filter, context) })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.pipelineName != null && { pipelineName: input.pipelineName }));
|
|
3385
3380
|
};
|
|
3386
3381
|
var serializeAws_json1_1ListActionTypesInput = function (input, context) {
|
|
3387
|
-
return __assign(__assign(__assign({}, (input.actionOwnerFilter
|
|
3388
|
-
input.actionOwnerFilter !== null && { actionOwnerFilter: input.actionOwnerFilter })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.regionFilter !== undefined && input.regionFilter !== null && { regionFilter: input.regionFilter }));
|
|
3382
|
+
return __assign(__assign(__assign({}, (input.actionOwnerFilter != null && { actionOwnerFilter: input.actionOwnerFilter })), (input.nextToken != null && { nextToken: input.nextToken })), (input.regionFilter != null && { regionFilter: input.regionFilter }));
|
|
3389
3383
|
};
|
|
3390
3384
|
var serializeAws_json1_1ListPipelineExecutionsInput = function (input, context) {
|
|
3391
|
-
return __assign(__assign(__assign({}, (input.maxResults
|
|
3385
|
+
return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.pipelineName != null && { pipelineName: input.pipelineName }));
|
|
3392
3386
|
};
|
|
3393
3387
|
var serializeAws_json1_1ListPipelinesInput = function (input, context) {
|
|
3394
|
-
return __assign(__assign({}, (input.maxResults
|
|
3388
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
3395
3389
|
};
|
|
3396
3390
|
var serializeAws_json1_1ListTagsForResourceInput = function (input, context) {
|
|
3397
|
-
return __assign(__assign(__assign({}, (input.maxResults
|
|
3391
|
+
return __assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
3398
3392
|
};
|
|
3399
3393
|
var serializeAws_json1_1ListWebhooksInput = function (input, context) {
|
|
3400
|
-
return __assign(__assign({}, (input.MaxResults
|
|
3394
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3401
3395
|
};
|
|
3402
3396
|
var serializeAws_json1_1OutputArtifact = function (input, context) {
|
|
3403
|
-
return __assign({}, (input.name
|
|
3397
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
3404
3398
|
};
|
|
3405
3399
|
var serializeAws_json1_1OutputArtifactList = function (input, context) {
|
|
3406
3400
|
return input
|
|
@@ -3423,14 +3417,11 @@ var serializeAws_json1_1OutputVariablesMap = function (input, context) {
|
|
|
3423
3417
|
}, {});
|
|
3424
3418
|
};
|
|
3425
3419
|
var serializeAws_json1_1PipelineDeclaration = function (input, context) {
|
|
3426
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.artifactStore
|
|
3427
|
-
input.artifactStore !== null && {
|
|
3420
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.artifactStore != null && {
|
|
3428
3421
|
artifactStore: serializeAws_json1_1ArtifactStore(input.artifactStore, context),
|
|
3429
|
-
})), (input.artifactStores
|
|
3430
|
-
input.artifactStores !== null && {
|
|
3422
|
+
})), (input.artifactStores != null && {
|
|
3431
3423
|
artifactStores: serializeAws_json1_1ArtifactStoreMap(input.artifactStores, context),
|
|
3432
|
-
})), (input.name
|
|
3433
|
-
input.stages !== null && { stages: serializeAws_json1_1PipelineStageDeclarationList(input.stages, context) })), (input.version !== undefined && input.version !== null && { version: input.version }));
|
|
3424
|
+
})), (input.name != null && { name: input.name })), (input.roleArn != null && { roleArn: input.roleArn })), (input.stages != null && { stages: serializeAws_json1_1PipelineStageDeclarationList(input.stages, context) })), (input.version != null && { version: input.version }));
|
|
3434
3425
|
};
|
|
3435
3426
|
var serializeAws_json1_1PipelineStageDeclarationList = function (input, context) {
|
|
3436
3427
|
return input
|
|
@@ -3443,13 +3434,10 @@ var serializeAws_json1_1PipelineStageDeclarationList = function (input, context)
|
|
|
3443
3434
|
});
|
|
3444
3435
|
};
|
|
3445
3436
|
var serializeAws_json1_1PollForJobsInput = function (input, context) {
|
|
3446
|
-
return __assign(__assign(__assign({}, (input.actionTypeId
|
|
3447
|
-
input.actionTypeId !== null && { actionTypeId: serializeAws_json1_1ActionTypeId(input.actionTypeId, context) })), (input.maxBatchSize !== undefined && input.maxBatchSize !== null && { maxBatchSize: input.maxBatchSize })), (input.queryParam !== undefined &&
|
|
3448
|
-
input.queryParam !== null && { queryParam: serializeAws_json1_1QueryParamMap(input.queryParam, context) }));
|
|
3437
|
+
return __assign(__assign(__assign({}, (input.actionTypeId != null && { actionTypeId: serializeAws_json1_1ActionTypeId(input.actionTypeId, context) })), (input.maxBatchSize != null && { maxBatchSize: input.maxBatchSize })), (input.queryParam != null && { queryParam: serializeAws_json1_1QueryParamMap(input.queryParam, context) }));
|
|
3449
3438
|
};
|
|
3450
3439
|
var serializeAws_json1_1PollForThirdPartyJobsInput = function (input, context) {
|
|
3451
|
-
return __assign(__assign({}, (input.actionTypeId
|
|
3452
|
-
input.actionTypeId !== null && { actionTypeId: serializeAws_json1_1ActionTypeId(input.actionTypeId, context) })), (input.maxBatchSize !== undefined && input.maxBatchSize !== null && { maxBatchSize: input.maxBatchSize }));
|
|
3440
|
+
return __assign(__assign({}, (input.actionTypeId != null && { actionTypeId: serializeAws_json1_1ActionTypeId(input.actionTypeId, context) })), (input.maxBatchSize != null && { maxBatchSize: input.maxBatchSize }));
|
|
3453
3441
|
};
|
|
3454
3442
|
var serializeAws_json1_1PollingAccountList = function (input, context) {
|
|
3455
3443
|
return input
|
|
@@ -3472,53 +3460,41 @@ var serializeAws_json1_1PollingServicePrincipalList = function (input, context)
|
|
|
3472
3460
|
});
|
|
3473
3461
|
};
|
|
3474
3462
|
var serializeAws_json1_1PutActionRevisionInput = function (input, context) {
|
|
3475
|
-
return __assign(__assign(__assign(__assign({}, (input.actionName
|
|
3476
|
-
input.actionRevision !== null && {
|
|
3463
|
+
return __assign(__assign(__assign(__assign({}, (input.actionName != null && { actionName: input.actionName })), (input.actionRevision != null && {
|
|
3477
3464
|
actionRevision: serializeAws_json1_1ActionRevision(input.actionRevision, context),
|
|
3478
|
-
})), (input.pipelineName
|
|
3465
|
+
})), (input.pipelineName != null && { pipelineName: input.pipelineName })), (input.stageName != null && { stageName: input.stageName }));
|
|
3479
3466
|
};
|
|
3480
3467
|
var serializeAws_json1_1PutApprovalResultInput = function (input, context) {
|
|
3481
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.actionName
|
|
3482
|
-
input.result !== null && { result: serializeAws_json1_1ApprovalResult(input.result, context) })), (input.stageName !== undefined && input.stageName !== null && { stageName: input.stageName })), (input.token !== undefined && input.token !== null && { token: input.token }));
|
|
3468
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.actionName != null && { actionName: input.actionName })), (input.pipelineName != null && { pipelineName: input.pipelineName })), (input.result != null && { result: serializeAws_json1_1ApprovalResult(input.result, context) })), (input.stageName != null && { stageName: input.stageName })), (input.token != null && { token: input.token }));
|
|
3483
3469
|
};
|
|
3484
3470
|
var serializeAws_json1_1PutJobFailureResultInput = function (input, context) {
|
|
3485
|
-
return __assign(__assign({}, (input.failureDetails
|
|
3486
|
-
input.failureDetails !== null && {
|
|
3471
|
+
return __assign(__assign({}, (input.failureDetails != null && {
|
|
3487
3472
|
failureDetails: serializeAws_json1_1FailureDetails(input.failureDetails, context),
|
|
3488
|
-
})), (input.jobId
|
|
3473
|
+
})), (input.jobId != null && { jobId: input.jobId }));
|
|
3489
3474
|
};
|
|
3490
3475
|
var serializeAws_json1_1PutJobSuccessResultInput = function (input, context) {
|
|
3491
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.continuationToken
|
|
3492
|
-
input.continuationToken !== null && { continuationToken: input.continuationToken })), (input.currentRevision !== undefined &&
|
|
3493
|
-
input.currentRevision !== null && {
|
|
3476
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.continuationToken != null && { continuationToken: input.continuationToken })), (input.currentRevision != null && {
|
|
3494
3477
|
currentRevision: serializeAws_json1_1CurrentRevision(input.currentRevision, context),
|
|
3495
|
-
})), (input.executionDetails
|
|
3496
|
-
input.executionDetails !== null && {
|
|
3478
|
+
})), (input.executionDetails != null && {
|
|
3497
3479
|
executionDetails: serializeAws_json1_1ExecutionDetails(input.executionDetails, context),
|
|
3498
|
-
})), (input.jobId
|
|
3499
|
-
input.outputVariables !== null && {
|
|
3480
|
+
})), (input.jobId != null && { jobId: input.jobId })), (input.outputVariables != null && {
|
|
3500
3481
|
outputVariables: serializeAws_json1_1OutputVariablesMap(input.outputVariables, context),
|
|
3501
3482
|
}));
|
|
3502
3483
|
};
|
|
3503
3484
|
var serializeAws_json1_1PutThirdPartyJobFailureResultInput = function (input, context) {
|
|
3504
|
-
return __assign(__assign(__assign({}, (input.clientToken
|
|
3505
|
-
input.failureDetails !== null && {
|
|
3485
|
+
return __assign(__assign(__assign({}, (input.clientToken != null && { clientToken: input.clientToken })), (input.failureDetails != null && {
|
|
3506
3486
|
failureDetails: serializeAws_json1_1FailureDetails(input.failureDetails, context),
|
|
3507
|
-
})), (input.jobId
|
|
3487
|
+
})), (input.jobId != null && { jobId: input.jobId }));
|
|
3508
3488
|
};
|
|
3509
3489
|
var serializeAws_json1_1PutThirdPartyJobSuccessResultInput = function (input, context) {
|
|
3510
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.clientToken
|
|
3511
|
-
input.continuationToken !== null && { continuationToken: input.continuationToken })), (input.currentRevision !== undefined &&
|
|
3512
|
-
input.currentRevision !== null && {
|
|
3490
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.clientToken != null && { clientToken: input.clientToken })), (input.continuationToken != null && { continuationToken: input.continuationToken })), (input.currentRevision != null && {
|
|
3513
3491
|
currentRevision: serializeAws_json1_1CurrentRevision(input.currentRevision, context),
|
|
3514
|
-
})), (input.executionDetails
|
|
3515
|
-
input.executionDetails !== null && {
|
|
3492
|
+
})), (input.executionDetails != null && {
|
|
3516
3493
|
executionDetails: serializeAws_json1_1ExecutionDetails(input.executionDetails, context),
|
|
3517
|
-
})), (input.jobId
|
|
3494
|
+
})), (input.jobId != null && { jobId: input.jobId }));
|
|
3518
3495
|
};
|
|
3519
3496
|
var serializeAws_json1_1PutWebhookInput = function (input, context) {
|
|
3520
|
-
return __assign(__assign({}, (input.tags
|
|
3521
|
-
input.webhook !== null && { webhook: serializeAws_json1_1WebhookDefinition(input.webhook, context) }));
|
|
3497
|
+
return __assign(__assign({}, (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) })), (input.webhook != null && { webhook: serializeAws_json1_1WebhookDefinition(input.webhook, context) }));
|
|
3522
3498
|
};
|
|
3523
3499
|
var serializeAws_json1_1QueryParamMap = function (input, context) {
|
|
3524
3500
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -3531,11 +3507,10 @@ var serializeAws_json1_1QueryParamMap = function (input, context) {
|
|
|
3531
3507
|
}, {});
|
|
3532
3508
|
};
|
|
3533
3509
|
var serializeAws_json1_1RegisterWebhookWithThirdPartyInput = function (input, context) {
|
|
3534
|
-
return __assign({}, (input.webhookName
|
|
3510
|
+
return __assign({}, (input.webhookName != null && { webhookName: input.webhookName }));
|
|
3535
3511
|
};
|
|
3536
3512
|
var serializeAws_json1_1RetryStageExecutionInput = function (input, context) {
|
|
3537
|
-
return __assign(__assign(__assign(__assign({}, (input.pipelineExecutionId
|
|
3538
|
-
input.pipelineExecutionId !== null && { pipelineExecutionId: input.pipelineExecutionId })), (input.pipelineName !== undefined && input.pipelineName !== null && { pipelineName: input.pipelineName })), (input.retryMode !== undefined && input.retryMode !== null && { retryMode: input.retryMode })), (input.stageName !== undefined && input.stageName !== null && { stageName: input.stageName }));
|
|
3513
|
+
return __assign(__assign(__assign(__assign({}, (input.pipelineExecutionId != null && { pipelineExecutionId: input.pipelineExecutionId })), (input.pipelineName != null && { pipelineName: input.pipelineName })), (input.retryMode != null && { retryMode: input.retryMode })), (input.stageName != null && { stageName: input.stageName }));
|
|
3539
3514
|
};
|
|
3540
3515
|
var serializeAws_json1_1StageActionDeclarationList = function (input, context) {
|
|
3541
3516
|
return input
|
|
@@ -3558,22 +3533,19 @@ var serializeAws_json1_1StageBlockerDeclarationList = function (input, context)
|
|
|
3558
3533
|
});
|
|
3559
3534
|
};
|
|
3560
3535
|
var serializeAws_json1_1StageDeclaration = function (input, context) {
|
|
3561
|
-
return __assign(__assign(__assign({}, (input.actions
|
|
3562
|
-
input.actions !== null && { actions: serializeAws_json1_1StageActionDeclarationList(input.actions, context) })), (input.blockers !== undefined &&
|
|
3563
|
-
input.blockers !== null && {
|
|
3536
|
+
return __assign(__assign(__assign({}, (input.actions != null && { actions: serializeAws_json1_1StageActionDeclarationList(input.actions, context) })), (input.blockers != null && {
|
|
3564
3537
|
blockers: serializeAws_json1_1StageBlockerDeclarationList(input.blockers, context),
|
|
3565
|
-
})), (input.name
|
|
3538
|
+
})), (input.name != null && { name: input.name }));
|
|
3566
3539
|
};
|
|
3567
3540
|
var serializeAws_json1_1StartPipelineExecutionInput = function (input, context) {
|
|
3568
3541
|
var _a;
|
|
3569
|
-
return __assign({ clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.name
|
|
3542
|
+
return __assign({ clientRequestToken: (_a = input.clientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.name != null && { name: input.name }));
|
|
3570
3543
|
};
|
|
3571
3544
|
var serializeAws_json1_1StopPipelineExecutionInput = function (input, context) {
|
|
3572
|
-
return __assign(__assign(__assign(__assign({}, (input.abandon
|
|
3573
|
-
input.pipelineExecutionId !== null && { pipelineExecutionId: input.pipelineExecutionId })), (input.pipelineName !== undefined && input.pipelineName !== null && { pipelineName: input.pipelineName })), (input.reason !== undefined && input.reason !== null && { reason: input.reason }));
|
|
3545
|
+
return __assign(__assign(__assign(__assign({}, (input.abandon != null && { abandon: input.abandon })), (input.pipelineExecutionId != null && { pipelineExecutionId: input.pipelineExecutionId })), (input.pipelineName != null && { pipelineName: input.pipelineName })), (input.reason != null && { reason: input.reason }));
|
|
3574
3546
|
};
|
|
3575
3547
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
3576
|
-
return __assign(__assign({}, (input.key
|
|
3548
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
|
|
3577
3549
|
};
|
|
3578
3550
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
3579
3551
|
return input
|
|
@@ -3596,37 +3568,29 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
3596
3568
|
});
|
|
3597
3569
|
};
|
|
3598
3570
|
var serializeAws_json1_1TagResourceInput = function (input, context) {
|
|
3599
|
-
return __assign(__assign({}, (input.resourceArn
|
|
3571
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
|
|
3600
3572
|
};
|
|
3601
3573
|
var serializeAws_json1_1UntagResourceInput = function (input, context) {
|
|
3602
|
-
return __assign(__assign({}, (input.resourceArn
|
|
3603
|
-
input.tagKeys !== null && { tagKeys: serializeAws_json1_1TagKeyList(input.tagKeys, context) }));
|
|
3574
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tagKeys != null && { tagKeys: serializeAws_json1_1TagKeyList(input.tagKeys, context) }));
|
|
3604
3575
|
};
|
|
3605
3576
|
var serializeAws_json1_1UpdateActionTypeInput = function (input, context) {
|
|
3606
|
-
return __assign({}, (input.actionType
|
|
3607
|
-
input.actionType !== null && {
|
|
3577
|
+
return __assign({}, (input.actionType != null && {
|
|
3608
3578
|
actionType: serializeAws_json1_1ActionTypeDeclaration(input.actionType, context),
|
|
3609
3579
|
}));
|
|
3610
3580
|
};
|
|
3611
3581
|
var serializeAws_json1_1UpdatePipelineInput = function (input, context) {
|
|
3612
|
-
return __assign({}, (input.pipeline
|
|
3613
|
-
input.pipeline !== null && { pipeline: serializeAws_json1_1PipelineDeclaration(input.pipeline, context) }));
|
|
3582
|
+
return __assign({}, (input.pipeline != null && { pipeline: serializeAws_json1_1PipelineDeclaration(input.pipeline, context) }));
|
|
3614
3583
|
};
|
|
3615
3584
|
var serializeAws_json1_1WebhookAuthConfiguration = function (input, context) {
|
|
3616
|
-
return __assign(__assign({}, (input.AllowedIPRange
|
|
3617
|
-
input.AllowedIPRange !== null && { AllowedIPRange: input.AllowedIPRange })), (input.SecretToken !== undefined && input.SecretToken !== null && { SecretToken: input.SecretToken }));
|
|
3585
|
+
return __assign(__assign({}, (input.AllowedIPRange != null && { AllowedIPRange: input.AllowedIPRange })), (input.SecretToken != null && { SecretToken: input.SecretToken }));
|
|
3618
3586
|
};
|
|
3619
3587
|
var serializeAws_json1_1WebhookDefinition = function (input, context) {
|
|
3620
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.authentication
|
|
3621
|
-
input.authentication !== null && { authentication: input.authentication })), (input.authenticationConfiguration !== undefined &&
|
|
3622
|
-
input.authenticationConfiguration !== null && {
|
|
3588
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.authentication != null && { authentication: input.authentication })), (input.authenticationConfiguration != null && {
|
|
3623
3589
|
authenticationConfiguration: serializeAws_json1_1WebhookAuthConfiguration(input.authenticationConfiguration, context),
|
|
3624
|
-
})), (input.filters
|
|
3625
|
-
input.filters !== null && { filters: serializeAws_json1_1WebhookFilters(input.filters, context) })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.targetAction !== undefined && input.targetAction !== null && { targetAction: input.targetAction })), (input.targetPipeline !== undefined &&
|
|
3626
|
-
input.targetPipeline !== null && { targetPipeline: input.targetPipeline }));
|
|
3590
|
+
})), (input.filters != null && { filters: serializeAws_json1_1WebhookFilters(input.filters, context) })), (input.name != null && { name: input.name })), (input.targetAction != null && { targetAction: input.targetAction })), (input.targetPipeline != null && { targetPipeline: input.targetPipeline }));
|
|
3627
3591
|
};
|
|
3628
3592
|
var serializeAws_json1_1WebhookFilterRule = function (input, context) {
|
|
3629
|
-
return __assign(__assign({}, (input.jsonPath
|
|
3593
|
+
return __assign(__assign({}, (input.jsonPath != null && { jsonPath: input.jsonPath })), (input.matchEquals != null && { matchEquals: input.matchEquals }));
|
|
3630
3594
|
};
|
|
3631
3595
|
var serializeAws_json1_1WebhookFilters = function (input, context) {
|
|
3632
3596
|
return input
|
|
@@ -3650,7 +3614,7 @@ var deserializeAws_json1_1AcknowledgeThirdPartyJobOutput = function (output, con
|
|
|
3650
3614
|
};
|
|
3651
3615
|
var deserializeAws_json1_1ActionConfiguration = function (output, context) {
|
|
3652
3616
|
return {
|
|
3653
|
-
configuration: output.configuration
|
|
3617
|
+
configuration: output.configuration != null
|
|
3654
3618
|
? deserializeAws_json1_1ActionConfigurationMap(output.configuration, context)
|
|
3655
3619
|
: undefined,
|
|
3656
3620
|
};
|
|
@@ -3695,18 +3659,16 @@ var deserializeAws_json1_1ActionContext = function (output, context) {
|
|
|
3695
3659
|
};
|
|
3696
3660
|
var deserializeAws_json1_1ActionDeclaration = function (output, context) {
|
|
3697
3661
|
return {
|
|
3698
|
-
actionTypeId: output.actionTypeId
|
|
3699
|
-
|
|
3700
|
-
: undefined,
|
|
3701
|
-
configuration: output.configuration !== undefined && output.configuration !== null
|
|
3662
|
+
actionTypeId: output.actionTypeId != null ? deserializeAws_json1_1ActionTypeId(output.actionTypeId, context) : undefined,
|
|
3663
|
+
configuration: output.configuration != null
|
|
3702
3664
|
? deserializeAws_json1_1ActionConfigurationMap(output.configuration, context)
|
|
3703
3665
|
: undefined,
|
|
3704
|
-
inputArtifacts: output.inputArtifacts
|
|
3666
|
+
inputArtifacts: output.inputArtifacts != null
|
|
3705
3667
|
? deserializeAws_json1_1InputArtifactList(output.inputArtifacts, context)
|
|
3706
3668
|
: undefined,
|
|
3707
3669
|
name: __expectString(output.name),
|
|
3708
3670
|
namespace: __expectString(output.namespace),
|
|
3709
|
-
outputArtifacts: output.outputArtifacts
|
|
3671
|
+
outputArtifacts: output.outputArtifacts != null
|
|
3710
3672
|
? deserializeAws_json1_1OutputArtifactList(output.outputArtifacts, context)
|
|
3711
3673
|
: undefined,
|
|
3712
3674
|
region: __expectString(output.region),
|
|
@@ -3717,12 +3679,10 @@ var deserializeAws_json1_1ActionDeclaration = function (output, context) {
|
|
|
3717
3679
|
var deserializeAws_json1_1ActionExecution = function (output, context) {
|
|
3718
3680
|
return {
|
|
3719
3681
|
actionExecutionId: __expectString(output.actionExecutionId),
|
|
3720
|
-
errorDetails: output.errorDetails
|
|
3721
|
-
? deserializeAws_json1_1ErrorDetails(output.errorDetails, context)
|
|
3722
|
-
: undefined,
|
|
3682
|
+
errorDetails: output.errorDetails != null ? deserializeAws_json1_1ErrorDetails(output.errorDetails, context) : undefined,
|
|
3723
3683
|
externalExecutionId: __expectString(output.externalExecutionId),
|
|
3724
3684
|
externalExecutionUrl: __expectString(output.externalExecutionUrl),
|
|
3725
|
-
lastStatusChange: output.lastStatusChange
|
|
3685
|
+
lastStatusChange: output.lastStatusChange != null
|
|
3726
3686
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastStatusChange)))
|
|
3727
3687
|
: undefined,
|
|
3728
3688
|
lastUpdatedBy: __expectString(output.lastUpdatedBy),
|
|
@@ -3736,21 +3696,15 @@ var deserializeAws_json1_1ActionExecutionDetail = function (output, context) {
|
|
|
3736
3696
|
return {
|
|
3737
3697
|
actionExecutionId: __expectString(output.actionExecutionId),
|
|
3738
3698
|
actionName: __expectString(output.actionName),
|
|
3739
|
-
input: output.input
|
|
3740
|
-
|
|
3741
|
-
: undefined,
|
|
3742
|
-
lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
|
|
3699
|
+
input: output.input != null ? deserializeAws_json1_1ActionExecutionInput(output.input, context) : undefined,
|
|
3700
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
3743
3701
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateTime)))
|
|
3744
3702
|
: undefined,
|
|
3745
|
-
output: output.output
|
|
3746
|
-
? deserializeAws_json1_1ActionExecutionOutput(output.output, context)
|
|
3747
|
-
: undefined,
|
|
3703
|
+
output: output.output != null ? deserializeAws_json1_1ActionExecutionOutput(output.output, context) : undefined,
|
|
3748
3704
|
pipelineExecutionId: __expectString(output.pipelineExecutionId),
|
|
3749
3705
|
pipelineVersion: __expectInt32(output.pipelineVersion),
|
|
3750
3706
|
stageName: __expectString(output.stageName),
|
|
3751
|
-
startTime: output.startTime
|
|
3752
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
3753
|
-
: undefined,
|
|
3707
|
+
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
3754
3708
|
status: __expectString(output.status),
|
|
3755
3709
|
};
|
|
3756
3710
|
};
|
|
@@ -3767,18 +3721,16 @@ var deserializeAws_json1_1ActionExecutionDetailList = function (output, context)
|
|
|
3767
3721
|
};
|
|
3768
3722
|
var deserializeAws_json1_1ActionExecutionInput = function (output, context) {
|
|
3769
3723
|
return {
|
|
3770
|
-
actionTypeId: output.actionTypeId
|
|
3771
|
-
|
|
3772
|
-
: undefined,
|
|
3773
|
-
configuration: output.configuration !== undefined && output.configuration !== null
|
|
3724
|
+
actionTypeId: output.actionTypeId != null ? deserializeAws_json1_1ActionTypeId(output.actionTypeId, context) : undefined,
|
|
3725
|
+
configuration: output.configuration != null
|
|
3774
3726
|
? deserializeAws_json1_1ActionConfigurationMap(output.configuration, context)
|
|
3775
3727
|
: undefined,
|
|
3776
|
-
inputArtifacts: output.inputArtifacts
|
|
3728
|
+
inputArtifacts: output.inputArtifacts != null
|
|
3777
3729
|
? deserializeAws_json1_1ArtifactDetailList(output.inputArtifacts, context)
|
|
3778
3730
|
: undefined,
|
|
3779
3731
|
namespace: __expectString(output.namespace),
|
|
3780
3732
|
region: __expectString(output.region),
|
|
3781
|
-
resolvedConfiguration: output.resolvedConfiguration
|
|
3733
|
+
resolvedConfiguration: output.resolvedConfiguration != null
|
|
3782
3734
|
? deserializeAws_json1_1ResolvedActionConfigurationMap(output.resolvedConfiguration, context)
|
|
3783
3735
|
: undefined,
|
|
3784
3736
|
roleArn: __expectString(output.roleArn),
|
|
@@ -3786,13 +3738,13 @@ var deserializeAws_json1_1ActionExecutionInput = function (output, context) {
|
|
|
3786
3738
|
};
|
|
3787
3739
|
var deserializeAws_json1_1ActionExecutionOutput = function (output, context) {
|
|
3788
3740
|
return {
|
|
3789
|
-
executionResult: output.executionResult
|
|
3741
|
+
executionResult: output.executionResult != null
|
|
3790
3742
|
? deserializeAws_json1_1ActionExecutionResult(output.executionResult, context)
|
|
3791
3743
|
: undefined,
|
|
3792
|
-
outputArtifacts: output.outputArtifacts
|
|
3744
|
+
outputArtifacts: output.outputArtifacts != null
|
|
3793
3745
|
? deserializeAws_json1_1ArtifactDetailList(output.outputArtifacts, context)
|
|
3794
3746
|
: undefined,
|
|
3795
|
-
outputVariables: output.outputVariables
|
|
3747
|
+
outputVariables: output.outputVariables != null
|
|
3796
3748
|
? deserializeAws_json1_1OutputVariablesMap(output.outputVariables, context)
|
|
3797
3749
|
: undefined,
|
|
3798
3750
|
};
|
|
@@ -3811,9 +3763,7 @@ var deserializeAws_json1_1ActionNotFoundException = function (output, context) {
|
|
|
3811
3763
|
};
|
|
3812
3764
|
var deserializeAws_json1_1ActionRevision = function (output, context) {
|
|
3813
3765
|
return {
|
|
3814
|
-
created: output.created
|
|
3815
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
3816
|
-
: undefined,
|
|
3766
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
3817
3767
|
revisionChangeId: __expectString(output.revisionChangeId),
|
|
3818
3768
|
revisionId: __expectString(output.revisionId),
|
|
3819
3769
|
};
|
|
@@ -3821,11 +3771,11 @@ var deserializeAws_json1_1ActionRevision = function (output, context) {
|
|
|
3821
3771
|
var deserializeAws_json1_1ActionState = function (output, context) {
|
|
3822
3772
|
return {
|
|
3823
3773
|
actionName: __expectString(output.actionName),
|
|
3824
|
-
currentRevision: output.currentRevision
|
|
3774
|
+
currentRevision: output.currentRevision != null
|
|
3825
3775
|
? deserializeAws_json1_1ActionRevision(output.currentRevision, context)
|
|
3826
3776
|
: undefined,
|
|
3827
3777
|
entityUrl: __expectString(output.entityUrl),
|
|
3828
|
-
latestExecution: output.latestExecution
|
|
3778
|
+
latestExecution: output.latestExecution != null
|
|
3829
3779
|
? deserializeAws_json1_1ActionExecution(output.latestExecution, context)
|
|
3830
3780
|
: undefined,
|
|
3831
3781
|
revisionUrl: __expectString(output.revisionUrl),
|
|
@@ -3844,21 +3794,17 @@ var deserializeAws_json1_1ActionStateList = function (output, context) {
|
|
|
3844
3794
|
};
|
|
3845
3795
|
var deserializeAws_json1_1ActionType = function (output, context) {
|
|
3846
3796
|
return {
|
|
3847
|
-
actionConfigurationProperties: output.actionConfigurationProperties
|
|
3797
|
+
actionConfigurationProperties: output.actionConfigurationProperties != null
|
|
3848
3798
|
? deserializeAws_json1_1ActionConfigurationPropertyList(output.actionConfigurationProperties, context)
|
|
3849
3799
|
: undefined,
|
|
3850
|
-
id: output.id
|
|
3851
|
-
|
|
3852
|
-
: undefined,
|
|
3853
|
-
inputArtifactDetails: output.inputArtifactDetails !== undefined && output.inputArtifactDetails !== null
|
|
3800
|
+
id: output.id != null ? deserializeAws_json1_1ActionTypeId(output.id, context) : undefined,
|
|
3801
|
+
inputArtifactDetails: output.inputArtifactDetails != null
|
|
3854
3802
|
? deserializeAws_json1_1ArtifactDetails(output.inputArtifactDetails, context)
|
|
3855
3803
|
: undefined,
|
|
3856
|
-
outputArtifactDetails: output.outputArtifactDetails
|
|
3804
|
+
outputArtifactDetails: output.outputArtifactDetails != null
|
|
3857
3805
|
? deserializeAws_json1_1ArtifactDetails(output.outputArtifactDetails, context)
|
|
3858
3806
|
: undefined,
|
|
3859
|
-
settings: output.settings
|
|
3860
|
-
? deserializeAws_json1_1ActionTypeSettings(output.settings, context)
|
|
3861
|
-
: undefined,
|
|
3807
|
+
settings: output.settings != null ? deserializeAws_json1_1ActionTypeSettings(output.settings, context) : undefined,
|
|
3862
3808
|
};
|
|
3863
3809
|
};
|
|
3864
3810
|
var deserializeAws_json1_1ActionTypeArtifactDetails = function (output, context) {
|
|
@@ -3870,32 +3816,22 @@ var deserializeAws_json1_1ActionTypeArtifactDetails = function (output, context)
|
|
|
3870
3816
|
var deserializeAws_json1_1ActionTypeDeclaration = function (output, context) {
|
|
3871
3817
|
return {
|
|
3872
3818
|
description: __expectString(output.description),
|
|
3873
|
-
executor: output.executor
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
id: output.id !== undefined && output.id !== null
|
|
3877
|
-
? deserializeAws_json1_1ActionTypeIdentifier(output.id, context)
|
|
3878
|
-
: undefined,
|
|
3879
|
-
inputArtifactDetails: output.inputArtifactDetails !== undefined && output.inputArtifactDetails !== null
|
|
3819
|
+
executor: output.executor != null ? deserializeAws_json1_1ActionTypeExecutor(output.executor, context) : undefined,
|
|
3820
|
+
id: output.id != null ? deserializeAws_json1_1ActionTypeIdentifier(output.id, context) : undefined,
|
|
3821
|
+
inputArtifactDetails: output.inputArtifactDetails != null
|
|
3880
3822
|
? deserializeAws_json1_1ActionTypeArtifactDetails(output.inputArtifactDetails, context)
|
|
3881
3823
|
: undefined,
|
|
3882
|
-
outputArtifactDetails: output.outputArtifactDetails
|
|
3824
|
+
outputArtifactDetails: output.outputArtifactDetails != null
|
|
3883
3825
|
? deserializeAws_json1_1ActionTypeArtifactDetails(output.outputArtifactDetails, context)
|
|
3884
3826
|
: undefined,
|
|
3885
|
-
permissions: output.permissions
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
properties: output.properties !== undefined && output.properties !== null
|
|
3889
|
-
? deserializeAws_json1_1ActionTypeProperties(output.properties, context)
|
|
3890
|
-
: undefined,
|
|
3891
|
-
urls: output.urls !== undefined && output.urls !== null
|
|
3892
|
-
? deserializeAws_json1_1ActionTypeUrls(output.urls, context)
|
|
3893
|
-
: undefined,
|
|
3827
|
+
permissions: output.permissions != null ? deserializeAws_json1_1ActionTypePermissions(output.permissions, context) : undefined,
|
|
3828
|
+
properties: output.properties != null ? deserializeAws_json1_1ActionTypeProperties(output.properties, context) : undefined,
|
|
3829
|
+
urls: output.urls != null ? deserializeAws_json1_1ActionTypeUrls(output.urls, context) : undefined,
|
|
3894
3830
|
};
|
|
3895
3831
|
};
|
|
3896
3832
|
var deserializeAws_json1_1ActionTypeExecutor = function (output, context) {
|
|
3897
3833
|
return {
|
|
3898
|
-
configuration: output.configuration
|
|
3834
|
+
configuration: output.configuration != null
|
|
3899
3835
|
? deserializeAws_json1_1ExecutorConfiguration(output.configuration, context)
|
|
3900
3836
|
: undefined,
|
|
3901
3837
|
jobTimeout: __expectInt32(output.jobTimeout),
|
|
@@ -3937,7 +3873,7 @@ var deserializeAws_json1_1ActionTypeNotFoundException = function (output, contex
|
|
|
3937
3873
|
};
|
|
3938
3874
|
var deserializeAws_json1_1ActionTypePermissions = function (output, context) {
|
|
3939
3875
|
return {
|
|
3940
|
-
allowedAccounts: output.allowedAccounts
|
|
3876
|
+
allowedAccounts: output.allowedAccounts != null
|
|
3941
3877
|
? deserializeAws_json1_1AllowedAccounts(output.allowedAccounts, context)
|
|
3942
3878
|
: undefined,
|
|
3943
3879
|
};
|
|
@@ -3997,9 +3933,7 @@ var deserializeAws_json1_1ApprovalAlreadyCompletedException = function (output,
|
|
|
3997
3933
|
};
|
|
3998
3934
|
var deserializeAws_json1_1Artifact = function (output, context) {
|
|
3999
3935
|
return {
|
|
4000
|
-
location: output.location
|
|
4001
|
-
? deserializeAws_json1_1ArtifactLocation(output.location, context)
|
|
4002
|
-
: undefined,
|
|
3936
|
+
location: output.location != null ? deserializeAws_json1_1ArtifactLocation(output.location, context) : undefined,
|
|
4003
3937
|
name: __expectString(output.name),
|
|
4004
3938
|
revision: __expectString(output.revision),
|
|
4005
3939
|
};
|
|
@@ -4007,9 +3941,7 @@ var deserializeAws_json1_1Artifact = function (output, context) {
|
|
|
4007
3941
|
var deserializeAws_json1_1ArtifactDetail = function (output, context) {
|
|
4008
3942
|
return {
|
|
4009
3943
|
name: __expectString(output.name),
|
|
4010
|
-
s3location: output.s3location
|
|
4011
|
-
? deserializeAws_json1_1S3Location(output.s3location, context)
|
|
4012
|
-
: undefined,
|
|
3944
|
+
s3location: output.s3location != null ? deserializeAws_json1_1S3Location(output.s3location, context) : undefined,
|
|
4013
3945
|
};
|
|
4014
3946
|
};
|
|
4015
3947
|
var deserializeAws_json1_1ArtifactDetailList = function (output, context) {
|
|
@@ -4042,17 +3974,13 @@ var deserializeAws_json1_1ArtifactList = function (output, context) {
|
|
|
4042
3974
|
};
|
|
4043
3975
|
var deserializeAws_json1_1ArtifactLocation = function (output, context) {
|
|
4044
3976
|
return {
|
|
4045
|
-
s3Location: output.s3Location
|
|
4046
|
-
? deserializeAws_json1_1S3ArtifactLocation(output.s3Location, context)
|
|
4047
|
-
: undefined,
|
|
3977
|
+
s3Location: output.s3Location != null ? deserializeAws_json1_1S3ArtifactLocation(output.s3Location, context) : undefined,
|
|
4048
3978
|
type: __expectString(output.type),
|
|
4049
3979
|
};
|
|
4050
3980
|
};
|
|
4051
3981
|
var deserializeAws_json1_1ArtifactRevision = function (output, context) {
|
|
4052
3982
|
return {
|
|
4053
|
-
created: output.created
|
|
4054
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
4055
|
-
: undefined,
|
|
3983
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
4056
3984
|
name: __expectString(output.name),
|
|
4057
3985
|
revisionChangeIdentifier: __expectString(output.revisionChangeIdentifier),
|
|
4058
3986
|
revisionId: __expectString(output.revisionId),
|
|
@@ -4073,9 +4001,7 @@ var deserializeAws_json1_1ArtifactRevisionList = function (output, context) {
|
|
|
4073
4001
|
};
|
|
4074
4002
|
var deserializeAws_json1_1ArtifactStore = function (output, context) {
|
|
4075
4003
|
return {
|
|
4076
|
-
encryptionKey: output.encryptionKey
|
|
4077
|
-
? deserializeAws_json1_1EncryptionKey(output.encryptionKey, context)
|
|
4078
|
-
: undefined,
|
|
4004
|
+
encryptionKey: output.encryptionKey != null ? deserializeAws_json1_1EncryptionKey(output.encryptionKey, context) : undefined,
|
|
4079
4005
|
location: __expectString(output.location),
|
|
4080
4006
|
type: __expectString(output.type),
|
|
4081
4007
|
};
|
|
@@ -4115,22 +4041,14 @@ var deserializeAws_json1_1ConflictException = function (output, context) {
|
|
|
4115
4041
|
};
|
|
4116
4042
|
var deserializeAws_json1_1CreateCustomActionTypeOutput = function (output, context) {
|
|
4117
4043
|
return {
|
|
4118
|
-
actionType: output.actionType
|
|
4119
|
-
|
|
4120
|
-
: undefined,
|
|
4121
|
-
tags: output.tags !== undefined && output.tags !== null
|
|
4122
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
4123
|
-
: undefined,
|
|
4044
|
+
actionType: output.actionType != null ? deserializeAws_json1_1ActionType(output.actionType, context) : undefined,
|
|
4045
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
4124
4046
|
};
|
|
4125
4047
|
};
|
|
4126
4048
|
var deserializeAws_json1_1CreatePipelineOutput = function (output, context) {
|
|
4127
4049
|
return {
|
|
4128
|
-
pipeline: output.pipeline
|
|
4129
|
-
|
|
4130
|
-
: undefined,
|
|
4131
|
-
tags: output.tags !== undefined && output.tags !== null
|
|
4132
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
4133
|
-
: undefined,
|
|
4050
|
+
pipeline: output.pipeline != null ? deserializeAws_json1_1PipelineDeclaration(output.pipeline, context) : undefined,
|
|
4051
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
4134
4052
|
};
|
|
4135
4053
|
};
|
|
4136
4054
|
var deserializeAws_json1_1DeleteWebhookOutput = function (output, context) {
|
|
@@ -4164,65 +4082,49 @@ var deserializeAws_json1_1ExecutionTrigger = function (output, context) {
|
|
|
4164
4082
|
};
|
|
4165
4083
|
var deserializeAws_json1_1ExecutorConfiguration = function (output, context) {
|
|
4166
4084
|
return {
|
|
4167
|
-
jobWorkerExecutorConfiguration: output.jobWorkerExecutorConfiguration
|
|
4085
|
+
jobWorkerExecutorConfiguration: output.jobWorkerExecutorConfiguration != null
|
|
4168
4086
|
? deserializeAws_json1_1JobWorkerExecutorConfiguration(output.jobWorkerExecutorConfiguration, context)
|
|
4169
4087
|
: undefined,
|
|
4170
|
-
lambdaExecutorConfiguration: output.lambdaExecutorConfiguration
|
|
4088
|
+
lambdaExecutorConfiguration: output.lambdaExecutorConfiguration != null
|
|
4171
4089
|
? deserializeAws_json1_1LambdaExecutorConfiguration(output.lambdaExecutorConfiguration, context)
|
|
4172
4090
|
: undefined,
|
|
4173
4091
|
};
|
|
4174
4092
|
};
|
|
4175
4093
|
var deserializeAws_json1_1GetActionTypeOutput = function (output, context) {
|
|
4176
4094
|
return {
|
|
4177
|
-
actionType: output.actionType
|
|
4178
|
-
? deserializeAws_json1_1ActionTypeDeclaration(output.actionType, context)
|
|
4179
|
-
: undefined,
|
|
4095
|
+
actionType: output.actionType != null ? deserializeAws_json1_1ActionTypeDeclaration(output.actionType, context) : undefined,
|
|
4180
4096
|
};
|
|
4181
4097
|
};
|
|
4182
4098
|
var deserializeAws_json1_1GetJobDetailsOutput = function (output, context) {
|
|
4183
4099
|
return {
|
|
4184
|
-
jobDetails: output.jobDetails
|
|
4185
|
-
? deserializeAws_json1_1JobDetails(output.jobDetails, context)
|
|
4186
|
-
: undefined,
|
|
4100
|
+
jobDetails: output.jobDetails != null ? deserializeAws_json1_1JobDetails(output.jobDetails, context) : undefined,
|
|
4187
4101
|
};
|
|
4188
4102
|
};
|
|
4189
4103
|
var deserializeAws_json1_1GetPipelineExecutionOutput = function (output, context) {
|
|
4190
4104
|
return {
|
|
4191
|
-
pipelineExecution: output.pipelineExecution
|
|
4105
|
+
pipelineExecution: output.pipelineExecution != null
|
|
4192
4106
|
? deserializeAws_json1_1PipelineExecution(output.pipelineExecution, context)
|
|
4193
4107
|
: undefined,
|
|
4194
4108
|
};
|
|
4195
4109
|
};
|
|
4196
4110
|
var deserializeAws_json1_1GetPipelineOutput = function (output, context) {
|
|
4197
4111
|
return {
|
|
4198
|
-
metadata: output.metadata
|
|
4199
|
-
|
|
4200
|
-
: undefined,
|
|
4201
|
-
pipeline: output.pipeline !== undefined && output.pipeline !== null
|
|
4202
|
-
? deserializeAws_json1_1PipelineDeclaration(output.pipeline, context)
|
|
4203
|
-
: undefined,
|
|
4112
|
+
metadata: output.metadata != null ? deserializeAws_json1_1PipelineMetadata(output.metadata, context) : undefined,
|
|
4113
|
+
pipeline: output.pipeline != null ? deserializeAws_json1_1PipelineDeclaration(output.pipeline, context) : undefined,
|
|
4204
4114
|
};
|
|
4205
4115
|
};
|
|
4206
4116
|
var deserializeAws_json1_1GetPipelineStateOutput = function (output, context) {
|
|
4207
4117
|
return {
|
|
4208
|
-
created: output.created
|
|
4209
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
4210
|
-
: undefined,
|
|
4118
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
4211
4119
|
pipelineName: __expectString(output.pipelineName),
|
|
4212
4120
|
pipelineVersion: __expectInt32(output.pipelineVersion),
|
|
4213
|
-
stageStates: output.stageStates
|
|
4214
|
-
|
|
4215
|
-
: undefined,
|
|
4216
|
-
updated: output.updated !== undefined && output.updated !== null
|
|
4217
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated)))
|
|
4218
|
-
: undefined,
|
|
4121
|
+
stageStates: output.stageStates != null ? deserializeAws_json1_1StageStateList(output.stageStates, context) : undefined,
|
|
4122
|
+
updated: output.updated != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated))) : undefined,
|
|
4219
4123
|
};
|
|
4220
4124
|
};
|
|
4221
4125
|
var deserializeAws_json1_1GetThirdPartyJobDetailsOutput = function (output, context) {
|
|
4222
4126
|
return {
|
|
4223
|
-
jobDetails: output.jobDetails
|
|
4224
|
-
? deserializeAws_json1_1ThirdPartyJobDetails(output.jobDetails, context)
|
|
4225
|
-
: undefined,
|
|
4127
|
+
jobDetails: output.jobDetails != null ? deserializeAws_json1_1ThirdPartyJobDetails(output.jobDetails, context) : undefined,
|
|
4226
4128
|
};
|
|
4227
4129
|
};
|
|
4228
4130
|
var deserializeAws_json1_1InputArtifact = function (output, context) {
|
|
@@ -4314,35 +4216,25 @@ var deserializeAws_json1_1InvalidWebhookFilterPatternException = function (outpu
|
|
|
4314
4216
|
var deserializeAws_json1_1Job = function (output, context) {
|
|
4315
4217
|
return {
|
|
4316
4218
|
accountId: __expectString(output.accountId),
|
|
4317
|
-
data: output.data
|
|
4318
|
-
? deserializeAws_json1_1JobData(output.data, context)
|
|
4319
|
-
: undefined,
|
|
4219
|
+
data: output.data != null ? deserializeAws_json1_1JobData(output.data, context) : undefined,
|
|
4320
4220
|
id: __expectString(output.id),
|
|
4321
4221
|
nonce: __expectString(output.nonce),
|
|
4322
4222
|
};
|
|
4323
4223
|
};
|
|
4324
4224
|
var deserializeAws_json1_1JobData = function (output, context) {
|
|
4325
4225
|
return {
|
|
4326
|
-
actionConfiguration: output.actionConfiguration
|
|
4226
|
+
actionConfiguration: output.actionConfiguration != null
|
|
4327
4227
|
? deserializeAws_json1_1ActionConfiguration(output.actionConfiguration, context)
|
|
4328
4228
|
: undefined,
|
|
4329
|
-
actionTypeId: output.actionTypeId
|
|
4330
|
-
|
|
4331
|
-
: undefined,
|
|
4332
|
-
artifactCredentials: output.artifactCredentials !== undefined && output.artifactCredentials !== null
|
|
4229
|
+
actionTypeId: output.actionTypeId != null ? deserializeAws_json1_1ActionTypeId(output.actionTypeId, context) : undefined,
|
|
4230
|
+
artifactCredentials: output.artifactCredentials != null
|
|
4333
4231
|
? deserializeAws_json1_1AWSSessionCredentials(output.artifactCredentials, context)
|
|
4334
4232
|
: undefined,
|
|
4335
4233
|
continuationToken: __expectString(output.continuationToken),
|
|
4336
|
-
encryptionKey: output.encryptionKey
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
? deserializeAws_json1_1ArtifactList(output.inputArtifacts, context)
|
|
4341
|
-
: undefined,
|
|
4342
|
-
outputArtifacts: output.outputArtifacts !== undefined && output.outputArtifacts !== null
|
|
4343
|
-
? deserializeAws_json1_1ArtifactList(output.outputArtifacts, context)
|
|
4344
|
-
: undefined,
|
|
4345
|
-
pipelineContext: output.pipelineContext !== undefined && output.pipelineContext !== null
|
|
4234
|
+
encryptionKey: output.encryptionKey != null ? deserializeAws_json1_1EncryptionKey(output.encryptionKey, context) : undefined,
|
|
4235
|
+
inputArtifacts: output.inputArtifacts != null ? deserializeAws_json1_1ArtifactList(output.inputArtifacts, context) : undefined,
|
|
4236
|
+
outputArtifacts: output.outputArtifacts != null ? deserializeAws_json1_1ArtifactList(output.outputArtifacts, context) : undefined,
|
|
4237
|
+
pipelineContext: output.pipelineContext != null
|
|
4346
4238
|
? deserializeAws_json1_1PipelineContext(output.pipelineContext, context)
|
|
4347
4239
|
: undefined,
|
|
4348
4240
|
};
|
|
@@ -4350,9 +4242,7 @@ var deserializeAws_json1_1JobData = function (output, context) {
|
|
|
4350
4242
|
var deserializeAws_json1_1JobDetails = function (output, context) {
|
|
4351
4243
|
return {
|
|
4352
4244
|
accountId: __expectString(output.accountId),
|
|
4353
|
-
data: output.data
|
|
4354
|
-
? deserializeAws_json1_1JobData(output.data, context)
|
|
4355
|
-
: undefined,
|
|
4245
|
+
data: output.data != null ? deserializeAws_json1_1JobData(output.data, context) : undefined,
|
|
4356
4246
|
id: __expectString(output.id),
|
|
4357
4247
|
};
|
|
4358
4248
|
};
|
|
@@ -4374,10 +4264,10 @@ var deserializeAws_json1_1JobNotFoundException = function (output, context) {
|
|
|
4374
4264
|
};
|
|
4375
4265
|
var deserializeAws_json1_1JobWorkerExecutorConfiguration = function (output, context) {
|
|
4376
4266
|
return {
|
|
4377
|
-
pollingAccounts: output.pollingAccounts
|
|
4267
|
+
pollingAccounts: output.pollingAccounts != null
|
|
4378
4268
|
? deserializeAws_json1_1PollingAccountList(output.pollingAccounts, context)
|
|
4379
4269
|
: undefined,
|
|
4380
|
-
pollingServicePrincipals: output.pollingServicePrincipals
|
|
4270
|
+
pollingServicePrincipals: output.pollingServicePrincipals != null
|
|
4381
4271
|
? deserializeAws_json1_1PollingServicePrincipalList(output.pollingServicePrincipals, context)
|
|
4382
4272
|
: undefined,
|
|
4383
4273
|
};
|
|
@@ -4394,7 +4284,7 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
4394
4284
|
};
|
|
4395
4285
|
var deserializeAws_json1_1ListActionExecutionsOutput = function (output, context) {
|
|
4396
4286
|
return {
|
|
4397
|
-
actionExecutionDetails: output.actionExecutionDetails
|
|
4287
|
+
actionExecutionDetails: output.actionExecutionDetails != null
|
|
4398
4288
|
? deserializeAws_json1_1ActionExecutionDetailList(output.actionExecutionDetails, context)
|
|
4399
4289
|
: undefined,
|
|
4400
4290
|
nextToken: __expectString(output.nextToken),
|
|
@@ -4402,16 +4292,14 @@ var deserializeAws_json1_1ListActionExecutionsOutput = function (output, context
|
|
|
4402
4292
|
};
|
|
4403
4293
|
var deserializeAws_json1_1ListActionTypesOutput = function (output, context) {
|
|
4404
4294
|
return {
|
|
4405
|
-
actionTypes: output.actionTypes
|
|
4406
|
-
? deserializeAws_json1_1ActionTypeList(output.actionTypes, context)
|
|
4407
|
-
: undefined,
|
|
4295
|
+
actionTypes: output.actionTypes != null ? deserializeAws_json1_1ActionTypeList(output.actionTypes, context) : undefined,
|
|
4408
4296
|
nextToken: __expectString(output.nextToken),
|
|
4409
4297
|
};
|
|
4410
4298
|
};
|
|
4411
4299
|
var deserializeAws_json1_1ListPipelineExecutionsOutput = function (output, context) {
|
|
4412
4300
|
return {
|
|
4413
4301
|
nextToken: __expectString(output.nextToken),
|
|
4414
|
-
pipelineExecutionSummaries: output.pipelineExecutionSummaries
|
|
4302
|
+
pipelineExecutionSummaries: output.pipelineExecutionSummaries != null
|
|
4415
4303
|
? deserializeAws_json1_1PipelineExecutionSummaryList(output.pipelineExecutionSummaries, context)
|
|
4416
4304
|
: undefined,
|
|
4417
4305
|
};
|
|
@@ -4419,42 +4307,32 @@ var deserializeAws_json1_1ListPipelineExecutionsOutput = function (output, conte
|
|
|
4419
4307
|
var deserializeAws_json1_1ListPipelinesOutput = function (output, context) {
|
|
4420
4308
|
return {
|
|
4421
4309
|
nextToken: __expectString(output.nextToken),
|
|
4422
|
-
pipelines: output.pipelines
|
|
4423
|
-
? deserializeAws_json1_1PipelineList(output.pipelines, context)
|
|
4424
|
-
: undefined,
|
|
4310
|
+
pipelines: output.pipelines != null ? deserializeAws_json1_1PipelineList(output.pipelines, context) : undefined,
|
|
4425
4311
|
};
|
|
4426
4312
|
};
|
|
4427
4313
|
var deserializeAws_json1_1ListTagsForResourceOutput = function (output, context) {
|
|
4428
4314
|
return {
|
|
4429
4315
|
nextToken: __expectString(output.nextToken),
|
|
4430
|
-
tags: output.tags
|
|
4431
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
4432
|
-
: undefined,
|
|
4316
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
4433
4317
|
};
|
|
4434
4318
|
};
|
|
4435
4319
|
var deserializeAws_json1_1ListWebhookItem = function (output, context) {
|
|
4436
4320
|
return {
|
|
4437
4321
|
arn: __expectString(output.arn),
|
|
4438
|
-
definition: output.definition
|
|
4439
|
-
? deserializeAws_json1_1WebhookDefinition(output.definition, context)
|
|
4440
|
-
: undefined,
|
|
4322
|
+
definition: output.definition != null ? deserializeAws_json1_1WebhookDefinition(output.definition, context) : undefined,
|
|
4441
4323
|
errorCode: __expectString(output.errorCode),
|
|
4442
4324
|
errorMessage: __expectString(output.errorMessage),
|
|
4443
|
-
lastTriggered: output.lastTriggered
|
|
4325
|
+
lastTriggered: output.lastTriggered != null
|
|
4444
4326
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastTriggered)))
|
|
4445
4327
|
: undefined,
|
|
4446
|
-
tags: output.tags
|
|
4447
|
-
? deserializeAws_json1_1TagList(output.tags, context)
|
|
4448
|
-
: undefined,
|
|
4328
|
+
tags: output.tags != null ? deserializeAws_json1_1TagList(output.tags, context) : undefined,
|
|
4449
4329
|
url: __expectString(output.url),
|
|
4450
4330
|
};
|
|
4451
4331
|
};
|
|
4452
4332
|
var deserializeAws_json1_1ListWebhooksOutput = function (output, context) {
|
|
4453
4333
|
return {
|
|
4454
4334
|
NextToken: __expectString(output.NextToken),
|
|
4455
|
-
webhooks: output.webhooks
|
|
4456
|
-
? deserializeAws_json1_1WebhookList(output.webhooks, context)
|
|
4457
|
-
: undefined,
|
|
4335
|
+
webhooks: output.webhooks != null ? deserializeAws_json1_1WebhookList(output.webhooks, context) : undefined,
|
|
4458
4336
|
};
|
|
4459
4337
|
};
|
|
4460
4338
|
var deserializeAws_json1_1NotLatestPipelineExecutionException = function (output, context) {
|
|
@@ -4495,36 +4373,28 @@ var deserializeAws_json1_1OutputVariablesSizeExceededException = function (outpu
|
|
|
4495
4373
|
};
|
|
4496
4374
|
var deserializeAws_json1_1PipelineContext = function (output, context) {
|
|
4497
4375
|
return {
|
|
4498
|
-
action: output.action
|
|
4499
|
-
? deserializeAws_json1_1ActionContext(output.action, context)
|
|
4500
|
-
: undefined,
|
|
4376
|
+
action: output.action != null ? deserializeAws_json1_1ActionContext(output.action, context) : undefined,
|
|
4501
4377
|
pipelineArn: __expectString(output.pipelineArn),
|
|
4502
4378
|
pipelineExecutionId: __expectString(output.pipelineExecutionId),
|
|
4503
4379
|
pipelineName: __expectString(output.pipelineName),
|
|
4504
|
-
stage: output.stage
|
|
4505
|
-
? deserializeAws_json1_1StageContext(output.stage, context)
|
|
4506
|
-
: undefined,
|
|
4380
|
+
stage: output.stage != null ? deserializeAws_json1_1StageContext(output.stage, context) : undefined,
|
|
4507
4381
|
};
|
|
4508
4382
|
};
|
|
4509
4383
|
var deserializeAws_json1_1PipelineDeclaration = function (output, context) {
|
|
4510
4384
|
return {
|
|
4511
|
-
artifactStore: output.artifactStore
|
|
4512
|
-
|
|
4513
|
-
: undefined,
|
|
4514
|
-
artifactStores: output.artifactStores !== undefined && output.artifactStores !== null
|
|
4385
|
+
artifactStore: output.artifactStore != null ? deserializeAws_json1_1ArtifactStore(output.artifactStore, context) : undefined,
|
|
4386
|
+
artifactStores: output.artifactStores != null
|
|
4515
4387
|
? deserializeAws_json1_1ArtifactStoreMap(output.artifactStores, context)
|
|
4516
4388
|
: undefined,
|
|
4517
4389
|
name: __expectString(output.name),
|
|
4518
4390
|
roleArn: __expectString(output.roleArn),
|
|
4519
|
-
stages: output.stages
|
|
4520
|
-
? deserializeAws_json1_1PipelineStageDeclarationList(output.stages, context)
|
|
4521
|
-
: undefined,
|
|
4391
|
+
stages: output.stages != null ? deserializeAws_json1_1PipelineStageDeclarationList(output.stages, context) : undefined,
|
|
4522
4392
|
version: __expectInt32(output.version),
|
|
4523
4393
|
};
|
|
4524
4394
|
};
|
|
4525
4395
|
var deserializeAws_json1_1PipelineExecution = function (output, context) {
|
|
4526
4396
|
return {
|
|
4527
|
-
artifactRevisions: output.artifactRevisions
|
|
4397
|
+
artifactRevisions: output.artifactRevisions != null
|
|
4528
4398
|
? deserializeAws_json1_1ArtifactRevisionList(output.artifactRevisions, context)
|
|
4529
4399
|
: undefined,
|
|
4530
4400
|
pipelineExecutionId: __expectString(output.pipelineExecutionId),
|
|
@@ -4546,23 +4416,17 @@ var deserializeAws_json1_1PipelineExecutionNotStoppableException = function (out
|
|
|
4546
4416
|
};
|
|
4547
4417
|
var deserializeAws_json1_1PipelineExecutionSummary = function (output, context) {
|
|
4548
4418
|
return {
|
|
4549
|
-
lastUpdateTime: output.lastUpdateTime
|
|
4419
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
4550
4420
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateTime)))
|
|
4551
4421
|
: undefined,
|
|
4552
4422
|
pipelineExecutionId: __expectString(output.pipelineExecutionId),
|
|
4553
|
-
sourceRevisions: output.sourceRevisions
|
|
4423
|
+
sourceRevisions: output.sourceRevisions != null
|
|
4554
4424
|
? deserializeAws_json1_1SourceRevisionList(output.sourceRevisions, context)
|
|
4555
4425
|
: undefined,
|
|
4556
|
-
startTime: output.startTime
|
|
4557
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
4558
|
-
: undefined,
|
|
4426
|
+
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
4559
4427
|
status: __expectString(output.status),
|
|
4560
|
-
stopTrigger: output.stopTrigger
|
|
4561
|
-
|
|
4562
|
-
: undefined,
|
|
4563
|
-
trigger: output.trigger !== undefined && output.trigger !== null
|
|
4564
|
-
? deserializeAws_json1_1ExecutionTrigger(output.trigger, context)
|
|
4565
|
-
: undefined,
|
|
4428
|
+
stopTrigger: output.stopTrigger != null ? deserializeAws_json1_1StopExecutionTrigger(output.stopTrigger, context) : undefined,
|
|
4429
|
+
trigger: output.trigger != null ? deserializeAws_json1_1ExecutionTrigger(output.trigger, context) : undefined,
|
|
4566
4430
|
};
|
|
4567
4431
|
};
|
|
4568
4432
|
var deserializeAws_json1_1PipelineExecutionSummaryList = function (output, context) {
|
|
@@ -4589,13 +4453,9 @@ var deserializeAws_json1_1PipelineList = function (output, context) {
|
|
|
4589
4453
|
};
|
|
4590
4454
|
var deserializeAws_json1_1PipelineMetadata = function (output, context) {
|
|
4591
4455
|
return {
|
|
4592
|
-
created: output.created
|
|
4593
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
4594
|
-
: undefined,
|
|
4456
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
4595
4457
|
pipelineArn: __expectString(output.pipelineArn),
|
|
4596
|
-
updated: output.updated
|
|
4597
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated)))
|
|
4598
|
-
: undefined,
|
|
4458
|
+
updated: output.updated != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated))) : undefined,
|
|
4599
4459
|
};
|
|
4600
4460
|
};
|
|
4601
4461
|
var deserializeAws_json1_1PipelineNameInUseException = function (output, context) {
|
|
@@ -4621,13 +4481,9 @@ var deserializeAws_json1_1PipelineStageDeclarationList = function (output, conte
|
|
|
4621
4481
|
};
|
|
4622
4482
|
var deserializeAws_json1_1PipelineSummary = function (output, context) {
|
|
4623
4483
|
return {
|
|
4624
|
-
created: output.created
|
|
4625
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
4626
|
-
: undefined,
|
|
4484
|
+
created: output.created != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created))) : undefined,
|
|
4627
4485
|
name: __expectString(output.name),
|
|
4628
|
-
updated: output.updated
|
|
4629
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated)))
|
|
4630
|
-
: undefined,
|
|
4486
|
+
updated: output.updated != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated))) : undefined,
|
|
4631
4487
|
version: __expectInt32(output.version),
|
|
4632
4488
|
};
|
|
4633
4489
|
};
|
|
@@ -4638,16 +4494,12 @@ var deserializeAws_json1_1PipelineVersionNotFoundException = function (output, c
|
|
|
4638
4494
|
};
|
|
4639
4495
|
var deserializeAws_json1_1PollForJobsOutput = function (output, context) {
|
|
4640
4496
|
return {
|
|
4641
|
-
jobs: output.jobs
|
|
4642
|
-
? deserializeAws_json1_1JobList(output.jobs, context)
|
|
4643
|
-
: undefined,
|
|
4497
|
+
jobs: output.jobs != null ? deserializeAws_json1_1JobList(output.jobs, context) : undefined,
|
|
4644
4498
|
};
|
|
4645
4499
|
};
|
|
4646
4500
|
var deserializeAws_json1_1PollForThirdPartyJobsOutput = function (output, context) {
|
|
4647
4501
|
return {
|
|
4648
|
-
jobs: output.jobs
|
|
4649
|
-
? deserializeAws_json1_1ThirdPartyJobList(output.jobs, context)
|
|
4650
|
-
: undefined,
|
|
4502
|
+
jobs: output.jobs != null ? deserializeAws_json1_1ThirdPartyJobList(output.jobs, context) : undefined,
|
|
4651
4503
|
};
|
|
4652
4504
|
};
|
|
4653
4505
|
var deserializeAws_json1_1PollingAccountList = function (output, context) {
|
|
@@ -4680,16 +4532,12 @@ var deserializeAws_json1_1PutActionRevisionOutput = function (output, context) {
|
|
|
4680
4532
|
};
|
|
4681
4533
|
var deserializeAws_json1_1PutApprovalResultOutput = function (output, context) {
|
|
4682
4534
|
return {
|
|
4683
|
-
approvedAt: output.approvedAt
|
|
4684
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.approvedAt)))
|
|
4685
|
-
: undefined,
|
|
4535
|
+
approvedAt: output.approvedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.approvedAt))) : undefined,
|
|
4686
4536
|
};
|
|
4687
4537
|
};
|
|
4688
4538
|
var deserializeAws_json1_1PutWebhookOutput = function (output, context) {
|
|
4689
4539
|
return {
|
|
4690
|
-
webhook: output.webhook
|
|
4691
|
-
? deserializeAws_json1_1ListWebhookItem(output.webhook, context)
|
|
4692
|
-
: undefined,
|
|
4540
|
+
webhook: output.webhook != null ? deserializeAws_json1_1ListWebhookItem(output.webhook, context) : undefined,
|
|
4693
4541
|
};
|
|
4694
4542
|
};
|
|
4695
4543
|
var deserializeAws_json1_1RegisterWebhookWithThirdPartyOutput = function (output, context) {
|
|
@@ -4780,12 +4628,8 @@ var deserializeAws_json1_1StageContext = function (output, context) {
|
|
|
4780
4628
|
};
|
|
4781
4629
|
var deserializeAws_json1_1StageDeclaration = function (output, context) {
|
|
4782
4630
|
return {
|
|
4783
|
-
actions: output.actions
|
|
4784
|
-
|
|
4785
|
-
: undefined,
|
|
4786
|
-
blockers: output.blockers !== undefined && output.blockers !== null
|
|
4787
|
-
? deserializeAws_json1_1StageBlockerDeclarationList(output.blockers, context)
|
|
4788
|
-
: undefined,
|
|
4631
|
+
actions: output.actions != null ? deserializeAws_json1_1StageActionDeclarationList(output.actions, context) : undefined,
|
|
4632
|
+
blockers: output.blockers != null ? deserializeAws_json1_1StageBlockerDeclarationList(output.blockers, context) : undefined,
|
|
4789
4633
|
name: __expectString(output.name),
|
|
4790
4634
|
};
|
|
4791
4635
|
};
|
|
@@ -4807,16 +4651,14 @@ var deserializeAws_json1_1StageNotRetryableException = function (output, context
|
|
|
4807
4651
|
};
|
|
4808
4652
|
var deserializeAws_json1_1StageState = function (output, context) {
|
|
4809
4653
|
return {
|
|
4810
|
-
actionStates: output.actionStates
|
|
4811
|
-
|
|
4812
|
-
: undefined,
|
|
4813
|
-
inboundExecution: output.inboundExecution !== undefined && output.inboundExecution !== null
|
|
4654
|
+
actionStates: output.actionStates != null ? deserializeAws_json1_1ActionStateList(output.actionStates, context) : undefined,
|
|
4655
|
+
inboundExecution: output.inboundExecution != null
|
|
4814
4656
|
? deserializeAws_json1_1StageExecution(output.inboundExecution, context)
|
|
4815
4657
|
: undefined,
|
|
4816
|
-
inboundTransitionState: output.inboundTransitionState
|
|
4658
|
+
inboundTransitionState: output.inboundTransitionState != null
|
|
4817
4659
|
? deserializeAws_json1_1TransitionState(output.inboundTransitionState, context)
|
|
4818
4660
|
: undefined,
|
|
4819
|
-
latestExecution: output.latestExecution
|
|
4661
|
+
latestExecution: output.latestExecution != null
|
|
4820
4662
|
? deserializeAws_json1_1StageExecution(output.latestExecution, context)
|
|
4821
4663
|
: undefined,
|
|
4822
4664
|
stageName: __expectString(output.stageName),
|
|
@@ -4876,35 +4718,25 @@ var deserializeAws_json1_1ThirdPartyJob = function (output, context) {
|
|
|
4876
4718
|
};
|
|
4877
4719
|
var deserializeAws_json1_1ThirdPartyJobData = function (output, context) {
|
|
4878
4720
|
return {
|
|
4879
|
-
actionConfiguration: output.actionConfiguration
|
|
4721
|
+
actionConfiguration: output.actionConfiguration != null
|
|
4880
4722
|
? deserializeAws_json1_1ActionConfiguration(output.actionConfiguration, context)
|
|
4881
4723
|
: undefined,
|
|
4882
|
-
actionTypeId: output.actionTypeId
|
|
4883
|
-
|
|
4884
|
-
: undefined,
|
|
4885
|
-
artifactCredentials: output.artifactCredentials !== undefined && output.artifactCredentials !== null
|
|
4724
|
+
actionTypeId: output.actionTypeId != null ? deserializeAws_json1_1ActionTypeId(output.actionTypeId, context) : undefined,
|
|
4725
|
+
artifactCredentials: output.artifactCredentials != null
|
|
4886
4726
|
? deserializeAws_json1_1AWSSessionCredentials(output.artifactCredentials, context)
|
|
4887
4727
|
: undefined,
|
|
4888
4728
|
continuationToken: __expectString(output.continuationToken),
|
|
4889
|
-
encryptionKey: output.encryptionKey
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
? deserializeAws_json1_1ArtifactList(output.inputArtifacts, context)
|
|
4894
|
-
: undefined,
|
|
4895
|
-
outputArtifacts: output.outputArtifacts !== undefined && output.outputArtifacts !== null
|
|
4896
|
-
? deserializeAws_json1_1ArtifactList(output.outputArtifacts, context)
|
|
4897
|
-
: undefined,
|
|
4898
|
-
pipelineContext: output.pipelineContext !== undefined && output.pipelineContext !== null
|
|
4729
|
+
encryptionKey: output.encryptionKey != null ? deserializeAws_json1_1EncryptionKey(output.encryptionKey, context) : undefined,
|
|
4730
|
+
inputArtifacts: output.inputArtifacts != null ? deserializeAws_json1_1ArtifactList(output.inputArtifacts, context) : undefined,
|
|
4731
|
+
outputArtifacts: output.outputArtifacts != null ? deserializeAws_json1_1ArtifactList(output.outputArtifacts, context) : undefined,
|
|
4732
|
+
pipelineContext: output.pipelineContext != null
|
|
4899
4733
|
? deserializeAws_json1_1PipelineContext(output.pipelineContext, context)
|
|
4900
4734
|
: undefined,
|
|
4901
4735
|
};
|
|
4902
4736
|
};
|
|
4903
4737
|
var deserializeAws_json1_1ThirdPartyJobDetails = function (output, context) {
|
|
4904
4738
|
return {
|
|
4905
|
-
data: output.data
|
|
4906
|
-
? deserializeAws_json1_1ThirdPartyJobData(output.data, context)
|
|
4907
|
-
: undefined,
|
|
4739
|
+
data: output.data != null ? deserializeAws_json1_1ThirdPartyJobData(output.data, context) : undefined,
|
|
4908
4740
|
id: __expectString(output.id),
|
|
4909
4741
|
nonce: __expectString(output.nonce),
|
|
4910
4742
|
};
|
|
@@ -4929,7 +4761,7 @@ var deserializeAws_json1_1TransitionState = function (output, context) {
|
|
|
4929
4761
|
return {
|
|
4930
4762
|
disabledReason: __expectString(output.disabledReason),
|
|
4931
4763
|
enabled: __expectBoolean(output.enabled),
|
|
4932
|
-
lastChangedAt: output.lastChangedAt
|
|
4764
|
+
lastChangedAt: output.lastChangedAt != null
|
|
4933
4765
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastChangedAt)))
|
|
4934
4766
|
: undefined,
|
|
4935
4767
|
lastChangedBy: __expectString(output.lastChangedBy),
|
|
@@ -4940,9 +4772,7 @@ var deserializeAws_json1_1UntagResourceOutput = function (output, context) {
|
|
|
4940
4772
|
};
|
|
4941
4773
|
var deserializeAws_json1_1UpdatePipelineOutput = function (output, context) {
|
|
4942
4774
|
return {
|
|
4943
|
-
pipeline: output.pipeline
|
|
4944
|
-
? deserializeAws_json1_1PipelineDeclaration(output.pipeline, context)
|
|
4945
|
-
: undefined,
|
|
4775
|
+
pipeline: output.pipeline != null ? deserializeAws_json1_1PipelineDeclaration(output.pipeline, context) : undefined,
|
|
4946
4776
|
};
|
|
4947
4777
|
};
|
|
4948
4778
|
var deserializeAws_json1_1ValidationException = function (output, context) {
|
|
@@ -4959,12 +4789,10 @@ var deserializeAws_json1_1WebhookAuthConfiguration = function (output, context)
|
|
|
4959
4789
|
var deserializeAws_json1_1WebhookDefinition = function (output, context) {
|
|
4960
4790
|
return {
|
|
4961
4791
|
authentication: __expectString(output.authentication),
|
|
4962
|
-
authenticationConfiguration: output.authenticationConfiguration
|
|
4792
|
+
authenticationConfiguration: output.authenticationConfiguration != null
|
|
4963
4793
|
? deserializeAws_json1_1WebhookAuthConfiguration(output.authenticationConfiguration, context)
|
|
4964
4794
|
: undefined,
|
|
4965
|
-
filters: output.filters
|
|
4966
|
-
? deserializeAws_json1_1WebhookFilters(output.filters, context)
|
|
4967
|
-
: undefined,
|
|
4795
|
+
filters: output.filters != null ? deserializeAws_json1_1WebhookFilters(output.filters, context) : undefined,
|
|
4968
4796
|
name: __expectString(output.name),
|
|
4969
4797
|
targetAction: __expectString(output.targetAction),
|
|
4970
4798
|
targetPipeline: __expectString(output.targetPipeline),
|
|
@@ -5075,5 +4903,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
5075
4903
|
if (data["__type"] !== undefined) {
|
|
5076
4904
|
return sanitizeErrorCode(data["__type"]);
|
|
5077
4905
|
}
|
|
5078
|
-
return "";
|
|
5079
4906
|
};
|