@aws-sdk/client-elastic-load-balancing-v2 3.186.0 → 3.188.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/CHANGELOG.md +16 -0
- package/dist-cjs/models/models_0.js +14 -4
- package/dist-cjs/protocols/Aws_query.js +8 -4
- package/dist-es/ElasticLoadBalancingV2.js +138 -145
- package/dist-es/ElasticLoadBalancingV2Client.js +22 -28
- package/dist-es/commands/AddListenerCertificatesCommand.js +21 -28
- package/dist-es/commands/AddTagsCommand.js +21 -28
- package/dist-es/commands/CreateListenerCommand.js +21 -28
- package/dist-es/commands/CreateLoadBalancerCommand.js +21 -28
- package/dist-es/commands/CreateRuleCommand.js +21 -28
- package/dist-es/commands/CreateTargetGroupCommand.js +21 -28
- package/dist-es/commands/DeleteListenerCommand.js +21 -28
- package/dist-es/commands/DeleteLoadBalancerCommand.js +21 -28
- package/dist-es/commands/DeleteRuleCommand.js +21 -28
- package/dist-es/commands/DeleteTargetGroupCommand.js +21 -28
- package/dist-es/commands/DeregisterTargetsCommand.js +21 -28
- package/dist-es/commands/DescribeAccountLimitsCommand.js +21 -28
- package/dist-es/commands/DescribeListenerCertificatesCommand.js +21 -28
- package/dist-es/commands/DescribeListenersCommand.js +21 -28
- package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +21 -28
- package/dist-es/commands/DescribeLoadBalancersCommand.js +21 -28
- package/dist-es/commands/DescribeRulesCommand.js +21 -28
- package/dist-es/commands/DescribeSSLPoliciesCommand.js +21 -28
- package/dist-es/commands/DescribeTagsCommand.js +21 -28
- package/dist-es/commands/DescribeTargetGroupAttributesCommand.js +21 -28
- package/dist-es/commands/DescribeTargetGroupsCommand.js +21 -28
- package/dist-es/commands/DescribeTargetHealthCommand.js +21 -28
- package/dist-es/commands/ModifyListenerCommand.js +21 -28
- package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +21 -28
- package/dist-es/commands/ModifyRuleCommand.js +21 -28
- package/dist-es/commands/ModifyTargetGroupAttributesCommand.js +21 -28
- package/dist-es/commands/ModifyTargetGroupCommand.js +21 -28
- package/dist-es/commands/RegisterTargetsCommand.js +21 -28
- package/dist-es/commands/RemoveListenerCertificatesCommand.js +21 -28
- package/dist-es/commands/RemoveTagsCommand.js +21 -28
- package/dist-es/commands/SetIpAddressTypeCommand.js +21 -28
- package/dist-es/commands/SetRulePrioritiesCommand.js +21 -28
- package/dist-es/commands/SetSecurityGroupsCommand.js +21 -28
- package/dist-es/commands/SetSubnetsCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ElasticLoadBalancingV2ServiceException.js +5 -10
- package/dist-es/models/models_0.js +806 -587
- package/dist-es/pagination/DescribeListenersPaginator.js +24 -67
- package/dist-es/pagination/DescribeLoadBalancersPaginator.js +24 -67
- package/dist-es/pagination/DescribeTargetGroupsPaginator.js +24 -67
- package/dist-es/protocols/Aws_query.js +3076 -4092
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForLoadBalancerAvailable.js +52 -93
- package/dist-es/waiters/waitForLoadBalancerExists.js +23 -42
- package/dist-es/waiters/waitForLoadBalancersDeleted.js +38 -69
- package/dist-es/waiters/waitForTargetDeregistered.js +38 -69
- package/dist-es/waiters/waitForTargetInService.js +38 -69
- package/dist-types/ElasticLoadBalancingV2.d.ts +1 -2
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +37 -6
- package/dist-types/ts3.4/models/models_0.d.ts +9 -8
- package/package.json +35 -36
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-elastic-load-balancing-v2
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.187.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.186.0...v3.187.0) (2022-10-07)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-elastic-load-balancing-v2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-sdk/client-elastic-load-balancing-v2
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.SetSubnetsOutputFilterSensitiveLog = exports.SetSubnetsInputFilterSensitiveLog = exports.SetSecurityGroupsOutputFilterSensitiveLog = exports.SetSecurityGroupsInputFilterSensitiveLog = void 0;
|
|
3
|
+
exports.HealthUnavailableException = exports.TargetHealthStateEnum = exports.TargetHealthReasonEnum = exports.InvalidTargetException = exports.DuplicateTargetGroupNameException = exports.TargetTypeEnum = exports.TargetGroupIpAddressTypeEnum = exports.TooManyTargetGroupsException = exports.TooManyRulesException = exports.PriorityInUseException = exports.TooManyLoadBalancersException = exports.SubnetNotFoundException = exports.ResourceInUseException = exports.OperationNotPermittedException = exports.InvalidSubnetException = exports.InvalidSecurityGroupException = exports.InvalidSchemeException = exports.DuplicateLoadBalancerNameException = exports.LoadBalancerStateEnum = exports.LoadBalancerTypeEnum = exports.LoadBalancerSchemeEnum = exports.IpAddressType = exports.UnsupportedProtocolException = exports.TooManyUniqueTargetGroupsPerLoadBalancerException = exports.TooManyTargetsException = exports.TooManyRegistrationsForTargetIdException = exports.TooManyListenersException = exports.TooManyActionsException = exports.TargetGroupAssociationLimitException = exports.SSLPolicyNotFoundException = exports.InvalidLoadBalancerActionException = exports.InvalidConfigurationRequestException = exports.IncompatibleProtocolsException = exports.DuplicateListenerException = exports.ProtocolEnum = exports.AvailabilityZoneNotSupportedException = exports.ALPNPolicyNotSupportedException = exports.AllocationIdNotFoundException = exports.TooManyTagsException = exports.TargetGroupNotFoundException = exports.RuleNotFoundException = exports.LoadBalancerNotFoundException = exports.DuplicateTagKeysException = exports.TooManyCertificatesException = exports.ListenerNotFoundException = exports.CertificateNotFoundException = exports.ActionTypeEnum = exports.RedirectActionStatusCodeEnum = exports.AuthenticateOidcActionConditionalBehaviorEnum = exports.AuthenticateCognitoActionConditionalBehaviorEnum = void 0;
|
|
4
|
+
exports.DeregisterTargetsInputFilterSensitiveLog = exports.TargetDescriptionFilterSensitiveLog = exports.DeleteTargetGroupOutputFilterSensitiveLog = exports.DeleteTargetGroupInputFilterSensitiveLog = exports.DeleteRuleOutputFilterSensitiveLog = exports.DeleteRuleInputFilterSensitiveLog = exports.DeleteLoadBalancerOutputFilterSensitiveLog = exports.DeleteLoadBalancerInputFilterSensitiveLog = exports.DeleteListenerOutputFilterSensitiveLog = exports.DeleteListenerInputFilterSensitiveLog = exports.CreateTargetGroupOutputFilterSensitiveLog = exports.TargetGroupFilterSensitiveLog = exports.CreateTargetGroupInputFilterSensitiveLog = exports.MatcherFilterSensitiveLog = exports.CreateRuleOutputFilterSensitiveLog = exports.RuleFilterSensitiveLog = exports.CreateRuleInputFilterSensitiveLog = exports.RuleConditionFilterSensitiveLog = exports.SourceIpConditionConfigFilterSensitiveLog = exports.QueryStringConditionConfigFilterSensitiveLog = exports.QueryStringKeyValuePairFilterSensitiveLog = exports.PathPatternConditionConfigFilterSensitiveLog = exports.HttpRequestMethodConditionConfigFilterSensitiveLog = exports.HttpHeaderConditionConfigFilterSensitiveLog = exports.HostHeaderConditionConfigFilterSensitiveLog = exports.CreateLoadBalancerOutputFilterSensitiveLog = exports.LoadBalancerFilterSensitiveLog = exports.LoadBalancerStateFilterSensitiveLog = exports.CreateLoadBalancerInputFilterSensitiveLog = exports.SubnetMappingFilterSensitiveLog = exports.CreateListenerOutputFilterSensitiveLog = exports.ListenerFilterSensitiveLog = exports.CreateListenerInputFilterSensitiveLog = exports.CipherFilterSensitiveLog = exports.AvailabilityZoneFilterSensitiveLog = exports.LoadBalancerAddressFilterSensitiveLog = exports.AddTagsOutputFilterSensitiveLog = exports.AddTagsInputFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.AddListenerCertificatesOutputFilterSensitiveLog = exports.AddListenerCertificatesInputFilterSensitiveLog = exports.CertificateFilterSensitiveLog = exports.ActionFilterSensitiveLog = exports.RedirectActionConfigFilterSensitiveLog = exports.ForwardActionConfigFilterSensitiveLog = exports.TargetGroupStickinessConfigFilterSensitiveLog = exports.TargetGroupTupleFilterSensitiveLog = exports.FixedResponseActionConfigFilterSensitiveLog = exports.AuthenticateOidcActionConfigFilterSensitiveLog = exports.AuthenticateCognitoActionConfigFilterSensitiveLog = void 0;
|
|
5
|
+
exports.SetRulePrioritiesInputFilterSensitiveLog = exports.RulePriorityPairFilterSensitiveLog = exports.SetIpAddressTypeOutputFilterSensitiveLog = exports.SetIpAddressTypeInputFilterSensitiveLog = exports.RemoveTagsOutputFilterSensitiveLog = exports.RemoveTagsInputFilterSensitiveLog = exports.RemoveListenerCertificatesOutputFilterSensitiveLog = exports.RemoveListenerCertificatesInputFilterSensitiveLog = exports.RegisterTargetsOutputFilterSensitiveLog = exports.RegisterTargetsInputFilterSensitiveLog = exports.ModifyTargetGroupAttributesOutputFilterSensitiveLog = exports.ModifyTargetGroupAttributesInputFilterSensitiveLog = exports.ModifyTargetGroupOutputFilterSensitiveLog = exports.ModifyTargetGroupInputFilterSensitiveLog = exports.ModifyRuleOutputFilterSensitiveLog = exports.ModifyRuleInputFilterSensitiveLog = exports.ModifyLoadBalancerAttributesOutputFilterSensitiveLog = exports.ModifyLoadBalancerAttributesInputFilterSensitiveLog = exports.ModifyListenerOutputFilterSensitiveLog = exports.ModifyListenerInputFilterSensitiveLog = exports.DescribeTargetHealthOutputFilterSensitiveLog = exports.TargetHealthDescriptionFilterSensitiveLog = exports.TargetHealthFilterSensitiveLog = exports.DescribeTargetHealthInputFilterSensitiveLog = exports.DescribeTargetGroupsOutputFilterSensitiveLog = exports.DescribeTargetGroupsInputFilterSensitiveLog = exports.DescribeTargetGroupAttributesOutputFilterSensitiveLog = exports.TargetGroupAttributeFilterSensitiveLog = exports.DescribeTargetGroupAttributesInputFilterSensitiveLog = exports.DescribeTagsOutputFilterSensitiveLog = exports.TagDescriptionFilterSensitiveLog = exports.DescribeTagsInputFilterSensitiveLog = exports.DescribeSSLPoliciesOutputFilterSensitiveLog = exports.SslPolicyFilterSensitiveLog = exports.DescribeSSLPoliciesInputFilterSensitiveLog = exports.DescribeRulesOutputFilterSensitiveLog = exports.DescribeRulesInputFilterSensitiveLog = exports.DescribeLoadBalancersOutputFilterSensitiveLog = exports.DescribeLoadBalancersInputFilterSensitiveLog = exports.DescribeLoadBalancerAttributesOutputFilterSensitiveLog = exports.LoadBalancerAttributeFilterSensitiveLog = exports.DescribeLoadBalancerAttributesInputFilterSensitiveLog = exports.DescribeListenersOutputFilterSensitiveLog = exports.DescribeListenersInputFilterSensitiveLog = exports.DescribeListenerCertificatesOutputFilterSensitiveLog = exports.DescribeListenerCertificatesInputFilterSensitiveLog = exports.DescribeAccountLimitsOutputFilterSensitiveLog = exports.LimitFilterSensitiveLog = exports.DescribeAccountLimitsInputFilterSensitiveLog = exports.DeregisterTargetsOutputFilterSensitiveLog = void 0;
|
|
6
|
+
exports.SetSubnetsOutputFilterSensitiveLog = exports.SetSubnetsInputFilterSensitiveLog = exports.SetSecurityGroupsOutputFilterSensitiveLog = exports.SetSecurityGroupsInputFilterSensitiveLog = exports.SetRulePrioritiesOutputFilterSensitiveLog = void 0;
|
|
7
7
|
const ElasticLoadBalancingV2ServiceException_1 = require("./ElasticLoadBalancingV2ServiceException");
|
|
8
8
|
var AuthenticateCognitoActionConditionalBehaviorEnum;
|
|
9
9
|
(function (AuthenticateCognitoActionConditionalBehaviorEnum) {
|
|
@@ -184,6 +184,16 @@ class AvailabilityZoneNotSupportedException extends ElasticLoadBalancingV2Servic
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
exports.AvailabilityZoneNotSupportedException = AvailabilityZoneNotSupportedException;
|
|
187
|
+
var ProtocolEnum;
|
|
188
|
+
(function (ProtocolEnum) {
|
|
189
|
+
ProtocolEnum["GENEVE"] = "GENEVE";
|
|
190
|
+
ProtocolEnum["HTTP"] = "HTTP";
|
|
191
|
+
ProtocolEnum["HTTPS"] = "HTTPS";
|
|
192
|
+
ProtocolEnum["TCP"] = "TCP";
|
|
193
|
+
ProtocolEnum["TCP_UDP"] = "TCP_UDP";
|
|
194
|
+
ProtocolEnum["TLS"] = "TLS";
|
|
195
|
+
ProtocolEnum["UDP"] = "UDP";
|
|
196
|
+
})(ProtocolEnum = exports.ProtocolEnum || (exports.ProtocolEnum = {}));
|
|
187
197
|
class DuplicateListenerException extends ElasticLoadBalancingV2ServiceException_1.ElasticLoadBalancingV2ServiceException {
|
|
188
198
|
constructor(opts) {
|
|
189
199
|
super({
|
|
@@ -4,7 +4,6 @@ exports.deserializeAws_queryDescribeLoadBalancersCommand = exports.deserializeAw
|
|
|
4
4
|
exports.deserializeAws_querySetSubnetsCommand = exports.deserializeAws_querySetSecurityGroupsCommand = exports.deserializeAws_querySetRulePrioritiesCommand = exports.deserializeAws_querySetIpAddressTypeCommand = exports.deserializeAws_queryRemoveTagsCommand = exports.deserializeAws_queryRemoveListenerCertificatesCommand = exports.deserializeAws_queryRegisterTargetsCommand = exports.deserializeAws_queryModifyTargetGroupAttributesCommand = exports.deserializeAws_queryModifyTargetGroupCommand = exports.deserializeAws_queryModifyRuleCommand = exports.deserializeAws_queryModifyLoadBalancerAttributesCommand = exports.deserializeAws_queryModifyListenerCommand = exports.deserializeAws_queryDescribeTargetHealthCommand = exports.deserializeAws_queryDescribeTargetGroupsCommand = exports.deserializeAws_queryDescribeTargetGroupAttributesCommand = exports.deserializeAws_queryDescribeTagsCommand = exports.deserializeAws_queryDescribeSSLPoliciesCommand = exports.deserializeAws_queryDescribeRulesCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const entities_1 = require("entities");
|
|
8
7
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
9
8
|
const ElasticLoadBalancingV2ServiceException_1 = require("../models/ElasticLoadBalancingV2ServiceException");
|
|
10
9
|
const models_0_1 = require("../models/models_0");
|
|
@@ -5454,13 +5453,18 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
5454
5453
|
};
|
|
5455
5454
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5456
5455
|
if (encoded.length) {
|
|
5457
|
-
const
|
|
5456
|
+
const parser = new fast_xml_parser_1.XMLParser({
|
|
5458
5457
|
attributeNamePrefix: "",
|
|
5458
|
+
htmlEntities: true,
|
|
5459
5459
|
ignoreAttributes: false,
|
|
5460
|
-
|
|
5460
|
+
ignoreDeclaration: true,
|
|
5461
|
+
parseTagValue: false,
|
|
5461
5462
|
trimValues: false,
|
|
5462
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" :
|
|
5463
|
+
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
|
|
5463
5464
|
});
|
|
5465
|
+
parser.addEntity("#xD", "\r");
|
|
5466
|
+
parser.addEntity("#10", "\n");
|
|
5467
|
+
const parsedObj = parser.parse(encoded);
|
|
5464
5468
|
const textNodeName = "#text";
|
|
5465
5469
|
const key = Object.keys(parsedObj)[0];
|
|
5466
5470
|
const parsedObjToReturn = parsedObj[key];
|