@aws-sdk/client-elastic-load-balancing 3.523.0 → 3.529.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +31 -64
- package/dist-es/protocols/Aws_query.js +2 -34
- package/package.json +17 -18
- package/dist-cjs/ElasticLoadBalancing.js +0 -1
- package/dist-cjs/ElasticLoadBalancingClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/AddTagsCommand.js +0 -1
- package/dist-cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js +0 -1
- package/dist-cjs/commands/AttachLoadBalancerToSubnetsCommand.js +0 -1
- package/dist-cjs/commands/ConfigureHealthCheckCommand.js +0 -1
- package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js +0 -1
- package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js +0 -1
- package/dist-cjs/commands/CreateLoadBalancerCommand.js +0 -1
- package/dist-cjs/commands/CreateLoadBalancerListenersCommand.js +0 -1
- package/dist-cjs/commands/CreateLoadBalancerPolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerCommand.js +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerListenersCommand.js +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerPolicyCommand.js +0 -1
- package/dist-cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js +0 -1
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -1
- package/dist-cjs/commands/DescribeInstanceHealthCommand.js +0 -1
- package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +0 -1
- package/dist-cjs/commands/DescribeLoadBalancerPoliciesCommand.js +0 -1
- package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +0 -1
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -1
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -1
- package/dist-cjs/commands/DetachLoadBalancerFromSubnetsCommand.js +0 -1
- package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +0 -1
- package/dist-cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +0 -1
- package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +0 -1
- package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +0 -1
- package/dist-cjs/commands/RemoveTagsCommand.js +0 -1
- package/dist-cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js +0 -1
- package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +0 -1
- package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/ElasticLoadBalancingServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_query.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
- package/dist-cjs/waiters/index.js +0 -1
- package/dist-cjs/waiters/waitForAnyInstanceInService.js +0 -1
- package/dist-cjs/waiters/waitForInstanceDeregistered.js +0 -1
- package/dist-cjs/waiters/waitForInstanceInService.js +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -239,9 +239,9 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
239
239
|
var import_types = require("@smithy/types");
|
|
240
240
|
|
|
241
241
|
// src/protocols/Aws_query.ts
|
|
242
|
+
var import_core2 = require("@aws-sdk/core");
|
|
242
243
|
|
|
243
244
|
|
|
244
|
-
var import_fast_xml_parser = require("fast-xml-parser");
|
|
245
245
|
|
|
246
246
|
// src/models/ElasticLoadBalancingServiceException.ts
|
|
247
247
|
|
|
@@ -950,7 +950,7 @@ var de_AddTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
950
950
|
if (output.statusCode >= 300) {
|
|
951
951
|
return de_CommandError(output, context);
|
|
952
952
|
}
|
|
953
|
-
const data = await
|
|
953
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
954
954
|
let contents = {};
|
|
955
955
|
contents = de_AddTagsOutput(data.AddTagsResult, context);
|
|
956
956
|
const response = {
|
|
@@ -963,7 +963,7 @@ var de_ApplySecurityGroupsToLoadBalancerCommand = /* @__PURE__ */ __name(async (
|
|
|
963
963
|
if (output.statusCode >= 300) {
|
|
964
964
|
return de_CommandError(output, context);
|
|
965
965
|
}
|
|
966
|
-
const data = await
|
|
966
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
967
967
|
let contents = {};
|
|
968
968
|
contents = de_ApplySecurityGroupsToLoadBalancerOutput(data.ApplySecurityGroupsToLoadBalancerResult, context);
|
|
969
969
|
const response = {
|
|
@@ -976,7 +976,7 @@ var de_AttachLoadBalancerToSubnetsCommand = /* @__PURE__ */ __name(async (output
|
|
|
976
976
|
if (output.statusCode >= 300) {
|
|
977
977
|
return de_CommandError(output, context);
|
|
978
978
|
}
|
|
979
|
-
const data = await
|
|
979
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
980
980
|
let contents = {};
|
|
981
981
|
contents = de_AttachLoadBalancerToSubnetsOutput(data.AttachLoadBalancerToSubnetsResult, context);
|
|
982
982
|
const response = {
|
|
@@ -989,7 +989,7 @@ var de_ConfigureHealthCheckCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
989
989
|
if (output.statusCode >= 300) {
|
|
990
990
|
return de_CommandError(output, context);
|
|
991
991
|
}
|
|
992
|
-
const data = await
|
|
992
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
993
993
|
let contents = {};
|
|
994
994
|
contents = de_ConfigureHealthCheckOutput(data.ConfigureHealthCheckResult, context);
|
|
995
995
|
const response = {
|
|
@@ -1002,7 +1002,7 @@ var de_CreateAppCookieStickinessPolicyCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1002
1002
|
if (output.statusCode >= 300) {
|
|
1003
1003
|
return de_CommandError(output, context);
|
|
1004
1004
|
}
|
|
1005
|
-
const data = await
|
|
1005
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1006
1006
|
let contents = {};
|
|
1007
1007
|
contents = de_CreateAppCookieStickinessPolicyOutput(data.CreateAppCookieStickinessPolicyResult, context);
|
|
1008
1008
|
const response = {
|
|
@@ -1015,7 +1015,7 @@ var de_CreateLBCookieStickinessPolicyCommand = /* @__PURE__ */ __name(async (out
|
|
|
1015
1015
|
if (output.statusCode >= 300) {
|
|
1016
1016
|
return de_CommandError(output, context);
|
|
1017
1017
|
}
|
|
1018
|
-
const data = await
|
|
1018
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1019
1019
|
let contents = {};
|
|
1020
1020
|
contents = de_CreateLBCookieStickinessPolicyOutput(data.CreateLBCookieStickinessPolicyResult, context);
|
|
1021
1021
|
const response = {
|
|
@@ -1028,7 +1028,7 @@ var de_CreateLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1028
1028
|
if (output.statusCode >= 300) {
|
|
1029
1029
|
return de_CommandError(output, context);
|
|
1030
1030
|
}
|
|
1031
|
-
const data = await
|
|
1031
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1032
1032
|
let contents = {};
|
|
1033
1033
|
contents = de_CreateAccessPointOutput(data.CreateLoadBalancerResult, context);
|
|
1034
1034
|
const response = {
|
|
@@ -1041,7 +1041,7 @@ var de_CreateLoadBalancerListenersCommand = /* @__PURE__ */ __name(async (output
|
|
|
1041
1041
|
if (output.statusCode >= 300) {
|
|
1042
1042
|
return de_CommandError(output, context);
|
|
1043
1043
|
}
|
|
1044
|
-
const data = await
|
|
1044
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1045
1045
|
let contents = {};
|
|
1046
1046
|
contents = de_CreateLoadBalancerListenerOutput(data.CreateLoadBalancerListenersResult, context);
|
|
1047
1047
|
const response = {
|
|
@@ -1054,7 +1054,7 @@ var de_CreateLoadBalancerPolicyCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1054
1054
|
if (output.statusCode >= 300) {
|
|
1055
1055
|
return de_CommandError(output, context);
|
|
1056
1056
|
}
|
|
1057
|
-
const data = await
|
|
1057
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1058
1058
|
let contents = {};
|
|
1059
1059
|
contents = de_CreateLoadBalancerPolicyOutput(data.CreateLoadBalancerPolicyResult, context);
|
|
1060
1060
|
const response = {
|
|
@@ -1067,7 +1067,7 @@ var de_DeleteLoadBalancerCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1067
1067
|
if (output.statusCode >= 300) {
|
|
1068
1068
|
return de_CommandError(output, context);
|
|
1069
1069
|
}
|
|
1070
|
-
const data = await
|
|
1070
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1071
1071
|
let contents = {};
|
|
1072
1072
|
contents = de_DeleteAccessPointOutput(data.DeleteLoadBalancerResult, context);
|
|
1073
1073
|
const response = {
|
|
@@ -1080,7 +1080,7 @@ var de_DeleteLoadBalancerListenersCommand = /* @__PURE__ */ __name(async (output
|
|
|
1080
1080
|
if (output.statusCode >= 300) {
|
|
1081
1081
|
return de_CommandError(output, context);
|
|
1082
1082
|
}
|
|
1083
|
-
const data = await
|
|
1083
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1084
1084
|
let contents = {};
|
|
1085
1085
|
contents = de_DeleteLoadBalancerListenerOutput(data.DeleteLoadBalancerListenersResult, context);
|
|
1086
1086
|
const response = {
|
|
@@ -1093,7 +1093,7 @@ var de_DeleteLoadBalancerPolicyCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1093
1093
|
if (output.statusCode >= 300) {
|
|
1094
1094
|
return de_CommandError(output, context);
|
|
1095
1095
|
}
|
|
1096
|
-
const data = await
|
|
1096
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1097
1097
|
let contents = {};
|
|
1098
1098
|
contents = de_DeleteLoadBalancerPolicyOutput(data.DeleteLoadBalancerPolicyResult, context);
|
|
1099
1099
|
const response = {
|
|
@@ -1106,7 +1106,7 @@ var de_DeregisterInstancesFromLoadBalancerCommand = /* @__PURE__ */ __name(async
|
|
|
1106
1106
|
if (output.statusCode >= 300) {
|
|
1107
1107
|
return de_CommandError(output, context);
|
|
1108
1108
|
}
|
|
1109
|
-
const data = await
|
|
1109
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1110
1110
|
let contents = {};
|
|
1111
1111
|
contents = de_DeregisterEndPointsOutput(data.DeregisterInstancesFromLoadBalancerResult, context);
|
|
1112
1112
|
const response = {
|
|
@@ -1119,7 +1119,7 @@ var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1119
1119
|
if (output.statusCode >= 300) {
|
|
1120
1120
|
return de_CommandError(output, context);
|
|
1121
1121
|
}
|
|
1122
|
-
const data = await
|
|
1122
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1123
1123
|
let contents = {};
|
|
1124
1124
|
contents = de_DescribeAccountLimitsOutput(data.DescribeAccountLimitsResult, context);
|
|
1125
1125
|
const response = {
|
|
@@ -1132,7 +1132,7 @@ var de_DescribeInstanceHealthCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
1132
1132
|
if (output.statusCode >= 300) {
|
|
1133
1133
|
return de_CommandError(output, context);
|
|
1134
1134
|
}
|
|
1135
|
-
const data = await
|
|
1135
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1136
1136
|
let contents = {};
|
|
1137
1137
|
contents = de_DescribeEndPointStateOutput(data.DescribeInstanceHealthResult, context);
|
|
1138
1138
|
const response = {
|
|
@@ -1145,7 +1145,7 @@ var de_DescribeLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (out
|
|
|
1145
1145
|
if (output.statusCode >= 300) {
|
|
1146
1146
|
return de_CommandError(output, context);
|
|
1147
1147
|
}
|
|
1148
|
-
const data = await
|
|
1148
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1149
1149
|
let contents = {};
|
|
1150
1150
|
contents = de_DescribeLoadBalancerAttributesOutput(data.DescribeLoadBalancerAttributesResult, context);
|
|
1151
1151
|
const response = {
|
|
@@ -1158,7 +1158,7 @@ var de_DescribeLoadBalancerPoliciesCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1158
1158
|
if (output.statusCode >= 300) {
|
|
1159
1159
|
return de_CommandError(output, context);
|
|
1160
1160
|
}
|
|
1161
|
-
const data = await
|
|
1161
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1162
1162
|
let contents = {};
|
|
1163
1163
|
contents = de_DescribeLoadBalancerPoliciesOutput(data.DescribeLoadBalancerPoliciesResult, context);
|
|
1164
1164
|
const response = {
|
|
@@ -1171,7 +1171,7 @@ var de_DescribeLoadBalancerPolicyTypesCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1171
1171
|
if (output.statusCode >= 300) {
|
|
1172
1172
|
return de_CommandError(output, context);
|
|
1173
1173
|
}
|
|
1174
|
-
const data = await
|
|
1174
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1175
1175
|
let contents = {};
|
|
1176
1176
|
contents = de_DescribeLoadBalancerPolicyTypesOutput(data.DescribeLoadBalancerPolicyTypesResult, context);
|
|
1177
1177
|
const response = {
|
|
@@ -1184,7 +1184,7 @@ var de_DescribeLoadBalancersCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1184
1184
|
if (output.statusCode >= 300) {
|
|
1185
1185
|
return de_CommandError(output, context);
|
|
1186
1186
|
}
|
|
1187
|
-
const data = await
|
|
1187
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1188
1188
|
let contents = {};
|
|
1189
1189
|
contents = de_DescribeAccessPointsOutput(data.DescribeLoadBalancersResult, context);
|
|
1190
1190
|
const response = {
|
|
@@ -1197,7 +1197,7 @@ var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1197
1197
|
if (output.statusCode >= 300) {
|
|
1198
1198
|
return de_CommandError(output, context);
|
|
1199
1199
|
}
|
|
1200
|
-
const data = await
|
|
1200
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1201
1201
|
let contents = {};
|
|
1202
1202
|
contents = de_DescribeTagsOutput(data.DescribeTagsResult, context);
|
|
1203
1203
|
const response = {
|
|
@@ -1210,7 +1210,7 @@ var de_DetachLoadBalancerFromSubnetsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
1210
1210
|
if (output.statusCode >= 300) {
|
|
1211
1211
|
return de_CommandError(output, context);
|
|
1212
1212
|
}
|
|
1213
|
-
const data = await
|
|
1213
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1214
1214
|
let contents = {};
|
|
1215
1215
|
contents = de_DetachLoadBalancerFromSubnetsOutput(data.DetachLoadBalancerFromSubnetsResult, context);
|
|
1216
1216
|
const response = {
|
|
@@ -1223,7 +1223,7 @@ var de_DisableAvailabilityZonesForLoadBalancerCommand = /* @__PURE__ */ __name(a
|
|
|
1223
1223
|
if (output.statusCode >= 300) {
|
|
1224
1224
|
return de_CommandError(output, context);
|
|
1225
1225
|
}
|
|
1226
|
-
const data = await
|
|
1226
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1227
1227
|
let contents = {};
|
|
1228
1228
|
contents = de_RemoveAvailabilityZonesOutput(data.DisableAvailabilityZonesForLoadBalancerResult, context);
|
|
1229
1229
|
const response = {
|
|
@@ -1236,7 +1236,7 @@ var de_EnableAvailabilityZonesForLoadBalancerCommand = /* @__PURE__ */ __name(as
|
|
|
1236
1236
|
if (output.statusCode >= 300) {
|
|
1237
1237
|
return de_CommandError(output, context);
|
|
1238
1238
|
}
|
|
1239
|
-
const data = await
|
|
1239
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1240
1240
|
let contents = {};
|
|
1241
1241
|
contents = de_AddAvailabilityZonesOutput(data.EnableAvailabilityZonesForLoadBalancerResult, context);
|
|
1242
1242
|
const response = {
|
|
@@ -1249,7 +1249,7 @@ var de_ModifyLoadBalancerAttributesCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1249
1249
|
if (output.statusCode >= 300) {
|
|
1250
1250
|
return de_CommandError(output, context);
|
|
1251
1251
|
}
|
|
1252
|
-
const data = await
|
|
1252
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1253
1253
|
let contents = {};
|
|
1254
1254
|
contents = de_ModifyLoadBalancerAttributesOutput(data.ModifyLoadBalancerAttributesResult, context);
|
|
1255
1255
|
const response = {
|
|
@@ -1262,7 +1262,7 @@ var de_RegisterInstancesWithLoadBalancerCommand = /* @__PURE__ */ __name(async (
|
|
|
1262
1262
|
if (output.statusCode >= 300) {
|
|
1263
1263
|
return de_CommandError(output, context);
|
|
1264
1264
|
}
|
|
1265
|
-
const data = await
|
|
1265
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1266
1266
|
let contents = {};
|
|
1267
1267
|
contents = de_RegisterEndPointsOutput(data.RegisterInstancesWithLoadBalancerResult, context);
|
|
1268
1268
|
const response = {
|
|
@@ -1275,7 +1275,7 @@ var de_RemoveTagsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1275
1275
|
if (output.statusCode >= 300) {
|
|
1276
1276
|
return de_CommandError(output, context);
|
|
1277
1277
|
}
|
|
1278
|
-
const data = await
|
|
1278
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1279
1279
|
let contents = {};
|
|
1280
1280
|
contents = de_RemoveTagsOutput(data.RemoveTagsResult, context);
|
|
1281
1281
|
const response = {
|
|
@@ -1288,7 +1288,7 @@ var de_SetLoadBalancerListenerSSLCertificateCommand = /* @__PURE__ */ __name(asy
|
|
|
1288
1288
|
if (output.statusCode >= 300) {
|
|
1289
1289
|
return de_CommandError(output, context);
|
|
1290
1290
|
}
|
|
1291
|
-
const data = await
|
|
1291
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1292
1292
|
let contents = {};
|
|
1293
1293
|
contents = de_SetLoadBalancerListenerSSLCertificateOutput(data.SetLoadBalancerListenerSSLCertificateResult, context);
|
|
1294
1294
|
const response = {
|
|
@@ -1301,7 +1301,7 @@ var de_SetLoadBalancerPoliciesForBackendServerCommand = /* @__PURE__ */ __name(a
|
|
|
1301
1301
|
if (output.statusCode >= 300) {
|
|
1302
1302
|
return de_CommandError(output, context);
|
|
1303
1303
|
}
|
|
1304
|
-
const data = await
|
|
1304
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1305
1305
|
let contents = {};
|
|
1306
1306
|
contents = de_SetLoadBalancerPoliciesForBackendServerOutput(
|
|
1307
1307
|
data.SetLoadBalancerPoliciesForBackendServerResult,
|
|
@@ -1317,7 +1317,7 @@ var de_SetLoadBalancerPoliciesOfListenerCommand = /* @__PURE__ */ __name(async (
|
|
|
1317
1317
|
if (output.statusCode >= 300) {
|
|
1318
1318
|
return de_CommandError(output, context);
|
|
1319
1319
|
}
|
|
1320
|
-
const data = await
|
|
1320
|
+
const data = await (0, import_core2.parseXmlBody)(output.body, context);
|
|
1321
1321
|
let contents = {};
|
|
1322
1322
|
contents = de_SetLoadBalancerPoliciesOfListenerOutput(data.SetLoadBalancerPoliciesOfListenerResult, context);
|
|
1323
1323
|
const response = {
|
|
@@ -1329,7 +1329,7 @@ var de_SetLoadBalancerPoliciesOfListenerCommand = /* @__PURE__ */ __name(async (
|
|
|
1329
1329
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1330
1330
|
const parsedOutput = {
|
|
1331
1331
|
...output,
|
|
1332
|
-
body: await
|
|
1332
|
+
body: await (0, import_core2.parseXmlErrorBody)(output.body, context)
|
|
1333
1333
|
};
|
|
1334
1334
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1335
1335
|
switch (errorCode) {
|
|
@@ -3301,7 +3301,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
3301
3301
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3302
3302
|
cfId: output.headers["x-amz-cf-id"]
|
|
3303
3303
|
}), "deserializeMetadata");
|
|
3304
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
3305
3304
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(ElasticLoadBalancingServiceException);
|
|
3306
3305
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
3307
3306
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -3436,38 +3435,6 @@ var _V = "Version";
|
|
|
3436
3435
|
var _VPCI = "VPCId";
|
|
3437
3436
|
var _Va = "Value";
|
|
3438
3437
|
var _m = "member";
|
|
3439
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3440
|
-
if (encoded.length) {
|
|
3441
|
-
const parser = new import_fast_xml_parser.XMLParser({
|
|
3442
|
-
attributeNamePrefix: "",
|
|
3443
|
-
htmlEntities: true,
|
|
3444
|
-
ignoreAttributes: false,
|
|
3445
|
-
ignoreDeclaration: true,
|
|
3446
|
-
parseTagValue: false,
|
|
3447
|
-
trimValues: false,
|
|
3448
|
-
tagValueProcessor: (_2, val) => val.trim() === "" && val.includes("\n") ? "" : void 0
|
|
3449
|
-
});
|
|
3450
|
-
parser.addEntity("#xD", "\r");
|
|
3451
|
-
parser.addEntity("#10", "\n");
|
|
3452
|
-
const parsedObj = parser.parse(encoded);
|
|
3453
|
-
const textNodeName = "#text";
|
|
3454
|
-
const key = Object.keys(parsedObj)[0];
|
|
3455
|
-
const parsedObjToReturn = parsedObj[key];
|
|
3456
|
-
if (parsedObjToReturn[textNodeName]) {
|
|
3457
|
-
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
3458
|
-
delete parsedObjToReturn[textNodeName];
|
|
3459
|
-
}
|
|
3460
|
-
return (0, import_smithy_client.getValueFromTextNode)(parsedObjToReturn);
|
|
3461
|
-
}
|
|
3462
|
-
return {};
|
|
3463
|
-
}), "parseBody");
|
|
3464
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
3465
|
-
const value = await parseBody(errorBody, context);
|
|
3466
|
-
if (value.Error) {
|
|
3467
|
-
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
3468
|
-
}
|
|
3469
|
-
return value;
|
|
3470
|
-
}, "parseErrorBody");
|
|
3471
3438
|
var buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client.extendedEncodeURIComponent)(key) + "=" + (0, import_smithy_client.extendedEncodeURIComponent)(value)).join("&"), "buildFormUrlencodedString");
|
|
3472
3439
|
var loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
3473
3440
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
-
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem,
|
|
3
|
-
import { XMLParser } from "fast-xml-parser";
|
|
3
|
+
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { ElasticLoadBalancingServiceException as __BaseException } from "../models/ElasticLoadBalancingServiceException";
|
|
5
5
|
import { AccessPointNotFoundException, CertificateNotFoundException, DependencyThrottleException, DuplicateAccessPointNameException, DuplicateListenerException, DuplicatePolicyNameException, DuplicateTagKeysException, InvalidConfigurationRequestException, InvalidEndPointException, InvalidSchemeException, InvalidSecurityGroupException, InvalidSubnetException, ListenerNotFoundException, LoadBalancerAttributeNotFoundException, OperationNotPermittedException, PolicyNotFoundException, PolicyTypeNotFoundException, SubnetNotFoundException, TooManyAccessPointsException, TooManyPoliciesException, TooManyTagsException, UnsupportedProtocolException, } from "../models/models_0";
|
|
6
6
|
export const se_AddTagsCommand = async (input, context) => {
|
|
@@ -2825,38 +2825,6 @@ const _V = "Version";
|
|
|
2825
2825
|
const _VPCI = "VPCId";
|
|
2826
2826
|
const _Va = "Value";
|
|
2827
2827
|
const _m = "member";
|
|
2828
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2829
|
-
if (encoded.length) {
|
|
2830
|
-
const parser = new XMLParser({
|
|
2831
|
-
attributeNamePrefix: "",
|
|
2832
|
-
htmlEntities: true,
|
|
2833
|
-
ignoreAttributes: false,
|
|
2834
|
-
ignoreDeclaration: true,
|
|
2835
|
-
parseTagValue: false,
|
|
2836
|
-
trimValues: false,
|
|
2837
|
-
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
|
2838
|
-
});
|
|
2839
|
-
parser.addEntity("#xD", "\r");
|
|
2840
|
-
parser.addEntity("#10", "\n");
|
|
2841
|
-
const parsedObj = parser.parse(encoded);
|
|
2842
|
-
const textNodeName = "#text";
|
|
2843
|
-
const key = Object.keys(parsedObj)[0];
|
|
2844
|
-
const parsedObjToReturn = parsedObj[key];
|
|
2845
|
-
if (parsedObjToReturn[textNodeName]) {
|
|
2846
|
-
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
2847
|
-
delete parsedObjToReturn[textNodeName];
|
|
2848
|
-
}
|
|
2849
|
-
return __getValueFromTextNode(parsedObjToReturn);
|
|
2850
|
-
}
|
|
2851
|
-
return {};
|
|
2852
|
-
});
|
|
2853
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
2854
|
-
const value = await parseBody(errorBody, context);
|
|
2855
|
-
if (value.Error) {
|
|
2856
|
-
value.Error.message = value.Error.message ?? value.Error.Message;
|
|
2857
|
-
}
|
|
2858
|
-
return value;
|
|
2859
|
-
};
|
|
2860
2828
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
2861
2829
|
.map(([key, value]) => __extendedEncodeURIComponent(key) + "=" + __extendedEncodeURIComponent(value))
|
|
2862
2830
|
.join("&");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elastic-load-balancing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elastic Load Balancing Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-elastic-load-balancing",
|
|
@@ -20,45 +20,44 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.525.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.525.0",
|
|
31
31
|
"@aws-sdk/types": "3.523.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.525.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.523.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.525.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.4",
|
|
36
|
+
"@smithy/core": "^1.3.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.3",
|
|
38
38
|
"@smithy/hash-node": "^2.1.3",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.1.3",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.1.3",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.4",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.4",
|
|
43
43
|
"@smithy/middleware-serde": "^2.1.3",
|
|
44
44
|
"@smithy/middleware-stack": "^2.1.3",
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.4",
|
|
46
46
|
"@smithy/node-http-handler": "^2.4.1",
|
|
47
47
|
"@smithy/protocol-http": "^3.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
48
|
+
"@smithy/smithy-client": "^2.4.2",
|
|
49
49
|
"@smithy/types": "^2.10.1",
|
|
50
50
|
"@smithy/url-parser": "^2.1.3",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.3",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.4",
|
|
57
57
|
"@smithy/util-middleware": "^2.1.3",
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
60
60
|
"@smithy/util-waiter": "^2.1.3",
|
|
61
|
-
"fast-xml-parser": "4.2.5",
|
|
62
61
|
"tslib": "^2.5.0"
|
|
63
62
|
},
|
|
64
63
|
"devDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|