@aws-sdk/client-apprunner 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 +62 -971
- package/dist-es/protocols/Aws_json1_0.js +42 -951
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -728,7 +728,7 @@ var se_UpdateVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (input,
|
|
|
728
728
|
}, "se_UpdateVpcIngressConnectionCommand");
|
|
729
729
|
var de_AssociateCustomDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
730
730
|
if (output.statusCode >= 300) {
|
|
731
|
-
return
|
|
731
|
+
return de_CommandError(output, context);
|
|
732
732
|
}
|
|
733
733
|
const data = await parseBody(output.body, context);
|
|
734
734
|
let contents = {};
|
|
@@ -739,34 +739,9 @@ var de_AssociateCustomDomainCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
739
739
|
};
|
|
740
740
|
return response;
|
|
741
741
|
}, "de_AssociateCustomDomainCommand");
|
|
742
|
-
var de_AssociateCustomDomainCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
743
|
-
const parsedOutput = {
|
|
744
|
-
...output,
|
|
745
|
-
body: await parseErrorBody(output.body, context)
|
|
746
|
-
};
|
|
747
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
748
|
-
switch (errorCode) {
|
|
749
|
-
case "InternalServiceErrorException":
|
|
750
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
751
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
752
|
-
case "InvalidRequestException":
|
|
753
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
754
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
755
|
-
case "InvalidStateException":
|
|
756
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
757
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
758
|
-
default:
|
|
759
|
-
const parsedBody = parsedOutput.body;
|
|
760
|
-
return throwDefaultError({
|
|
761
|
-
output,
|
|
762
|
-
parsedBody,
|
|
763
|
-
errorCode
|
|
764
|
-
});
|
|
765
|
-
}
|
|
766
|
-
}, "de_AssociateCustomDomainCommandError");
|
|
767
742
|
var de_CreateAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
768
743
|
if (output.statusCode >= 300) {
|
|
769
|
-
return
|
|
744
|
+
return de_CommandError(output, context);
|
|
770
745
|
}
|
|
771
746
|
const data = await parseBody(output.body, context);
|
|
772
747
|
let contents = {};
|
|
@@ -777,34 +752,9 @@ var de_CreateAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (out
|
|
|
777
752
|
};
|
|
778
753
|
return response;
|
|
779
754
|
}, "de_CreateAutoScalingConfigurationCommand");
|
|
780
|
-
var de_CreateAutoScalingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
781
|
-
const parsedOutput = {
|
|
782
|
-
...output,
|
|
783
|
-
body: await parseErrorBody(output.body, context)
|
|
784
|
-
};
|
|
785
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
786
|
-
switch (errorCode) {
|
|
787
|
-
case "InternalServiceErrorException":
|
|
788
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
789
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
790
|
-
case "InvalidRequestException":
|
|
791
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
792
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
793
|
-
case "ServiceQuotaExceededException":
|
|
794
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
795
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
796
|
-
default:
|
|
797
|
-
const parsedBody = parsedOutput.body;
|
|
798
|
-
return throwDefaultError({
|
|
799
|
-
output,
|
|
800
|
-
parsedBody,
|
|
801
|
-
errorCode
|
|
802
|
-
});
|
|
803
|
-
}
|
|
804
|
-
}, "de_CreateAutoScalingConfigurationCommandError");
|
|
805
755
|
var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
806
756
|
if (output.statusCode >= 300) {
|
|
807
|
-
return
|
|
757
|
+
return de_CommandError(output, context);
|
|
808
758
|
}
|
|
809
759
|
const data = await parseBody(output.body, context);
|
|
810
760
|
let contents = {};
|
|
@@ -815,34 +765,9 @@ var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
815
765
|
};
|
|
816
766
|
return response;
|
|
817
767
|
}, "de_CreateConnectionCommand");
|
|
818
|
-
var de_CreateConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
819
|
-
const parsedOutput = {
|
|
820
|
-
...output,
|
|
821
|
-
body: await parseErrorBody(output.body, context)
|
|
822
|
-
};
|
|
823
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
824
|
-
switch (errorCode) {
|
|
825
|
-
case "InternalServiceErrorException":
|
|
826
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
827
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
828
|
-
case "InvalidRequestException":
|
|
829
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
830
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
831
|
-
case "ServiceQuotaExceededException":
|
|
832
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
833
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
834
|
-
default:
|
|
835
|
-
const parsedBody = parsedOutput.body;
|
|
836
|
-
return throwDefaultError({
|
|
837
|
-
output,
|
|
838
|
-
parsedBody,
|
|
839
|
-
errorCode
|
|
840
|
-
});
|
|
841
|
-
}
|
|
842
|
-
}, "de_CreateConnectionCommandError");
|
|
843
768
|
var de_CreateObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
844
769
|
if (output.statusCode >= 300) {
|
|
845
|
-
return
|
|
770
|
+
return de_CommandError(output, context);
|
|
846
771
|
}
|
|
847
772
|
const data = await parseBody(output.body, context);
|
|
848
773
|
let contents = {};
|
|
@@ -853,34 +778,9 @@ var de_CreateObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (o
|
|
|
853
778
|
};
|
|
854
779
|
return response;
|
|
855
780
|
}, "de_CreateObservabilityConfigurationCommand");
|
|
856
|
-
var de_CreateObservabilityConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
857
|
-
const parsedOutput = {
|
|
858
|
-
...output,
|
|
859
|
-
body: await parseErrorBody(output.body, context)
|
|
860
|
-
};
|
|
861
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
862
|
-
switch (errorCode) {
|
|
863
|
-
case "InternalServiceErrorException":
|
|
864
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
865
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
866
|
-
case "InvalidRequestException":
|
|
867
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
868
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
869
|
-
case "ServiceQuotaExceededException":
|
|
870
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
871
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
872
|
-
default:
|
|
873
|
-
const parsedBody = parsedOutput.body;
|
|
874
|
-
return throwDefaultError({
|
|
875
|
-
output,
|
|
876
|
-
parsedBody,
|
|
877
|
-
errorCode
|
|
878
|
-
});
|
|
879
|
-
}
|
|
880
|
-
}, "de_CreateObservabilityConfigurationCommandError");
|
|
881
781
|
var de_CreateServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
882
782
|
if (output.statusCode >= 300) {
|
|
883
|
-
return
|
|
783
|
+
return de_CommandError(output, context);
|
|
884
784
|
}
|
|
885
785
|
const data = await parseBody(output.body, context);
|
|
886
786
|
let contents = {};
|
|
@@ -891,34 +791,9 @@ var de_CreateServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
891
791
|
};
|
|
892
792
|
return response;
|
|
893
793
|
}, "de_CreateServiceCommand");
|
|
894
|
-
var de_CreateServiceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
895
|
-
const parsedOutput = {
|
|
896
|
-
...output,
|
|
897
|
-
body: await parseErrorBody(output.body, context)
|
|
898
|
-
};
|
|
899
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
900
|
-
switch (errorCode) {
|
|
901
|
-
case "InternalServiceErrorException":
|
|
902
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
903
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
904
|
-
case "InvalidRequestException":
|
|
905
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
906
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
907
|
-
case "ServiceQuotaExceededException":
|
|
908
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
909
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
910
|
-
default:
|
|
911
|
-
const parsedBody = parsedOutput.body;
|
|
912
|
-
return throwDefaultError({
|
|
913
|
-
output,
|
|
914
|
-
parsedBody,
|
|
915
|
-
errorCode
|
|
916
|
-
});
|
|
917
|
-
}
|
|
918
|
-
}, "de_CreateServiceCommandError");
|
|
919
794
|
var de_CreateVpcConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
920
795
|
if (output.statusCode >= 300) {
|
|
921
|
-
return
|
|
796
|
+
return de_CommandError(output, context);
|
|
922
797
|
}
|
|
923
798
|
const data = await parseBody(output.body, context);
|
|
924
799
|
let contents = {};
|
|
@@ -929,34 +804,9 @@ var de_CreateVpcConnectorCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
929
804
|
};
|
|
930
805
|
return response;
|
|
931
806
|
}, "de_CreateVpcConnectorCommand");
|
|
932
|
-
var de_CreateVpcConnectorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
933
|
-
const parsedOutput = {
|
|
934
|
-
...output,
|
|
935
|
-
body: await parseErrorBody(output.body, context)
|
|
936
|
-
};
|
|
937
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
938
|
-
switch (errorCode) {
|
|
939
|
-
case "InternalServiceErrorException":
|
|
940
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
941
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
942
|
-
case "InvalidRequestException":
|
|
943
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
944
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
945
|
-
case "ServiceQuotaExceededException":
|
|
946
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
947
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
948
|
-
default:
|
|
949
|
-
const parsedBody = parsedOutput.body;
|
|
950
|
-
return throwDefaultError({
|
|
951
|
-
output,
|
|
952
|
-
parsedBody,
|
|
953
|
-
errorCode
|
|
954
|
-
});
|
|
955
|
-
}
|
|
956
|
-
}, "de_CreateVpcConnectorCommandError");
|
|
957
807
|
var de_CreateVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
958
808
|
if (output.statusCode >= 300) {
|
|
959
|
-
return
|
|
809
|
+
return de_CommandError(output, context);
|
|
960
810
|
}
|
|
961
811
|
const data = await parseBody(output.body, context);
|
|
962
812
|
let contents = {};
|
|
@@ -967,37 +817,9 @@ var de_CreateVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
967
817
|
};
|
|
968
818
|
return response;
|
|
969
819
|
}, "de_CreateVpcIngressConnectionCommand");
|
|
970
|
-
var de_CreateVpcIngressConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
971
|
-
const parsedOutput = {
|
|
972
|
-
...output,
|
|
973
|
-
body: await parseErrorBody(output.body, context)
|
|
974
|
-
};
|
|
975
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
976
|
-
switch (errorCode) {
|
|
977
|
-
case "InternalServiceErrorException":
|
|
978
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
979
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
980
|
-
case "InvalidRequestException":
|
|
981
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
982
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
983
|
-
case "InvalidStateException":
|
|
984
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
985
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
986
|
-
case "ServiceQuotaExceededException":
|
|
987
|
-
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
988
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
989
|
-
default:
|
|
990
|
-
const parsedBody = parsedOutput.body;
|
|
991
|
-
return throwDefaultError({
|
|
992
|
-
output,
|
|
993
|
-
parsedBody,
|
|
994
|
-
errorCode
|
|
995
|
-
});
|
|
996
|
-
}
|
|
997
|
-
}, "de_CreateVpcIngressConnectionCommandError");
|
|
998
820
|
var de_DeleteAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
999
821
|
if (output.statusCode >= 300) {
|
|
1000
|
-
return
|
|
822
|
+
return de_CommandError(output, context);
|
|
1001
823
|
}
|
|
1002
824
|
const data = await parseBody(output.body, context);
|
|
1003
825
|
let contents = {};
|
|
@@ -1008,34 +830,9 @@ var de_DeleteAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (out
|
|
|
1008
830
|
};
|
|
1009
831
|
return response;
|
|
1010
832
|
}, "de_DeleteAutoScalingConfigurationCommand");
|
|
1011
|
-
var de_DeleteAutoScalingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1012
|
-
const parsedOutput = {
|
|
1013
|
-
...output,
|
|
1014
|
-
body: await parseErrorBody(output.body, context)
|
|
1015
|
-
};
|
|
1016
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1017
|
-
switch (errorCode) {
|
|
1018
|
-
case "InternalServiceErrorException":
|
|
1019
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1020
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1021
|
-
case "InvalidRequestException":
|
|
1022
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1023
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1024
|
-
case "ResourceNotFoundException":
|
|
1025
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1026
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1027
|
-
default:
|
|
1028
|
-
const parsedBody = parsedOutput.body;
|
|
1029
|
-
return throwDefaultError({
|
|
1030
|
-
output,
|
|
1031
|
-
parsedBody,
|
|
1032
|
-
errorCode
|
|
1033
|
-
});
|
|
1034
|
-
}
|
|
1035
|
-
}, "de_DeleteAutoScalingConfigurationCommandError");
|
|
1036
833
|
var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1037
834
|
if (output.statusCode >= 300) {
|
|
1038
|
-
return
|
|
835
|
+
return de_CommandError(output, context);
|
|
1039
836
|
}
|
|
1040
837
|
const data = await parseBody(output.body, context);
|
|
1041
838
|
let contents = {};
|
|
@@ -1046,34 +843,9 @@ var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1046
843
|
};
|
|
1047
844
|
return response;
|
|
1048
845
|
}, "de_DeleteConnectionCommand");
|
|
1049
|
-
var de_DeleteConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1050
|
-
const parsedOutput = {
|
|
1051
|
-
...output,
|
|
1052
|
-
body: await parseErrorBody(output.body, context)
|
|
1053
|
-
};
|
|
1054
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1055
|
-
switch (errorCode) {
|
|
1056
|
-
case "InternalServiceErrorException":
|
|
1057
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1058
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1059
|
-
case "InvalidRequestException":
|
|
1060
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1061
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1062
|
-
case "ResourceNotFoundException":
|
|
1063
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1064
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1065
|
-
default:
|
|
1066
|
-
const parsedBody = parsedOutput.body;
|
|
1067
|
-
return throwDefaultError({
|
|
1068
|
-
output,
|
|
1069
|
-
parsedBody,
|
|
1070
|
-
errorCode
|
|
1071
|
-
});
|
|
1072
|
-
}
|
|
1073
|
-
}, "de_DeleteConnectionCommandError");
|
|
1074
846
|
var de_DeleteObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1075
847
|
if (output.statusCode >= 300) {
|
|
1076
|
-
return
|
|
848
|
+
return de_CommandError(output, context);
|
|
1077
849
|
}
|
|
1078
850
|
const data = await parseBody(output.body, context);
|
|
1079
851
|
let contents = {};
|
|
@@ -1084,34 +856,9 @@ var de_DeleteObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (o
|
|
|
1084
856
|
};
|
|
1085
857
|
return response;
|
|
1086
858
|
}, "de_DeleteObservabilityConfigurationCommand");
|
|
1087
|
-
var de_DeleteObservabilityConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1088
|
-
const parsedOutput = {
|
|
1089
|
-
...output,
|
|
1090
|
-
body: await parseErrorBody(output.body, context)
|
|
1091
|
-
};
|
|
1092
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1093
|
-
switch (errorCode) {
|
|
1094
|
-
case "InternalServiceErrorException":
|
|
1095
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1096
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1097
|
-
case "InvalidRequestException":
|
|
1098
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1099
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1100
|
-
case "ResourceNotFoundException":
|
|
1101
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1102
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1103
|
-
default:
|
|
1104
|
-
const parsedBody = parsedOutput.body;
|
|
1105
|
-
return throwDefaultError({
|
|
1106
|
-
output,
|
|
1107
|
-
parsedBody,
|
|
1108
|
-
errorCode
|
|
1109
|
-
});
|
|
1110
|
-
}
|
|
1111
|
-
}, "de_DeleteObservabilityConfigurationCommandError");
|
|
1112
859
|
var de_DeleteServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1113
860
|
if (output.statusCode >= 300) {
|
|
1114
|
-
return
|
|
861
|
+
return de_CommandError(output, context);
|
|
1115
862
|
}
|
|
1116
863
|
const data = await parseBody(output.body, context);
|
|
1117
864
|
let contents = {};
|
|
@@ -1122,75 +869,22 @@ var de_DeleteServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1122
869
|
};
|
|
1123
870
|
return response;
|
|
1124
871
|
}, "de_DeleteServiceCommand");
|
|
1125
|
-
var
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
case "InvalidRequestException":
|
|
1136
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1137
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1138
|
-
case "InvalidStateException":
|
|
1139
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1140
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1141
|
-
case "ResourceNotFoundException":
|
|
1142
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1143
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1144
|
-
default:
|
|
1145
|
-
const parsedBody = parsedOutput.body;
|
|
1146
|
-
return throwDefaultError({
|
|
1147
|
-
output,
|
|
1148
|
-
parsedBody,
|
|
1149
|
-
errorCode
|
|
1150
|
-
});
|
|
1151
|
-
}
|
|
1152
|
-
}, "de_DeleteServiceCommandError");
|
|
1153
|
-
var de_DeleteVpcConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1154
|
-
if (output.statusCode >= 300) {
|
|
1155
|
-
return de_DeleteVpcConnectorCommandError(output, context);
|
|
1156
|
-
}
|
|
1157
|
-
const data = await parseBody(output.body, context);
|
|
1158
|
-
let contents = {};
|
|
1159
|
-
contents = de_DeleteVpcConnectorResponse(data, context);
|
|
1160
|
-
const response = {
|
|
1161
|
-
$metadata: deserializeMetadata(output),
|
|
1162
|
-
...contents
|
|
872
|
+
var de_DeleteVpcConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
873
|
+
if (output.statusCode >= 300) {
|
|
874
|
+
return de_CommandError(output, context);
|
|
875
|
+
}
|
|
876
|
+
const data = await parseBody(output.body, context);
|
|
877
|
+
let contents = {};
|
|
878
|
+
contents = de_DeleteVpcConnectorResponse(data, context);
|
|
879
|
+
const response = {
|
|
880
|
+
$metadata: deserializeMetadata(output),
|
|
881
|
+
...contents
|
|
1163
882
|
};
|
|
1164
883
|
return response;
|
|
1165
884
|
}, "de_DeleteVpcConnectorCommand");
|
|
1166
|
-
var de_DeleteVpcConnectorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1167
|
-
const parsedOutput = {
|
|
1168
|
-
...output,
|
|
1169
|
-
body: await parseErrorBody(output.body, context)
|
|
1170
|
-
};
|
|
1171
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1172
|
-
switch (errorCode) {
|
|
1173
|
-
case "InternalServiceErrorException":
|
|
1174
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1175
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1176
|
-
case "InvalidRequestException":
|
|
1177
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1178
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1179
|
-
case "ResourceNotFoundException":
|
|
1180
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1181
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1182
|
-
default:
|
|
1183
|
-
const parsedBody = parsedOutput.body;
|
|
1184
|
-
return throwDefaultError({
|
|
1185
|
-
output,
|
|
1186
|
-
parsedBody,
|
|
1187
|
-
errorCode
|
|
1188
|
-
});
|
|
1189
|
-
}
|
|
1190
|
-
}, "de_DeleteVpcConnectorCommandError");
|
|
1191
885
|
var de_DeleteVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1192
886
|
if (output.statusCode >= 300) {
|
|
1193
|
-
return
|
|
887
|
+
return de_CommandError(output, context);
|
|
1194
888
|
}
|
|
1195
889
|
const data = await parseBody(output.body, context);
|
|
1196
890
|
let contents = {};
|
|
@@ -1201,37 +895,9 @@ var de_DeleteVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1201
895
|
};
|
|
1202
896
|
return response;
|
|
1203
897
|
}, "de_DeleteVpcIngressConnectionCommand");
|
|
1204
|
-
var de_DeleteVpcIngressConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1205
|
-
const parsedOutput = {
|
|
1206
|
-
...output,
|
|
1207
|
-
body: await parseErrorBody(output.body, context)
|
|
1208
|
-
};
|
|
1209
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1210
|
-
switch (errorCode) {
|
|
1211
|
-
case "InternalServiceErrorException":
|
|
1212
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1213
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1214
|
-
case "InvalidRequestException":
|
|
1215
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1216
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1217
|
-
case "InvalidStateException":
|
|
1218
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1219
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1220
|
-
case "ResourceNotFoundException":
|
|
1221
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1222
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1223
|
-
default:
|
|
1224
|
-
const parsedBody = parsedOutput.body;
|
|
1225
|
-
return throwDefaultError({
|
|
1226
|
-
output,
|
|
1227
|
-
parsedBody,
|
|
1228
|
-
errorCode
|
|
1229
|
-
});
|
|
1230
|
-
}
|
|
1231
|
-
}, "de_DeleteVpcIngressConnectionCommandError");
|
|
1232
898
|
var de_DescribeAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1233
899
|
if (output.statusCode >= 300) {
|
|
1234
|
-
return
|
|
900
|
+
return de_CommandError(output, context);
|
|
1235
901
|
}
|
|
1236
902
|
const data = await parseBody(output.body, context);
|
|
1237
903
|
let contents = {};
|
|
@@ -1242,34 +908,9 @@ var de_DescribeAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (o
|
|
|
1242
908
|
};
|
|
1243
909
|
return response;
|
|
1244
910
|
}, "de_DescribeAutoScalingConfigurationCommand");
|
|
1245
|
-
var de_DescribeAutoScalingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1246
|
-
const parsedOutput = {
|
|
1247
|
-
...output,
|
|
1248
|
-
body: await parseErrorBody(output.body, context)
|
|
1249
|
-
};
|
|
1250
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1251
|
-
switch (errorCode) {
|
|
1252
|
-
case "InternalServiceErrorException":
|
|
1253
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1254
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1255
|
-
case "InvalidRequestException":
|
|
1256
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1257
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1258
|
-
case "ResourceNotFoundException":
|
|
1259
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1260
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1261
|
-
default:
|
|
1262
|
-
const parsedBody = parsedOutput.body;
|
|
1263
|
-
return throwDefaultError({
|
|
1264
|
-
output,
|
|
1265
|
-
parsedBody,
|
|
1266
|
-
errorCode
|
|
1267
|
-
});
|
|
1268
|
-
}
|
|
1269
|
-
}, "de_DescribeAutoScalingConfigurationCommandError");
|
|
1270
911
|
var de_DescribeCustomDomainsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1271
912
|
if (output.statusCode >= 300) {
|
|
1272
|
-
return
|
|
913
|
+
return de_CommandError(output, context);
|
|
1273
914
|
}
|
|
1274
915
|
const data = await parseBody(output.body, context);
|
|
1275
916
|
let contents = {};
|
|
@@ -1280,34 +921,9 @@ var de_DescribeCustomDomainsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1280
921
|
};
|
|
1281
922
|
return response;
|
|
1282
923
|
}, "de_DescribeCustomDomainsCommand");
|
|
1283
|
-
var de_DescribeCustomDomainsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1284
|
-
const parsedOutput = {
|
|
1285
|
-
...output,
|
|
1286
|
-
body: await parseErrorBody(output.body, context)
|
|
1287
|
-
};
|
|
1288
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1289
|
-
switch (errorCode) {
|
|
1290
|
-
case "InternalServiceErrorException":
|
|
1291
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1292
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1293
|
-
case "InvalidRequestException":
|
|
1294
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1295
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1296
|
-
case "ResourceNotFoundException":
|
|
1297
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1298
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1299
|
-
default:
|
|
1300
|
-
const parsedBody = parsedOutput.body;
|
|
1301
|
-
return throwDefaultError({
|
|
1302
|
-
output,
|
|
1303
|
-
parsedBody,
|
|
1304
|
-
errorCode
|
|
1305
|
-
});
|
|
1306
|
-
}
|
|
1307
|
-
}, "de_DescribeCustomDomainsCommandError");
|
|
1308
924
|
var de_DescribeObservabilityConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1309
925
|
if (output.statusCode >= 300) {
|
|
1310
|
-
return
|
|
926
|
+
return de_CommandError(output, context);
|
|
1311
927
|
}
|
|
1312
928
|
const data = await parseBody(output.body, context);
|
|
1313
929
|
let contents = {};
|
|
@@ -1318,34 +934,9 @@ var de_DescribeObservabilityConfigurationCommand = /* @__PURE__ */ __name(async
|
|
|
1318
934
|
};
|
|
1319
935
|
return response;
|
|
1320
936
|
}, "de_DescribeObservabilityConfigurationCommand");
|
|
1321
|
-
var de_DescribeObservabilityConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1322
|
-
const parsedOutput = {
|
|
1323
|
-
...output,
|
|
1324
|
-
body: await parseErrorBody(output.body, context)
|
|
1325
|
-
};
|
|
1326
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1327
|
-
switch (errorCode) {
|
|
1328
|
-
case "InternalServiceErrorException":
|
|
1329
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1330
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1331
|
-
case "InvalidRequestException":
|
|
1332
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1333
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1334
|
-
case "ResourceNotFoundException":
|
|
1335
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1336
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1337
|
-
default:
|
|
1338
|
-
const parsedBody = parsedOutput.body;
|
|
1339
|
-
return throwDefaultError({
|
|
1340
|
-
output,
|
|
1341
|
-
parsedBody,
|
|
1342
|
-
errorCode
|
|
1343
|
-
});
|
|
1344
|
-
}
|
|
1345
|
-
}, "de_DescribeObservabilityConfigurationCommandError");
|
|
1346
937
|
var de_DescribeServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1347
938
|
if (output.statusCode >= 300) {
|
|
1348
|
-
return
|
|
939
|
+
return de_CommandError(output, context);
|
|
1349
940
|
}
|
|
1350
941
|
const data = await parseBody(output.body, context);
|
|
1351
942
|
let contents = {};
|
|
@@ -1356,34 +947,9 @@ var de_DescribeServiceCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1356
947
|
};
|
|
1357
948
|
return response;
|
|
1358
949
|
}, "de_DescribeServiceCommand");
|
|
1359
|
-
var de_DescribeServiceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1360
|
-
const parsedOutput = {
|
|
1361
|
-
...output,
|
|
1362
|
-
body: await parseErrorBody(output.body, context)
|
|
1363
|
-
};
|
|
1364
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1365
|
-
switch (errorCode) {
|
|
1366
|
-
case "InternalServiceErrorException":
|
|
1367
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1368
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1369
|
-
case "InvalidRequestException":
|
|
1370
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1371
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1372
|
-
case "ResourceNotFoundException":
|
|
1373
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1374
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1375
|
-
default:
|
|
1376
|
-
const parsedBody = parsedOutput.body;
|
|
1377
|
-
return throwDefaultError({
|
|
1378
|
-
output,
|
|
1379
|
-
parsedBody,
|
|
1380
|
-
errorCode
|
|
1381
|
-
});
|
|
1382
|
-
}
|
|
1383
|
-
}, "de_DescribeServiceCommandError");
|
|
1384
950
|
var de_DescribeVpcConnectorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1385
951
|
if (output.statusCode >= 300) {
|
|
1386
|
-
return
|
|
952
|
+
return de_CommandError(output, context);
|
|
1387
953
|
}
|
|
1388
954
|
const data = await parseBody(output.body, context);
|
|
1389
955
|
let contents = {};
|
|
@@ -1394,34 +960,9 @@ var de_DescribeVpcConnectorCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1394
960
|
};
|
|
1395
961
|
return response;
|
|
1396
962
|
}, "de_DescribeVpcConnectorCommand");
|
|
1397
|
-
var de_DescribeVpcConnectorCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1398
|
-
const parsedOutput = {
|
|
1399
|
-
...output,
|
|
1400
|
-
body: await parseErrorBody(output.body, context)
|
|
1401
|
-
};
|
|
1402
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1403
|
-
switch (errorCode) {
|
|
1404
|
-
case "InternalServiceErrorException":
|
|
1405
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1406
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1407
|
-
case "InvalidRequestException":
|
|
1408
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1409
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1410
|
-
case "ResourceNotFoundException":
|
|
1411
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1412
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1413
|
-
default:
|
|
1414
|
-
const parsedBody = parsedOutput.body;
|
|
1415
|
-
return throwDefaultError({
|
|
1416
|
-
output,
|
|
1417
|
-
parsedBody,
|
|
1418
|
-
errorCode
|
|
1419
|
-
});
|
|
1420
|
-
}
|
|
1421
|
-
}, "de_DescribeVpcConnectorCommandError");
|
|
1422
963
|
var de_DescribeVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1423
964
|
if (output.statusCode >= 300) {
|
|
1424
|
-
return
|
|
965
|
+
return de_CommandError(output, context);
|
|
1425
966
|
}
|
|
1426
967
|
const data = await parseBody(output.body, context);
|
|
1427
968
|
let contents = {};
|
|
@@ -1432,34 +973,9 @@ var de_DescribeVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1432
973
|
};
|
|
1433
974
|
return response;
|
|
1434
975
|
}, "de_DescribeVpcIngressConnectionCommand");
|
|
1435
|
-
var de_DescribeVpcIngressConnectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1436
|
-
const parsedOutput = {
|
|
1437
|
-
...output,
|
|
1438
|
-
body: await parseErrorBody(output.body, context)
|
|
1439
|
-
};
|
|
1440
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1441
|
-
switch (errorCode) {
|
|
1442
|
-
case "InternalServiceErrorException":
|
|
1443
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1444
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1445
|
-
case "InvalidRequestException":
|
|
1446
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1447
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1448
|
-
case "ResourceNotFoundException":
|
|
1449
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1450
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1451
|
-
default:
|
|
1452
|
-
const parsedBody = parsedOutput.body;
|
|
1453
|
-
return throwDefaultError({
|
|
1454
|
-
output,
|
|
1455
|
-
parsedBody,
|
|
1456
|
-
errorCode
|
|
1457
|
-
});
|
|
1458
|
-
}
|
|
1459
|
-
}, "de_DescribeVpcIngressConnectionCommandError");
|
|
1460
976
|
var de_DisassociateCustomDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1461
977
|
if (output.statusCode >= 300) {
|
|
1462
|
-
return
|
|
978
|
+
return de_CommandError(output, context);
|
|
1463
979
|
}
|
|
1464
980
|
const data = await parseBody(output.body, context);
|
|
1465
981
|
let contents = {};
|
|
@@ -1470,37 +986,9 @@ var de_DisassociateCustomDomainCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1470
986
|
};
|
|
1471
987
|
return response;
|
|
1472
988
|
}, "de_DisassociateCustomDomainCommand");
|
|
1473
|
-
var de_DisassociateCustomDomainCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1474
|
-
const parsedOutput = {
|
|
1475
|
-
...output,
|
|
1476
|
-
body: await parseErrorBody(output.body, context)
|
|
1477
|
-
};
|
|
1478
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1479
|
-
switch (errorCode) {
|
|
1480
|
-
case "InternalServiceErrorException":
|
|
1481
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1482
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1483
|
-
case "InvalidRequestException":
|
|
1484
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1485
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1486
|
-
case "InvalidStateException":
|
|
1487
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1488
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1489
|
-
case "ResourceNotFoundException":
|
|
1490
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1491
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1492
|
-
default:
|
|
1493
|
-
const parsedBody = parsedOutput.body;
|
|
1494
|
-
return throwDefaultError({
|
|
1495
|
-
output,
|
|
1496
|
-
parsedBody,
|
|
1497
|
-
errorCode
|
|
1498
|
-
});
|
|
1499
|
-
}
|
|
1500
|
-
}, "de_DisassociateCustomDomainCommandError");
|
|
1501
989
|
var de_ListAutoScalingConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1502
990
|
if (output.statusCode >= 300) {
|
|
1503
|
-
return
|
|
991
|
+
return de_CommandError(output, context);
|
|
1504
992
|
}
|
|
1505
993
|
const data = await parseBody(output.body, context);
|
|
1506
994
|
let contents = {};
|
|
@@ -1511,31 +999,9 @@ var de_ListAutoScalingConfigurationsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
1511
999
|
};
|
|
1512
1000
|
return response;
|
|
1513
1001
|
}, "de_ListAutoScalingConfigurationsCommand");
|
|
1514
|
-
var de_ListAutoScalingConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1515
|
-
const parsedOutput = {
|
|
1516
|
-
...output,
|
|
1517
|
-
body: await parseErrorBody(output.body, context)
|
|
1518
|
-
};
|
|
1519
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1520
|
-
switch (errorCode) {
|
|
1521
|
-
case "InternalServiceErrorException":
|
|
1522
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1523
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1524
|
-
case "InvalidRequestException":
|
|
1525
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1526
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1527
|
-
default:
|
|
1528
|
-
const parsedBody = parsedOutput.body;
|
|
1529
|
-
return throwDefaultError({
|
|
1530
|
-
output,
|
|
1531
|
-
parsedBody,
|
|
1532
|
-
errorCode
|
|
1533
|
-
});
|
|
1534
|
-
}
|
|
1535
|
-
}, "de_ListAutoScalingConfigurationsCommandError");
|
|
1536
1002
|
var de_ListConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1537
1003
|
if (output.statusCode >= 300) {
|
|
1538
|
-
return
|
|
1004
|
+
return de_CommandError(output, context);
|
|
1539
1005
|
}
|
|
1540
1006
|
const data = await parseBody(output.body, context);
|
|
1541
1007
|
let contents = {};
|
|
@@ -1546,31 +1012,9 @@ var de_ListConnectionsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1546
1012
|
};
|
|
1547
1013
|
return response;
|
|
1548
1014
|
}, "de_ListConnectionsCommand");
|
|
1549
|
-
var de_ListConnectionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1550
|
-
const parsedOutput = {
|
|
1551
|
-
...output,
|
|
1552
|
-
body: await parseErrorBody(output.body, context)
|
|
1553
|
-
};
|
|
1554
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1555
|
-
switch (errorCode) {
|
|
1556
|
-
case "InternalServiceErrorException":
|
|
1557
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1558
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1559
|
-
case "InvalidRequestException":
|
|
1560
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1561
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1562
|
-
default:
|
|
1563
|
-
const parsedBody = parsedOutput.body;
|
|
1564
|
-
return throwDefaultError({
|
|
1565
|
-
output,
|
|
1566
|
-
parsedBody,
|
|
1567
|
-
errorCode
|
|
1568
|
-
});
|
|
1569
|
-
}
|
|
1570
|
-
}, "de_ListConnectionsCommandError");
|
|
1571
1015
|
var de_ListObservabilityConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1572
1016
|
if (output.statusCode >= 300) {
|
|
1573
|
-
return
|
|
1017
|
+
return de_CommandError(output, context);
|
|
1574
1018
|
}
|
|
1575
1019
|
const data = await parseBody(output.body, context);
|
|
1576
1020
|
let contents = {};
|
|
@@ -1581,31 +1025,9 @@ var de_ListObservabilityConfigurationsCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1581
1025
|
};
|
|
1582
1026
|
return response;
|
|
1583
1027
|
}, "de_ListObservabilityConfigurationsCommand");
|
|
1584
|
-
var de_ListObservabilityConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1585
|
-
const parsedOutput = {
|
|
1586
|
-
...output,
|
|
1587
|
-
body: await parseErrorBody(output.body, context)
|
|
1588
|
-
};
|
|
1589
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1590
|
-
switch (errorCode) {
|
|
1591
|
-
case "InternalServiceErrorException":
|
|
1592
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1593
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1594
|
-
case "InvalidRequestException":
|
|
1595
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1596
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1597
|
-
default:
|
|
1598
|
-
const parsedBody = parsedOutput.body;
|
|
1599
|
-
return throwDefaultError({
|
|
1600
|
-
output,
|
|
1601
|
-
parsedBody,
|
|
1602
|
-
errorCode
|
|
1603
|
-
});
|
|
1604
|
-
}
|
|
1605
|
-
}, "de_ListObservabilityConfigurationsCommandError");
|
|
1606
1028
|
var de_ListOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1607
1029
|
if (output.statusCode >= 300) {
|
|
1608
|
-
return
|
|
1030
|
+
return de_CommandError(output, context);
|
|
1609
1031
|
}
|
|
1610
1032
|
const data = await parseBody(output.body, context);
|
|
1611
1033
|
let contents = {};
|
|
@@ -1616,34 +1038,9 @@ var de_ListOperationsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1616
1038
|
};
|
|
1617
1039
|
return response;
|
|
1618
1040
|
}, "de_ListOperationsCommand");
|
|
1619
|
-
var de_ListOperationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1620
|
-
const parsedOutput = {
|
|
1621
|
-
...output,
|
|
1622
|
-
body: await parseErrorBody(output.body, context)
|
|
1623
|
-
};
|
|
1624
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1625
|
-
switch (errorCode) {
|
|
1626
|
-
case "InternalServiceErrorException":
|
|
1627
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1628
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1629
|
-
case "InvalidRequestException":
|
|
1630
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1631
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1632
|
-
case "ResourceNotFoundException":
|
|
1633
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1634
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1635
|
-
default:
|
|
1636
|
-
const parsedBody = parsedOutput.body;
|
|
1637
|
-
return throwDefaultError({
|
|
1638
|
-
output,
|
|
1639
|
-
parsedBody,
|
|
1640
|
-
errorCode
|
|
1641
|
-
});
|
|
1642
|
-
}
|
|
1643
|
-
}, "de_ListOperationsCommandError");
|
|
1644
1041
|
var de_ListServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1645
1042
|
if (output.statusCode >= 300) {
|
|
1646
|
-
return
|
|
1043
|
+
return de_CommandError(output, context);
|
|
1647
1044
|
}
|
|
1648
1045
|
const data = await parseBody(output.body, context);
|
|
1649
1046
|
let contents = {};
|
|
@@ -1654,69 +1051,22 @@ var de_ListServicesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1654
1051
|
};
|
|
1655
1052
|
return response;
|
|
1656
1053
|
}, "de_ListServicesCommand");
|
|
1657
|
-
var
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
body: await parseErrorBody(output.body, context)
|
|
1661
|
-
};
|
|
1662
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1663
|
-
switch (errorCode) {
|
|
1664
|
-
case "InternalServiceErrorException":
|
|
1665
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1666
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1667
|
-
case "InvalidRequestException":
|
|
1668
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1669
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1670
|
-
default:
|
|
1671
|
-
const parsedBody = parsedOutput.body;
|
|
1672
|
-
return throwDefaultError({
|
|
1673
|
-
output,
|
|
1674
|
-
parsedBody,
|
|
1675
|
-
errorCode
|
|
1676
|
-
});
|
|
1677
|
-
}
|
|
1678
|
-
}, "de_ListServicesCommandError");
|
|
1679
|
-
var de_ListServicesForAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1680
|
-
if (output.statusCode >= 300) {
|
|
1681
|
-
return de_ListServicesForAutoScalingConfigurationCommandError(output, context);
|
|
1682
|
-
}
|
|
1683
|
-
const data = await parseBody(output.body, context);
|
|
1684
|
-
let contents = {};
|
|
1685
|
-
contents = (0, import_smithy_client._json)(data);
|
|
1686
|
-
const response = {
|
|
1687
|
-
$metadata: deserializeMetadata(output),
|
|
1688
|
-
...contents
|
|
1689
|
-
};
|
|
1690
|
-
return response;
|
|
1691
|
-
}, "de_ListServicesForAutoScalingConfigurationCommand");
|
|
1692
|
-
var de_ListServicesForAutoScalingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1693
|
-
const parsedOutput = {
|
|
1694
|
-
...output,
|
|
1695
|
-
body: await parseErrorBody(output.body, context)
|
|
1696
|
-
};
|
|
1697
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1698
|
-
switch (errorCode) {
|
|
1699
|
-
case "InternalServiceErrorException":
|
|
1700
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1701
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1702
|
-
case "InvalidRequestException":
|
|
1703
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1704
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1705
|
-
case "ResourceNotFoundException":
|
|
1706
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1707
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1708
|
-
default:
|
|
1709
|
-
const parsedBody = parsedOutput.body;
|
|
1710
|
-
return throwDefaultError({
|
|
1711
|
-
output,
|
|
1712
|
-
parsedBody,
|
|
1713
|
-
errorCode
|
|
1714
|
-
});
|
|
1054
|
+
var de_ListServicesForAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1055
|
+
if (output.statusCode >= 300) {
|
|
1056
|
+
return de_CommandError(output, context);
|
|
1715
1057
|
}
|
|
1716
|
-
|
|
1058
|
+
const data = await parseBody(output.body, context);
|
|
1059
|
+
let contents = {};
|
|
1060
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1061
|
+
const response = {
|
|
1062
|
+
$metadata: deserializeMetadata(output),
|
|
1063
|
+
...contents
|
|
1064
|
+
};
|
|
1065
|
+
return response;
|
|
1066
|
+
}, "de_ListServicesForAutoScalingConfigurationCommand");
|
|
1717
1067
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1718
1068
|
if (output.statusCode >= 300) {
|
|
1719
|
-
return
|
|
1069
|
+
return de_CommandError(output, context);
|
|
1720
1070
|
}
|
|
1721
1071
|
const data = await parseBody(output.body, context);
|
|
1722
1072
|
let contents = {};
|
|
@@ -1727,37 +1077,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1727
1077
|
};
|
|
1728
1078
|
return response;
|
|
1729
1079
|
}, "de_ListTagsForResourceCommand");
|
|
1730
|
-
var de_ListTagsForResourceCommandError = /* @__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 "InternalServiceErrorException":
|
|
1738
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1739
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1740
|
-
case "InvalidRequestException":
|
|
1741
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1742
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1743
|
-
case "InvalidStateException":
|
|
1744
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1745
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1746
|
-
case "ResourceNotFoundException":
|
|
1747
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1748
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1749
|
-
default:
|
|
1750
|
-
const parsedBody = parsedOutput.body;
|
|
1751
|
-
return throwDefaultError({
|
|
1752
|
-
output,
|
|
1753
|
-
parsedBody,
|
|
1754
|
-
errorCode
|
|
1755
|
-
});
|
|
1756
|
-
}
|
|
1757
|
-
}, "de_ListTagsForResourceCommandError");
|
|
1758
1080
|
var de_ListVpcConnectorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1759
1081
|
if (output.statusCode >= 300) {
|
|
1760
|
-
return
|
|
1082
|
+
return de_CommandError(output, context);
|
|
1761
1083
|
}
|
|
1762
1084
|
const data = await parseBody(output.body, context);
|
|
1763
1085
|
let contents = {};
|
|
@@ -1768,31 +1090,9 @@ var de_ListVpcConnectorsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1768
1090
|
};
|
|
1769
1091
|
return response;
|
|
1770
1092
|
}, "de_ListVpcConnectorsCommand");
|
|
1771
|
-
var de_ListVpcConnectorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1772
|
-
const parsedOutput = {
|
|
1773
|
-
...output,
|
|
1774
|
-
body: await parseErrorBody(output.body, context)
|
|
1775
|
-
};
|
|
1776
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1777
|
-
switch (errorCode) {
|
|
1778
|
-
case "InternalServiceErrorException":
|
|
1779
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1780
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1781
|
-
case "InvalidRequestException":
|
|
1782
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1783
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1784
|
-
default:
|
|
1785
|
-
const parsedBody = parsedOutput.body;
|
|
1786
|
-
return throwDefaultError({
|
|
1787
|
-
output,
|
|
1788
|
-
parsedBody,
|
|
1789
|
-
errorCode
|
|
1790
|
-
});
|
|
1791
|
-
}
|
|
1792
|
-
}, "de_ListVpcConnectorsCommandError");
|
|
1793
1093
|
var de_ListVpcIngressConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1794
1094
|
if (output.statusCode >= 300) {
|
|
1795
|
-
return
|
|
1095
|
+
return de_CommandError(output, context);
|
|
1796
1096
|
}
|
|
1797
1097
|
const data = await parseBody(output.body, context);
|
|
1798
1098
|
let contents = {};
|
|
@@ -1803,31 +1103,9 @@ var de_ListVpcIngressConnectionsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1803
1103
|
};
|
|
1804
1104
|
return response;
|
|
1805
1105
|
}, "de_ListVpcIngressConnectionsCommand");
|
|
1806
|
-
var de_ListVpcIngressConnectionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1807
|
-
const parsedOutput = {
|
|
1808
|
-
...output,
|
|
1809
|
-
body: await parseErrorBody(output.body, context)
|
|
1810
|
-
};
|
|
1811
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1812
|
-
switch (errorCode) {
|
|
1813
|
-
case "InternalServiceErrorException":
|
|
1814
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1815
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1816
|
-
case "InvalidRequestException":
|
|
1817
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1818
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1819
|
-
default:
|
|
1820
|
-
const parsedBody = parsedOutput.body;
|
|
1821
|
-
return throwDefaultError({
|
|
1822
|
-
output,
|
|
1823
|
-
parsedBody,
|
|
1824
|
-
errorCode
|
|
1825
|
-
});
|
|
1826
|
-
}
|
|
1827
|
-
}, "de_ListVpcIngressConnectionsCommandError");
|
|
1828
1106
|
var de_PauseServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1829
1107
|
if (output.statusCode >= 300) {
|
|
1830
|
-
return
|
|
1108
|
+
return de_CommandError(output, context);
|
|
1831
1109
|
}
|
|
1832
1110
|
const data = await parseBody(output.body, context);
|
|
1833
1111
|
let contents = {};
|
|
@@ -1838,37 +1116,9 @@ var de_PauseServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1838
1116
|
};
|
|
1839
1117
|
return response;
|
|
1840
1118
|
}, "de_PauseServiceCommand");
|
|
1841
|
-
var de_PauseServiceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1842
|
-
const parsedOutput = {
|
|
1843
|
-
...output,
|
|
1844
|
-
body: await parseErrorBody(output.body, context)
|
|
1845
|
-
};
|
|
1846
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1847
|
-
switch (errorCode) {
|
|
1848
|
-
case "InternalServiceErrorException":
|
|
1849
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1850
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1851
|
-
case "InvalidRequestException":
|
|
1852
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1853
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1854
|
-
case "InvalidStateException":
|
|
1855
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1856
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1857
|
-
case "ResourceNotFoundException":
|
|
1858
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1859
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1860
|
-
default:
|
|
1861
|
-
const parsedBody = parsedOutput.body;
|
|
1862
|
-
return throwDefaultError({
|
|
1863
|
-
output,
|
|
1864
|
-
parsedBody,
|
|
1865
|
-
errorCode
|
|
1866
|
-
});
|
|
1867
|
-
}
|
|
1868
|
-
}, "de_PauseServiceCommandError");
|
|
1869
1119
|
var de_ResumeServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1870
1120
|
if (output.statusCode >= 300) {
|
|
1871
|
-
return
|
|
1121
|
+
return de_CommandError(output, context);
|
|
1872
1122
|
}
|
|
1873
1123
|
const data = await parseBody(output.body, context);
|
|
1874
1124
|
let contents = {};
|
|
@@ -1879,37 +1129,9 @@ var de_ResumeServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1879
1129
|
};
|
|
1880
1130
|
return response;
|
|
1881
1131
|
}, "de_ResumeServiceCommand");
|
|
1882
|
-
var de_ResumeServiceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1883
|
-
const parsedOutput = {
|
|
1884
|
-
...output,
|
|
1885
|
-
body: await parseErrorBody(output.body, context)
|
|
1886
|
-
};
|
|
1887
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1888
|
-
switch (errorCode) {
|
|
1889
|
-
case "InternalServiceErrorException":
|
|
1890
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1891
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1892
|
-
case "InvalidRequestException":
|
|
1893
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1894
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1895
|
-
case "InvalidStateException":
|
|
1896
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1897
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1898
|
-
case "ResourceNotFoundException":
|
|
1899
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1900
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1901
|
-
default:
|
|
1902
|
-
const parsedBody = parsedOutput.body;
|
|
1903
|
-
return throwDefaultError({
|
|
1904
|
-
output,
|
|
1905
|
-
parsedBody,
|
|
1906
|
-
errorCode
|
|
1907
|
-
});
|
|
1908
|
-
}
|
|
1909
|
-
}, "de_ResumeServiceCommandError");
|
|
1910
1132
|
var de_StartDeploymentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1911
1133
|
if (output.statusCode >= 300) {
|
|
1912
|
-
return
|
|
1134
|
+
return de_CommandError(output, context);
|
|
1913
1135
|
}
|
|
1914
1136
|
const data = await parseBody(output.body, context);
|
|
1915
1137
|
let contents = {};
|
|
@@ -1920,34 +1142,9 @@ var de_StartDeploymentCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1920
1142
|
};
|
|
1921
1143
|
return response;
|
|
1922
1144
|
}, "de_StartDeploymentCommand");
|
|
1923
|
-
var de_StartDeploymentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1924
|
-
const parsedOutput = {
|
|
1925
|
-
...output,
|
|
1926
|
-
body: await parseErrorBody(output.body, context)
|
|
1927
|
-
};
|
|
1928
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1929
|
-
switch (errorCode) {
|
|
1930
|
-
case "InternalServiceErrorException":
|
|
1931
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1932
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1933
|
-
case "InvalidRequestException":
|
|
1934
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1935
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1936
|
-
case "ResourceNotFoundException":
|
|
1937
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1938
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1939
|
-
default:
|
|
1940
|
-
const parsedBody = parsedOutput.body;
|
|
1941
|
-
return throwDefaultError({
|
|
1942
|
-
output,
|
|
1943
|
-
parsedBody,
|
|
1944
|
-
errorCode
|
|
1945
|
-
});
|
|
1946
|
-
}
|
|
1947
|
-
}, "de_StartDeploymentCommandError");
|
|
1948
1145
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1949
1146
|
if (output.statusCode >= 300) {
|
|
1950
|
-
return
|
|
1147
|
+
return de_CommandError(output, context);
|
|
1951
1148
|
}
|
|
1952
1149
|
const data = await parseBody(output.body, context);
|
|
1953
1150
|
let contents = {};
|
|
@@ -1958,37 +1155,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1958
1155
|
};
|
|
1959
1156
|
return response;
|
|
1960
1157
|
}, "de_TagResourceCommand");
|
|
1961
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1962
|
-
const parsedOutput = {
|
|
1963
|
-
...output,
|
|
1964
|
-
body: await parseErrorBody(output.body, context)
|
|
1965
|
-
};
|
|
1966
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1967
|
-
switch (errorCode) {
|
|
1968
|
-
case "InternalServiceErrorException":
|
|
1969
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1970
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
1971
|
-
case "InvalidRequestException":
|
|
1972
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1973
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1974
|
-
case "InvalidStateException":
|
|
1975
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
1976
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1977
|
-
case "ResourceNotFoundException":
|
|
1978
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
1979
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1980
|
-
default:
|
|
1981
|
-
const parsedBody = parsedOutput.body;
|
|
1982
|
-
return throwDefaultError({
|
|
1983
|
-
output,
|
|
1984
|
-
parsedBody,
|
|
1985
|
-
errorCode
|
|
1986
|
-
});
|
|
1987
|
-
}
|
|
1988
|
-
}, "de_TagResourceCommandError");
|
|
1989
1158
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1990
1159
|
if (output.statusCode >= 300) {
|
|
1991
|
-
return
|
|
1160
|
+
return de_CommandError(output, context);
|
|
1992
1161
|
}
|
|
1993
1162
|
const data = await parseBody(output.body, context);
|
|
1994
1163
|
let contents = {};
|
|
@@ -1999,37 +1168,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1999
1168
|
};
|
|
2000
1169
|
return response;
|
|
2001
1170
|
}, "de_UntagResourceCommand");
|
|
2002
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2003
|
-
const parsedOutput = {
|
|
2004
|
-
...output,
|
|
2005
|
-
body: await parseErrorBody(output.body, context)
|
|
2006
|
-
};
|
|
2007
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2008
|
-
switch (errorCode) {
|
|
2009
|
-
case "InternalServiceErrorException":
|
|
2010
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
2011
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2012
|
-
case "InvalidRequestException":
|
|
2013
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
2014
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2015
|
-
case "InvalidStateException":
|
|
2016
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
2017
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
2018
|
-
case "ResourceNotFoundException":
|
|
2019
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
2020
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2021
|
-
default:
|
|
2022
|
-
const parsedBody = parsedOutput.body;
|
|
2023
|
-
return throwDefaultError({
|
|
2024
|
-
output,
|
|
2025
|
-
parsedBody,
|
|
2026
|
-
errorCode
|
|
2027
|
-
});
|
|
2028
|
-
}
|
|
2029
|
-
}, "de_UntagResourceCommandError");
|
|
2030
1171
|
var de_UpdateDefaultAutoScalingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2031
1172
|
if (output.statusCode >= 300) {
|
|
2032
|
-
return
|
|
1173
|
+
return de_CommandError(output, context);
|
|
2033
1174
|
}
|
|
2034
1175
|
const data = await parseBody(output.body, context);
|
|
2035
1176
|
let contents = {};
|
|
@@ -2040,34 +1181,9 @@ var de_UpdateDefaultAutoScalingConfigurationCommand = /* @__PURE__ */ __name(asy
|
|
|
2040
1181
|
};
|
|
2041
1182
|
return response;
|
|
2042
1183
|
}, "de_UpdateDefaultAutoScalingConfigurationCommand");
|
|
2043
|
-
var de_UpdateDefaultAutoScalingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2044
|
-
const parsedOutput = {
|
|
2045
|
-
...output,
|
|
2046
|
-
body: await parseErrorBody(output.body, context)
|
|
2047
|
-
};
|
|
2048
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2049
|
-
switch (errorCode) {
|
|
2050
|
-
case "InternalServiceErrorException":
|
|
2051
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
2052
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2053
|
-
case "InvalidRequestException":
|
|
2054
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
2055
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2056
|
-
case "ResourceNotFoundException":
|
|
2057
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
2058
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2059
|
-
default:
|
|
2060
|
-
const parsedBody = parsedOutput.body;
|
|
2061
|
-
return throwDefaultError({
|
|
2062
|
-
output,
|
|
2063
|
-
parsedBody,
|
|
2064
|
-
errorCode
|
|
2065
|
-
});
|
|
2066
|
-
}
|
|
2067
|
-
}, "de_UpdateDefaultAutoScalingConfigurationCommandError");
|
|
2068
1184
|
var de_UpdateServiceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2069
1185
|
if (output.statusCode >= 300) {
|
|
2070
|
-
return
|
|
1186
|
+
return de_CommandError(output, context);
|
|
2071
1187
|
}
|
|
2072
1188
|
const data = await parseBody(output.body, context);
|
|
2073
1189
|
let contents = {};
|
|
@@ -2078,37 +1194,9 @@ var de_UpdateServiceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2078
1194
|
};
|
|
2079
1195
|
return response;
|
|
2080
1196
|
}, "de_UpdateServiceCommand");
|
|
2081
|
-
var de_UpdateServiceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2082
|
-
const parsedOutput = {
|
|
2083
|
-
...output,
|
|
2084
|
-
body: await parseErrorBody(output.body, context)
|
|
2085
|
-
};
|
|
2086
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2087
|
-
switch (errorCode) {
|
|
2088
|
-
case "InternalServiceErrorException":
|
|
2089
|
-
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
2090
|
-
throw await de_InternalServiceErrorExceptionRes(parsedOutput, context);
|
|
2091
|
-
case "InvalidRequestException":
|
|
2092
|
-
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
2093
|
-
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
2094
|
-
case "InvalidStateException":
|
|
2095
|
-
case "com.amazonaws.apprunner#InvalidStateException":
|
|
2096
|
-
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
2097
|
-
case "ResourceNotFoundException":
|
|
2098
|
-
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
2099
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2100
|
-
default:
|
|
2101
|
-
const parsedBody = parsedOutput.body;
|
|
2102
|
-
return throwDefaultError({
|
|
2103
|
-
output,
|
|
2104
|
-
parsedBody,
|
|
2105
|
-
errorCode
|
|
2106
|
-
});
|
|
2107
|
-
}
|
|
2108
|
-
}, "de_UpdateServiceCommandError");
|
|
2109
1197
|
var de_UpdateVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2110
1198
|
if (output.statusCode >= 300) {
|
|
2111
|
-
return
|
|
1199
|
+
return de_CommandError(output, context);
|
|
2112
1200
|
}
|
|
2113
1201
|
const data = await parseBody(output.body, context);
|
|
2114
1202
|
let contents = {};
|
|
@@ -2119,7 +1207,7 @@ var de_UpdateVpcIngressConnectionCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2119
1207
|
};
|
|
2120
1208
|
return response;
|
|
2121
1209
|
}, "de_UpdateVpcIngressConnectionCommand");
|
|
2122
|
-
var
|
|
1210
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2123
1211
|
const parsedOutput = {
|
|
2124
1212
|
...output,
|
|
2125
1213
|
body: await parseErrorBody(output.body, context)
|
|
@@ -2135,6 +1223,9 @@ var de_UpdateVpcIngressConnectionCommandError = /* @__PURE__ */ __name(async (ou
|
|
|
2135
1223
|
case "InvalidStateException":
|
|
2136
1224
|
case "com.amazonaws.apprunner#InvalidStateException":
|
|
2137
1225
|
throw await de_InvalidStateExceptionRes(parsedOutput, context);
|
|
1226
|
+
case "ServiceQuotaExceededException":
|
|
1227
|
+
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
1228
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2138
1229
|
case "ResourceNotFoundException":
|
|
2139
1230
|
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
2140
1231
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -2146,7 +1237,7 @@ var de_UpdateVpcIngressConnectionCommandError = /* @__PURE__ */ __name(async (ou
|
|
|
2146
1237
|
errorCode
|
|
2147
1238
|
});
|
|
2148
1239
|
}
|
|
2149
|
-
}, "
|
|
1240
|
+
}, "de_CommandError");
|
|
2150
1241
|
var de_InternalServiceErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2151
1242
|
const body = parsedOutput.body;
|
|
2152
1243
|
const deserialized = (0, import_smithy_client._json)(body);
|