@aws-sdk/client-codepipeline 3.131.0 → 3.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/AcknowledgeJobCommand.js +2 -2
- package/dist-cjs/commands/AcknowledgeThirdPartyJobCommand.js +2 -2
- package/dist-cjs/commands/CreateCustomActionTypeCommand.js +2 -2
- package/dist-cjs/commands/CreatePipelineCommand.js +2 -2
- package/dist-cjs/commands/DeleteCustomActionTypeCommand.js +1 -1
- package/dist-cjs/commands/DeletePipelineCommand.js +1 -1
- package/dist-cjs/commands/DeleteWebhookCommand.js +2 -2
- package/dist-cjs/commands/DeregisterWebhookWithThirdPartyCommand.js +2 -2
- package/dist-cjs/commands/DisableStageTransitionCommand.js +1 -1
- package/dist-cjs/commands/EnableStageTransitionCommand.js +1 -1
- package/dist-cjs/commands/GetActionTypeCommand.js +2 -2
- package/dist-cjs/commands/GetJobDetailsCommand.js +2 -2
- package/dist-cjs/commands/GetPipelineCommand.js +2 -2
- package/dist-cjs/commands/GetPipelineExecutionCommand.js +2 -2
- package/dist-cjs/commands/GetPipelineStateCommand.js +2 -2
- package/dist-cjs/commands/GetThirdPartyJobDetailsCommand.js +2 -2
- package/dist-cjs/commands/ListActionExecutionsCommand.js +2 -2
- package/dist-cjs/commands/ListActionTypesCommand.js +2 -2
- package/dist-cjs/commands/ListPipelineExecutionsCommand.js +2 -2
- package/dist-cjs/commands/ListPipelinesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListWebhooksCommand.js +2 -2
- package/dist-cjs/commands/PollForJobsCommand.js +2 -2
- package/dist-cjs/commands/PollForThirdPartyJobsCommand.js +2 -2
- package/dist-cjs/commands/PutActionRevisionCommand.js +2 -2
- package/dist-cjs/commands/PutApprovalResultCommand.js +2 -2
- package/dist-cjs/commands/PutJobFailureResultCommand.js +1 -1
- package/dist-cjs/commands/PutJobSuccessResultCommand.js +1 -1
- package/dist-cjs/commands/PutThirdPartyJobFailureResultCommand.js +1 -1
- package/dist-cjs/commands/PutThirdPartyJobSuccessResultCommand.js +1 -1
- package/dist-cjs/commands/PutWebhookCommand.js +2 -2
- package/dist-cjs/commands/RegisterWebhookWithThirdPartyCommand.js +2 -2
- package/dist-cjs/commands/RetryStageExecutionCommand.js +2 -2
- package/dist-cjs/commands/StartPipelineExecutionCommand.js +2 -2
- package/dist-cjs/commands/StopPipelineExecutionCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateActionTypeCommand.js +1 -1
- package/dist-cjs/commands/UpdatePipelineCommand.js +2 -2
- package/dist-cjs/models/models_0.js +563 -837
- package/dist-cjs/protocols/Aws_json1_1.js +195 -351
- package/dist-es/commands/AcknowledgeJobCommand.js +3 -3
- package/dist-es/commands/AcknowledgeThirdPartyJobCommand.js +3 -3
- package/dist-es/commands/CreateCustomActionTypeCommand.js +3 -3
- package/dist-es/commands/CreatePipelineCommand.js +3 -3
- package/dist-es/commands/DeleteCustomActionTypeCommand.js +2 -2
- package/dist-es/commands/DeletePipelineCommand.js +2 -2
- package/dist-es/commands/DeleteWebhookCommand.js +3 -3
- package/dist-es/commands/DeregisterWebhookWithThirdPartyCommand.js +3 -3
- package/dist-es/commands/DisableStageTransitionCommand.js +2 -2
- package/dist-es/commands/EnableStageTransitionCommand.js +2 -2
- package/dist-es/commands/GetActionTypeCommand.js +3 -3
- package/dist-es/commands/GetJobDetailsCommand.js +3 -3
- package/dist-es/commands/GetPipelineCommand.js +3 -3
- package/dist-es/commands/GetPipelineExecutionCommand.js +3 -3
- package/dist-es/commands/GetPipelineStateCommand.js +3 -3
- package/dist-es/commands/GetThirdPartyJobDetailsCommand.js +3 -3
- package/dist-es/commands/ListActionExecutionsCommand.js +3 -3
- package/dist-es/commands/ListActionTypesCommand.js +3 -3
- package/dist-es/commands/ListPipelineExecutionsCommand.js +3 -3
- package/dist-es/commands/ListPipelinesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ListWebhooksCommand.js +3 -3
- package/dist-es/commands/PollForJobsCommand.js +3 -3
- package/dist-es/commands/PollForThirdPartyJobsCommand.js +3 -3
- package/dist-es/commands/PutActionRevisionCommand.js +3 -3
- package/dist-es/commands/PutApprovalResultCommand.js +3 -3
- package/dist-es/commands/PutJobFailureResultCommand.js +2 -2
- package/dist-es/commands/PutJobSuccessResultCommand.js +2 -2
- package/dist-es/commands/PutThirdPartyJobFailureResultCommand.js +2 -2
- package/dist-es/commands/PutThirdPartyJobSuccessResultCommand.js +2 -2
- package/dist-es/commands/PutWebhookCommand.js +3 -3
- package/dist-es/commands/RegisterWebhookWithThirdPartyCommand.js +3 -3
- package/dist-es/commands/RetryStageExecutionCommand.js +3 -3
- package/dist-es/commands/StartPipelineExecutionCommand.js +3 -3
- package/dist-es/commands/StopPipelineExecutionCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateActionTypeCommand.js +2 -2
- package/dist-es/commands/UpdatePipelineCommand.js +3 -3
- package/dist-es/models/models_0.js +137 -548
- package/dist-es/protocols/Aws_json1_1.js +313 -352
- package/dist-types/models/models_0.d.ts +548 -822
- package/dist-types/ts3.4/models/models_0.d.ts +274 -548
- package/package.json +6 -6
|
@@ -416,7 +416,6 @@ const deserializeAws_json1_1AcknowledgeJobCommandError = async (output, context)
|
|
|
416
416
|
...output,
|
|
417
417
|
body: await parseBody(output.body, context),
|
|
418
418
|
};
|
|
419
|
-
let response;
|
|
420
419
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
421
420
|
switch (errorCode) {
|
|
422
421
|
case "InvalidNonceException":
|
|
@@ -430,14 +429,12 @@ const deserializeAws_json1_1AcknowledgeJobCommandError = async (output, context)
|
|
|
430
429
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
431
430
|
default:
|
|
432
431
|
const parsedBody = parsedOutput.body;
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
$metadata,
|
|
432
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
433
|
+
output,
|
|
434
|
+
parsedBody,
|
|
435
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
436
|
+
errorCode,
|
|
439
437
|
});
|
|
440
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
441
438
|
}
|
|
442
439
|
};
|
|
443
440
|
const deserializeAws_json1_1AcknowledgeThirdPartyJobCommand = async (output, context) => {
|
|
@@ -459,7 +456,6 @@ const deserializeAws_json1_1AcknowledgeThirdPartyJobCommandError = async (output
|
|
|
459
456
|
...output,
|
|
460
457
|
body: await parseBody(output.body, context),
|
|
461
458
|
};
|
|
462
|
-
let response;
|
|
463
459
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
464
460
|
switch (errorCode) {
|
|
465
461
|
case "InvalidClientTokenException":
|
|
@@ -476,14 +472,12 @@ const deserializeAws_json1_1AcknowledgeThirdPartyJobCommandError = async (output
|
|
|
476
472
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
477
473
|
default:
|
|
478
474
|
const parsedBody = parsedOutput.body;
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
$metadata,
|
|
475
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
476
|
+
output,
|
|
477
|
+
parsedBody,
|
|
478
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
479
|
+
errorCode,
|
|
485
480
|
});
|
|
486
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
487
481
|
}
|
|
488
482
|
};
|
|
489
483
|
const deserializeAws_json1_1CreateCustomActionTypeCommand = async (output, context) => {
|
|
@@ -505,7 +499,6 @@ const deserializeAws_json1_1CreateCustomActionTypeCommandError = async (output,
|
|
|
505
499
|
...output,
|
|
506
500
|
body: await parseBody(output.body, context),
|
|
507
501
|
};
|
|
508
|
-
let response;
|
|
509
502
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
510
503
|
switch (errorCode) {
|
|
511
504
|
case "ConcurrentModificationException":
|
|
@@ -525,14 +518,12 @@ const deserializeAws_json1_1CreateCustomActionTypeCommandError = async (output,
|
|
|
525
518
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
526
519
|
default:
|
|
527
520
|
const parsedBody = parsedOutput.body;
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
$metadata,
|
|
521
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
522
|
+
output,
|
|
523
|
+
parsedBody,
|
|
524
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
525
|
+
errorCode,
|
|
534
526
|
});
|
|
535
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
536
527
|
}
|
|
537
528
|
};
|
|
538
529
|
const deserializeAws_json1_1CreatePipelineCommand = async (output, context) => {
|
|
@@ -554,7 +545,6 @@ const deserializeAws_json1_1CreatePipelineCommandError = async (output, context)
|
|
|
554
545
|
...output,
|
|
555
546
|
body: await parseBody(output.body, context),
|
|
556
547
|
};
|
|
557
|
-
let response;
|
|
558
548
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
559
549
|
switch (errorCode) {
|
|
560
550
|
case "ConcurrentModificationException":
|
|
@@ -589,14 +579,12 @@ const deserializeAws_json1_1CreatePipelineCommandError = async (output, context)
|
|
|
589
579
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
590
580
|
default:
|
|
591
581
|
const parsedBody = parsedOutput.body;
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
$metadata,
|
|
582
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
583
|
+
output,
|
|
584
|
+
parsedBody,
|
|
585
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
586
|
+
errorCode,
|
|
598
587
|
});
|
|
599
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
600
588
|
}
|
|
601
589
|
};
|
|
602
590
|
const deserializeAws_json1_1DeleteCustomActionTypeCommand = async (output, context) => {
|
|
@@ -615,7 +603,6 @@ const deserializeAws_json1_1DeleteCustomActionTypeCommandError = async (output,
|
|
|
615
603
|
...output,
|
|
616
604
|
body: await parseBody(output.body, context),
|
|
617
605
|
};
|
|
618
|
-
let response;
|
|
619
606
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
620
607
|
switch (errorCode) {
|
|
621
608
|
case "ConcurrentModificationException":
|
|
@@ -626,14 +613,12 @@ const deserializeAws_json1_1DeleteCustomActionTypeCommandError = async (output,
|
|
|
626
613
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
627
614
|
default:
|
|
628
615
|
const parsedBody = parsedOutput.body;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
$metadata,
|
|
616
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
617
|
+
output,
|
|
618
|
+
parsedBody,
|
|
619
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
620
|
+
errorCode,
|
|
635
621
|
});
|
|
636
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
637
622
|
}
|
|
638
623
|
};
|
|
639
624
|
const deserializeAws_json1_1DeletePipelineCommand = async (output, context) => {
|
|
@@ -652,7 +637,6 @@ const deserializeAws_json1_1DeletePipelineCommandError = async (output, context)
|
|
|
652
637
|
...output,
|
|
653
638
|
body: await parseBody(output.body, context),
|
|
654
639
|
};
|
|
655
|
-
let response;
|
|
656
640
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
657
641
|
switch (errorCode) {
|
|
658
642
|
case "ConcurrentModificationException":
|
|
@@ -663,14 +647,12 @@ const deserializeAws_json1_1DeletePipelineCommandError = async (output, context)
|
|
|
663
647
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
664
648
|
default:
|
|
665
649
|
const parsedBody = parsedOutput.body;
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
$metadata,
|
|
650
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
651
|
+
output,
|
|
652
|
+
parsedBody,
|
|
653
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
654
|
+
errorCode,
|
|
672
655
|
});
|
|
673
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
674
656
|
}
|
|
675
657
|
};
|
|
676
658
|
const deserializeAws_json1_1DeleteWebhookCommand = async (output, context) => {
|
|
@@ -692,7 +674,6 @@ const deserializeAws_json1_1DeleteWebhookCommandError = async (output, context)
|
|
|
692
674
|
...output,
|
|
693
675
|
body: await parseBody(output.body, context),
|
|
694
676
|
};
|
|
695
|
-
let response;
|
|
696
677
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
697
678
|
switch (errorCode) {
|
|
698
679
|
case "ConcurrentModificationException":
|
|
@@ -703,14 +684,12 @@ const deserializeAws_json1_1DeleteWebhookCommandError = async (output, context)
|
|
|
703
684
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
704
685
|
default:
|
|
705
686
|
const parsedBody = parsedOutput.body;
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
$metadata,
|
|
687
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
688
|
+
output,
|
|
689
|
+
parsedBody,
|
|
690
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
691
|
+
errorCode,
|
|
712
692
|
});
|
|
713
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
714
693
|
}
|
|
715
694
|
};
|
|
716
695
|
const deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommand = async (output, context) => {
|
|
@@ -732,7 +711,6 @@ const deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommandError = async
|
|
|
732
711
|
...output,
|
|
733
712
|
body: await parseBody(output.body, context),
|
|
734
713
|
};
|
|
735
|
-
let response;
|
|
736
714
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
737
715
|
switch (errorCode) {
|
|
738
716
|
case "ValidationException":
|
|
@@ -743,14 +721,12 @@ const deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommandError = async
|
|
|
743
721
|
throw await deserializeAws_json1_1WebhookNotFoundExceptionResponse(parsedOutput, context);
|
|
744
722
|
default:
|
|
745
723
|
const parsedBody = parsedOutput.body;
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
$metadata,
|
|
724
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
725
|
+
output,
|
|
726
|
+
parsedBody,
|
|
727
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
728
|
+
errorCode,
|
|
752
729
|
});
|
|
753
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
754
730
|
}
|
|
755
731
|
};
|
|
756
732
|
const deserializeAws_json1_1DisableStageTransitionCommand = async (output, context) => {
|
|
@@ -769,7 +745,6 @@ const deserializeAws_json1_1DisableStageTransitionCommandError = async (output,
|
|
|
769
745
|
...output,
|
|
770
746
|
body: await parseBody(output.body, context),
|
|
771
747
|
};
|
|
772
|
-
let response;
|
|
773
748
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
774
749
|
switch (errorCode) {
|
|
775
750
|
case "PipelineNotFoundException":
|
|
@@ -783,14 +758,12 @@ const deserializeAws_json1_1DisableStageTransitionCommandError = async (output,
|
|
|
783
758
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
784
759
|
default:
|
|
785
760
|
const parsedBody = parsedOutput.body;
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
$metadata,
|
|
761
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
762
|
+
output,
|
|
763
|
+
parsedBody,
|
|
764
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
765
|
+
errorCode,
|
|
792
766
|
});
|
|
793
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
794
767
|
}
|
|
795
768
|
};
|
|
796
769
|
const deserializeAws_json1_1EnableStageTransitionCommand = async (output, context) => {
|
|
@@ -809,7 +782,6 @@ const deserializeAws_json1_1EnableStageTransitionCommandError = async (output, c
|
|
|
809
782
|
...output,
|
|
810
783
|
body: await parseBody(output.body, context),
|
|
811
784
|
};
|
|
812
|
-
let response;
|
|
813
785
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
814
786
|
switch (errorCode) {
|
|
815
787
|
case "PipelineNotFoundException":
|
|
@@ -823,14 +795,12 @@ const deserializeAws_json1_1EnableStageTransitionCommandError = async (output, c
|
|
|
823
795
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
824
796
|
default:
|
|
825
797
|
const parsedBody = parsedOutput.body;
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
$metadata,
|
|
798
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
799
|
+
output,
|
|
800
|
+
parsedBody,
|
|
801
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
802
|
+
errorCode,
|
|
832
803
|
});
|
|
833
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
834
804
|
}
|
|
835
805
|
};
|
|
836
806
|
const deserializeAws_json1_1GetActionTypeCommand = async (output, context) => {
|
|
@@ -852,7 +822,6 @@ const deserializeAws_json1_1GetActionTypeCommandError = async (output, context)
|
|
|
852
822
|
...output,
|
|
853
823
|
body: await parseBody(output.body, context),
|
|
854
824
|
};
|
|
855
|
-
let response;
|
|
856
825
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
857
826
|
switch (errorCode) {
|
|
858
827
|
case "ActionTypeNotFoundException":
|
|
@@ -863,14 +832,12 @@ const deserializeAws_json1_1GetActionTypeCommandError = async (output, context)
|
|
|
863
832
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
864
833
|
default:
|
|
865
834
|
const parsedBody = parsedOutput.body;
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
$metadata,
|
|
835
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
836
|
+
output,
|
|
837
|
+
parsedBody,
|
|
838
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
839
|
+
errorCode,
|
|
872
840
|
});
|
|
873
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
874
841
|
}
|
|
875
842
|
};
|
|
876
843
|
const deserializeAws_json1_1GetJobDetailsCommand = async (output, context) => {
|
|
@@ -892,7 +859,6 @@ const deserializeAws_json1_1GetJobDetailsCommandError = async (output, context)
|
|
|
892
859
|
...output,
|
|
893
860
|
body: await parseBody(output.body, context),
|
|
894
861
|
};
|
|
895
|
-
let response;
|
|
896
862
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
897
863
|
switch (errorCode) {
|
|
898
864
|
case "JobNotFoundException":
|
|
@@ -903,14 +869,12 @@ const deserializeAws_json1_1GetJobDetailsCommandError = async (output, context)
|
|
|
903
869
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
904
870
|
default:
|
|
905
871
|
const parsedBody = parsedOutput.body;
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
$metadata,
|
|
872
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
873
|
+
output,
|
|
874
|
+
parsedBody,
|
|
875
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
876
|
+
errorCode,
|
|
912
877
|
});
|
|
913
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
914
878
|
}
|
|
915
879
|
};
|
|
916
880
|
const deserializeAws_json1_1GetPipelineCommand = async (output, context) => {
|
|
@@ -932,7 +896,6 @@ const deserializeAws_json1_1GetPipelineCommandError = async (output, context) =>
|
|
|
932
896
|
...output,
|
|
933
897
|
body: await parseBody(output.body, context),
|
|
934
898
|
};
|
|
935
|
-
let response;
|
|
936
899
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
937
900
|
switch (errorCode) {
|
|
938
901
|
case "PipelineNotFoundException":
|
|
@@ -946,14 +909,12 @@ const deserializeAws_json1_1GetPipelineCommandError = async (output, context) =>
|
|
|
946
909
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
947
910
|
default:
|
|
948
911
|
const parsedBody = parsedOutput.body;
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
$metadata,
|
|
912
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
913
|
+
output,
|
|
914
|
+
parsedBody,
|
|
915
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
916
|
+
errorCode,
|
|
955
917
|
});
|
|
956
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
957
918
|
}
|
|
958
919
|
};
|
|
959
920
|
const deserializeAws_json1_1GetPipelineExecutionCommand = async (output, context) => {
|
|
@@ -975,7 +936,6 @@ const deserializeAws_json1_1GetPipelineExecutionCommandError = async (output, co
|
|
|
975
936
|
...output,
|
|
976
937
|
body: await parseBody(output.body, context),
|
|
977
938
|
};
|
|
978
|
-
let response;
|
|
979
939
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
980
940
|
switch (errorCode) {
|
|
981
941
|
case "PipelineExecutionNotFoundException":
|
|
@@ -989,14 +949,12 @@ const deserializeAws_json1_1GetPipelineExecutionCommandError = async (output, co
|
|
|
989
949
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
990
950
|
default:
|
|
991
951
|
const parsedBody = parsedOutput.body;
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
$metadata,
|
|
952
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
953
|
+
output,
|
|
954
|
+
parsedBody,
|
|
955
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
956
|
+
errorCode,
|
|
998
957
|
});
|
|
999
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1000
958
|
}
|
|
1001
959
|
};
|
|
1002
960
|
const deserializeAws_json1_1GetPipelineStateCommand = async (output, context) => {
|
|
@@ -1018,7 +976,6 @@ const deserializeAws_json1_1GetPipelineStateCommandError = async (output, contex
|
|
|
1018
976
|
...output,
|
|
1019
977
|
body: await parseBody(output.body, context),
|
|
1020
978
|
};
|
|
1021
|
-
let response;
|
|
1022
979
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1023
980
|
switch (errorCode) {
|
|
1024
981
|
case "PipelineNotFoundException":
|
|
@@ -1029,14 +986,12 @@ const deserializeAws_json1_1GetPipelineStateCommandError = async (output, contex
|
|
|
1029
986
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1030
987
|
default:
|
|
1031
988
|
const parsedBody = parsedOutput.body;
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
$metadata,
|
|
989
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
990
|
+
output,
|
|
991
|
+
parsedBody,
|
|
992
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
993
|
+
errorCode,
|
|
1038
994
|
});
|
|
1039
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1040
995
|
}
|
|
1041
996
|
};
|
|
1042
997
|
const deserializeAws_json1_1GetThirdPartyJobDetailsCommand = async (output, context) => {
|
|
@@ -1058,7 +1013,6 @@ const deserializeAws_json1_1GetThirdPartyJobDetailsCommandError = async (output,
|
|
|
1058
1013
|
...output,
|
|
1059
1014
|
body: await parseBody(output.body, context),
|
|
1060
1015
|
};
|
|
1061
|
-
let response;
|
|
1062
1016
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1063
1017
|
switch (errorCode) {
|
|
1064
1018
|
case "InvalidClientTokenException":
|
|
@@ -1075,14 +1029,12 @@ const deserializeAws_json1_1GetThirdPartyJobDetailsCommandError = async (output,
|
|
|
1075
1029
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1076
1030
|
default:
|
|
1077
1031
|
const parsedBody = parsedOutput.body;
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
$metadata,
|
|
1032
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1033
|
+
output,
|
|
1034
|
+
parsedBody,
|
|
1035
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1036
|
+
errorCode,
|
|
1084
1037
|
});
|
|
1085
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1086
1038
|
}
|
|
1087
1039
|
};
|
|
1088
1040
|
const deserializeAws_json1_1ListActionExecutionsCommand = async (output, context) => {
|
|
@@ -1104,7 +1056,6 @@ const deserializeAws_json1_1ListActionExecutionsCommandError = async (output, co
|
|
|
1104
1056
|
...output,
|
|
1105
1057
|
body: await parseBody(output.body, context),
|
|
1106
1058
|
};
|
|
1107
|
-
let response;
|
|
1108
1059
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1109
1060
|
switch (errorCode) {
|
|
1110
1061
|
case "InvalidNextTokenException":
|
|
@@ -1121,14 +1072,12 @@ const deserializeAws_json1_1ListActionExecutionsCommandError = async (output, co
|
|
|
1121
1072
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1122
1073
|
default:
|
|
1123
1074
|
const parsedBody = parsedOutput.body;
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
$metadata,
|
|
1075
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1076
|
+
output,
|
|
1077
|
+
parsedBody,
|
|
1078
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1079
|
+
errorCode,
|
|
1130
1080
|
});
|
|
1131
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1132
1081
|
}
|
|
1133
1082
|
};
|
|
1134
1083
|
const deserializeAws_json1_1ListActionTypesCommand = async (output, context) => {
|
|
@@ -1150,7 +1099,6 @@ const deserializeAws_json1_1ListActionTypesCommandError = async (output, context
|
|
|
1150
1099
|
...output,
|
|
1151
1100
|
body: await parseBody(output.body, context),
|
|
1152
1101
|
};
|
|
1153
|
-
let response;
|
|
1154
1102
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1155
1103
|
switch (errorCode) {
|
|
1156
1104
|
case "InvalidNextTokenException":
|
|
@@ -1161,14 +1109,12 @@ const deserializeAws_json1_1ListActionTypesCommandError = async (output, context
|
|
|
1161
1109
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1162
1110
|
default:
|
|
1163
1111
|
const parsedBody = parsedOutput.body;
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
$metadata,
|
|
1112
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1113
|
+
output,
|
|
1114
|
+
parsedBody,
|
|
1115
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1116
|
+
errorCode,
|
|
1170
1117
|
});
|
|
1171
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1172
1118
|
}
|
|
1173
1119
|
};
|
|
1174
1120
|
const deserializeAws_json1_1ListPipelineExecutionsCommand = async (output, context) => {
|
|
@@ -1190,7 +1136,6 @@ const deserializeAws_json1_1ListPipelineExecutionsCommandError = async (output,
|
|
|
1190
1136
|
...output,
|
|
1191
1137
|
body: await parseBody(output.body, context),
|
|
1192
1138
|
};
|
|
1193
|
-
let response;
|
|
1194
1139
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1195
1140
|
switch (errorCode) {
|
|
1196
1141
|
case "InvalidNextTokenException":
|
|
@@ -1204,14 +1149,12 @@ const deserializeAws_json1_1ListPipelineExecutionsCommandError = async (output,
|
|
|
1204
1149
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1205
1150
|
default:
|
|
1206
1151
|
const parsedBody = parsedOutput.body;
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
$metadata,
|
|
1152
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1153
|
+
output,
|
|
1154
|
+
parsedBody,
|
|
1155
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1156
|
+
errorCode,
|
|
1213
1157
|
});
|
|
1214
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1215
1158
|
}
|
|
1216
1159
|
};
|
|
1217
1160
|
const deserializeAws_json1_1ListPipelinesCommand = async (output, context) => {
|
|
@@ -1233,7 +1176,6 @@ const deserializeAws_json1_1ListPipelinesCommandError = async (output, context)
|
|
|
1233
1176
|
...output,
|
|
1234
1177
|
body: await parseBody(output.body, context),
|
|
1235
1178
|
};
|
|
1236
|
-
let response;
|
|
1237
1179
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1238
1180
|
switch (errorCode) {
|
|
1239
1181
|
case "InvalidNextTokenException":
|
|
@@ -1244,14 +1186,12 @@ const deserializeAws_json1_1ListPipelinesCommandError = async (output, context)
|
|
|
1244
1186
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1245
1187
|
default:
|
|
1246
1188
|
const parsedBody = parsedOutput.body;
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
$metadata,
|
|
1189
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1190
|
+
output,
|
|
1191
|
+
parsedBody,
|
|
1192
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1193
|
+
errorCode,
|
|
1253
1194
|
});
|
|
1254
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1255
1195
|
}
|
|
1256
1196
|
};
|
|
1257
1197
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1273,7 +1213,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1273
1213
|
...output,
|
|
1274
1214
|
body: await parseBody(output.body, context),
|
|
1275
1215
|
};
|
|
1276
|
-
let response;
|
|
1277
1216
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1278
1217
|
switch (errorCode) {
|
|
1279
1218
|
case "InvalidArnException":
|
|
@@ -1290,14 +1229,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1290
1229
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1291
1230
|
default:
|
|
1292
1231
|
const parsedBody = parsedOutput.body;
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
$metadata,
|
|
1232
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1233
|
+
output,
|
|
1234
|
+
parsedBody,
|
|
1235
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1236
|
+
errorCode,
|
|
1299
1237
|
});
|
|
1300
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1301
1238
|
}
|
|
1302
1239
|
};
|
|
1303
1240
|
const deserializeAws_json1_1ListWebhooksCommand = async (output, context) => {
|
|
@@ -1319,7 +1256,6 @@ const deserializeAws_json1_1ListWebhooksCommandError = async (output, context) =
|
|
|
1319
1256
|
...output,
|
|
1320
1257
|
body: await parseBody(output.body, context),
|
|
1321
1258
|
};
|
|
1322
|
-
let response;
|
|
1323
1259
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1324
1260
|
switch (errorCode) {
|
|
1325
1261
|
case "InvalidNextTokenException":
|
|
@@ -1330,14 +1266,12 @@ const deserializeAws_json1_1ListWebhooksCommandError = async (output, context) =
|
|
|
1330
1266
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1331
1267
|
default:
|
|
1332
1268
|
const parsedBody = parsedOutput.body;
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
$metadata,
|
|
1269
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1270
|
+
output,
|
|
1271
|
+
parsedBody,
|
|
1272
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1273
|
+
errorCode,
|
|
1339
1274
|
});
|
|
1340
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1341
1275
|
}
|
|
1342
1276
|
};
|
|
1343
1277
|
const deserializeAws_json1_1PollForJobsCommand = async (output, context) => {
|
|
@@ -1359,7 +1293,6 @@ const deserializeAws_json1_1PollForJobsCommandError = async (output, context) =>
|
|
|
1359
1293
|
...output,
|
|
1360
1294
|
body: await parseBody(output.body, context),
|
|
1361
1295
|
};
|
|
1362
|
-
let response;
|
|
1363
1296
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1364
1297
|
switch (errorCode) {
|
|
1365
1298
|
case "ActionTypeNotFoundException":
|
|
@@ -1370,14 +1303,12 @@ const deserializeAws_json1_1PollForJobsCommandError = async (output, context) =>
|
|
|
1370
1303
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1371
1304
|
default:
|
|
1372
1305
|
const parsedBody = parsedOutput.body;
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
$metadata,
|
|
1306
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1307
|
+
output,
|
|
1308
|
+
parsedBody,
|
|
1309
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1310
|
+
errorCode,
|
|
1379
1311
|
});
|
|
1380
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1381
1312
|
}
|
|
1382
1313
|
};
|
|
1383
1314
|
const deserializeAws_json1_1PollForThirdPartyJobsCommand = async (output, context) => {
|
|
@@ -1399,7 +1330,6 @@ const deserializeAws_json1_1PollForThirdPartyJobsCommandError = async (output, c
|
|
|
1399
1330
|
...output,
|
|
1400
1331
|
body: await parseBody(output.body, context),
|
|
1401
1332
|
};
|
|
1402
|
-
let response;
|
|
1403
1333
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1404
1334
|
switch (errorCode) {
|
|
1405
1335
|
case "ActionTypeNotFoundException":
|
|
@@ -1410,14 +1340,12 @@ const deserializeAws_json1_1PollForThirdPartyJobsCommandError = async (output, c
|
|
|
1410
1340
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1411
1341
|
default:
|
|
1412
1342
|
const parsedBody = parsedOutput.body;
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
$metadata,
|
|
1343
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1344
|
+
output,
|
|
1345
|
+
parsedBody,
|
|
1346
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1347
|
+
errorCode,
|
|
1419
1348
|
});
|
|
1420
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1421
1349
|
}
|
|
1422
1350
|
};
|
|
1423
1351
|
const deserializeAws_json1_1PutActionRevisionCommand = async (output, context) => {
|
|
@@ -1439,7 +1367,6 @@ const deserializeAws_json1_1PutActionRevisionCommandError = async (output, conte
|
|
|
1439
1367
|
...output,
|
|
1440
1368
|
body: await parseBody(output.body, context),
|
|
1441
1369
|
};
|
|
1442
|
-
let response;
|
|
1443
1370
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1444
1371
|
switch (errorCode) {
|
|
1445
1372
|
case "ActionNotFoundException":
|
|
@@ -1456,14 +1383,12 @@ const deserializeAws_json1_1PutActionRevisionCommandError = async (output, conte
|
|
|
1456
1383
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1457
1384
|
default:
|
|
1458
1385
|
const parsedBody = parsedOutput.body;
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
$metadata,
|
|
1386
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1387
|
+
output,
|
|
1388
|
+
parsedBody,
|
|
1389
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1390
|
+
errorCode,
|
|
1465
1391
|
});
|
|
1466
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1467
1392
|
}
|
|
1468
1393
|
};
|
|
1469
1394
|
const deserializeAws_json1_1PutApprovalResultCommand = async (output, context) => {
|
|
@@ -1485,7 +1410,6 @@ const deserializeAws_json1_1PutApprovalResultCommandError = async (output, conte
|
|
|
1485
1410
|
...output,
|
|
1486
1411
|
body: await parseBody(output.body, context),
|
|
1487
1412
|
};
|
|
1488
|
-
let response;
|
|
1489
1413
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1490
1414
|
switch (errorCode) {
|
|
1491
1415
|
case "ActionNotFoundException":
|
|
@@ -1508,14 +1432,12 @@ const deserializeAws_json1_1PutApprovalResultCommandError = async (output, conte
|
|
|
1508
1432
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1509
1433
|
default:
|
|
1510
1434
|
const parsedBody = parsedOutput.body;
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
$metadata,
|
|
1435
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1436
|
+
output,
|
|
1437
|
+
parsedBody,
|
|
1438
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1439
|
+
errorCode,
|
|
1517
1440
|
});
|
|
1518
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1519
1441
|
}
|
|
1520
1442
|
};
|
|
1521
1443
|
const deserializeAws_json1_1PutJobFailureResultCommand = async (output, context) => {
|
|
@@ -1534,7 +1456,6 @@ const deserializeAws_json1_1PutJobFailureResultCommandError = async (output, con
|
|
|
1534
1456
|
...output,
|
|
1535
1457
|
body: await parseBody(output.body, context),
|
|
1536
1458
|
};
|
|
1537
|
-
let response;
|
|
1538
1459
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1539
1460
|
switch (errorCode) {
|
|
1540
1461
|
case "InvalidJobStateException":
|
|
@@ -1548,14 +1469,12 @@ const deserializeAws_json1_1PutJobFailureResultCommandError = async (output, con
|
|
|
1548
1469
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1549
1470
|
default:
|
|
1550
1471
|
const parsedBody = parsedOutput.body;
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
$metadata,
|
|
1472
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1473
|
+
output,
|
|
1474
|
+
parsedBody,
|
|
1475
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1476
|
+
errorCode,
|
|
1557
1477
|
});
|
|
1558
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1559
1478
|
}
|
|
1560
1479
|
};
|
|
1561
1480
|
const deserializeAws_json1_1PutJobSuccessResultCommand = async (output, context) => {
|
|
@@ -1574,7 +1493,6 @@ const deserializeAws_json1_1PutJobSuccessResultCommandError = async (output, con
|
|
|
1574
1493
|
...output,
|
|
1575
1494
|
body: await parseBody(output.body, context),
|
|
1576
1495
|
};
|
|
1577
|
-
let response;
|
|
1578
1496
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1579
1497
|
switch (errorCode) {
|
|
1580
1498
|
case "InvalidJobStateException":
|
|
@@ -1591,14 +1509,12 @@ const deserializeAws_json1_1PutJobSuccessResultCommandError = async (output, con
|
|
|
1591
1509
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1592
1510
|
default:
|
|
1593
1511
|
const parsedBody = parsedOutput.body;
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
$metadata,
|
|
1512
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1513
|
+
output,
|
|
1514
|
+
parsedBody,
|
|
1515
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1516
|
+
errorCode,
|
|
1600
1517
|
});
|
|
1601
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1602
1518
|
}
|
|
1603
1519
|
};
|
|
1604
1520
|
const deserializeAws_json1_1PutThirdPartyJobFailureResultCommand = async (output, context) => {
|
|
@@ -1617,7 +1533,6 @@ const deserializeAws_json1_1PutThirdPartyJobFailureResultCommandError = async (o
|
|
|
1617
1533
|
...output,
|
|
1618
1534
|
body: await parseBody(output.body, context),
|
|
1619
1535
|
};
|
|
1620
|
-
let response;
|
|
1621
1536
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1622
1537
|
switch (errorCode) {
|
|
1623
1538
|
case "InvalidClientTokenException":
|
|
@@ -1634,14 +1549,12 @@ const deserializeAws_json1_1PutThirdPartyJobFailureResultCommandError = async (o
|
|
|
1634
1549
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1635
1550
|
default:
|
|
1636
1551
|
const parsedBody = parsedOutput.body;
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
$metadata,
|
|
1552
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1553
|
+
output,
|
|
1554
|
+
parsedBody,
|
|
1555
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1556
|
+
errorCode,
|
|
1643
1557
|
});
|
|
1644
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1645
1558
|
}
|
|
1646
1559
|
};
|
|
1647
1560
|
const deserializeAws_json1_1PutThirdPartyJobSuccessResultCommand = async (output, context) => {
|
|
@@ -1660,7 +1573,6 @@ const deserializeAws_json1_1PutThirdPartyJobSuccessResultCommandError = async (o
|
|
|
1660
1573
|
...output,
|
|
1661
1574
|
body: await parseBody(output.body, context),
|
|
1662
1575
|
};
|
|
1663
|
-
let response;
|
|
1664
1576
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1665
1577
|
switch (errorCode) {
|
|
1666
1578
|
case "InvalidClientTokenException":
|
|
@@ -1677,14 +1589,12 @@ const deserializeAws_json1_1PutThirdPartyJobSuccessResultCommandError = async (o
|
|
|
1677
1589
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1678
1590
|
default:
|
|
1679
1591
|
const parsedBody = parsedOutput.body;
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
$metadata,
|
|
1592
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1593
|
+
output,
|
|
1594
|
+
parsedBody,
|
|
1595
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1596
|
+
errorCode,
|
|
1686
1597
|
});
|
|
1687
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1688
1598
|
}
|
|
1689
1599
|
};
|
|
1690
1600
|
const deserializeAws_json1_1PutWebhookCommand = async (output, context) => {
|
|
@@ -1706,7 +1616,6 @@ const deserializeAws_json1_1PutWebhookCommandError = async (output, context) =>
|
|
|
1706
1616
|
...output,
|
|
1707
1617
|
body: await parseBody(output.body, context),
|
|
1708
1618
|
};
|
|
1709
|
-
let response;
|
|
1710
1619
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1711
1620
|
switch (errorCode) {
|
|
1712
1621
|
case "ConcurrentModificationException":
|
|
@@ -1735,14 +1644,12 @@ const deserializeAws_json1_1PutWebhookCommandError = async (output, context) =>
|
|
|
1735
1644
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1736
1645
|
default:
|
|
1737
1646
|
const parsedBody = parsedOutput.body;
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
$metadata,
|
|
1647
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1648
|
+
output,
|
|
1649
|
+
parsedBody,
|
|
1650
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1651
|
+
errorCode,
|
|
1744
1652
|
});
|
|
1745
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1746
1653
|
}
|
|
1747
1654
|
};
|
|
1748
1655
|
const deserializeAws_json1_1RegisterWebhookWithThirdPartyCommand = async (output, context) => {
|
|
@@ -1764,7 +1671,6 @@ const deserializeAws_json1_1RegisterWebhookWithThirdPartyCommandError = async (o
|
|
|
1764
1671
|
...output,
|
|
1765
1672
|
body: await parseBody(output.body, context),
|
|
1766
1673
|
};
|
|
1767
|
-
let response;
|
|
1768
1674
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1769
1675
|
switch (errorCode) {
|
|
1770
1676
|
case "ValidationException":
|
|
@@ -1775,14 +1681,12 @@ const deserializeAws_json1_1RegisterWebhookWithThirdPartyCommandError = async (o
|
|
|
1775
1681
|
throw await deserializeAws_json1_1WebhookNotFoundExceptionResponse(parsedOutput, context);
|
|
1776
1682
|
default:
|
|
1777
1683
|
const parsedBody = parsedOutput.body;
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
$metadata,
|
|
1684
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1685
|
+
output,
|
|
1686
|
+
parsedBody,
|
|
1687
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1688
|
+
errorCode,
|
|
1784
1689
|
});
|
|
1785
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1786
1690
|
}
|
|
1787
1691
|
};
|
|
1788
1692
|
const deserializeAws_json1_1RetryStageExecutionCommand = async (output, context) => {
|
|
@@ -1804,7 +1708,6 @@ const deserializeAws_json1_1RetryStageExecutionCommandError = async (output, con
|
|
|
1804
1708
|
...output,
|
|
1805
1709
|
body: await parseBody(output.body, context),
|
|
1806
1710
|
};
|
|
1807
|
-
let response;
|
|
1808
1711
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1809
1712
|
switch (errorCode) {
|
|
1810
1713
|
case "ConflictException":
|
|
@@ -1827,14 +1730,12 @@ const deserializeAws_json1_1RetryStageExecutionCommandError = async (output, con
|
|
|
1827
1730
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1828
1731
|
default:
|
|
1829
1732
|
const parsedBody = parsedOutput.body;
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
$metadata,
|
|
1733
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1734
|
+
output,
|
|
1735
|
+
parsedBody,
|
|
1736
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1737
|
+
errorCode,
|
|
1836
1738
|
});
|
|
1837
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1838
1739
|
}
|
|
1839
1740
|
};
|
|
1840
1741
|
const deserializeAws_json1_1StartPipelineExecutionCommand = async (output, context) => {
|
|
@@ -1856,7 +1757,6 @@ const deserializeAws_json1_1StartPipelineExecutionCommandError = async (output,
|
|
|
1856
1757
|
...output,
|
|
1857
1758
|
body: await parseBody(output.body, context),
|
|
1858
1759
|
};
|
|
1859
|
-
let response;
|
|
1860
1760
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1861
1761
|
switch (errorCode) {
|
|
1862
1762
|
case "ConflictException":
|
|
@@ -1870,14 +1770,12 @@ const deserializeAws_json1_1StartPipelineExecutionCommandError = async (output,
|
|
|
1870
1770
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1871
1771
|
default:
|
|
1872
1772
|
const parsedBody = parsedOutput.body;
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
$metadata,
|
|
1773
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1774
|
+
output,
|
|
1775
|
+
parsedBody,
|
|
1776
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1777
|
+
errorCode,
|
|
1879
1778
|
});
|
|
1880
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1881
1779
|
}
|
|
1882
1780
|
};
|
|
1883
1781
|
const deserializeAws_json1_1StopPipelineExecutionCommand = async (output, context) => {
|
|
@@ -1899,7 +1797,6 @@ const deserializeAws_json1_1StopPipelineExecutionCommandError = async (output, c
|
|
|
1899
1797
|
...output,
|
|
1900
1798
|
body: await parseBody(output.body, context),
|
|
1901
1799
|
};
|
|
1902
|
-
let response;
|
|
1903
1800
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1904
1801
|
switch (errorCode) {
|
|
1905
1802
|
case "ConflictException":
|
|
@@ -1919,14 +1816,12 @@ const deserializeAws_json1_1StopPipelineExecutionCommandError = async (output, c
|
|
|
1919
1816
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1920
1817
|
default:
|
|
1921
1818
|
const parsedBody = parsedOutput.body;
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
$metadata,
|
|
1819
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1820
|
+
output,
|
|
1821
|
+
parsedBody,
|
|
1822
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1823
|
+
errorCode,
|
|
1928
1824
|
});
|
|
1929
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1930
1825
|
}
|
|
1931
1826
|
};
|
|
1932
1827
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -1948,7 +1843,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1948
1843
|
...output,
|
|
1949
1844
|
body: await parseBody(output.body, context),
|
|
1950
1845
|
};
|
|
1951
|
-
let response;
|
|
1952
1846
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1953
1847
|
switch (errorCode) {
|
|
1954
1848
|
case "ConcurrentModificationException":
|
|
@@ -1971,14 +1865,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1971
1865
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
1972
1866
|
default:
|
|
1973
1867
|
const parsedBody = parsedOutput.body;
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
$metadata,
|
|
1868
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1869
|
+
output,
|
|
1870
|
+
parsedBody,
|
|
1871
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1872
|
+
errorCode,
|
|
1980
1873
|
});
|
|
1981
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1982
1874
|
}
|
|
1983
1875
|
};
|
|
1984
1876
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -2000,7 +1892,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2000
1892
|
...output,
|
|
2001
1893
|
body: await parseBody(output.body, context),
|
|
2002
1894
|
};
|
|
2003
|
-
let response;
|
|
2004
1895
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2005
1896
|
switch (errorCode) {
|
|
2006
1897
|
case "ConcurrentModificationException":
|
|
@@ -2020,14 +1911,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2020
1911
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2021
1912
|
default:
|
|
2022
1913
|
const parsedBody = parsedOutput.body;
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
$metadata,
|
|
1914
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1915
|
+
output,
|
|
1916
|
+
parsedBody,
|
|
1917
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1918
|
+
errorCode,
|
|
2029
1919
|
});
|
|
2030
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2031
1920
|
}
|
|
2032
1921
|
};
|
|
2033
1922
|
const deserializeAws_json1_1UpdateActionTypeCommand = async (output, context) => {
|
|
@@ -2046,7 +1935,6 @@ const deserializeAws_json1_1UpdateActionTypeCommandError = async (output, contex
|
|
|
2046
1935
|
...output,
|
|
2047
1936
|
body: await parseBody(output.body, context),
|
|
2048
1937
|
};
|
|
2049
|
-
let response;
|
|
2050
1938
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2051
1939
|
switch (errorCode) {
|
|
2052
1940
|
case "ActionTypeNotFoundException":
|
|
@@ -2060,14 +1948,12 @@ const deserializeAws_json1_1UpdateActionTypeCommandError = async (output, contex
|
|
|
2060
1948
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2061
1949
|
default:
|
|
2062
1950
|
const parsedBody = parsedOutput.body;
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
$metadata,
|
|
1951
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1952
|
+
output,
|
|
1953
|
+
parsedBody,
|
|
1954
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
1955
|
+
errorCode,
|
|
2069
1956
|
});
|
|
2070
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2071
1957
|
}
|
|
2072
1958
|
};
|
|
2073
1959
|
const deserializeAws_json1_1UpdatePipelineCommand = async (output, context) => {
|
|
@@ -2089,7 +1975,6 @@ const deserializeAws_json1_1UpdatePipelineCommandError = async (output, context)
|
|
|
2089
1975
|
...output,
|
|
2090
1976
|
body: await parseBody(output.body, context),
|
|
2091
1977
|
};
|
|
2092
|
-
let response;
|
|
2093
1978
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2094
1979
|
switch (errorCode) {
|
|
2095
1980
|
case "InvalidActionDeclarationException":
|
|
@@ -2112,14 +1997,12 @@ const deserializeAws_json1_1UpdatePipelineCommandError = async (output, context)
|
|
|
2112
1997
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
2113
1998
|
default:
|
|
2114
1999
|
const parsedBody = parsedOutput.body;
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
$metadata,
|
|
2000
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2001
|
+
output,
|
|
2002
|
+
parsedBody,
|
|
2003
|
+
exceptionCtor: CodePipelineServiceException_1.CodePipelineServiceException,
|
|
2004
|
+
errorCode,
|
|
2121
2005
|
});
|
|
2122
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2123
2006
|
}
|
|
2124
2007
|
};
|
|
2125
2008
|
const deserializeAws_json1_1ActionNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -2485,9 +2368,6 @@ const serializeAws_json1_1ActionConfigurationPropertyList = (input, context) =>
|
|
|
2485
2368
|
return input
|
|
2486
2369
|
.filter((e) => e != null)
|
|
2487
2370
|
.map((entry) => {
|
|
2488
|
-
if (entry === null) {
|
|
2489
|
-
return null;
|
|
2490
|
-
}
|
|
2491
2371
|
return serializeAws_json1_1ActionConfigurationProperty(entry, context);
|
|
2492
2372
|
});
|
|
2493
2373
|
};
|
|
@@ -2585,9 +2465,6 @@ const serializeAws_json1_1ActionTypeProperties = (input, context) => {
|
|
|
2585
2465
|
return input
|
|
2586
2466
|
.filter((e) => e != null)
|
|
2587
2467
|
.map((entry) => {
|
|
2588
|
-
if (entry === null) {
|
|
2589
|
-
return null;
|
|
2590
|
-
}
|
|
2591
2468
|
return serializeAws_json1_1ActionTypeProperty(entry, context);
|
|
2592
2469
|
});
|
|
2593
2470
|
};
|
|
@@ -2621,9 +2498,6 @@ const serializeAws_json1_1AllowedAccounts = (input, context) => {
|
|
|
2621
2498
|
return input
|
|
2622
2499
|
.filter((e) => e != null)
|
|
2623
2500
|
.map((entry) => {
|
|
2624
|
-
if (entry === null) {
|
|
2625
|
-
return null;
|
|
2626
|
-
}
|
|
2627
2501
|
return entry;
|
|
2628
2502
|
});
|
|
2629
2503
|
};
|
|
@@ -2809,9 +2683,6 @@ const serializeAws_json1_1InputArtifactList = (input, context) => {
|
|
|
2809
2683
|
return input
|
|
2810
2684
|
.filter((e) => e != null)
|
|
2811
2685
|
.map((entry) => {
|
|
2812
|
-
if (entry === null) {
|
|
2813
|
-
return null;
|
|
2814
|
-
}
|
|
2815
2686
|
return serializeAws_json1_1InputArtifact(entry, context);
|
|
2816
2687
|
});
|
|
2817
2688
|
};
|
|
@@ -2880,9 +2751,6 @@ const serializeAws_json1_1OutputArtifactList = (input, context) => {
|
|
|
2880
2751
|
return input
|
|
2881
2752
|
.filter((e) => e != null)
|
|
2882
2753
|
.map((entry) => {
|
|
2883
|
-
if (entry === null) {
|
|
2884
|
-
return null;
|
|
2885
|
-
}
|
|
2886
2754
|
return serializeAws_json1_1OutputArtifact(entry, context);
|
|
2887
2755
|
});
|
|
2888
2756
|
};
|
|
@@ -2915,9 +2783,6 @@ const serializeAws_json1_1PipelineStageDeclarationList = (input, context) => {
|
|
|
2915
2783
|
return input
|
|
2916
2784
|
.filter((e) => e != null)
|
|
2917
2785
|
.map((entry) => {
|
|
2918
|
-
if (entry === null) {
|
|
2919
|
-
return null;
|
|
2920
|
-
}
|
|
2921
2786
|
return serializeAws_json1_1StageDeclaration(entry, context);
|
|
2922
2787
|
});
|
|
2923
2788
|
};
|
|
@@ -2938,9 +2803,6 @@ const serializeAws_json1_1PollingAccountList = (input, context) => {
|
|
|
2938
2803
|
return input
|
|
2939
2804
|
.filter((e) => e != null)
|
|
2940
2805
|
.map((entry) => {
|
|
2941
|
-
if (entry === null) {
|
|
2942
|
-
return null;
|
|
2943
|
-
}
|
|
2944
2806
|
return entry;
|
|
2945
2807
|
});
|
|
2946
2808
|
};
|
|
@@ -2948,9 +2810,6 @@ const serializeAws_json1_1PollingServicePrincipalList = (input, context) => {
|
|
|
2948
2810
|
return input
|
|
2949
2811
|
.filter((e) => e != null)
|
|
2950
2812
|
.map((entry) => {
|
|
2951
|
-
if (entry === null) {
|
|
2952
|
-
return null;
|
|
2953
|
-
}
|
|
2954
2813
|
return entry;
|
|
2955
2814
|
});
|
|
2956
2815
|
};
|
|
@@ -3052,9 +2911,6 @@ const serializeAws_json1_1StageActionDeclarationList = (input, context) => {
|
|
|
3052
2911
|
return input
|
|
3053
2912
|
.filter((e) => e != null)
|
|
3054
2913
|
.map((entry) => {
|
|
3055
|
-
if (entry === null) {
|
|
3056
|
-
return null;
|
|
3057
|
-
}
|
|
3058
2914
|
return serializeAws_json1_1ActionDeclaration(entry, context);
|
|
3059
2915
|
});
|
|
3060
2916
|
};
|
|
@@ -3062,9 +2918,6 @@ const serializeAws_json1_1StageBlockerDeclarationList = (input, context) => {
|
|
|
3062
2918
|
return input
|
|
3063
2919
|
.filter((e) => e != null)
|
|
3064
2920
|
.map((entry) => {
|
|
3065
|
-
if (entry === null) {
|
|
3066
|
-
return null;
|
|
3067
|
-
}
|
|
3068
2921
|
return serializeAws_json1_1BlockerDeclaration(entry, context);
|
|
3069
2922
|
});
|
|
3070
2923
|
};
|
|
@@ -3102,9 +2955,6 @@ const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
|
3102
2955
|
return input
|
|
3103
2956
|
.filter((e) => e != null)
|
|
3104
2957
|
.map((entry) => {
|
|
3105
|
-
if (entry === null) {
|
|
3106
|
-
return null;
|
|
3107
|
-
}
|
|
3108
2958
|
return entry;
|
|
3109
2959
|
});
|
|
3110
2960
|
};
|
|
@@ -3112,9 +2962,6 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
3112
2962
|
return input
|
|
3113
2963
|
.filter((e) => e != null)
|
|
3114
2964
|
.map((entry) => {
|
|
3115
|
-
if (entry === null) {
|
|
3116
|
-
return null;
|
|
3117
|
-
}
|
|
3118
2965
|
return serializeAws_json1_1Tag(entry, context);
|
|
3119
2966
|
});
|
|
3120
2967
|
};
|
|
@@ -3170,9 +3017,6 @@ const serializeAws_json1_1WebhookFilters = (input, context) => {
|
|
|
3170
3017
|
return input
|
|
3171
3018
|
.filter((e) => e != null)
|
|
3172
3019
|
.map((entry) => {
|
|
3173
|
-
if (entry === null) {
|
|
3174
|
-
return null;
|
|
3175
|
-
}
|
|
3176
3020
|
return serializeAws_json1_1WebhookFilterRule(entry, context);
|
|
3177
3021
|
});
|
|
3178
3022
|
};
|