@aws-sdk/client-codeguru-reviewer 3.504.0 → 3.509.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/dist-cjs/index.js +31 -407
- package/dist-es/protocols/Aws_restJson1.js +30 -406
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -571,7 +571,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
571
571
|
}, "se_UntagResourceCommand");
|
|
572
572
|
var de_AssociateRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
573
573
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
574
|
-
return
|
|
574
|
+
return de_CommandError(output, context);
|
|
575
575
|
}
|
|
576
576
|
const contents = (0, import_smithy_client.map)({
|
|
577
577
|
$metadata: deserializeMetadata(output)
|
|
@@ -584,40 +584,9 @@ var de_AssociateRepositoryCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
584
584
|
Object.assign(contents, doc);
|
|
585
585
|
return contents;
|
|
586
586
|
}, "de_AssociateRepositoryCommand");
|
|
587
|
-
var de_AssociateRepositoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
588
|
-
const parsedOutput = {
|
|
589
|
-
...output,
|
|
590
|
-
body: await parseErrorBody(output.body, context)
|
|
591
|
-
};
|
|
592
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
593
|
-
switch (errorCode) {
|
|
594
|
-
case "AccessDeniedException":
|
|
595
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
596
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
597
|
-
case "ConflictException":
|
|
598
|
-
case "com.amazonaws.codegurureviewer#ConflictException":
|
|
599
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
600
|
-
case "InternalServerException":
|
|
601
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
602
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
603
|
-
case "ThrottlingException":
|
|
604
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
605
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
606
|
-
case "ValidationException":
|
|
607
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
608
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
609
|
-
default:
|
|
610
|
-
const parsedBody = parsedOutput.body;
|
|
611
|
-
return throwDefaultError({
|
|
612
|
-
output,
|
|
613
|
-
parsedBody,
|
|
614
|
-
errorCode
|
|
615
|
-
});
|
|
616
|
-
}
|
|
617
|
-
}, "de_AssociateRepositoryCommandError");
|
|
618
587
|
var de_CreateCodeReviewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
619
588
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
620
|
-
return
|
|
589
|
+
return de_CommandError(output, context);
|
|
621
590
|
}
|
|
622
591
|
const contents = (0, import_smithy_client.map)({
|
|
623
592
|
$metadata: deserializeMetadata(output)
|
|
@@ -629,43 +598,9 @@ var de_CreateCodeReviewCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
629
598
|
Object.assign(contents, doc);
|
|
630
599
|
return contents;
|
|
631
600
|
}, "de_CreateCodeReviewCommand");
|
|
632
|
-
var de_CreateCodeReviewCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
633
|
-
const parsedOutput = {
|
|
634
|
-
...output,
|
|
635
|
-
body: await parseErrorBody(output.body, context)
|
|
636
|
-
};
|
|
637
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
638
|
-
switch (errorCode) {
|
|
639
|
-
case "AccessDeniedException":
|
|
640
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
641
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
642
|
-
case "ConflictException":
|
|
643
|
-
case "com.amazonaws.codegurureviewer#ConflictException":
|
|
644
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
645
|
-
case "InternalServerException":
|
|
646
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
647
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
648
|
-
case "ResourceNotFoundException":
|
|
649
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
650
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
651
|
-
case "ThrottlingException":
|
|
652
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
653
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
654
|
-
case "ValidationException":
|
|
655
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
656
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
657
|
-
default:
|
|
658
|
-
const parsedBody = parsedOutput.body;
|
|
659
|
-
return throwDefaultError({
|
|
660
|
-
output,
|
|
661
|
-
parsedBody,
|
|
662
|
-
errorCode
|
|
663
|
-
});
|
|
664
|
-
}
|
|
665
|
-
}, "de_CreateCodeReviewCommandError");
|
|
666
601
|
var de_DescribeCodeReviewCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
667
602
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
668
|
-
return
|
|
603
|
+
return de_CommandError(output, context);
|
|
669
604
|
}
|
|
670
605
|
const contents = (0, import_smithy_client.map)({
|
|
671
606
|
$metadata: deserializeMetadata(output)
|
|
@@ -677,40 +612,9 @@ var de_DescribeCodeReviewCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
677
612
|
Object.assign(contents, doc);
|
|
678
613
|
return contents;
|
|
679
614
|
}, "de_DescribeCodeReviewCommand");
|
|
680
|
-
var de_DescribeCodeReviewCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
681
|
-
const parsedOutput = {
|
|
682
|
-
...output,
|
|
683
|
-
body: await parseErrorBody(output.body, context)
|
|
684
|
-
};
|
|
685
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
686
|
-
switch (errorCode) {
|
|
687
|
-
case "AccessDeniedException":
|
|
688
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
689
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
690
|
-
case "InternalServerException":
|
|
691
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
692
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
693
|
-
case "ResourceNotFoundException":
|
|
694
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
695
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
696
|
-
case "ThrottlingException":
|
|
697
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
698
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
699
|
-
case "ValidationException":
|
|
700
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
701
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
702
|
-
default:
|
|
703
|
-
const parsedBody = parsedOutput.body;
|
|
704
|
-
return throwDefaultError({
|
|
705
|
-
output,
|
|
706
|
-
parsedBody,
|
|
707
|
-
errorCode
|
|
708
|
-
});
|
|
709
|
-
}
|
|
710
|
-
}, "de_DescribeCodeReviewCommandError");
|
|
711
615
|
var de_DescribeRecommendationFeedbackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
712
616
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
713
|
-
return
|
|
617
|
+
return de_CommandError(output, context);
|
|
714
618
|
}
|
|
715
619
|
const contents = (0, import_smithy_client.map)({
|
|
716
620
|
$metadata: deserializeMetadata(output)
|
|
@@ -722,40 +626,9 @@ var de_DescribeRecommendationFeedbackCommand = /* @__PURE__ */ __name(async (out
|
|
|
722
626
|
Object.assign(contents, doc);
|
|
723
627
|
return contents;
|
|
724
628
|
}, "de_DescribeRecommendationFeedbackCommand");
|
|
725
|
-
var de_DescribeRecommendationFeedbackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
726
|
-
const parsedOutput = {
|
|
727
|
-
...output,
|
|
728
|
-
body: await parseErrorBody(output.body, context)
|
|
729
|
-
};
|
|
730
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
731
|
-
switch (errorCode) {
|
|
732
|
-
case "AccessDeniedException":
|
|
733
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
734
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
735
|
-
case "InternalServerException":
|
|
736
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
737
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
738
|
-
case "ResourceNotFoundException":
|
|
739
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
740
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
741
|
-
case "ThrottlingException":
|
|
742
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
743
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
744
|
-
case "ValidationException":
|
|
745
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
746
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
747
|
-
default:
|
|
748
|
-
const parsedBody = parsedOutput.body;
|
|
749
|
-
return throwDefaultError({
|
|
750
|
-
output,
|
|
751
|
-
parsedBody,
|
|
752
|
-
errorCode
|
|
753
|
-
});
|
|
754
|
-
}
|
|
755
|
-
}, "de_DescribeRecommendationFeedbackCommandError");
|
|
756
629
|
var de_DescribeRepositoryAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
757
630
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
758
|
-
return
|
|
631
|
+
return de_CommandError(output, context);
|
|
759
632
|
}
|
|
760
633
|
const contents = (0, import_smithy_client.map)({
|
|
761
634
|
$metadata: deserializeMetadata(output)
|
|
@@ -768,40 +641,9 @@ var de_DescribeRepositoryAssociationCommand = /* @__PURE__ */ __name(async (outp
|
|
|
768
641
|
Object.assign(contents, doc);
|
|
769
642
|
return contents;
|
|
770
643
|
}, "de_DescribeRepositoryAssociationCommand");
|
|
771
|
-
var de_DescribeRepositoryAssociationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
772
|
-
const parsedOutput = {
|
|
773
|
-
...output,
|
|
774
|
-
body: await parseErrorBody(output.body, context)
|
|
775
|
-
};
|
|
776
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
777
|
-
switch (errorCode) {
|
|
778
|
-
case "AccessDeniedException":
|
|
779
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
780
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
781
|
-
case "InternalServerException":
|
|
782
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
783
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
784
|
-
case "NotFoundException":
|
|
785
|
-
case "com.amazonaws.codegurureviewer#NotFoundException":
|
|
786
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
787
|
-
case "ThrottlingException":
|
|
788
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
789
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
790
|
-
case "ValidationException":
|
|
791
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
792
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
793
|
-
default:
|
|
794
|
-
const parsedBody = parsedOutput.body;
|
|
795
|
-
return throwDefaultError({
|
|
796
|
-
output,
|
|
797
|
-
parsedBody,
|
|
798
|
-
errorCode
|
|
799
|
-
});
|
|
800
|
-
}
|
|
801
|
-
}, "de_DescribeRepositoryAssociationCommandError");
|
|
802
644
|
var de_DisassociateRepositoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
803
645
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
804
|
-
return
|
|
646
|
+
return de_CommandError(output, context);
|
|
805
647
|
}
|
|
806
648
|
const contents = (0, import_smithy_client.map)({
|
|
807
649
|
$metadata: deserializeMetadata(output)
|
|
@@ -814,43 +656,9 @@ var de_DisassociateRepositoryCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
814
656
|
Object.assign(contents, doc);
|
|
815
657
|
return contents;
|
|
816
658
|
}, "de_DisassociateRepositoryCommand");
|
|
817
|
-
var de_DisassociateRepositoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
818
|
-
const parsedOutput = {
|
|
819
|
-
...output,
|
|
820
|
-
body: await parseErrorBody(output.body, context)
|
|
821
|
-
};
|
|
822
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
823
|
-
switch (errorCode) {
|
|
824
|
-
case "AccessDeniedException":
|
|
825
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
826
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
827
|
-
case "ConflictException":
|
|
828
|
-
case "com.amazonaws.codegurureviewer#ConflictException":
|
|
829
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
830
|
-
case "InternalServerException":
|
|
831
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
832
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
833
|
-
case "NotFoundException":
|
|
834
|
-
case "com.amazonaws.codegurureviewer#NotFoundException":
|
|
835
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
836
|
-
case "ThrottlingException":
|
|
837
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
838
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
839
|
-
case "ValidationException":
|
|
840
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
841
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
842
|
-
default:
|
|
843
|
-
const parsedBody = parsedOutput.body;
|
|
844
|
-
return throwDefaultError({
|
|
845
|
-
output,
|
|
846
|
-
parsedBody,
|
|
847
|
-
errorCode
|
|
848
|
-
});
|
|
849
|
-
}
|
|
850
|
-
}, "de_DisassociateRepositoryCommandError");
|
|
851
659
|
var de_ListCodeReviewsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
852
660
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
853
|
-
return
|
|
661
|
+
return de_CommandError(output, context);
|
|
854
662
|
}
|
|
855
663
|
const contents = (0, import_smithy_client.map)({
|
|
856
664
|
$metadata: deserializeMetadata(output)
|
|
@@ -863,37 +671,9 @@ var de_ListCodeReviewsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
863
671
|
Object.assign(contents, doc);
|
|
864
672
|
return contents;
|
|
865
673
|
}, "de_ListCodeReviewsCommand");
|
|
866
|
-
var de_ListCodeReviewsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
867
|
-
const parsedOutput = {
|
|
868
|
-
...output,
|
|
869
|
-
body: await parseErrorBody(output.body, context)
|
|
870
|
-
};
|
|
871
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
872
|
-
switch (errorCode) {
|
|
873
|
-
case "AccessDeniedException":
|
|
874
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
875
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
876
|
-
case "InternalServerException":
|
|
877
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
878
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
879
|
-
case "ThrottlingException":
|
|
880
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
881
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
882
|
-
case "ValidationException":
|
|
883
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
884
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
885
|
-
default:
|
|
886
|
-
const parsedBody = parsedOutput.body;
|
|
887
|
-
return throwDefaultError({
|
|
888
|
-
output,
|
|
889
|
-
parsedBody,
|
|
890
|
-
errorCode
|
|
891
|
-
});
|
|
892
|
-
}
|
|
893
|
-
}, "de_ListCodeReviewsCommandError");
|
|
894
674
|
var de_ListRecommendationFeedbackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
895
675
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
896
|
-
return
|
|
676
|
+
return de_CommandError(output, context);
|
|
897
677
|
}
|
|
898
678
|
const contents = (0, import_smithy_client.map)({
|
|
899
679
|
$metadata: deserializeMetadata(output)
|
|
@@ -906,40 +686,9 @@ var de_ListRecommendationFeedbackCommand = /* @__PURE__ */ __name(async (output,
|
|
|
906
686
|
Object.assign(contents, doc);
|
|
907
687
|
return contents;
|
|
908
688
|
}, "de_ListRecommendationFeedbackCommand");
|
|
909
|
-
var de_ListRecommendationFeedbackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
910
|
-
const parsedOutput = {
|
|
911
|
-
...output,
|
|
912
|
-
body: await parseErrorBody(output.body, context)
|
|
913
|
-
};
|
|
914
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
915
|
-
switch (errorCode) {
|
|
916
|
-
case "AccessDeniedException":
|
|
917
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
918
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
919
|
-
case "InternalServerException":
|
|
920
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
921
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
922
|
-
case "ResourceNotFoundException":
|
|
923
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
924
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
925
|
-
case "ThrottlingException":
|
|
926
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
927
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
928
|
-
case "ValidationException":
|
|
929
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
930
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
931
|
-
default:
|
|
932
|
-
const parsedBody = parsedOutput.body;
|
|
933
|
-
return throwDefaultError({
|
|
934
|
-
output,
|
|
935
|
-
parsedBody,
|
|
936
|
-
errorCode
|
|
937
|
-
});
|
|
938
|
-
}
|
|
939
|
-
}, "de_ListRecommendationFeedbackCommandError");
|
|
940
689
|
var de_ListRecommendationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
941
690
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
942
|
-
return
|
|
691
|
+
return de_CommandError(output, context);
|
|
943
692
|
}
|
|
944
693
|
const contents = (0, import_smithy_client.map)({
|
|
945
694
|
$metadata: deserializeMetadata(output)
|
|
@@ -952,40 +701,9 @@ var de_ListRecommendationsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
952
701
|
Object.assign(contents, doc);
|
|
953
702
|
return contents;
|
|
954
703
|
}, "de_ListRecommendationsCommand");
|
|
955
|
-
var de_ListRecommendationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
956
|
-
const parsedOutput = {
|
|
957
|
-
...output,
|
|
958
|
-
body: await parseErrorBody(output.body, context)
|
|
959
|
-
};
|
|
960
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
961
|
-
switch (errorCode) {
|
|
962
|
-
case "AccessDeniedException":
|
|
963
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
964
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
965
|
-
case "InternalServerException":
|
|
966
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
967
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
968
|
-
case "ResourceNotFoundException":
|
|
969
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
970
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
971
|
-
case "ThrottlingException":
|
|
972
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
973
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
974
|
-
case "ValidationException":
|
|
975
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
976
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
977
|
-
default:
|
|
978
|
-
const parsedBody = parsedOutput.body;
|
|
979
|
-
return throwDefaultError({
|
|
980
|
-
output,
|
|
981
|
-
parsedBody,
|
|
982
|
-
errorCode
|
|
983
|
-
});
|
|
984
|
-
}
|
|
985
|
-
}, "de_ListRecommendationsCommandError");
|
|
986
704
|
var de_ListRepositoryAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
987
705
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
988
|
-
return
|
|
706
|
+
return de_CommandError(output, context);
|
|
989
707
|
}
|
|
990
708
|
const contents = (0, import_smithy_client.map)({
|
|
991
709
|
$metadata: deserializeMetadata(output)
|
|
@@ -998,34 +716,9 @@ var de_ListRepositoryAssociationsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
998
716
|
Object.assign(contents, doc);
|
|
999
717
|
return contents;
|
|
1000
718
|
}, "de_ListRepositoryAssociationsCommand");
|
|
1001
|
-
var de_ListRepositoryAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1002
|
-
const parsedOutput = {
|
|
1003
|
-
...output,
|
|
1004
|
-
body: await parseErrorBody(output.body, context)
|
|
1005
|
-
};
|
|
1006
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1007
|
-
switch (errorCode) {
|
|
1008
|
-
case "InternalServerException":
|
|
1009
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
1010
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1011
|
-
case "ThrottlingException":
|
|
1012
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
1013
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1014
|
-
case "ValidationException":
|
|
1015
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
1016
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1017
|
-
default:
|
|
1018
|
-
const parsedBody = parsedOutput.body;
|
|
1019
|
-
return throwDefaultError({
|
|
1020
|
-
output,
|
|
1021
|
-
parsedBody,
|
|
1022
|
-
errorCode
|
|
1023
|
-
});
|
|
1024
|
-
}
|
|
1025
|
-
}, "de_ListRepositoryAssociationsCommandError");
|
|
1026
719
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1027
720
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1028
|
-
return
|
|
721
|
+
return de_CommandError(output, context);
|
|
1029
722
|
}
|
|
1030
723
|
const contents = (0, import_smithy_client.map)({
|
|
1031
724
|
$metadata: deserializeMetadata(output)
|
|
@@ -1037,34 +730,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1037
730
|
Object.assign(contents, doc);
|
|
1038
731
|
return contents;
|
|
1039
732
|
}, "de_ListTagsForResourceCommand");
|
|
1040
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1041
|
-
const parsedOutput = {
|
|
1042
|
-
...output,
|
|
1043
|
-
body: await parseErrorBody(output.body, context)
|
|
1044
|
-
};
|
|
1045
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1046
|
-
switch (errorCode) {
|
|
1047
|
-
case "InternalServerException":
|
|
1048
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
1049
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1050
|
-
case "ResourceNotFoundException":
|
|
1051
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
1052
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1053
|
-
case "ValidationException":
|
|
1054
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
1055
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1056
|
-
default:
|
|
1057
|
-
const parsedBody = parsedOutput.body;
|
|
1058
|
-
return throwDefaultError({
|
|
1059
|
-
output,
|
|
1060
|
-
parsedBody,
|
|
1061
|
-
errorCode
|
|
1062
|
-
});
|
|
1063
|
-
}
|
|
1064
|
-
}, "de_ListTagsForResourceCommandError");
|
|
1065
733
|
var de_PutRecommendationFeedbackCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1066
734
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1067
|
-
return
|
|
735
|
+
return de_CommandError(output, context);
|
|
1068
736
|
}
|
|
1069
737
|
const contents = (0, import_smithy_client.map)({
|
|
1070
738
|
$metadata: deserializeMetadata(output)
|
|
@@ -1072,40 +740,9 @@ var de_PutRecommendationFeedbackCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1072
740
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1073
741
|
return contents;
|
|
1074
742
|
}, "de_PutRecommendationFeedbackCommand");
|
|
1075
|
-
var de_PutRecommendationFeedbackCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1076
|
-
const parsedOutput = {
|
|
1077
|
-
...output,
|
|
1078
|
-
body: await parseErrorBody(output.body, context)
|
|
1079
|
-
};
|
|
1080
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1081
|
-
switch (errorCode) {
|
|
1082
|
-
case "AccessDeniedException":
|
|
1083
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
1084
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1085
|
-
case "InternalServerException":
|
|
1086
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
1087
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1088
|
-
case "ResourceNotFoundException":
|
|
1089
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
1090
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1091
|
-
case "ThrottlingException":
|
|
1092
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
1093
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1094
|
-
case "ValidationException":
|
|
1095
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
1096
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1097
|
-
default:
|
|
1098
|
-
const parsedBody = parsedOutput.body;
|
|
1099
|
-
return throwDefaultError({
|
|
1100
|
-
output,
|
|
1101
|
-
parsedBody,
|
|
1102
|
-
errorCode
|
|
1103
|
-
});
|
|
1104
|
-
}
|
|
1105
|
-
}, "de_PutRecommendationFeedbackCommandError");
|
|
1106
743
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1107
744
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1108
|
-
return
|
|
745
|
+
return de_CommandError(output, context);
|
|
1109
746
|
}
|
|
1110
747
|
const contents = (0, import_smithy_client.map)({
|
|
1111
748
|
$metadata: deserializeMetadata(output)
|
|
@@ -1113,34 +750,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1113
750
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1114
751
|
return contents;
|
|
1115
752
|
}, "de_TagResourceCommand");
|
|
1116
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1117
|
-
const parsedOutput = {
|
|
1118
|
-
...output,
|
|
1119
|
-
body: await parseErrorBody(output.body, context)
|
|
1120
|
-
};
|
|
1121
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1122
|
-
switch (errorCode) {
|
|
1123
|
-
case "InternalServerException":
|
|
1124
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
1125
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1126
|
-
case "ResourceNotFoundException":
|
|
1127
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
1128
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1129
|
-
case "ValidationException":
|
|
1130
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
1131
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1132
|
-
default:
|
|
1133
|
-
const parsedBody = parsedOutput.body;
|
|
1134
|
-
return throwDefaultError({
|
|
1135
|
-
output,
|
|
1136
|
-
parsedBody,
|
|
1137
|
-
errorCode
|
|
1138
|
-
});
|
|
1139
|
-
}
|
|
1140
|
-
}, "de_TagResourceCommandError");
|
|
1141
753
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1142
754
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1143
|
-
return
|
|
755
|
+
return de_CommandError(output, context);
|
|
1144
756
|
}
|
|
1145
757
|
const contents = (0, import_smithy_client.map)({
|
|
1146
758
|
$metadata: deserializeMetadata(output)
|
|
@@ -1148,22 +760,34 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1148
760
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1149
761
|
return contents;
|
|
1150
762
|
}, "de_UntagResourceCommand");
|
|
1151
|
-
var
|
|
763
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1152
764
|
const parsedOutput = {
|
|
1153
765
|
...output,
|
|
1154
766
|
body: await parseErrorBody(output.body, context)
|
|
1155
767
|
};
|
|
1156
768
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1157
769
|
switch (errorCode) {
|
|
770
|
+
case "AccessDeniedException":
|
|
771
|
+
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
772
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
773
|
+
case "ConflictException":
|
|
774
|
+
case "com.amazonaws.codegurureviewer#ConflictException":
|
|
775
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1158
776
|
case "InternalServerException":
|
|
1159
777
|
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
1160
778
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1161
|
-
case "
|
|
1162
|
-
case "com.amazonaws.codegurureviewer#
|
|
1163
|
-
throw await
|
|
779
|
+
case "ThrottlingException":
|
|
780
|
+
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
781
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1164
782
|
case "ValidationException":
|
|
1165
783
|
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
1166
784
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
785
|
+
case "ResourceNotFoundException":
|
|
786
|
+
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
787
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
788
|
+
case "NotFoundException":
|
|
789
|
+
case "com.amazonaws.codegurureviewer#NotFoundException":
|
|
790
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1167
791
|
default:
|
|
1168
792
|
const parsedBody = parsedOutput.body;
|
|
1169
793
|
return throwDefaultError({
|
|
@@ -1172,7 +796,7 @@ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context
|
|
|
1172
796
|
errorCode
|
|
1173
797
|
});
|
|
1174
798
|
}
|
|
1175
|
-
}, "
|
|
799
|
+
}, "de_CommandError");
|
|
1176
800
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(CodeGuruReviewerServiceException);
|
|
1177
801
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1178
802
|
const contents = (0, import_smithy_client.map)({});
|
|
@@ -190,7 +190,7 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
190
190
|
};
|
|
191
191
|
export const de_AssociateRepositoryCommand = async (output, context) => {
|
|
192
192
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
193
|
-
return
|
|
193
|
+
return de_CommandError(output, context);
|
|
194
194
|
}
|
|
195
195
|
const contents = map({
|
|
196
196
|
$metadata: deserializeMetadata(output),
|
|
@@ -203,40 +203,9 @@ export const de_AssociateRepositoryCommand = async (output, context) => {
|
|
|
203
203
|
Object.assign(contents, doc);
|
|
204
204
|
return contents;
|
|
205
205
|
};
|
|
206
|
-
const de_AssociateRepositoryCommandError = async (output, context) => {
|
|
207
|
-
const parsedOutput = {
|
|
208
|
-
...output,
|
|
209
|
-
body: await parseErrorBody(output.body, context),
|
|
210
|
-
};
|
|
211
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
212
|
-
switch (errorCode) {
|
|
213
|
-
case "AccessDeniedException":
|
|
214
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
215
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
216
|
-
case "ConflictException":
|
|
217
|
-
case "com.amazonaws.codegurureviewer#ConflictException":
|
|
218
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
219
|
-
case "InternalServerException":
|
|
220
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
221
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
222
|
-
case "ThrottlingException":
|
|
223
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
224
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
225
|
-
case "ValidationException":
|
|
226
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
227
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
228
|
-
default:
|
|
229
|
-
const parsedBody = parsedOutput.body;
|
|
230
|
-
return throwDefaultError({
|
|
231
|
-
output,
|
|
232
|
-
parsedBody,
|
|
233
|
-
errorCode,
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
206
|
export const de_CreateCodeReviewCommand = async (output, context) => {
|
|
238
207
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
239
|
-
return
|
|
208
|
+
return de_CommandError(output, context);
|
|
240
209
|
}
|
|
241
210
|
const contents = map({
|
|
242
211
|
$metadata: deserializeMetadata(output),
|
|
@@ -248,43 +217,9 @@ export const de_CreateCodeReviewCommand = async (output, context) => {
|
|
|
248
217
|
Object.assign(contents, doc);
|
|
249
218
|
return contents;
|
|
250
219
|
};
|
|
251
|
-
const de_CreateCodeReviewCommandError = async (output, context) => {
|
|
252
|
-
const parsedOutput = {
|
|
253
|
-
...output,
|
|
254
|
-
body: await parseErrorBody(output.body, context),
|
|
255
|
-
};
|
|
256
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
257
|
-
switch (errorCode) {
|
|
258
|
-
case "AccessDeniedException":
|
|
259
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
260
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
261
|
-
case "ConflictException":
|
|
262
|
-
case "com.amazonaws.codegurureviewer#ConflictException":
|
|
263
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
264
|
-
case "InternalServerException":
|
|
265
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
266
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
267
|
-
case "ResourceNotFoundException":
|
|
268
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
269
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
270
|
-
case "ThrottlingException":
|
|
271
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
272
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
273
|
-
case "ValidationException":
|
|
274
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
275
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
276
|
-
default:
|
|
277
|
-
const parsedBody = parsedOutput.body;
|
|
278
|
-
return throwDefaultError({
|
|
279
|
-
output,
|
|
280
|
-
parsedBody,
|
|
281
|
-
errorCode,
|
|
282
|
-
});
|
|
283
|
-
}
|
|
284
|
-
};
|
|
285
220
|
export const de_DescribeCodeReviewCommand = async (output, context) => {
|
|
286
221
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
287
|
-
return
|
|
222
|
+
return de_CommandError(output, context);
|
|
288
223
|
}
|
|
289
224
|
const contents = map({
|
|
290
225
|
$metadata: deserializeMetadata(output),
|
|
@@ -296,40 +231,9 @@ export const de_DescribeCodeReviewCommand = async (output, context) => {
|
|
|
296
231
|
Object.assign(contents, doc);
|
|
297
232
|
return contents;
|
|
298
233
|
};
|
|
299
|
-
const de_DescribeCodeReviewCommandError = async (output, context) => {
|
|
300
|
-
const parsedOutput = {
|
|
301
|
-
...output,
|
|
302
|
-
body: await parseErrorBody(output.body, context),
|
|
303
|
-
};
|
|
304
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
305
|
-
switch (errorCode) {
|
|
306
|
-
case "AccessDeniedException":
|
|
307
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
308
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
309
|
-
case "InternalServerException":
|
|
310
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
311
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
312
|
-
case "ResourceNotFoundException":
|
|
313
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
314
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
315
|
-
case "ThrottlingException":
|
|
316
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
317
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
318
|
-
case "ValidationException":
|
|
319
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
320
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
321
|
-
default:
|
|
322
|
-
const parsedBody = parsedOutput.body;
|
|
323
|
-
return throwDefaultError({
|
|
324
|
-
output,
|
|
325
|
-
parsedBody,
|
|
326
|
-
errorCode,
|
|
327
|
-
});
|
|
328
|
-
}
|
|
329
|
-
};
|
|
330
234
|
export const de_DescribeRecommendationFeedbackCommand = async (output, context) => {
|
|
331
235
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
332
|
-
return
|
|
236
|
+
return de_CommandError(output, context);
|
|
333
237
|
}
|
|
334
238
|
const contents = map({
|
|
335
239
|
$metadata: deserializeMetadata(output),
|
|
@@ -341,40 +245,9 @@ export const de_DescribeRecommendationFeedbackCommand = async (output, context)
|
|
|
341
245
|
Object.assign(contents, doc);
|
|
342
246
|
return contents;
|
|
343
247
|
};
|
|
344
|
-
const de_DescribeRecommendationFeedbackCommandError = async (output, context) => {
|
|
345
|
-
const parsedOutput = {
|
|
346
|
-
...output,
|
|
347
|
-
body: await parseErrorBody(output.body, context),
|
|
348
|
-
};
|
|
349
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
350
|
-
switch (errorCode) {
|
|
351
|
-
case "AccessDeniedException":
|
|
352
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
353
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
354
|
-
case "InternalServerException":
|
|
355
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
356
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
357
|
-
case "ResourceNotFoundException":
|
|
358
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
359
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
360
|
-
case "ThrottlingException":
|
|
361
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
362
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
363
|
-
case "ValidationException":
|
|
364
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
365
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
366
|
-
default:
|
|
367
|
-
const parsedBody = parsedOutput.body;
|
|
368
|
-
return throwDefaultError({
|
|
369
|
-
output,
|
|
370
|
-
parsedBody,
|
|
371
|
-
errorCode,
|
|
372
|
-
});
|
|
373
|
-
}
|
|
374
|
-
};
|
|
375
248
|
export const de_DescribeRepositoryAssociationCommand = async (output, context) => {
|
|
376
249
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
377
|
-
return
|
|
250
|
+
return de_CommandError(output, context);
|
|
378
251
|
}
|
|
379
252
|
const contents = map({
|
|
380
253
|
$metadata: deserializeMetadata(output),
|
|
@@ -387,40 +260,9 @@ export const de_DescribeRepositoryAssociationCommand = async (output, context) =
|
|
|
387
260
|
Object.assign(contents, doc);
|
|
388
261
|
return contents;
|
|
389
262
|
};
|
|
390
|
-
const de_DescribeRepositoryAssociationCommandError = async (output, context) => {
|
|
391
|
-
const parsedOutput = {
|
|
392
|
-
...output,
|
|
393
|
-
body: await parseErrorBody(output.body, context),
|
|
394
|
-
};
|
|
395
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
396
|
-
switch (errorCode) {
|
|
397
|
-
case "AccessDeniedException":
|
|
398
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
399
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
400
|
-
case "InternalServerException":
|
|
401
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
402
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
403
|
-
case "NotFoundException":
|
|
404
|
-
case "com.amazonaws.codegurureviewer#NotFoundException":
|
|
405
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
406
|
-
case "ThrottlingException":
|
|
407
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
408
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
409
|
-
case "ValidationException":
|
|
410
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
411
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
412
|
-
default:
|
|
413
|
-
const parsedBody = parsedOutput.body;
|
|
414
|
-
return throwDefaultError({
|
|
415
|
-
output,
|
|
416
|
-
parsedBody,
|
|
417
|
-
errorCode,
|
|
418
|
-
});
|
|
419
|
-
}
|
|
420
|
-
};
|
|
421
263
|
export const de_DisassociateRepositoryCommand = async (output, context) => {
|
|
422
264
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
423
|
-
return
|
|
265
|
+
return de_CommandError(output, context);
|
|
424
266
|
}
|
|
425
267
|
const contents = map({
|
|
426
268
|
$metadata: deserializeMetadata(output),
|
|
@@ -433,43 +275,9 @@ export const de_DisassociateRepositoryCommand = async (output, context) => {
|
|
|
433
275
|
Object.assign(contents, doc);
|
|
434
276
|
return contents;
|
|
435
277
|
};
|
|
436
|
-
const de_DisassociateRepositoryCommandError = async (output, context) => {
|
|
437
|
-
const parsedOutput = {
|
|
438
|
-
...output,
|
|
439
|
-
body: await parseErrorBody(output.body, context),
|
|
440
|
-
};
|
|
441
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
442
|
-
switch (errorCode) {
|
|
443
|
-
case "AccessDeniedException":
|
|
444
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
445
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
446
|
-
case "ConflictException":
|
|
447
|
-
case "com.amazonaws.codegurureviewer#ConflictException":
|
|
448
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
449
|
-
case "InternalServerException":
|
|
450
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
451
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
452
|
-
case "NotFoundException":
|
|
453
|
-
case "com.amazonaws.codegurureviewer#NotFoundException":
|
|
454
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
455
|
-
case "ThrottlingException":
|
|
456
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
457
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
458
|
-
case "ValidationException":
|
|
459
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
460
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
461
|
-
default:
|
|
462
|
-
const parsedBody = parsedOutput.body;
|
|
463
|
-
return throwDefaultError({
|
|
464
|
-
output,
|
|
465
|
-
parsedBody,
|
|
466
|
-
errorCode,
|
|
467
|
-
});
|
|
468
|
-
}
|
|
469
|
-
};
|
|
470
278
|
export const de_ListCodeReviewsCommand = async (output, context) => {
|
|
471
279
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
472
|
-
return
|
|
280
|
+
return de_CommandError(output, context);
|
|
473
281
|
}
|
|
474
282
|
const contents = map({
|
|
475
283
|
$metadata: deserializeMetadata(output),
|
|
@@ -482,37 +290,9 @@ export const de_ListCodeReviewsCommand = async (output, context) => {
|
|
|
482
290
|
Object.assign(contents, doc);
|
|
483
291
|
return contents;
|
|
484
292
|
};
|
|
485
|
-
const de_ListCodeReviewsCommandError = async (output, context) => {
|
|
486
|
-
const parsedOutput = {
|
|
487
|
-
...output,
|
|
488
|
-
body: await parseErrorBody(output.body, context),
|
|
489
|
-
};
|
|
490
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
491
|
-
switch (errorCode) {
|
|
492
|
-
case "AccessDeniedException":
|
|
493
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
494
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
495
|
-
case "InternalServerException":
|
|
496
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
497
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
498
|
-
case "ThrottlingException":
|
|
499
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
500
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
501
|
-
case "ValidationException":
|
|
502
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
503
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
504
|
-
default:
|
|
505
|
-
const parsedBody = parsedOutput.body;
|
|
506
|
-
return throwDefaultError({
|
|
507
|
-
output,
|
|
508
|
-
parsedBody,
|
|
509
|
-
errorCode,
|
|
510
|
-
});
|
|
511
|
-
}
|
|
512
|
-
};
|
|
513
293
|
export const de_ListRecommendationFeedbackCommand = async (output, context) => {
|
|
514
294
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
515
|
-
return
|
|
295
|
+
return de_CommandError(output, context);
|
|
516
296
|
}
|
|
517
297
|
const contents = map({
|
|
518
298
|
$metadata: deserializeMetadata(output),
|
|
@@ -525,40 +305,9 @@ export const de_ListRecommendationFeedbackCommand = async (output, context) => {
|
|
|
525
305
|
Object.assign(contents, doc);
|
|
526
306
|
return contents;
|
|
527
307
|
};
|
|
528
|
-
const de_ListRecommendationFeedbackCommandError = async (output, context) => {
|
|
529
|
-
const parsedOutput = {
|
|
530
|
-
...output,
|
|
531
|
-
body: await parseErrorBody(output.body, context),
|
|
532
|
-
};
|
|
533
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
534
|
-
switch (errorCode) {
|
|
535
|
-
case "AccessDeniedException":
|
|
536
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
537
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
538
|
-
case "InternalServerException":
|
|
539
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
540
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
541
|
-
case "ResourceNotFoundException":
|
|
542
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
543
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
544
|
-
case "ThrottlingException":
|
|
545
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
546
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
547
|
-
case "ValidationException":
|
|
548
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
549
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
550
|
-
default:
|
|
551
|
-
const parsedBody = parsedOutput.body;
|
|
552
|
-
return throwDefaultError({
|
|
553
|
-
output,
|
|
554
|
-
parsedBody,
|
|
555
|
-
errorCode,
|
|
556
|
-
});
|
|
557
|
-
}
|
|
558
|
-
};
|
|
559
308
|
export const de_ListRecommendationsCommand = async (output, context) => {
|
|
560
309
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
561
|
-
return
|
|
310
|
+
return de_CommandError(output, context);
|
|
562
311
|
}
|
|
563
312
|
const contents = map({
|
|
564
313
|
$metadata: deserializeMetadata(output),
|
|
@@ -571,40 +320,9 @@ export const de_ListRecommendationsCommand = async (output, context) => {
|
|
|
571
320
|
Object.assign(contents, doc);
|
|
572
321
|
return contents;
|
|
573
322
|
};
|
|
574
|
-
const de_ListRecommendationsCommandError = async (output, context) => {
|
|
575
|
-
const parsedOutput = {
|
|
576
|
-
...output,
|
|
577
|
-
body: await parseErrorBody(output.body, context),
|
|
578
|
-
};
|
|
579
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
580
|
-
switch (errorCode) {
|
|
581
|
-
case "AccessDeniedException":
|
|
582
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
583
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
584
|
-
case "InternalServerException":
|
|
585
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
586
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
587
|
-
case "ResourceNotFoundException":
|
|
588
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
589
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
590
|
-
case "ThrottlingException":
|
|
591
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
592
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
593
|
-
case "ValidationException":
|
|
594
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
595
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
596
|
-
default:
|
|
597
|
-
const parsedBody = parsedOutput.body;
|
|
598
|
-
return throwDefaultError({
|
|
599
|
-
output,
|
|
600
|
-
parsedBody,
|
|
601
|
-
errorCode,
|
|
602
|
-
});
|
|
603
|
-
}
|
|
604
|
-
};
|
|
605
323
|
export const de_ListRepositoryAssociationsCommand = async (output, context) => {
|
|
606
324
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
607
|
-
return
|
|
325
|
+
return de_CommandError(output, context);
|
|
608
326
|
}
|
|
609
327
|
const contents = map({
|
|
610
328
|
$metadata: deserializeMetadata(output),
|
|
@@ -617,34 +335,9 @@ export const de_ListRepositoryAssociationsCommand = async (output, context) => {
|
|
|
617
335
|
Object.assign(contents, doc);
|
|
618
336
|
return contents;
|
|
619
337
|
};
|
|
620
|
-
const de_ListRepositoryAssociationsCommandError = async (output, context) => {
|
|
621
|
-
const parsedOutput = {
|
|
622
|
-
...output,
|
|
623
|
-
body: await parseErrorBody(output.body, context),
|
|
624
|
-
};
|
|
625
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
626
|
-
switch (errorCode) {
|
|
627
|
-
case "InternalServerException":
|
|
628
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
629
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
630
|
-
case "ThrottlingException":
|
|
631
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
632
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
633
|
-
case "ValidationException":
|
|
634
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
635
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
636
|
-
default:
|
|
637
|
-
const parsedBody = parsedOutput.body;
|
|
638
|
-
return throwDefaultError({
|
|
639
|
-
output,
|
|
640
|
-
parsedBody,
|
|
641
|
-
errorCode,
|
|
642
|
-
});
|
|
643
|
-
}
|
|
644
|
-
};
|
|
645
338
|
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
646
339
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
647
|
-
return
|
|
340
|
+
return de_CommandError(output, context);
|
|
648
341
|
}
|
|
649
342
|
const contents = map({
|
|
650
343
|
$metadata: deserializeMetadata(output),
|
|
@@ -656,34 +349,9 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
656
349
|
Object.assign(contents, doc);
|
|
657
350
|
return contents;
|
|
658
351
|
};
|
|
659
|
-
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
660
|
-
const parsedOutput = {
|
|
661
|
-
...output,
|
|
662
|
-
body: await parseErrorBody(output.body, context),
|
|
663
|
-
};
|
|
664
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
665
|
-
switch (errorCode) {
|
|
666
|
-
case "InternalServerException":
|
|
667
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
668
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
669
|
-
case "ResourceNotFoundException":
|
|
670
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
671
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
672
|
-
case "ValidationException":
|
|
673
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
674
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
675
|
-
default:
|
|
676
|
-
const parsedBody = parsedOutput.body;
|
|
677
|
-
return throwDefaultError({
|
|
678
|
-
output,
|
|
679
|
-
parsedBody,
|
|
680
|
-
errorCode,
|
|
681
|
-
});
|
|
682
|
-
}
|
|
683
|
-
};
|
|
684
352
|
export const de_PutRecommendationFeedbackCommand = async (output, context) => {
|
|
685
353
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
686
|
-
return
|
|
354
|
+
return de_CommandError(output, context);
|
|
687
355
|
}
|
|
688
356
|
const contents = map({
|
|
689
357
|
$metadata: deserializeMetadata(output),
|
|
@@ -691,40 +359,9 @@ export const de_PutRecommendationFeedbackCommand = async (output, context) => {
|
|
|
691
359
|
await collectBody(output.body, context);
|
|
692
360
|
return contents;
|
|
693
361
|
};
|
|
694
|
-
const de_PutRecommendationFeedbackCommandError = async (output, context) => {
|
|
695
|
-
const parsedOutput = {
|
|
696
|
-
...output,
|
|
697
|
-
body: await parseErrorBody(output.body, context),
|
|
698
|
-
};
|
|
699
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
700
|
-
switch (errorCode) {
|
|
701
|
-
case "AccessDeniedException":
|
|
702
|
-
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
703
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
704
|
-
case "InternalServerException":
|
|
705
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
706
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
707
|
-
case "ResourceNotFoundException":
|
|
708
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
709
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
710
|
-
case "ThrottlingException":
|
|
711
|
-
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
712
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
713
|
-
case "ValidationException":
|
|
714
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
715
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
716
|
-
default:
|
|
717
|
-
const parsedBody = parsedOutput.body;
|
|
718
|
-
return throwDefaultError({
|
|
719
|
-
output,
|
|
720
|
-
parsedBody,
|
|
721
|
-
errorCode,
|
|
722
|
-
});
|
|
723
|
-
}
|
|
724
|
-
};
|
|
725
362
|
export const de_TagResourceCommand = async (output, context) => {
|
|
726
363
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
727
|
-
return
|
|
364
|
+
return de_CommandError(output, context);
|
|
728
365
|
}
|
|
729
366
|
const contents = map({
|
|
730
367
|
$metadata: deserializeMetadata(output),
|
|
@@ -732,34 +369,9 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
732
369
|
await collectBody(output.body, context);
|
|
733
370
|
return contents;
|
|
734
371
|
};
|
|
735
|
-
const de_TagResourceCommandError = async (output, context) => {
|
|
736
|
-
const parsedOutput = {
|
|
737
|
-
...output,
|
|
738
|
-
body: await parseErrorBody(output.body, context),
|
|
739
|
-
};
|
|
740
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
741
|
-
switch (errorCode) {
|
|
742
|
-
case "InternalServerException":
|
|
743
|
-
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
744
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
745
|
-
case "ResourceNotFoundException":
|
|
746
|
-
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
747
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
748
|
-
case "ValidationException":
|
|
749
|
-
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
750
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
751
|
-
default:
|
|
752
|
-
const parsedBody = parsedOutput.body;
|
|
753
|
-
return throwDefaultError({
|
|
754
|
-
output,
|
|
755
|
-
parsedBody,
|
|
756
|
-
errorCode,
|
|
757
|
-
});
|
|
758
|
-
}
|
|
759
|
-
};
|
|
760
372
|
export const de_UntagResourceCommand = async (output, context) => {
|
|
761
373
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
762
|
-
return
|
|
374
|
+
return de_CommandError(output, context);
|
|
763
375
|
}
|
|
764
376
|
const contents = map({
|
|
765
377
|
$metadata: deserializeMetadata(output),
|
|
@@ -767,22 +379,34 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
767
379
|
await collectBody(output.body, context);
|
|
768
380
|
return contents;
|
|
769
381
|
};
|
|
770
|
-
const
|
|
382
|
+
const de_CommandError = async (output, context) => {
|
|
771
383
|
const parsedOutput = {
|
|
772
384
|
...output,
|
|
773
385
|
body: await parseErrorBody(output.body, context),
|
|
774
386
|
};
|
|
775
387
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
776
388
|
switch (errorCode) {
|
|
389
|
+
case "AccessDeniedException":
|
|
390
|
+
case "com.amazonaws.codegurureviewer#AccessDeniedException":
|
|
391
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
392
|
+
case "ConflictException":
|
|
393
|
+
case "com.amazonaws.codegurureviewer#ConflictException":
|
|
394
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
777
395
|
case "InternalServerException":
|
|
778
396
|
case "com.amazonaws.codegurureviewer#InternalServerException":
|
|
779
397
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
780
|
-
case "
|
|
781
|
-
case "com.amazonaws.codegurureviewer#
|
|
782
|
-
throw await
|
|
398
|
+
case "ThrottlingException":
|
|
399
|
+
case "com.amazonaws.codegurureviewer#ThrottlingException":
|
|
400
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
783
401
|
case "ValidationException":
|
|
784
402
|
case "com.amazonaws.codegurureviewer#ValidationException":
|
|
785
403
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
404
|
+
case "ResourceNotFoundException":
|
|
405
|
+
case "com.amazonaws.codegurureviewer#ResourceNotFoundException":
|
|
406
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
407
|
+
case "NotFoundException":
|
|
408
|
+
case "com.amazonaws.codegurureviewer#NotFoundException":
|
|
409
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
786
410
|
default:
|
|
787
411
|
const parsedBody = parsedOutput.body;
|
|
788
412
|
return throwDefaultError({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeguru-reviewer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeguru Reviewer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.509.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-codeguru-reviewer",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.507.0",
|
|
24
24
|
"@aws-sdk/core": "3.496.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.509.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.502.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.502.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.502.0",
|