@aws-sdk/client-codestar-connections 3.504.0 → 3.507.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 +74 -769
- package/dist-es/protocols/Aws_json1_0.js +65 -760
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -703,7 +703,7 @@ var se_UpdateSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
703
703
|
}, "se_UpdateSyncConfigurationCommand");
|
|
704
704
|
var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
705
705
|
if (output.statusCode >= 300) {
|
|
706
|
-
return
|
|
706
|
+
return de_CommandError(output, context);
|
|
707
707
|
}
|
|
708
708
|
const data = await parseBody(output.body, context);
|
|
709
709
|
let contents = {};
|
|
@@ -714,34 +714,9 @@ var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
714
714
|
};
|
|
715
715
|
return response;
|
|
716
716
|
}, "de_CreateConnectionCommand");
|
|
717
|
-
var de_CreateConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
718
|
-
const parsedOutput = {
|
|
719
|
-
...output,
|
|
720
|
-
body: await parseErrorBody(output.body, context)
|
|
721
|
-
};
|
|
722
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
723
|
-
switch (errorCode) {
|
|
724
|
-
case "LimitExceededException":
|
|
725
|
-
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
726
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
727
|
-
case "ResourceNotFoundException":
|
|
728
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
729
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
730
|
-
case "ResourceUnavailableException":
|
|
731
|
-
case "com.amazonaws.codestarconnections#ResourceUnavailableException":
|
|
732
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
733
|
-
default:
|
|
734
|
-
const parsedBody = parsedOutput.body;
|
|
735
|
-
return throwDefaultError({
|
|
736
|
-
output,
|
|
737
|
-
parsedBody,
|
|
738
|
-
errorCode
|
|
739
|
-
});
|
|
740
|
-
}
|
|
741
|
-
}, "de_CreateConnectionCommandError");
|
|
742
717
|
var de_CreateHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
743
718
|
if (output.statusCode >= 300) {
|
|
744
|
-
return
|
|
719
|
+
return de_CommandError(output, context);
|
|
745
720
|
}
|
|
746
721
|
const data = await parseBody(output.body, context);
|
|
747
722
|
let contents = {};
|
|
@@ -752,28 +727,9 @@ var de_CreateHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
752
727
|
};
|
|
753
728
|
return response;
|
|
754
729
|
}, "de_CreateHostCommand");
|
|
755
|
-
var de_CreateHostCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
756
|
-
const parsedOutput = {
|
|
757
|
-
...output,
|
|
758
|
-
body: await parseErrorBody(output.body, context)
|
|
759
|
-
};
|
|
760
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
761
|
-
switch (errorCode) {
|
|
762
|
-
case "LimitExceededException":
|
|
763
|
-
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
764
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
765
|
-
default:
|
|
766
|
-
const parsedBody = parsedOutput.body;
|
|
767
|
-
return throwDefaultError({
|
|
768
|
-
output,
|
|
769
|
-
parsedBody,
|
|
770
|
-
errorCode
|
|
771
|
-
});
|
|
772
|
-
}
|
|
773
|
-
}, "de_CreateHostCommandError");
|
|
774
730
|
var de_CreateRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
775
731
|
if (output.statusCode >= 300) {
|
|
776
|
-
return
|
|
732
|
+
return de_CommandError(output, context);
|
|
777
733
|
}
|
|
778
734
|
const data = await parseBody(output.body, context);
|
|
779
735
|
let contents = {};
|
|
@@ -784,46 +740,9 @@ var de_CreateRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
784
740
|
};
|
|
785
741
|
return response;
|
|
786
742
|
}, "de_CreateRepositoryLinkCommand");
|
|
787
|
-
var de_CreateRepositoryLinkCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
788
|
-
const parsedOutput = {
|
|
789
|
-
...output,
|
|
790
|
-
body: await parseErrorBody(output.body, context)
|
|
791
|
-
};
|
|
792
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
793
|
-
switch (errorCode) {
|
|
794
|
-
case "AccessDeniedException":
|
|
795
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
796
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
797
|
-
case "ConcurrentModificationException":
|
|
798
|
-
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
799
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
800
|
-
case "InternalServerException":
|
|
801
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
802
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
803
|
-
case "InvalidInputException":
|
|
804
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
805
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
806
|
-
case "LimitExceededException":
|
|
807
|
-
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
808
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
809
|
-
case "ResourceAlreadyExistsException":
|
|
810
|
-
case "com.amazonaws.codestarconnections#ResourceAlreadyExistsException":
|
|
811
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
812
|
-
case "ThrottlingException":
|
|
813
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
814
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
815
|
-
default:
|
|
816
|
-
const parsedBody = parsedOutput.body;
|
|
817
|
-
return throwDefaultError({
|
|
818
|
-
output,
|
|
819
|
-
parsedBody,
|
|
820
|
-
errorCode
|
|
821
|
-
});
|
|
822
|
-
}
|
|
823
|
-
}, "de_CreateRepositoryLinkCommandError");
|
|
824
743
|
var de_CreateSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
825
744
|
if (output.statusCode >= 300) {
|
|
826
|
-
return
|
|
745
|
+
return de_CommandError(output, context);
|
|
827
746
|
}
|
|
828
747
|
const data = await parseBody(output.body, context);
|
|
829
748
|
let contents = {};
|
|
@@ -834,46 +753,9 @@ var de_CreateSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
834
753
|
};
|
|
835
754
|
return response;
|
|
836
755
|
}, "de_CreateSyncConfigurationCommand");
|
|
837
|
-
var de_CreateSyncConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
838
|
-
const parsedOutput = {
|
|
839
|
-
...output,
|
|
840
|
-
body: await parseErrorBody(output.body, context)
|
|
841
|
-
};
|
|
842
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
843
|
-
switch (errorCode) {
|
|
844
|
-
case "AccessDeniedException":
|
|
845
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
846
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
847
|
-
case "ConcurrentModificationException":
|
|
848
|
-
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
849
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
850
|
-
case "InternalServerException":
|
|
851
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
852
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
853
|
-
case "InvalidInputException":
|
|
854
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
855
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
856
|
-
case "LimitExceededException":
|
|
857
|
-
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
858
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
859
|
-
case "ResourceAlreadyExistsException":
|
|
860
|
-
case "com.amazonaws.codestarconnections#ResourceAlreadyExistsException":
|
|
861
|
-
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
862
|
-
case "ThrottlingException":
|
|
863
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
864
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
865
|
-
default:
|
|
866
|
-
const parsedBody = parsedOutput.body;
|
|
867
|
-
return throwDefaultError({
|
|
868
|
-
output,
|
|
869
|
-
parsedBody,
|
|
870
|
-
errorCode
|
|
871
|
-
});
|
|
872
|
-
}
|
|
873
|
-
}, "de_CreateSyncConfigurationCommandError");
|
|
874
756
|
var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
875
757
|
if (output.statusCode >= 300) {
|
|
876
|
-
return
|
|
758
|
+
return de_CommandError(output, context);
|
|
877
759
|
}
|
|
878
760
|
const data = await parseBody(output.body, context);
|
|
879
761
|
let contents = {};
|
|
@@ -884,28 +766,9 @@ var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
884
766
|
};
|
|
885
767
|
return response;
|
|
886
768
|
}, "de_DeleteConnectionCommand");
|
|
887
|
-
var de_DeleteConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
888
|
-
const parsedOutput = {
|
|
889
|
-
...output,
|
|
890
|
-
body: await parseErrorBody(output.body, context)
|
|
891
|
-
};
|
|
892
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
893
|
-
switch (errorCode) {
|
|
894
|
-
case "ResourceNotFoundException":
|
|
895
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
896
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
897
|
-
default:
|
|
898
|
-
const parsedBody = parsedOutput.body;
|
|
899
|
-
return throwDefaultError({
|
|
900
|
-
output,
|
|
901
|
-
parsedBody,
|
|
902
|
-
errorCode
|
|
903
|
-
});
|
|
904
|
-
}
|
|
905
|
-
}, "de_DeleteConnectionCommandError");
|
|
906
769
|
var de_DeleteHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
907
770
|
if (output.statusCode >= 300) {
|
|
908
|
-
return
|
|
771
|
+
return de_CommandError(output, context);
|
|
909
772
|
}
|
|
910
773
|
const data = await parseBody(output.body, context);
|
|
911
774
|
let contents = {};
|
|
@@ -916,31 +779,9 @@ var de_DeleteHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
916
779
|
};
|
|
917
780
|
return response;
|
|
918
781
|
}, "de_DeleteHostCommand");
|
|
919
|
-
var de_DeleteHostCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
920
|
-
const parsedOutput = {
|
|
921
|
-
...output,
|
|
922
|
-
body: await parseErrorBody(output.body, context)
|
|
923
|
-
};
|
|
924
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
925
|
-
switch (errorCode) {
|
|
926
|
-
case "ResourceNotFoundException":
|
|
927
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
928
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
929
|
-
case "ResourceUnavailableException":
|
|
930
|
-
case "com.amazonaws.codestarconnections#ResourceUnavailableException":
|
|
931
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
932
|
-
default:
|
|
933
|
-
const parsedBody = parsedOutput.body;
|
|
934
|
-
return throwDefaultError({
|
|
935
|
-
output,
|
|
936
|
-
parsedBody,
|
|
937
|
-
errorCode
|
|
938
|
-
});
|
|
939
|
-
}
|
|
940
|
-
}, "de_DeleteHostCommandError");
|
|
941
782
|
var de_DeleteRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
942
783
|
if (output.statusCode >= 300) {
|
|
943
|
-
return
|
|
784
|
+
return de_CommandError(output, context);
|
|
944
785
|
}
|
|
945
786
|
const data = await parseBody(output.body, context);
|
|
946
787
|
let contents = {};
|
|
@@ -951,49 +792,9 @@ var de_DeleteRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
951
792
|
};
|
|
952
793
|
return response;
|
|
953
794
|
}, "de_DeleteRepositoryLinkCommand");
|
|
954
|
-
var de_DeleteRepositoryLinkCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
955
|
-
const parsedOutput = {
|
|
956
|
-
...output,
|
|
957
|
-
body: await parseErrorBody(output.body, context)
|
|
958
|
-
};
|
|
959
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
960
|
-
switch (errorCode) {
|
|
961
|
-
case "AccessDeniedException":
|
|
962
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
963
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
964
|
-
case "ConcurrentModificationException":
|
|
965
|
-
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
966
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
967
|
-
case "InternalServerException":
|
|
968
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
969
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
970
|
-
case "InvalidInputException":
|
|
971
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
972
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
973
|
-
case "ResourceNotFoundException":
|
|
974
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
975
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
976
|
-
case "SyncConfigurationStillExistsException":
|
|
977
|
-
case "com.amazonaws.codestarconnections#SyncConfigurationStillExistsException":
|
|
978
|
-
throw await de_SyncConfigurationStillExistsExceptionRes(parsedOutput, context);
|
|
979
|
-
case "ThrottlingException":
|
|
980
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
981
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
982
|
-
case "UnsupportedProviderTypeException":
|
|
983
|
-
case "com.amazonaws.codestarconnections#UnsupportedProviderTypeException":
|
|
984
|
-
throw await de_UnsupportedProviderTypeExceptionRes(parsedOutput, context);
|
|
985
|
-
default:
|
|
986
|
-
const parsedBody = parsedOutput.body;
|
|
987
|
-
return throwDefaultError({
|
|
988
|
-
output,
|
|
989
|
-
parsedBody,
|
|
990
|
-
errorCode
|
|
991
|
-
});
|
|
992
|
-
}
|
|
993
|
-
}, "de_DeleteRepositoryLinkCommandError");
|
|
994
795
|
var de_DeleteSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
995
796
|
if (output.statusCode >= 300) {
|
|
996
|
-
return
|
|
797
|
+
return de_CommandError(output, context);
|
|
997
798
|
}
|
|
998
799
|
const data = await parseBody(output.body, context);
|
|
999
800
|
let contents = {};
|
|
@@ -1004,43 +805,9 @@ var de_DeleteSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1004
805
|
};
|
|
1005
806
|
return response;
|
|
1006
807
|
}, "de_DeleteSyncConfigurationCommand");
|
|
1007
|
-
var de_DeleteSyncConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1008
|
-
const parsedOutput = {
|
|
1009
|
-
...output,
|
|
1010
|
-
body: await parseErrorBody(output.body, context)
|
|
1011
|
-
};
|
|
1012
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1013
|
-
switch (errorCode) {
|
|
1014
|
-
case "AccessDeniedException":
|
|
1015
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1016
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1017
|
-
case "ConcurrentModificationException":
|
|
1018
|
-
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
1019
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1020
|
-
case "InternalServerException":
|
|
1021
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1022
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1023
|
-
case "InvalidInputException":
|
|
1024
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1025
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1026
|
-
case "LimitExceededException":
|
|
1027
|
-
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
1028
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1029
|
-
case "ThrottlingException":
|
|
1030
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1031
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1032
|
-
default:
|
|
1033
|
-
const parsedBody = parsedOutput.body;
|
|
1034
|
-
return throwDefaultError({
|
|
1035
|
-
output,
|
|
1036
|
-
parsedBody,
|
|
1037
|
-
errorCode
|
|
1038
|
-
});
|
|
1039
|
-
}
|
|
1040
|
-
}, "de_DeleteSyncConfigurationCommandError");
|
|
1041
808
|
var de_GetConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1042
809
|
if (output.statusCode >= 300) {
|
|
1043
|
-
return
|
|
810
|
+
return de_CommandError(output, context);
|
|
1044
811
|
}
|
|
1045
812
|
const data = await parseBody(output.body, context);
|
|
1046
813
|
let contents = {};
|
|
@@ -1051,31 +818,9 @@ var de_GetConnectionCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1051
818
|
};
|
|
1052
819
|
return response;
|
|
1053
820
|
}, "de_GetConnectionCommand");
|
|
1054
|
-
var de_GetConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1055
|
-
const parsedOutput = {
|
|
1056
|
-
...output,
|
|
1057
|
-
body: await parseErrorBody(output.body, context)
|
|
1058
|
-
};
|
|
1059
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1060
|
-
switch (errorCode) {
|
|
1061
|
-
case "ResourceNotFoundException":
|
|
1062
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1063
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1064
|
-
case "ResourceUnavailableException":
|
|
1065
|
-
case "com.amazonaws.codestarconnections#ResourceUnavailableException":
|
|
1066
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
1067
|
-
default:
|
|
1068
|
-
const parsedBody = parsedOutput.body;
|
|
1069
|
-
return throwDefaultError({
|
|
1070
|
-
output,
|
|
1071
|
-
parsedBody,
|
|
1072
|
-
errorCode
|
|
1073
|
-
});
|
|
1074
|
-
}
|
|
1075
|
-
}, "de_GetConnectionCommandError");
|
|
1076
821
|
var de_GetHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1077
822
|
if (output.statusCode >= 300) {
|
|
1078
|
-
return
|
|
823
|
+
return de_CommandError(output, context);
|
|
1079
824
|
}
|
|
1080
825
|
const data = await parseBody(output.body, context);
|
|
1081
826
|
let contents = {};
|
|
@@ -1086,31 +831,9 @@ var de_GetHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1086
831
|
};
|
|
1087
832
|
return response;
|
|
1088
833
|
}, "de_GetHostCommand");
|
|
1089
|
-
var de_GetHostCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1090
|
-
const parsedOutput = {
|
|
1091
|
-
...output,
|
|
1092
|
-
body: await parseErrorBody(output.body, context)
|
|
1093
|
-
};
|
|
1094
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1095
|
-
switch (errorCode) {
|
|
1096
|
-
case "ResourceNotFoundException":
|
|
1097
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1098
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1099
|
-
case "ResourceUnavailableException":
|
|
1100
|
-
case "com.amazonaws.codestarconnections#ResourceUnavailableException":
|
|
1101
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
1102
|
-
default:
|
|
1103
|
-
const parsedBody = parsedOutput.body;
|
|
1104
|
-
return throwDefaultError({
|
|
1105
|
-
output,
|
|
1106
|
-
parsedBody,
|
|
1107
|
-
errorCode
|
|
1108
|
-
});
|
|
1109
|
-
}
|
|
1110
|
-
}, "de_GetHostCommandError");
|
|
1111
834
|
var de_GetRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1112
835
|
if (output.statusCode >= 300) {
|
|
1113
|
-
return
|
|
836
|
+
return de_CommandError(output, context);
|
|
1114
837
|
}
|
|
1115
838
|
const data = await parseBody(output.body, context);
|
|
1116
839
|
let contents = {};
|
|
@@ -1121,43 +844,9 @@ var de_GetRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1121
844
|
};
|
|
1122
845
|
return response;
|
|
1123
846
|
}, "de_GetRepositoryLinkCommand");
|
|
1124
|
-
var de_GetRepositoryLinkCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1125
|
-
const parsedOutput = {
|
|
1126
|
-
...output,
|
|
1127
|
-
body: await parseErrorBody(output.body, context)
|
|
1128
|
-
};
|
|
1129
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1130
|
-
switch (errorCode) {
|
|
1131
|
-
case "AccessDeniedException":
|
|
1132
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1133
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1134
|
-
case "ConcurrentModificationException":
|
|
1135
|
-
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
1136
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1137
|
-
case "InternalServerException":
|
|
1138
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1139
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1140
|
-
case "InvalidInputException":
|
|
1141
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1142
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1143
|
-
case "ResourceNotFoundException":
|
|
1144
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1145
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1146
|
-
case "ThrottlingException":
|
|
1147
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1148
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1149
|
-
default:
|
|
1150
|
-
const parsedBody = parsedOutput.body;
|
|
1151
|
-
return throwDefaultError({
|
|
1152
|
-
output,
|
|
1153
|
-
parsedBody,
|
|
1154
|
-
errorCode
|
|
1155
|
-
});
|
|
1156
|
-
}
|
|
1157
|
-
}, "de_GetRepositoryLinkCommandError");
|
|
1158
847
|
var de_GetRepositorySyncStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1159
848
|
if (output.statusCode >= 300) {
|
|
1160
|
-
return
|
|
849
|
+
return de_CommandError(output, context);
|
|
1161
850
|
}
|
|
1162
851
|
const data = await parseBody(output.body, context);
|
|
1163
852
|
let contents = {};
|
|
@@ -1168,40 +857,9 @@ var de_GetRepositorySyncStatusCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1168
857
|
};
|
|
1169
858
|
return response;
|
|
1170
859
|
}, "de_GetRepositorySyncStatusCommand");
|
|
1171
|
-
var de_GetRepositorySyncStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1172
|
-
const parsedOutput = {
|
|
1173
|
-
...output,
|
|
1174
|
-
body: await parseErrorBody(output.body, context)
|
|
1175
|
-
};
|
|
1176
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1177
|
-
switch (errorCode) {
|
|
1178
|
-
case "AccessDeniedException":
|
|
1179
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1180
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1181
|
-
case "InternalServerException":
|
|
1182
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1183
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1184
|
-
case "InvalidInputException":
|
|
1185
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1186
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1187
|
-
case "ResourceNotFoundException":
|
|
1188
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1189
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1190
|
-
case "ThrottlingException":
|
|
1191
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1192
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1193
|
-
default:
|
|
1194
|
-
const parsedBody = parsedOutput.body;
|
|
1195
|
-
return throwDefaultError({
|
|
1196
|
-
output,
|
|
1197
|
-
parsedBody,
|
|
1198
|
-
errorCode
|
|
1199
|
-
});
|
|
1200
|
-
}
|
|
1201
|
-
}, "de_GetRepositorySyncStatusCommandError");
|
|
1202
860
|
var de_GetResourceSyncStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1203
861
|
if (output.statusCode >= 300) {
|
|
1204
|
-
return
|
|
862
|
+
return de_CommandError(output, context);
|
|
1205
863
|
}
|
|
1206
864
|
const data = await parseBody(output.body, context);
|
|
1207
865
|
let contents = {};
|
|
@@ -1212,40 +870,9 @@ var de_GetResourceSyncStatusCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1212
870
|
};
|
|
1213
871
|
return response;
|
|
1214
872
|
}, "de_GetResourceSyncStatusCommand");
|
|
1215
|
-
var de_GetResourceSyncStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1216
|
-
const parsedOutput = {
|
|
1217
|
-
...output,
|
|
1218
|
-
body: await parseErrorBody(output.body, context)
|
|
1219
|
-
};
|
|
1220
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1221
|
-
switch (errorCode) {
|
|
1222
|
-
case "AccessDeniedException":
|
|
1223
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1224
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1225
|
-
case "InternalServerException":
|
|
1226
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1227
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1228
|
-
case "InvalidInputException":
|
|
1229
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1230
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1231
|
-
case "ResourceNotFoundException":
|
|
1232
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1233
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1234
|
-
case "ThrottlingException":
|
|
1235
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1236
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1237
|
-
default:
|
|
1238
|
-
const parsedBody = parsedOutput.body;
|
|
1239
|
-
return throwDefaultError({
|
|
1240
|
-
output,
|
|
1241
|
-
parsedBody,
|
|
1242
|
-
errorCode
|
|
1243
|
-
});
|
|
1244
|
-
}
|
|
1245
|
-
}, "de_GetResourceSyncStatusCommandError");
|
|
1246
873
|
var de_GetSyncBlockerSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1247
874
|
if (output.statusCode >= 300) {
|
|
1248
|
-
return
|
|
875
|
+
return de_CommandError(output, context);
|
|
1249
876
|
}
|
|
1250
877
|
const data = await parseBody(output.body, context);
|
|
1251
878
|
let contents = {};
|
|
@@ -1256,40 +883,9 @@ var de_GetSyncBlockerSummaryCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1256
883
|
};
|
|
1257
884
|
return response;
|
|
1258
885
|
}, "de_GetSyncBlockerSummaryCommand");
|
|
1259
|
-
var de_GetSyncBlockerSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1260
|
-
const parsedOutput = {
|
|
1261
|
-
...output,
|
|
1262
|
-
body: await parseErrorBody(output.body, context)
|
|
1263
|
-
};
|
|
1264
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1265
|
-
switch (errorCode) {
|
|
1266
|
-
case "AccessDeniedException":
|
|
1267
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1268
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1269
|
-
case "InternalServerException":
|
|
1270
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1271
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1272
|
-
case "InvalidInputException":
|
|
1273
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1274
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1275
|
-
case "ResourceNotFoundException":
|
|
1276
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1277
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1278
|
-
case "ThrottlingException":
|
|
1279
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1280
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1281
|
-
default:
|
|
1282
|
-
const parsedBody = parsedOutput.body;
|
|
1283
|
-
return throwDefaultError({
|
|
1284
|
-
output,
|
|
1285
|
-
parsedBody,
|
|
1286
|
-
errorCode
|
|
1287
|
-
});
|
|
1288
|
-
}
|
|
1289
|
-
}, "de_GetSyncBlockerSummaryCommandError");
|
|
1290
886
|
var de_GetSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1291
887
|
if (output.statusCode >= 300) {
|
|
1292
|
-
return
|
|
888
|
+
return de_CommandError(output, context);
|
|
1293
889
|
}
|
|
1294
890
|
const data = await parseBody(output.body, context);
|
|
1295
891
|
let contents = {};
|
|
@@ -1300,40 +896,9 @@ var de_GetSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1300
896
|
};
|
|
1301
897
|
return response;
|
|
1302
898
|
}, "de_GetSyncConfigurationCommand");
|
|
1303
|
-
var de_GetSyncConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1304
|
-
const parsedOutput = {
|
|
1305
|
-
...output,
|
|
1306
|
-
body: await parseErrorBody(output.body, context)
|
|
1307
|
-
};
|
|
1308
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1309
|
-
switch (errorCode) {
|
|
1310
|
-
case "AccessDeniedException":
|
|
1311
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1312
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1313
|
-
case "InternalServerException":
|
|
1314
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1315
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1316
|
-
case "InvalidInputException":
|
|
1317
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1318
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1319
|
-
case "ResourceNotFoundException":
|
|
1320
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1321
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1322
|
-
case "ThrottlingException":
|
|
1323
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1324
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1325
|
-
default:
|
|
1326
|
-
const parsedBody = parsedOutput.body;
|
|
1327
|
-
return throwDefaultError({
|
|
1328
|
-
output,
|
|
1329
|
-
parsedBody,
|
|
1330
|
-
errorCode
|
|
1331
|
-
});
|
|
1332
|
-
}
|
|
1333
|
-
}, "de_GetSyncConfigurationCommandError");
|
|
1334
899
|
var de_ListConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1335
900
|
if (output.statusCode >= 300) {
|
|
1336
|
-
return
|
|
901
|
+
return de_CommandError(output, context);
|
|
1337
902
|
}
|
|
1338
903
|
const data = await parseBody(output.body, context);
|
|
1339
904
|
let contents = {};
|
|
@@ -1344,54 +909,9 @@ var de_ListConnectionsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1344
909
|
};
|
|
1345
910
|
return response;
|
|
1346
911
|
}, "de_ListConnectionsCommand");
|
|
1347
|
-
var de_ListConnectionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1348
|
-
const parsedOutput = {
|
|
1349
|
-
...output,
|
|
1350
|
-
body: await parseErrorBody(output.body, context)
|
|
1351
|
-
};
|
|
1352
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1353
|
-
switch (errorCode) {
|
|
1354
|
-
case "ResourceNotFoundException":
|
|
1355
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1356
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1357
|
-
default:
|
|
1358
|
-
const parsedBody = parsedOutput.body;
|
|
1359
|
-
return throwDefaultError({
|
|
1360
|
-
output,
|
|
1361
|
-
parsedBody,
|
|
1362
|
-
errorCode
|
|
1363
|
-
});
|
|
1364
|
-
}
|
|
1365
|
-
}, "de_ListConnectionsCommandError");
|
|
1366
912
|
var de_ListHostsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1367
913
|
if (output.statusCode >= 300) {
|
|
1368
|
-
return
|
|
1369
|
-
}
|
|
1370
|
-
const data = await parseBody(output.body, context);
|
|
1371
|
-
let contents = {};
|
|
1372
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1373
|
-
const response = {
|
|
1374
|
-
$metadata: deserializeMetadata(output),
|
|
1375
|
-
...contents
|
|
1376
|
-
};
|
|
1377
|
-
return response;
|
|
1378
|
-
}, "de_ListHostsCommand");
|
|
1379
|
-
var de_ListHostsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1380
|
-
const parsedOutput = {
|
|
1381
|
-
...output,
|
|
1382
|
-
body: await parseErrorBody(output.body, context)
|
|
1383
|
-
};
|
|
1384
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1385
|
-
const parsedBody = parsedOutput.body;
|
|
1386
|
-
return throwDefaultError({
|
|
1387
|
-
output,
|
|
1388
|
-
parsedBody,
|
|
1389
|
-
errorCode
|
|
1390
|
-
});
|
|
1391
|
-
}, "de_ListHostsCommandError");
|
|
1392
|
-
var de_ListRepositoryLinksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1393
|
-
if (output.statusCode >= 300) {
|
|
1394
|
-
return de_ListRepositoryLinksCommandError(output, context);
|
|
914
|
+
return de_CommandError(output, context);
|
|
1395
915
|
}
|
|
1396
916
|
const data = await parseBody(output.body, context);
|
|
1397
917
|
let contents = {};
|
|
@@ -1401,44 +921,23 @@ var de_ListRepositoryLinksCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1401
921
|
...contents
|
|
1402
922
|
};
|
|
1403
923
|
return response;
|
|
1404
|
-
}, "
|
|
1405
|
-
var
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
body: await parseErrorBody(output.body, context)
|
|
1409
|
-
};
|
|
1410
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1411
|
-
switch (errorCode) {
|
|
1412
|
-
case "AccessDeniedException":
|
|
1413
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1414
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1415
|
-
case "ConcurrentModificationException":
|
|
1416
|
-
case "com.amazonaws.codestarconnections#ConcurrentModificationException":
|
|
1417
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1418
|
-
case "InternalServerException":
|
|
1419
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1420
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1421
|
-
case "InvalidInputException":
|
|
1422
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1423
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1424
|
-
case "ResourceNotFoundException":
|
|
1425
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1426
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1427
|
-
case "ThrottlingException":
|
|
1428
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1429
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1430
|
-
default:
|
|
1431
|
-
const parsedBody = parsedOutput.body;
|
|
1432
|
-
return throwDefaultError({
|
|
1433
|
-
output,
|
|
1434
|
-
parsedBody,
|
|
1435
|
-
errorCode
|
|
1436
|
-
});
|
|
924
|
+
}, "de_ListHostsCommand");
|
|
925
|
+
var de_ListRepositoryLinksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
926
|
+
if (output.statusCode >= 300) {
|
|
927
|
+
return de_CommandError(output, context);
|
|
1437
928
|
}
|
|
1438
|
-
|
|
929
|
+
const data = await parseBody(output.body, context);
|
|
930
|
+
let contents = {};
|
|
931
|
+
contents = (0, import_smithy_client._json)(data);
|
|
932
|
+
const response = {
|
|
933
|
+
$metadata: deserializeMetadata(output),
|
|
934
|
+
...contents
|
|
935
|
+
};
|
|
936
|
+
return response;
|
|
937
|
+
}, "de_ListRepositoryLinksCommand");
|
|
1439
938
|
var de_ListRepositorySyncDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1440
939
|
if (output.statusCode >= 300) {
|
|
1441
|
-
return
|
|
940
|
+
return de_CommandError(output, context);
|
|
1442
941
|
}
|
|
1443
942
|
const data = await parseBody(output.body, context);
|
|
1444
943
|
let contents = {};
|
|
@@ -1449,40 +948,9 @@ var de_ListRepositorySyncDefinitionsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
1449
948
|
};
|
|
1450
949
|
return response;
|
|
1451
950
|
}, "de_ListRepositorySyncDefinitionsCommand");
|
|
1452
|
-
var de_ListRepositorySyncDefinitionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1453
|
-
const parsedOutput = {
|
|
1454
|
-
...output,
|
|
1455
|
-
body: await parseErrorBody(output.body, context)
|
|
1456
|
-
};
|
|
1457
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1458
|
-
switch (errorCode) {
|
|
1459
|
-
case "AccessDeniedException":
|
|
1460
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1461
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1462
|
-
case "InternalServerException":
|
|
1463
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1464
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1465
|
-
case "InvalidInputException":
|
|
1466
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1467
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1468
|
-
case "ResourceNotFoundException":
|
|
1469
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1470
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1471
|
-
case "ThrottlingException":
|
|
1472
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1473
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1474
|
-
default:
|
|
1475
|
-
const parsedBody = parsedOutput.body;
|
|
1476
|
-
return throwDefaultError({
|
|
1477
|
-
output,
|
|
1478
|
-
parsedBody,
|
|
1479
|
-
errorCode
|
|
1480
|
-
});
|
|
1481
|
-
}
|
|
1482
|
-
}, "de_ListRepositorySyncDefinitionsCommandError");
|
|
1483
951
|
var de_ListSyncConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1484
952
|
if (output.statusCode >= 300) {
|
|
1485
|
-
return
|
|
953
|
+
return de_CommandError(output, context);
|
|
1486
954
|
}
|
|
1487
955
|
const data = await parseBody(output.body, context);
|
|
1488
956
|
let contents = {};
|
|
@@ -1493,40 +961,9 @@ var de_ListSyncConfigurationsCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1493
961
|
};
|
|
1494
962
|
return response;
|
|
1495
963
|
}, "de_ListSyncConfigurationsCommand");
|
|
1496
|
-
var de_ListSyncConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1497
|
-
const parsedOutput = {
|
|
1498
|
-
...output,
|
|
1499
|
-
body: await parseErrorBody(output.body, context)
|
|
1500
|
-
};
|
|
1501
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1502
|
-
switch (errorCode) {
|
|
1503
|
-
case "AccessDeniedException":
|
|
1504
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1505
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1506
|
-
case "InternalServerException":
|
|
1507
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1508
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1509
|
-
case "InvalidInputException":
|
|
1510
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1511
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1512
|
-
case "ResourceNotFoundException":
|
|
1513
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1514
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1515
|
-
case "ThrottlingException":
|
|
1516
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1517
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1518
|
-
default:
|
|
1519
|
-
const parsedBody = parsedOutput.body;
|
|
1520
|
-
return throwDefaultError({
|
|
1521
|
-
output,
|
|
1522
|
-
parsedBody,
|
|
1523
|
-
errorCode
|
|
1524
|
-
});
|
|
1525
|
-
}
|
|
1526
|
-
}, "de_ListSyncConfigurationsCommandError");
|
|
1527
964
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1528
965
|
if (output.statusCode >= 300) {
|
|
1529
|
-
return
|
|
966
|
+
return de_CommandError(output, context);
|
|
1530
967
|
}
|
|
1531
968
|
const data = await parseBody(output.body, context);
|
|
1532
969
|
let contents = {};
|
|
@@ -1537,28 +974,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1537
974
|
};
|
|
1538
975
|
return response;
|
|
1539
976
|
}, "de_ListTagsForResourceCommand");
|
|
1540
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1541
|
-
const parsedOutput = {
|
|
1542
|
-
...output,
|
|
1543
|
-
body: await parseErrorBody(output.body, context)
|
|
1544
|
-
};
|
|
1545
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1546
|
-
switch (errorCode) {
|
|
1547
|
-
case "ResourceNotFoundException":
|
|
1548
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1549
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1550
|
-
default:
|
|
1551
|
-
const parsedBody = parsedOutput.body;
|
|
1552
|
-
return throwDefaultError({
|
|
1553
|
-
output,
|
|
1554
|
-
parsedBody,
|
|
1555
|
-
errorCode
|
|
1556
|
-
});
|
|
1557
|
-
}
|
|
1558
|
-
}, "de_ListTagsForResourceCommandError");
|
|
1559
977
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1560
978
|
if (output.statusCode >= 300) {
|
|
1561
|
-
return
|
|
979
|
+
return de_CommandError(output, context);
|
|
1562
980
|
}
|
|
1563
981
|
const data = await parseBody(output.body, context);
|
|
1564
982
|
let contents = {};
|
|
@@ -1569,31 +987,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1569
987
|
};
|
|
1570
988
|
return response;
|
|
1571
989
|
}, "de_TagResourceCommand");
|
|
1572
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1573
|
-
const parsedOutput = {
|
|
1574
|
-
...output,
|
|
1575
|
-
body: await parseErrorBody(output.body, context)
|
|
1576
|
-
};
|
|
1577
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1578
|
-
switch (errorCode) {
|
|
1579
|
-
case "LimitExceededException":
|
|
1580
|
-
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
1581
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1582
|
-
case "ResourceNotFoundException":
|
|
1583
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1584
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1585
|
-
default:
|
|
1586
|
-
const parsedBody = parsedOutput.body;
|
|
1587
|
-
return throwDefaultError({
|
|
1588
|
-
output,
|
|
1589
|
-
parsedBody,
|
|
1590
|
-
errorCode
|
|
1591
|
-
});
|
|
1592
|
-
}
|
|
1593
|
-
}, "de_TagResourceCommandError");
|
|
1594
990
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1595
991
|
if (output.statusCode >= 300) {
|
|
1596
|
-
return
|
|
992
|
+
return de_CommandError(output, context);
|
|
1597
993
|
}
|
|
1598
994
|
const data = await parseBody(output.body, context);
|
|
1599
995
|
let contents = {};
|
|
@@ -1604,28 +1000,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1604
1000
|
};
|
|
1605
1001
|
return response;
|
|
1606
1002
|
}, "de_UntagResourceCommand");
|
|
1607
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1608
|
-
const parsedOutput = {
|
|
1609
|
-
...output,
|
|
1610
|
-
body: await parseErrorBody(output.body, context)
|
|
1611
|
-
};
|
|
1612
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1613
|
-
switch (errorCode) {
|
|
1614
|
-
case "ResourceNotFoundException":
|
|
1615
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1616
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1617
|
-
default:
|
|
1618
|
-
const parsedBody = parsedOutput.body;
|
|
1619
|
-
return throwDefaultError({
|
|
1620
|
-
output,
|
|
1621
|
-
parsedBody,
|
|
1622
|
-
errorCode
|
|
1623
|
-
});
|
|
1624
|
-
}
|
|
1625
|
-
}, "de_UntagResourceCommandError");
|
|
1626
1003
|
var de_UpdateHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1627
1004
|
if (output.statusCode >= 300) {
|
|
1628
|
-
return
|
|
1005
|
+
return de_CommandError(output, context);
|
|
1629
1006
|
}
|
|
1630
1007
|
const data = await parseBody(output.body, context);
|
|
1631
1008
|
let contents = {};
|
|
@@ -1636,37 +1013,9 @@ var de_UpdateHostCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1636
1013
|
};
|
|
1637
1014
|
return response;
|
|
1638
1015
|
}, "de_UpdateHostCommand");
|
|
1639
|
-
var de_UpdateHostCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1640
|
-
const parsedOutput = {
|
|
1641
|
-
...output,
|
|
1642
|
-
body: await parseErrorBody(output.body, context)
|
|
1643
|
-
};
|
|
1644
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1645
|
-
switch (errorCode) {
|
|
1646
|
-
case "ConflictException":
|
|
1647
|
-
case "com.amazonaws.codestarconnections#ConflictException":
|
|
1648
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1649
|
-
case "ResourceNotFoundException":
|
|
1650
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1651
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1652
|
-
case "ResourceUnavailableException":
|
|
1653
|
-
case "com.amazonaws.codestarconnections#ResourceUnavailableException":
|
|
1654
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
1655
|
-
case "UnsupportedOperationException":
|
|
1656
|
-
case "com.amazonaws.codestarconnections#UnsupportedOperationException":
|
|
1657
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1658
|
-
default:
|
|
1659
|
-
const parsedBody = parsedOutput.body;
|
|
1660
|
-
return throwDefaultError({
|
|
1661
|
-
output,
|
|
1662
|
-
parsedBody,
|
|
1663
|
-
errorCode
|
|
1664
|
-
});
|
|
1665
|
-
}
|
|
1666
|
-
}, "de_UpdateHostCommandError");
|
|
1667
1016
|
var de_UpdateRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1668
1017
|
if (output.statusCode >= 300) {
|
|
1669
|
-
return
|
|
1018
|
+
return de_CommandError(output, context);
|
|
1670
1019
|
}
|
|
1671
1020
|
const data = await parseBody(output.body, context);
|
|
1672
1021
|
let contents = {};
|
|
@@ -1677,46 +1026,9 @@ var de_UpdateRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1677
1026
|
};
|
|
1678
1027
|
return response;
|
|
1679
1028
|
}, "de_UpdateRepositoryLinkCommand");
|
|
1680
|
-
var de_UpdateRepositoryLinkCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1681
|
-
const parsedOutput = {
|
|
1682
|
-
...output,
|
|
1683
|
-
body: await parseErrorBody(output.body, context)
|
|
1684
|
-
};
|
|
1685
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1686
|
-
switch (errorCode) {
|
|
1687
|
-
case "AccessDeniedException":
|
|
1688
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1689
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1690
|
-
case "ConditionalCheckFailedException":
|
|
1691
|
-
case "com.amazonaws.codestarconnections#ConditionalCheckFailedException":
|
|
1692
|
-
throw await de_ConditionalCheckFailedExceptionRes(parsedOutput, context);
|
|
1693
|
-
case "InternalServerException":
|
|
1694
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1695
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1696
|
-
case "InvalidInputException":
|
|
1697
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1698
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1699
|
-
case "ResourceNotFoundException":
|
|
1700
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1701
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1702
|
-
case "ThrottlingException":
|
|
1703
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1704
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1705
|
-
case "UpdateOutOfSyncException":
|
|
1706
|
-
case "com.amazonaws.codestarconnections#UpdateOutOfSyncException":
|
|
1707
|
-
throw await de_UpdateOutOfSyncExceptionRes(parsedOutput, context);
|
|
1708
|
-
default:
|
|
1709
|
-
const parsedBody = parsedOutput.body;
|
|
1710
|
-
return throwDefaultError({
|
|
1711
|
-
output,
|
|
1712
|
-
parsedBody,
|
|
1713
|
-
errorCode
|
|
1714
|
-
});
|
|
1715
|
-
}
|
|
1716
|
-
}, "de_UpdateRepositoryLinkCommandError");
|
|
1717
1029
|
var de_UpdateSyncBlockerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1718
1030
|
if (output.statusCode >= 300) {
|
|
1719
|
-
return
|
|
1031
|
+
return de_CommandError(output, context);
|
|
1720
1032
|
}
|
|
1721
1033
|
const data = await parseBody(output.body, context);
|
|
1722
1034
|
let contents = {};
|
|
@@ -1727,46 +1039,9 @@ var de_UpdateSyncBlockerCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1727
1039
|
};
|
|
1728
1040
|
return response;
|
|
1729
1041
|
}, "de_UpdateSyncBlockerCommand");
|
|
1730
|
-
var de_UpdateSyncBlockerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1731
|
-
const parsedOutput = {
|
|
1732
|
-
...output,
|
|
1733
|
-
body: await parseErrorBody(output.body, context)
|
|
1734
|
-
};
|
|
1735
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1736
|
-
switch (errorCode) {
|
|
1737
|
-
case "AccessDeniedException":
|
|
1738
|
-
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1739
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1740
|
-
case "InternalServerException":
|
|
1741
|
-
case "com.amazonaws.codestarconnections#InternalServerException":
|
|
1742
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1743
|
-
case "InvalidInputException":
|
|
1744
|
-
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1745
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1746
|
-
case "ResourceNotFoundException":
|
|
1747
|
-
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1748
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1749
|
-
case "RetryLatestCommitFailedException":
|
|
1750
|
-
case "com.amazonaws.codestarconnections#RetryLatestCommitFailedException":
|
|
1751
|
-
throw await de_RetryLatestCommitFailedExceptionRes(parsedOutput, context);
|
|
1752
|
-
case "SyncBlockerDoesNotExistException":
|
|
1753
|
-
case "com.amazonaws.codestarconnections#SyncBlockerDoesNotExistException":
|
|
1754
|
-
throw await de_SyncBlockerDoesNotExistExceptionRes(parsedOutput, context);
|
|
1755
|
-
case "ThrottlingException":
|
|
1756
|
-
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1757
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1758
|
-
default:
|
|
1759
|
-
const parsedBody = parsedOutput.body;
|
|
1760
|
-
return throwDefaultError({
|
|
1761
|
-
output,
|
|
1762
|
-
parsedBody,
|
|
1763
|
-
errorCode
|
|
1764
|
-
});
|
|
1765
|
-
}
|
|
1766
|
-
}, "de_UpdateSyncBlockerCommandError");
|
|
1767
1042
|
var de_UpdateSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1768
1043
|
if (output.statusCode >= 300) {
|
|
1769
|
-
return
|
|
1044
|
+
return de_CommandError(output, context);
|
|
1770
1045
|
}
|
|
1771
1046
|
const data = await parseBody(output.body, context);
|
|
1772
1047
|
let contents = {};
|
|
@@ -1777,13 +1052,22 @@ var de_UpdateSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1777
1052
|
};
|
|
1778
1053
|
return response;
|
|
1779
1054
|
}, "de_UpdateSyncConfigurationCommand");
|
|
1780
|
-
var
|
|
1055
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1781
1056
|
const parsedOutput = {
|
|
1782
1057
|
...output,
|
|
1783
1058
|
body: await parseErrorBody(output.body, context)
|
|
1784
1059
|
};
|
|
1785
1060
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1786
1061
|
switch (errorCode) {
|
|
1062
|
+
case "LimitExceededException":
|
|
1063
|
+
case "com.amazonaws.codestarconnections#LimitExceededException":
|
|
1064
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1065
|
+
case "ResourceNotFoundException":
|
|
1066
|
+
case "com.amazonaws.codestarconnections#ResourceNotFoundException":
|
|
1067
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1068
|
+
case "ResourceUnavailableException":
|
|
1069
|
+
case "com.amazonaws.codestarconnections#ResourceUnavailableException":
|
|
1070
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
1787
1071
|
case "AccessDeniedException":
|
|
1788
1072
|
case "com.amazonaws.codestarconnections#AccessDeniedException":
|
|
1789
1073
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
@@ -1796,15 +1080,36 @@ var de_UpdateSyncConfigurationCommandError = /* @__PURE__ */ __name(async (outpu
|
|
|
1796
1080
|
case "InvalidInputException":
|
|
1797
1081
|
case "com.amazonaws.codestarconnections#InvalidInputException":
|
|
1798
1082
|
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1799
|
-
case "
|
|
1800
|
-
case "com.amazonaws.codestarconnections#
|
|
1801
|
-
throw await
|
|
1083
|
+
case "ResourceAlreadyExistsException":
|
|
1084
|
+
case "com.amazonaws.codestarconnections#ResourceAlreadyExistsException":
|
|
1085
|
+
throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1802
1086
|
case "ThrottlingException":
|
|
1803
1087
|
case "com.amazonaws.codestarconnections#ThrottlingException":
|
|
1804
1088
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1089
|
+
case "SyncConfigurationStillExistsException":
|
|
1090
|
+
case "com.amazonaws.codestarconnections#SyncConfigurationStillExistsException":
|
|
1091
|
+
throw await de_SyncConfigurationStillExistsExceptionRes(parsedOutput, context);
|
|
1092
|
+
case "UnsupportedProviderTypeException":
|
|
1093
|
+
case "com.amazonaws.codestarconnections#UnsupportedProviderTypeException":
|
|
1094
|
+
throw await de_UnsupportedProviderTypeExceptionRes(parsedOutput, context);
|
|
1095
|
+
case "ConflictException":
|
|
1096
|
+
case "com.amazonaws.codestarconnections#ConflictException":
|
|
1097
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1098
|
+
case "UnsupportedOperationException":
|
|
1099
|
+
case "com.amazonaws.codestarconnections#UnsupportedOperationException":
|
|
1100
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1101
|
+
case "ConditionalCheckFailedException":
|
|
1102
|
+
case "com.amazonaws.codestarconnections#ConditionalCheckFailedException":
|
|
1103
|
+
throw await de_ConditionalCheckFailedExceptionRes(parsedOutput, context);
|
|
1805
1104
|
case "UpdateOutOfSyncException":
|
|
1806
1105
|
case "com.amazonaws.codestarconnections#UpdateOutOfSyncException":
|
|
1807
1106
|
throw await de_UpdateOutOfSyncExceptionRes(parsedOutput, context);
|
|
1107
|
+
case "RetryLatestCommitFailedException":
|
|
1108
|
+
case "com.amazonaws.codestarconnections#RetryLatestCommitFailedException":
|
|
1109
|
+
throw await de_RetryLatestCommitFailedExceptionRes(parsedOutput, context);
|
|
1110
|
+
case "SyncBlockerDoesNotExistException":
|
|
1111
|
+
case "com.amazonaws.codestarconnections#SyncBlockerDoesNotExistException":
|
|
1112
|
+
throw await de_SyncBlockerDoesNotExistExceptionRes(parsedOutput, context);
|
|
1808
1113
|
default:
|
|
1809
1114
|
const parsedBody = parsedOutput.body;
|
|
1810
1115
|
return throwDefaultError({
|
|
@@ -1813,7 +1118,7 @@ var de_UpdateSyncConfigurationCommandError = /* @__PURE__ */ __name(async (outpu
|
|
|
1813
1118
|
errorCode
|
|
1814
1119
|
});
|
|
1815
1120
|
}
|
|
1816
|
-
}, "
|
|
1121
|
+
}, "de_CommandError");
|
|
1817
1122
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1818
1123
|
const body = parsedOutput.body;
|
|
1819
1124
|
const deserialized = (0, import_smithy_client._json)(body);
|