@aws-sdk/client-elastic-load-balancing 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 +95 -708
- package/dist-es/protocols/Aws_query.js +103 -716
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -890,7 +890,7 @@ var se_SetLoadBalancerPoliciesOfListenerCommand = /* @__PURE__ */ __name(async (
|
|
|
890
890
|
}, "se_SetLoadBalancerPoliciesOfListenerCommand");
|
|
891
891
|
var de_AddTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
892
892
|
if (output.statusCode >= 300) {
|
|
893
|
-
return
|
|
893
|
+
return de_CommandError(output, context);
|
|
894
894
|
}
|
|
895
895
|
const data = await parseBody(output.body, context);
|
|
896
896
|
let contents = {};
|
|
@@ -901,34 +901,9 @@ var de_AddTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
901
901
|
};
|
|
902
902
|
return response;
|
|
903
903
|
}, "de_AddTagsCommand");
|
|
904
|
-
var de_AddTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
905
|
-
const parsedOutput = {
|
|
906
|
-
...output,
|
|
907
|
-
body: await parseErrorBody(output.body, context)
|
|
908
|
-
};
|
|
909
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
910
|
-
switch (errorCode) {
|
|
911
|
-
case "DuplicateTagKeys":
|
|
912
|
-
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException":
|
|
913
|
-
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
914
|
-
case "LoadBalancerNotFound":
|
|
915
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
916
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
917
|
-
case "TooManyTags":
|
|
918
|
-
case "com.amazonaws.elasticloadbalancing#TooManyTagsException":
|
|
919
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
920
|
-
default:
|
|
921
|
-
const parsedBody = parsedOutput.body;
|
|
922
|
-
return throwDefaultError({
|
|
923
|
-
output,
|
|
924
|
-
parsedBody: parsedBody.Error,
|
|
925
|
-
errorCode
|
|
926
|
-
});
|
|
927
|
-
}
|
|
928
|
-
}, "de_AddTagsCommandError");
|
|
929
904
|
var de_ApplySecurityGroupsToLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
930
905
|
if (output.statusCode >= 300) {
|
|
931
|
-
return
|
|
906
|
+
return de_CommandError(output, context);
|
|
932
907
|
}
|
|
933
908
|
const data = await parseBody(output.body, context);
|
|
934
909
|
let contents = {};
|
|
@@ -939,34 +914,9 @@ var de_ApplySecurityGroupsToLoadBalancerCommand = /* @__PURE__ */ __name(async (
|
|
|
939
914
|
};
|
|
940
915
|
return response;
|
|
941
916
|
}, "de_ApplySecurityGroupsToLoadBalancerCommand");
|
|
942
|
-
var de_ApplySecurityGroupsToLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
943
|
-
const parsedOutput = {
|
|
944
|
-
...output,
|
|
945
|
-
body: await parseErrorBody(output.body, context)
|
|
946
|
-
};
|
|
947
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
948
|
-
switch (errorCode) {
|
|
949
|
-
case "InvalidConfigurationRequest":
|
|
950
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
951
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
952
|
-
case "InvalidSecurityGroup":
|
|
953
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException":
|
|
954
|
-
throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
|
|
955
|
-
case "LoadBalancerNotFound":
|
|
956
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
957
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
958
|
-
default:
|
|
959
|
-
const parsedBody = parsedOutput.body;
|
|
960
|
-
return throwDefaultError({
|
|
961
|
-
output,
|
|
962
|
-
parsedBody: parsedBody.Error,
|
|
963
|
-
errorCode
|
|
964
|
-
});
|
|
965
|
-
}
|
|
966
|
-
}, "de_ApplySecurityGroupsToLoadBalancerCommandError");
|
|
967
917
|
var de_AttachLoadBalancerToSubnetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
968
918
|
if (output.statusCode >= 300) {
|
|
969
|
-
return
|
|
919
|
+
return de_CommandError(output, context);
|
|
970
920
|
}
|
|
971
921
|
const data = await parseBody(output.body, context);
|
|
972
922
|
let contents = {};
|
|
@@ -977,37 +927,9 @@ var de_AttachLoadBalancerToSubnetsCommand = /* @__PURE__ */ __name(async (output
|
|
|
977
927
|
};
|
|
978
928
|
return response;
|
|
979
929
|
}, "de_AttachLoadBalancerToSubnetsCommand");
|
|
980
|
-
var de_AttachLoadBalancerToSubnetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
981
|
-
const parsedOutput = {
|
|
982
|
-
...output,
|
|
983
|
-
body: await parseErrorBody(output.body, context)
|
|
984
|
-
};
|
|
985
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
986
|
-
switch (errorCode) {
|
|
987
|
-
case "InvalidConfigurationRequest":
|
|
988
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
989
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
990
|
-
case "InvalidSubnet":
|
|
991
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException":
|
|
992
|
-
throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
|
|
993
|
-
case "LoadBalancerNotFound":
|
|
994
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
995
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
996
|
-
case "SubnetNotFound":
|
|
997
|
-
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException":
|
|
998
|
-
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
999
|
-
default:
|
|
1000
|
-
const parsedBody = parsedOutput.body;
|
|
1001
|
-
return throwDefaultError({
|
|
1002
|
-
output,
|
|
1003
|
-
parsedBody: parsedBody.Error,
|
|
1004
|
-
errorCode
|
|
1005
|
-
});
|
|
1006
|
-
}
|
|
1007
|
-
}, "de_AttachLoadBalancerToSubnetsCommandError");
|
|
1008
930
|
var de_ConfigureHealthCheckCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1009
931
|
if (output.statusCode >= 300) {
|
|
1010
|
-
return
|
|
932
|
+
return de_CommandError(output, context);
|
|
1011
933
|
}
|
|
1012
934
|
const data = await parseBody(output.body, context);
|
|
1013
935
|
let contents = {};
|
|
@@ -1018,28 +940,9 @@ var de_ConfigureHealthCheckCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
1018
940
|
};
|
|
1019
941
|
return response;
|
|
1020
942
|
}, "de_ConfigureHealthCheckCommand");
|
|
1021
|
-
var de_ConfigureHealthCheckCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1022
|
-
const parsedOutput = {
|
|
1023
|
-
...output,
|
|
1024
|
-
body: await parseErrorBody(output.body, context)
|
|
1025
|
-
};
|
|
1026
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1027
|
-
switch (errorCode) {
|
|
1028
|
-
case "LoadBalancerNotFound":
|
|
1029
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1030
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1031
|
-
default:
|
|
1032
|
-
const parsedBody = parsedOutput.body;
|
|
1033
|
-
return throwDefaultError({
|
|
1034
|
-
output,
|
|
1035
|
-
parsedBody: parsedBody.Error,
|
|
1036
|
-
errorCode
|
|
1037
|
-
});
|
|
1038
|
-
}
|
|
1039
|
-
}, "de_ConfigureHealthCheckCommandError");
|
|
1040
943
|
var de_CreateAppCookieStickinessPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1041
944
|
if (output.statusCode >= 300) {
|
|
1042
|
-
return
|
|
945
|
+
return de_CommandError(output, context);
|
|
1043
946
|
}
|
|
1044
947
|
const data = await parseBody(output.body, context);
|
|
1045
948
|
let contents = {};
|
|
@@ -1050,37 +953,9 @@ var de_CreateAppCookieStickinessPolicyCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1050
953
|
};
|
|
1051
954
|
return response;
|
|
1052
955
|
}, "de_CreateAppCookieStickinessPolicyCommand");
|
|
1053
|
-
var de_CreateAppCookieStickinessPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1054
|
-
const parsedOutput = {
|
|
1055
|
-
...output,
|
|
1056
|
-
body: await parseErrorBody(output.body, context)
|
|
1057
|
-
};
|
|
1058
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1059
|
-
switch (errorCode) {
|
|
1060
|
-
case "DuplicatePolicyName":
|
|
1061
|
-
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
1062
|
-
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
1063
|
-
case "InvalidConfigurationRequest":
|
|
1064
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1065
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1066
|
-
case "LoadBalancerNotFound":
|
|
1067
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1068
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1069
|
-
case "TooManyPolicies":
|
|
1070
|
-
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
1071
|
-
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
1072
|
-
default:
|
|
1073
|
-
const parsedBody = parsedOutput.body;
|
|
1074
|
-
return throwDefaultError({
|
|
1075
|
-
output,
|
|
1076
|
-
parsedBody: parsedBody.Error,
|
|
1077
|
-
errorCode
|
|
1078
|
-
});
|
|
1079
|
-
}
|
|
1080
|
-
}, "de_CreateAppCookieStickinessPolicyCommandError");
|
|
1081
956
|
var de_CreateLBCookieStickinessPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1082
957
|
if (output.statusCode >= 300) {
|
|
1083
|
-
return
|
|
958
|
+
return de_CommandError(output, context);
|
|
1084
959
|
}
|
|
1085
960
|
const data = await parseBody(output.body, context);
|
|
1086
961
|
let contents = {};
|
|
@@ -1091,37 +966,9 @@ var de_CreateLBCookieStickinessPolicyCommand = /* @__PURE__ */ __name(async (out
|
|
|
1091
966
|
};
|
|
1092
967
|
return response;
|
|
1093
968
|
}, "de_CreateLBCookieStickinessPolicyCommand");
|
|
1094
|
-
var de_CreateLBCookieStickinessPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1095
|
-
const parsedOutput = {
|
|
1096
|
-
...output,
|
|
1097
|
-
body: await parseErrorBody(output.body, context)
|
|
1098
|
-
};
|
|
1099
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1100
|
-
switch (errorCode) {
|
|
1101
|
-
case "DuplicatePolicyName":
|
|
1102
|
-
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
1103
|
-
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
1104
|
-
case "InvalidConfigurationRequest":
|
|
1105
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1106
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1107
|
-
case "LoadBalancerNotFound":
|
|
1108
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1109
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1110
|
-
case "TooManyPolicies":
|
|
1111
|
-
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
1112
|
-
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
1113
|
-
default:
|
|
1114
|
-
const parsedBody = parsedOutput.body;
|
|
1115
|
-
return throwDefaultError({
|
|
1116
|
-
output,
|
|
1117
|
-
parsedBody: parsedBody.Error,
|
|
1118
|
-
errorCode
|
|
1119
|
-
});
|
|
1120
|
-
}
|
|
1121
|
-
}, "de_CreateLBCookieStickinessPolicyCommandError");
|
|
1122
969
|
var de_CreateLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1123
970
|
if (output.statusCode >= 300) {
|
|
1124
|
-
return
|
|
971
|
+
return de_CommandError(output, context);
|
|
1125
972
|
}
|
|
1126
973
|
const data = await parseBody(output.body, context);
|
|
1127
974
|
let contents = {};
|
|
@@ -1132,61 +979,9 @@ var de_CreateLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1132
979
|
};
|
|
1133
980
|
return response;
|
|
1134
981
|
}, "de_CreateLoadBalancerCommand");
|
|
1135
|
-
var de_CreateLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1136
|
-
const parsedOutput = {
|
|
1137
|
-
...output,
|
|
1138
|
-
body: await parseErrorBody(output.body, context)
|
|
1139
|
-
};
|
|
1140
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1141
|
-
switch (errorCode) {
|
|
1142
|
-
case "CertificateNotFound":
|
|
1143
|
-
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
1144
|
-
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
1145
|
-
case "DuplicateLoadBalancerName":
|
|
1146
|
-
case "com.amazonaws.elasticloadbalancing#DuplicateAccessPointNameException":
|
|
1147
|
-
throw await de_DuplicateAccessPointNameExceptionRes(parsedOutput, context);
|
|
1148
|
-
case "DuplicateTagKeys":
|
|
1149
|
-
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException":
|
|
1150
|
-
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1151
|
-
case "InvalidConfigurationRequest":
|
|
1152
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1153
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1154
|
-
case "InvalidScheme":
|
|
1155
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSchemeException":
|
|
1156
|
-
throw await de_InvalidSchemeExceptionRes(parsedOutput, context);
|
|
1157
|
-
case "InvalidSecurityGroup":
|
|
1158
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException":
|
|
1159
|
-
throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
|
|
1160
|
-
case "InvalidSubnet":
|
|
1161
|
-
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException":
|
|
1162
|
-
throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
|
|
1163
|
-
case "OperationNotPermitted":
|
|
1164
|
-
case "com.amazonaws.elasticloadbalancing#OperationNotPermittedException":
|
|
1165
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1166
|
-
case "SubnetNotFound":
|
|
1167
|
-
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException":
|
|
1168
|
-
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
1169
|
-
case "TooManyLoadBalancers":
|
|
1170
|
-
case "com.amazonaws.elasticloadbalancing#TooManyAccessPointsException":
|
|
1171
|
-
throw await de_TooManyAccessPointsExceptionRes(parsedOutput, context);
|
|
1172
|
-
case "TooManyTags":
|
|
1173
|
-
case "com.amazonaws.elasticloadbalancing#TooManyTagsException":
|
|
1174
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1175
|
-
case "UnsupportedProtocol":
|
|
1176
|
-
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
1177
|
-
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1178
|
-
default:
|
|
1179
|
-
const parsedBody = parsedOutput.body;
|
|
1180
|
-
return throwDefaultError({
|
|
1181
|
-
output,
|
|
1182
|
-
parsedBody: parsedBody.Error,
|
|
1183
|
-
errorCode
|
|
1184
|
-
});
|
|
1185
|
-
}
|
|
1186
|
-
}, "de_CreateLoadBalancerCommandError");
|
|
1187
982
|
var de_CreateLoadBalancerListenersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1188
983
|
if (output.statusCode >= 300) {
|
|
1189
|
-
return
|
|
984
|
+
return de_CommandError(output, context);
|
|
1190
985
|
}
|
|
1191
986
|
const data = await parseBody(output.body, context);
|
|
1192
987
|
let contents = {};
|
|
@@ -1197,40 +992,9 @@ var de_CreateLoadBalancerListenersCommand = /* @__PURE__ */ __name(async (output
|
|
|
1197
992
|
};
|
|
1198
993
|
return response;
|
|
1199
994
|
}, "de_CreateLoadBalancerListenersCommand");
|
|
1200
|
-
var de_CreateLoadBalancerListenersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1201
|
-
const parsedOutput = {
|
|
1202
|
-
...output,
|
|
1203
|
-
body: await parseErrorBody(output.body, context)
|
|
1204
|
-
};
|
|
1205
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1206
|
-
switch (errorCode) {
|
|
1207
|
-
case "CertificateNotFound":
|
|
1208
|
-
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
1209
|
-
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
1210
|
-
case "DuplicateListener":
|
|
1211
|
-
case "com.amazonaws.elasticloadbalancing#DuplicateListenerException":
|
|
1212
|
-
throw await de_DuplicateListenerExceptionRes(parsedOutput, context);
|
|
1213
|
-
case "InvalidConfigurationRequest":
|
|
1214
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1215
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1216
|
-
case "LoadBalancerNotFound":
|
|
1217
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1218
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1219
|
-
case "UnsupportedProtocol":
|
|
1220
|
-
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
1221
|
-
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1222
|
-
default:
|
|
1223
|
-
const parsedBody = parsedOutput.body;
|
|
1224
|
-
return throwDefaultError({
|
|
1225
|
-
output,
|
|
1226
|
-
parsedBody: parsedBody.Error,
|
|
1227
|
-
errorCode
|
|
1228
|
-
});
|
|
1229
|
-
}
|
|
1230
|
-
}, "de_CreateLoadBalancerListenersCommandError");
|
|
1231
995
|
var de_CreateLoadBalancerPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1232
996
|
if (output.statusCode >= 300) {
|
|
1233
|
-
return
|
|
997
|
+
return de_CommandError(output, context);
|
|
1234
998
|
}
|
|
1235
999
|
const data = await parseBody(output.body, context);
|
|
1236
1000
|
let contents = {};
|
|
@@ -1241,40 +1005,9 @@ var de_CreateLoadBalancerPolicyCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1241
1005
|
};
|
|
1242
1006
|
return response;
|
|
1243
1007
|
}, "de_CreateLoadBalancerPolicyCommand");
|
|
1244
|
-
var de_CreateLoadBalancerPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1245
|
-
const parsedOutput = {
|
|
1246
|
-
...output,
|
|
1247
|
-
body: await parseErrorBody(output.body, context)
|
|
1248
|
-
};
|
|
1249
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1250
|
-
switch (errorCode) {
|
|
1251
|
-
case "DuplicatePolicyName":
|
|
1252
|
-
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
1253
|
-
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
1254
|
-
case "InvalidConfigurationRequest":
|
|
1255
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1256
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1257
|
-
case "LoadBalancerNotFound":
|
|
1258
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1259
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1260
|
-
case "PolicyTypeNotFound":
|
|
1261
|
-
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException":
|
|
1262
|
-
throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
|
|
1263
|
-
case "TooManyPolicies":
|
|
1264
|
-
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
1265
|
-
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
1266
|
-
default:
|
|
1267
|
-
const parsedBody = parsedOutput.body;
|
|
1268
|
-
return throwDefaultError({
|
|
1269
|
-
output,
|
|
1270
|
-
parsedBody: parsedBody.Error,
|
|
1271
|
-
errorCode
|
|
1272
|
-
});
|
|
1273
|
-
}
|
|
1274
|
-
}, "de_CreateLoadBalancerPolicyCommandError");
|
|
1275
1008
|
var de_DeleteLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1276
1009
|
if (output.statusCode >= 300) {
|
|
1277
|
-
return
|
|
1010
|
+
return de_CommandError(output, context);
|
|
1278
1011
|
}
|
|
1279
1012
|
const data = await parseBody(output.body, context);
|
|
1280
1013
|
let contents = {};
|
|
@@ -1285,22 +1018,9 @@ var de_DeleteLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1285
1018
|
};
|
|
1286
1019
|
return response;
|
|
1287
1020
|
}, "de_DeleteLoadBalancerCommand");
|
|
1288
|
-
var de_DeleteLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1289
|
-
const parsedOutput = {
|
|
1290
|
-
...output,
|
|
1291
|
-
body: await parseErrorBody(output.body, context)
|
|
1292
|
-
};
|
|
1293
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1294
|
-
const parsedBody = parsedOutput.body;
|
|
1295
|
-
return throwDefaultError({
|
|
1296
|
-
output,
|
|
1297
|
-
parsedBody: parsedBody.Error,
|
|
1298
|
-
errorCode
|
|
1299
|
-
});
|
|
1300
|
-
}, "de_DeleteLoadBalancerCommandError");
|
|
1301
1021
|
var de_DeleteLoadBalancerListenersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1302
1022
|
if (output.statusCode >= 300) {
|
|
1303
|
-
return
|
|
1023
|
+
return de_CommandError(output, context);
|
|
1304
1024
|
}
|
|
1305
1025
|
const data = await parseBody(output.body, context);
|
|
1306
1026
|
let contents = {};
|
|
@@ -1311,28 +1031,9 @@ var de_DeleteLoadBalancerListenersCommand = /* @__PURE__ */ __name(async (output
|
|
|
1311
1031
|
};
|
|
1312
1032
|
return response;
|
|
1313
1033
|
}, "de_DeleteLoadBalancerListenersCommand");
|
|
1314
|
-
var de_DeleteLoadBalancerListenersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1315
|
-
const parsedOutput = {
|
|
1316
|
-
...output,
|
|
1317
|
-
body: await parseErrorBody(output.body, context)
|
|
1318
|
-
};
|
|
1319
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1320
|
-
switch (errorCode) {
|
|
1321
|
-
case "LoadBalancerNotFound":
|
|
1322
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1323
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1324
|
-
default:
|
|
1325
|
-
const parsedBody = parsedOutput.body;
|
|
1326
|
-
return throwDefaultError({
|
|
1327
|
-
output,
|
|
1328
|
-
parsedBody: parsedBody.Error,
|
|
1329
|
-
errorCode
|
|
1330
|
-
});
|
|
1331
|
-
}
|
|
1332
|
-
}, "de_DeleteLoadBalancerListenersCommandError");
|
|
1333
1034
|
var de_DeleteLoadBalancerPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1334
1035
|
if (output.statusCode >= 300) {
|
|
1335
|
-
return
|
|
1036
|
+
return de_CommandError(output, context);
|
|
1336
1037
|
}
|
|
1337
1038
|
const data = await parseBody(output.body, context);
|
|
1338
1039
|
let contents = {};
|
|
@@ -1343,31 +1044,9 @@ var de_DeleteLoadBalancerPolicyCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1343
1044
|
};
|
|
1344
1045
|
return response;
|
|
1345
1046
|
}, "de_DeleteLoadBalancerPolicyCommand");
|
|
1346
|
-
var de_DeleteLoadBalancerPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1347
|
-
const parsedOutput = {
|
|
1348
|
-
...output,
|
|
1349
|
-
body: await parseErrorBody(output.body, context)
|
|
1350
|
-
};
|
|
1351
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1352
|
-
switch (errorCode) {
|
|
1353
|
-
case "InvalidConfigurationRequest":
|
|
1354
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1355
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1356
|
-
case "LoadBalancerNotFound":
|
|
1357
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1358
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1359
|
-
default:
|
|
1360
|
-
const parsedBody = parsedOutput.body;
|
|
1361
|
-
return throwDefaultError({
|
|
1362
|
-
output,
|
|
1363
|
-
parsedBody: parsedBody.Error,
|
|
1364
|
-
errorCode
|
|
1365
|
-
});
|
|
1366
|
-
}
|
|
1367
|
-
}, "de_DeleteLoadBalancerPolicyCommandError");
|
|
1368
1047
|
var de_DeregisterInstancesFromLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1369
1048
|
if (output.statusCode >= 300) {
|
|
1370
|
-
return
|
|
1049
|
+
return de_CommandError(output, context);
|
|
1371
1050
|
}
|
|
1372
1051
|
const data = await parseBody(output.body, context);
|
|
1373
1052
|
let contents = {};
|
|
@@ -1378,31 +1057,9 @@ var de_DeregisterInstancesFromLoadBalancerCommand = /* @__PURE__ */ __name(async
|
|
|
1378
1057
|
};
|
|
1379
1058
|
return response;
|
|
1380
1059
|
}, "de_DeregisterInstancesFromLoadBalancerCommand");
|
|
1381
|
-
var de_DeregisterInstancesFromLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1382
|
-
const parsedOutput = {
|
|
1383
|
-
...output,
|
|
1384
|
-
body: await parseErrorBody(output.body, context)
|
|
1385
|
-
};
|
|
1386
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1387
|
-
switch (errorCode) {
|
|
1388
|
-
case "InvalidInstance":
|
|
1389
|
-
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
1390
|
-
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
1391
|
-
case "LoadBalancerNotFound":
|
|
1392
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1393
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1394
|
-
default:
|
|
1395
|
-
const parsedBody = parsedOutput.body;
|
|
1396
|
-
return throwDefaultError({
|
|
1397
|
-
output,
|
|
1398
|
-
parsedBody: parsedBody.Error,
|
|
1399
|
-
errorCode
|
|
1400
|
-
});
|
|
1401
|
-
}
|
|
1402
|
-
}, "de_DeregisterInstancesFromLoadBalancerCommandError");
|
|
1403
1060
|
var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1404
1061
|
if (output.statusCode >= 300) {
|
|
1405
|
-
return
|
|
1062
|
+
return de_CommandError(output, context);
|
|
1406
1063
|
}
|
|
1407
1064
|
const data = await parseBody(output.body, context);
|
|
1408
1065
|
let contents = {};
|
|
@@ -1413,22 +1070,9 @@ var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1413
1070
|
};
|
|
1414
1071
|
return response;
|
|
1415
1072
|
}, "de_DescribeAccountLimitsCommand");
|
|
1416
|
-
var de_DescribeAccountLimitsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1417
|
-
const parsedOutput = {
|
|
1418
|
-
...output,
|
|
1419
|
-
body: await parseErrorBody(output.body, context)
|
|
1420
|
-
};
|
|
1421
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1422
|
-
const parsedBody = parsedOutput.body;
|
|
1423
|
-
return throwDefaultError({
|
|
1424
|
-
output,
|
|
1425
|
-
parsedBody: parsedBody.Error,
|
|
1426
|
-
errorCode
|
|
1427
|
-
});
|
|
1428
|
-
}, "de_DescribeAccountLimitsCommandError");
|
|
1429
1073
|
var de_DescribeInstanceHealthCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1430
1074
|
if (output.statusCode >= 300) {
|
|
1431
|
-
return
|
|
1075
|
+
return de_CommandError(output, context);
|
|
1432
1076
|
}
|
|
1433
1077
|
const data = await parseBody(output.body, context);
|
|
1434
1078
|
let contents = {};
|
|
@@ -1439,31 +1083,9 @@ var de_DescribeInstanceHealthCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1439
1083
|
};
|
|
1440
1084
|
return response;
|
|
1441
1085
|
}, "de_DescribeInstanceHealthCommand");
|
|
1442
|
-
var de_DescribeInstanceHealthCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1443
|
-
const parsedOutput = {
|
|
1444
|
-
...output,
|
|
1445
|
-
body: await parseErrorBody(output.body, context)
|
|
1446
|
-
};
|
|
1447
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1448
|
-
switch (errorCode) {
|
|
1449
|
-
case "InvalidInstance":
|
|
1450
|
-
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
1451
|
-
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
1452
|
-
case "LoadBalancerNotFound":
|
|
1453
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1454
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1455
|
-
default:
|
|
1456
|
-
const parsedBody = parsedOutput.body;
|
|
1457
|
-
return throwDefaultError({
|
|
1458
|
-
output,
|
|
1459
|
-
parsedBody: parsedBody.Error,
|
|
1460
|
-
errorCode
|
|
1461
|
-
});
|
|
1462
|
-
}
|
|
1463
|
-
}, "de_DescribeInstanceHealthCommandError");
|
|
1464
1086
|
var de_DescribeLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1465
1087
|
if (output.statusCode >= 300) {
|
|
1466
|
-
return
|
|
1088
|
+
return de_CommandError(output, context);
|
|
1467
1089
|
}
|
|
1468
1090
|
const data = await parseBody(output.body, context);
|
|
1469
1091
|
let contents = {};
|
|
@@ -1474,31 +1096,9 @@ var de_DescribeLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (out
|
|
|
1474
1096
|
};
|
|
1475
1097
|
return response;
|
|
1476
1098
|
}, "de_DescribeLoadBalancerAttributesCommand");
|
|
1477
|
-
var de_DescribeLoadBalancerAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1478
|
-
const parsedOutput = {
|
|
1479
|
-
...output,
|
|
1480
|
-
body: await parseErrorBody(output.body, context)
|
|
1481
|
-
};
|
|
1482
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1483
|
-
switch (errorCode) {
|
|
1484
|
-
case "LoadBalancerAttributeNotFound":
|
|
1485
|
-
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException":
|
|
1486
|
-
throw await de_LoadBalancerAttributeNotFoundExceptionRes(parsedOutput, context);
|
|
1487
|
-
case "LoadBalancerNotFound":
|
|
1488
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1489
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1490
|
-
default:
|
|
1491
|
-
const parsedBody = parsedOutput.body;
|
|
1492
|
-
return throwDefaultError({
|
|
1493
|
-
output,
|
|
1494
|
-
parsedBody: parsedBody.Error,
|
|
1495
|
-
errorCode
|
|
1496
|
-
});
|
|
1497
|
-
}
|
|
1498
|
-
}, "de_DescribeLoadBalancerAttributesCommandError");
|
|
1499
1099
|
var de_DescribeLoadBalancerPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1500
1100
|
if (output.statusCode >= 300) {
|
|
1501
|
-
return
|
|
1101
|
+
return de_CommandError(output, context);
|
|
1502
1102
|
}
|
|
1503
1103
|
const data = await parseBody(output.body, context);
|
|
1504
1104
|
let contents = {};
|
|
@@ -1509,31 +1109,9 @@ var de_DescribeLoadBalancerPoliciesCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1509
1109
|
};
|
|
1510
1110
|
return response;
|
|
1511
1111
|
}, "de_DescribeLoadBalancerPoliciesCommand");
|
|
1512
|
-
var de_DescribeLoadBalancerPoliciesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1513
|
-
const parsedOutput = {
|
|
1514
|
-
...output,
|
|
1515
|
-
body: await parseErrorBody(output.body, context)
|
|
1516
|
-
};
|
|
1517
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1518
|
-
switch (errorCode) {
|
|
1519
|
-
case "LoadBalancerNotFound":
|
|
1520
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1521
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1522
|
-
case "PolicyNotFound":
|
|
1523
|
-
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
|
|
1524
|
-
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1525
|
-
default:
|
|
1526
|
-
const parsedBody = parsedOutput.body;
|
|
1527
|
-
return throwDefaultError({
|
|
1528
|
-
output,
|
|
1529
|
-
parsedBody: parsedBody.Error,
|
|
1530
|
-
errorCode
|
|
1531
|
-
});
|
|
1532
|
-
}
|
|
1533
|
-
}, "de_DescribeLoadBalancerPoliciesCommandError");
|
|
1534
1112
|
var de_DescribeLoadBalancerPolicyTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1535
1113
|
if (output.statusCode >= 300) {
|
|
1536
|
-
return
|
|
1114
|
+
return de_CommandError(output, context);
|
|
1537
1115
|
}
|
|
1538
1116
|
const data = await parseBody(output.body, context);
|
|
1539
1117
|
let contents = {};
|
|
@@ -1544,63 +1122,22 @@ var de_DescribeLoadBalancerPolicyTypesCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1544
1122
|
};
|
|
1545
1123
|
return response;
|
|
1546
1124
|
}, "de_DescribeLoadBalancerPolicyTypesCommand");
|
|
1547
|
-
var de_DescribeLoadBalancerPolicyTypesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1548
|
-
const parsedOutput = {
|
|
1549
|
-
...output,
|
|
1550
|
-
body: await parseErrorBody(output.body, context)
|
|
1551
|
-
};
|
|
1552
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1553
|
-
switch (errorCode) {
|
|
1554
|
-
case "PolicyTypeNotFound":
|
|
1555
|
-
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException":
|
|
1556
|
-
throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
|
|
1557
|
-
default:
|
|
1558
|
-
const parsedBody = parsedOutput.body;
|
|
1559
|
-
return throwDefaultError({
|
|
1560
|
-
output,
|
|
1561
|
-
parsedBody: parsedBody.Error,
|
|
1562
|
-
errorCode
|
|
1563
|
-
});
|
|
1564
|
-
}
|
|
1565
|
-
}, "de_DescribeLoadBalancerPolicyTypesCommandError");
|
|
1566
1125
|
var de_DescribeLoadBalancersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1567
1126
|
if (output.statusCode >= 300) {
|
|
1568
|
-
return
|
|
1127
|
+
return de_CommandError(output, context);
|
|
1569
1128
|
}
|
|
1570
1129
|
const data = await parseBody(output.body, context);
|
|
1571
1130
|
let contents = {};
|
|
1572
1131
|
contents = de_DescribeAccessPointsOutput(data.DescribeLoadBalancersResult, context);
|
|
1573
1132
|
const response = {
|
|
1574
1133
|
$metadata: deserializeMetadata(output),
|
|
1575
|
-
...contents
|
|
1576
|
-
};
|
|
1577
|
-
return response;
|
|
1578
|
-
}, "de_DescribeLoadBalancersCommand");
|
|
1579
|
-
var de_DescribeLoadBalancersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1580
|
-
const parsedOutput = {
|
|
1581
|
-
...output,
|
|
1582
|
-
body: await parseErrorBody(output.body, context)
|
|
1583
|
-
};
|
|
1584
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1585
|
-
switch (errorCode) {
|
|
1586
|
-
case "DependencyThrottle":
|
|
1587
|
-
case "com.amazonaws.elasticloadbalancing#DependencyThrottleException":
|
|
1588
|
-
throw await de_DependencyThrottleExceptionRes(parsedOutput, context);
|
|
1589
|
-
case "LoadBalancerNotFound":
|
|
1590
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1591
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1592
|
-
default:
|
|
1593
|
-
const parsedBody = parsedOutput.body;
|
|
1594
|
-
return throwDefaultError({
|
|
1595
|
-
output,
|
|
1596
|
-
parsedBody: parsedBody.Error,
|
|
1597
|
-
errorCode
|
|
1598
|
-
});
|
|
1599
|
-
}
|
|
1600
|
-
}, "de_DescribeLoadBalancersCommandError");
|
|
1134
|
+
...contents
|
|
1135
|
+
};
|
|
1136
|
+
return response;
|
|
1137
|
+
}, "de_DescribeLoadBalancersCommand");
|
|
1601
1138
|
var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1602
1139
|
if (output.statusCode >= 300) {
|
|
1603
|
-
return
|
|
1140
|
+
return de_CommandError(output, context);
|
|
1604
1141
|
}
|
|
1605
1142
|
const data = await parseBody(output.body, context);
|
|
1606
1143
|
let contents = {};
|
|
@@ -1611,28 +1148,9 @@ var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1611
1148
|
};
|
|
1612
1149
|
return response;
|
|
1613
1150
|
}, "de_DescribeTagsCommand");
|
|
1614
|
-
var de_DescribeTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1615
|
-
const parsedOutput = {
|
|
1616
|
-
...output,
|
|
1617
|
-
body: await parseErrorBody(output.body, context)
|
|
1618
|
-
};
|
|
1619
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1620
|
-
switch (errorCode) {
|
|
1621
|
-
case "LoadBalancerNotFound":
|
|
1622
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1623
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1624
|
-
default:
|
|
1625
|
-
const parsedBody = parsedOutput.body;
|
|
1626
|
-
return throwDefaultError({
|
|
1627
|
-
output,
|
|
1628
|
-
parsedBody: parsedBody.Error,
|
|
1629
|
-
errorCode
|
|
1630
|
-
});
|
|
1631
|
-
}
|
|
1632
|
-
}, "de_DescribeTagsCommandError");
|
|
1633
1151
|
var de_DetachLoadBalancerFromSubnetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1634
1152
|
if (output.statusCode >= 300) {
|
|
1635
|
-
return
|
|
1153
|
+
return de_CommandError(output, context);
|
|
1636
1154
|
}
|
|
1637
1155
|
const data = await parseBody(output.body, context);
|
|
1638
1156
|
let contents = {};
|
|
@@ -1643,31 +1161,9 @@ var de_DetachLoadBalancerFromSubnetsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
1643
1161
|
};
|
|
1644
1162
|
return response;
|
|
1645
1163
|
}, "de_DetachLoadBalancerFromSubnetsCommand");
|
|
1646
|
-
var de_DetachLoadBalancerFromSubnetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1647
|
-
const parsedOutput = {
|
|
1648
|
-
...output,
|
|
1649
|
-
body: await parseErrorBody(output.body, context)
|
|
1650
|
-
};
|
|
1651
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1652
|
-
switch (errorCode) {
|
|
1653
|
-
case "InvalidConfigurationRequest":
|
|
1654
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1655
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1656
|
-
case "LoadBalancerNotFound":
|
|
1657
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1658
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1659
|
-
default:
|
|
1660
|
-
const parsedBody = parsedOutput.body;
|
|
1661
|
-
return throwDefaultError({
|
|
1662
|
-
output,
|
|
1663
|
-
parsedBody: parsedBody.Error,
|
|
1664
|
-
errorCode
|
|
1665
|
-
});
|
|
1666
|
-
}
|
|
1667
|
-
}, "de_DetachLoadBalancerFromSubnetsCommandError");
|
|
1668
1164
|
var de_DisableAvailabilityZonesForLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1669
1165
|
if (output.statusCode >= 300) {
|
|
1670
|
-
return
|
|
1166
|
+
return de_CommandError(output, context);
|
|
1671
1167
|
}
|
|
1672
1168
|
const data = await parseBody(output.body, context);
|
|
1673
1169
|
let contents = {};
|
|
@@ -1678,31 +1174,9 @@ var de_DisableAvailabilityZonesForLoadBalancerCommand = /* @__PURE__ */ __name(a
|
|
|
1678
1174
|
};
|
|
1679
1175
|
return response;
|
|
1680
1176
|
}, "de_DisableAvailabilityZonesForLoadBalancerCommand");
|
|
1681
|
-
var de_DisableAvailabilityZonesForLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1682
|
-
const parsedOutput = {
|
|
1683
|
-
...output,
|
|
1684
|
-
body: await parseErrorBody(output.body, context)
|
|
1685
|
-
};
|
|
1686
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1687
|
-
switch (errorCode) {
|
|
1688
|
-
case "InvalidConfigurationRequest":
|
|
1689
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1690
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1691
|
-
case "LoadBalancerNotFound":
|
|
1692
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1693
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1694
|
-
default:
|
|
1695
|
-
const parsedBody = parsedOutput.body;
|
|
1696
|
-
return throwDefaultError({
|
|
1697
|
-
output,
|
|
1698
|
-
parsedBody: parsedBody.Error,
|
|
1699
|
-
errorCode
|
|
1700
|
-
});
|
|
1701
|
-
}
|
|
1702
|
-
}, "de_DisableAvailabilityZonesForLoadBalancerCommandError");
|
|
1703
1177
|
var de_EnableAvailabilityZonesForLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1704
1178
|
if (output.statusCode >= 300) {
|
|
1705
|
-
return
|
|
1179
|
+
return de_CommandError(output, context);
|
|
1706
1180
|
}
|
|
1707
1181
|
const data = await parseBody(output.body, context);
|
|
1708
1182
|
let contents = {};
|
|
@@ -1713,28 +1187,9 @@ var de_EnableAvailabilityZonesForLoadBalancerCommand = /* @__PURE__ */ __name(as
|
|
|
1713
1187
|
};
|
|
1714
1188
|
return response;
|
|
1715
1189
|
}, "de_EnableAvailabilityZonesForLoadBalancerCommand");
|
|
1716
|
-
var de_EnableAvailabilityZonesForLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1717
|
-
const parsedOutput = {
|
|
1718
|
-
...output,
|
|
1719
|
-
body: await parseErrorBody(output.body, context)
|
|
1720
|
-
};
|
|
1721
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1722
|
-
switch (errorCode) {
|
|
1723
|
-
case "LoadBalancerNotFound":
|
|
1724
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1725
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1726
|
-
default:
|
|
1727
|
-
const parsedBody = parsedOutput.body;
|
|
1728
|
-
return throwDefaultError({
|
|
1729
|
-
output,
|
|
1730
|
-
parsedBody: parsedBody.Error,
|
|
1731
|
-
errorCode
|
|
1732
|
-
});
|
|
1733
|
-
}
|
|
1734
|
-
}, "de_EnableAvailabilityZonesForLoadBalancerCommandError");
|
|
1735
1190
|
var de_ModifyLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1736
1191
|
if (output.statusCode >= 300) {
|
|
1737
|
-
return
|
|
1192
|
+
return de_CommandError(output, context);
|
|
1738
1193
|
}
|
|
1739
1194
|
const data = await parseBody(output.body, context);
|
|
1740
1195
|
let contents = {};
|
|
@@ -1745,34 +1200,9 @@ var de_ModifyLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1745
1200
|
};
|
|
1746
1201
|
return response;
|
|
1747
1202
|
}, "de_ModifyLoadBalancerAttributesCommand");
|
|
1748
|
-
var de_ModifyLoadBalancerAttributesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1749
|
-
const parsedOutput = {
|
|
1750
|
-
...output,
|
|
1751
|
-
body: await parseErrorBody(output.body, context)
|
|
1752
|
-
};
|
|
1753
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1754
|
-
switch (errorCode) {
|
|
1755
|
-
case "InvalidConfigurationRequest":
|
|
1756
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1757
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1758
|
-
case "LoadBalancerAttributeNotFound":
|
|
1759
|
-
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException":
|
|
1760
|
-
throw await de_LoadBalancerAttributeNotFoundExceptionRes(parsedOutput, context);
|
|
1761
|
-
case "LoadBalancerNotFound":
|
|
1762
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1763
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1764
|
-
default:
|
|
1765
|
-
const parsedBody = parsedOutput.body;
|
|
1766
|
-
return throwDefaultError({
|
|
1767
|
-
output,
|
|
1768
|
-
parsedBody: parsedBody.Error,
|
|
1769
|
-
errorCode
|
|
1770
|
-
});
|
|
1771
|
-
}
|
|
1772
|
-
}, "de_ModifyLoadBalancerAttributesCommandError");
|
|
1773
1203
|
var de_RegisterInstancesWithLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1774
1204
|
if (output.statusCode >= 300) {
|
|
1775
|
-
return
|
|
1205
|
+
return de_CommandError(output, context);
|
|
1776
1206
|
}
|
|
1777
1207
|
const data = await parseBody(output.body, context);
|
|
1778
1208
|
let contents = {};
|
|
@@ -1783,31 +1213,9 @@ var de_RegisterInstancesWithLoadBalancerCommand = /* @__PURE__ */ __name(async (
|
|
|
1783
1213
|
};
|
|
1784
1214
|
return response;
|
|
1785
1215
|
}, "de_RegisterInstancesWithLoadBalancerCommand");
|
|
1786
|
-
var de_RegisterInstancesWithLoadBalancerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1787
|
-
const parsedOutput = {
|
|
1788
|
-
...output,
|
|
1789
|
-
body: await parseErrorBody(output.body, context)
|
|
1790
|
-
};
|
|
1791
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1792
|
-
switch (errorCode) {
|
|
1793
|
-
case "InvalidInstance":
|
|
1794
|
-
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
1795
|
-
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
1796
|
-
case "LoadBalancerNotFound":
|
|
1797
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1798
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1799
|
-
default:
|
|
1800
|
-
const parsedBody = parsedOutput.body;
|
|
1801
|
-
return throwDefaultError({
|
|
1802
|
-
output,
|
|
1803
|
-
parsedBody: parsedBody.Error,
|
|
1804
|
-
errorCode
|
|
1805
|
-
});
|
|
1806
|
-
}
|
|
1807
|
-
}, "de_RegisterInstancesWithLoadBalancerCommandError");
|
|
1808
1216
|
var de_RemoveTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1809
1217
|
if (output.statusCode >= 300) {
|
|
1810
|
-
return
|
|
1218
|
+
return de_CommandError(output, context);
|
|
1811
1219
|
}
|
|
1812
1220
|
const data = await parseBody(output.body, context);
|
|
1813
1221
|
let contents = {};
|
|
@@ -1818,28 +1226,9 @@ var de_RemoveTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1818
1226
|
};
|
|
1819
1227
|
return response;
|
|
1820
1228
|
}, "de_RemoveTagsCommand");
|
|
1821
|
-
var de_RemoveTagsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1822
|
-
const parsedOutput = {
|
|
1823
|
-
...output,
|
|
1824
|
-
body: await parseErrorBody(output.body, context)
|
|
1825
|
-
};
|
|
1826
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1827
|
-
switch (errorCode) {
|
|
1828
|
-
case "LoadBalancerNotFound":
|
|
1829
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1830
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1831
|
-
default:
|
|
1832
|
-
const parsedBody = parsedOutput.body;
|
|
1833
|
-
return throwDefaultError({
|
|
1834
|
-
output,
|
|
1835
|
-
parsedBody: parsedBody.Error,
|
|
1836
|
-
errorCode
|
|
1837
|
-
});
|
|
1838
|
-
}
|
|
1839
|
-
}, "de_RemoveTagsCommandError");
|
|
1840
1229
|
var de_SetLoadBalancerListenerSSLCertificateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1841
1230
|
if (output.statusCode >= 300) {
|
|
1842
|
-
return
|
|
1231
|
+
return de_CommandError(output, context);
|
|
1843
1232
|
}
|
|
1844
1233
|
const data = await parseBody(output.body, context);
|
|
1845
1234
|
let contents = {};
|
|
@@ -1850,40 +1239,9 @@ var de_SetLoadBalancerListenerSSLCertificateCommand = /* @__PURE__ */ __name(asy
|
|
|
1850
1239
|
};
|
|
1851
1240
|
return response;
|
|
1852
1241
|
}, "de_SetLoadBalancerListenerSSLCertificateCommand");
|
|
1853
|
-
var de_SetLoadBalancerListenerSSLCertificateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1854
|
-
const parsedOutput = {
|
|
1855
|
-
...output,
|
|
1856
|
-
body: await parseErrorBody(output.body, context)
|
|
1857
|
-
};
|
|
1858
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1859
|
-
switch (errorCode) {
|
|
1860
|
-
case "CertificateNotFound":
|
|
1861
|
-
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
1862
|
-
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
1863
|
-
case "InvalidConfigurationRequest":
|
|
1864
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1865
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1866
|
-
case "ListenerNotFound":
|
|
1867
|
-
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException":
|
|
1868
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1869
|
-
case "LoadBalancerNotFound":
|
|
1870
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1871
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1872
|
-
case "UnsupportedProtocol":
|
|
1873
|
-
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
1874
|
-
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1875
|
-
default:
|
|
1876
|
-
const parsedBody = parsedOutput.body;
|
|
1877
|
-
return throwDefaultError({
|
|
1878
|
-
output,
|
|
1879
|
-
parsedBody: parsedBody.Error,
|
|
1880
|
-
errorCode
|
|
1881
|
-
});
|
|
1882
|
-
}
|
|
1883
|
-
}, "de_SetLoadBalancerListenerSSLCertificateCommandError");
|
|
1884
1242
|
var de_SetLoadBalancerPoliciesForBackendServerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1885
1243
|
if (output.statusCode >= 300) {
|
|
1886
|
-
return
|
|
1244
|
+
return de_CommandError(output, context);
|
|
1887
1245
|
}
|
|
1888
1246
|
const data = await parseBody(output.body, context);
|
|
1889
1247
|
let contents = {};
|
|
@@ -1897,34 +1255,9 @@ var de_SetLoadBalancerPoliciesForBackendServerCommand = /* @__PURE__ */ __name(a
|
|
|
1897
1255
|
};
|
|
1898
1256
|
return response;
|
|
1899
1257
|
}, "de_SetLoadBalancerPoliciesForBackendServerCommand");
|
|
1900
|
-
var de_SetLoadBalancerPoliciesForBackendServerCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1901
|
-
const parsedOutput = {
|
|
1902
|
-
...output,
|
|
1903
|
-
body: await parseErrorBody(output.body, context)
|
|
1904
|
-
};
|
|
1905
|
-
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1906
|
-
switch (errorCode) {
|
|
1907
|
-
case "InvalidConfigurationRequest":
|
|
1908
|
-
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1909
|
-
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1910
|
-
case "LoadBalancerNotFound":
|
|
1911
|
-
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1912
|
-
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1913
|
-
case "PolicyNotFound":
|
|
1914
|
-
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
|
|
1915
|
-
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1916
|
-
default:
|
|
1917
|
-
const parsedBody = parsedOutput.body;
|
|
1918
|
-
return throwDefaultError({
|
|
1919
|
-
output,
|
|
1920
|
-
parsedBody: parsedBody.Error,
|
|
1921
|
-
errorCode
|
|
1922
|
-
});
|
|
1923
|
-
}
|
|
1924
|
-
}, "de_SetLoadBalancerPoliciesForBackendServerCommandError");
|
|
1925
1258
|
var de_SetLoadBalancerPoliciesOfListenerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1926
1259
|
if (output.statusCode >= 300) {
|
|
1927
|
-
return
|
|
1260
|
+
return de_CommandError(output, context);
|
|
1928
1261
|
}
|
|
1929
1262
|
const data = await parseBody(output.body, context);
|
|
1930
1263
|
let contents = {};
|
|
@@ -1935,25 +1268,79 @@ var de_SetLoadBalancerPoliciesOfListenerCommand = /* @__PURE__ */ __name(async (
|
|
|
1935
1268
|
};
|
|
1936
1269
|
return response;
|
|
1937
1270
|
}, "de_SetLoadBalancerPoliciesOfListenerCommand");
|
|
1938
|
-
var
|
|
1271
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1939
1272
|
const parsedOutput = {
|
|
1940
1273
|
...output,
|
|
1941
1274
|
body: await parseErrorBody(output.body, context)
|
|
1942
1275
|
};
|
|
1943
1276
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1944
1277
|
switch (errorCode) {
|
|
1945
|
-
case "
|
|
1946
|
-
case "com.amazonaws.elasticloadbalancing#
|
|
1947
|
-
throw await
|
|
1948
|
-
case "ListenerNotFound":
|
|
1949
|
-
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException":
|
|
1950
|
-
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1278
|
+
case "DuplicateTagKeys":
|
|
1279
|
+
case "com.amazonaws.elasticloadbalancing#DuplicateTagKeysException":
|
|
1280
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1951
1281
|
case "LoadBalancerNotFound":
|
|
1952
1282
|
case "com.amazonaws.elasticloadbalancing#AccessPointNotFoundException":
|
|
1953
1283
|
throw await de_AccessPointNotFoundExceptionRes(parsedOutput, context);
|
|
1284
|
+
case "TooManyTags":
|
|
1285
|
+
case "com.amazonaws.elasticloadbalancing#TooManyTagsException":
|
|
1286
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1287
|
+
case "InvalidConfigurationRequest":
|
|
1288
|
+
case "com.amazonaws.elasticloadbalancing#InvalidConfigurationRequestException":
|
|
1289
|
+
throw await de_InvalidConfigurationRequestExceptionRes(parsedOutput, context);
|
|
1290
|
+
case "InvalidSecurityGroup":
|
|
1291
|
+
case "com.amazonaws.elasticloadbalancing#InvalidSecurityGroupException":
|
|
1292
|
+
throw await de_InvalidSecurityGroupExceptionRes(parsedOutput, context);
|
|
1293
|
+
case "InvalidSubnet":
|
|
1294
|
+
case "com.amazonaws.elasticloadbalancing#InvalidSubnetException":
|
|
1295
|
+
throw await de_InvalidSubnetExceptionRes(parsedOutput, context);
|
|
1296
|
+
case "SubnetNotFound":
|
|
1297
|
+
case "com.amazonaws.elasticloadbalancing#SubnetNotFoundException":
|
|
1298
|
+
throw await de_SubnetNotFoundExceptionRes(parsedOutput, context);
|
|
1299
|
+
case "DuplicatePolicyName":
|
|
1300
|
+
case "com.amazonaws.elasticloadbalancing#DuplicatePolicyNameException":
|
|
1301
|
+
throw await de_DuplicatePolicyNameExceptionRes(parsedOutput, context);
|
|
1302
|
+
case "TooManyPolicies":
|
|
1303
|
+
case "com.amazonaws.elasticloadbalancing#TooManyPoliciesException":
|
|
1304
|
+
throw await de_TooManyPoliciesExceptionRes(parsedOutput, context);
|
|
1305
|
+
case "CertificateNotFound":
|
|
1306
|
+
case "com.amazonaws.elasticloadbalancing#CertificateNotFoundException":
|
|
1307
|
+
throw await de_CertificateNotFoundExceptionRes(parsedOutput, context);
|
|
1308
|
+
case "DuplicateLoadBalancerName":
|
|
1309
|
+
case "com.amazonaws.elasticloadbalancing#DuplicateAccessPointNameException":
|
|
1310
|
+
throw await de_DuplicateAccessPointNameExceptionRes(parsedOutput, context);
|
|
1311
|
+
case "InvalidScheme":
|
|
1312
|
+
case "com.amazonaws.elasticloadbalancing#InvalidSchemeException":
|
|
1313
|
+
throw await de_InvalidSchemeExceptionRes(parsedOutput, context);
|
|
1314
|
+
case "OperationNotPermitted":
|
|
1315
|
+
case "com.amazonaws.elasticloadbalancing#OperationNotPermittedException":
|
|
1316
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1317
|
+
case "TooManyLoadBalancers":
|
|
1318
|
+
case "com.amazonaws.elasticloadbalancing#TooManyAccessPointsException":
|
|
1319
|
+
throw await de_TooManyAccessPointsExceptionRes(parsedOutput, context);
|
|
1320
|
+
case "UnsupportedProtocol":
|
|
1321
|
+
case "com.amazonaws.elasticloadbalancing#UnsupportedProtocolException":
|
|
1322
|
+
throw await de_UnsupportedProtocolExceptionRes(parsedOutput, context);
|
|
1323
|
+
case "DuplicateListener":
|
|
1324
|
+
case "com.amazonaws.elasticloadbalancing#DuplicateListenerException":
|
|
1325
|
+
throw await de_DuplicateListenerExceptionRes(parsedOutput, context);
|
|
1326
|
+
case "PolicyTypeNotFound":
|
|
1327
|
+
case "com.amazonaws.elasticloadbalancing#PolicyTypeNotFoundException":
|
|
1328
|
+
throw await de_PolicyTypeNotFoundExceptionRes(parsedOutput, context);
|
|
1329
|
+
case "InvalidInstance":
|
|
1330
|
+
case "com.amazonaws.elasticloadbalancing#InvalidEndPointException":
|
|
1331
|
+
throw await de_InvalidEndPointExceptionRes(parsedOutput, context);
|
|
1332
|
+
case "LoadBalancerAttributeNotFound":
|
|
1333
|
+
case "com.amazonaws.elasticloadbalancing#LoadBalancerAttributeNotFoundException":
|
|
1334
|
+
throw await de_LoadBalancerAttributeNotFoundExceptionRes(parsedOutput, context);
|
|
1954
1335
|
case "PolicyNotFound":
|
|
1955
1336
|
case "com.amazonaws.elasticloadbalancing#PolicyNotFoundException":
|
|
1956
1337
|
throw await de_PolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1338
|
+
case "DependencyThrottle":
|
|
1339
|
+
case "com.amazonaws.elasticloadbalancing#DependencyThrottleException":
|
|
1340
|
+
throw await de_DependencyThrottleExceptionRes(parsedOutput, context);
|
|
1341
|
+
case "ListenerNotFound":
|
|
1342
|
+
case "com.amazonaws.elasticloadbalancing#ListenerNotFoundException":
|
|
1343
|
+
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1957
1344
|
default:
|
|
1958
1345
|
const parsedBody = parsedOutput.body;
|
|
1959
1346
|
return throwDefaultError({
|
|
@@ -1962,7 +1349,7 @@ var de_SetLoadBalancerPoliciesOfListenerCommandError = /* @__PURE__ */ __name(as
|
|
|
1962
1349
|
errorCode
|
|
1963
1350
|
});
|
|
1964
1351
|
}
|
|
1965
|
-
}, "
|
|
1352
|
+
}, "de_CommandError");
|
|
1966
1353
|
var de_AccessPointNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1967
1354
|
const body = parsedOutput.body;
|
|
1968
1355
|
const deserialized = de_AccessPointNotFoundException(body.Error, context);
|