@aws-sdk/client-elastic-load-balancing-v2 3.388.0 → 3.391.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const s = "fn", t = "argv", u = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [u]: "Endpoint" }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, l = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, m = {}, n = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [{ [u]: d }, "supportsFIPS"] }] }, o = { [u]: d }, p = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [o, "supportsDualStack"] }] }, q = [k], r = [l];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [s]: "isSet", [t]: [j] }], type: e, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [s]: "stringEquals", [t]: ["aws-us-gov", { [s]: h, [t]: [o, "name"] }] }], endpoint: { url: "https://elasticloadbalancing.{Region}.amazonaws.com", properties: m, headers: m }, type: g }, { endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://elasticloadbalancing.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
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.EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = void 0;
4
5
  const ElasticLoadBalancingV2ServiceException_1 = require("./ElasticLoadBalancingV2ServiceException");
5
6
  exports.AuthenticateCognitoActionConditionalBehaviorEnum = {
6
7
  ALLOW: "allow",
@@ -601,3 +602,7 @@ class HealthUnavailableException extends ElasticLoadBalancingV2ServiceException_
601
602
  }
602
603
  }
603
604
  exports.HealthUnavailableException = HealthUnavailableException;
605
+ exports.EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = {
606
+ off: "off",
607
+ on: "on",
608
+ };
@@ -3499,6 +3499,10 @@ const se_SetSecurityGroupsInput = (input, context) => {
3499
3499
  entries[loc] = value;
3500
3500
  });
3501
3501
  }
3502
+ if (input.EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic != null) {
3503
+ entries["EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"] =
3504
+ input.EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic;
3505
+ }
3502
3506
  return entries;
3503
3507
  };
3504
3508
  const se_SetSubnetsInput = (input, context) => {
@@ -4444,6 +4448,9 @@ const de_LoadBalancer = (output, context) => {
4444
4448
  if (output["CustomerOwnedIpv4Pool"] !== undefined) {
4445
4449
  contents.CustomerOwnedIpv4Pool = (0, smithy_client_1.expectString)(output["CustomerOwnedIpv4Pool"]);
4446
4450
  }
4451
+ if (output["EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"] !== undefined) {
4452
+ contents.EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic = (0, smithy_client_1.expectString)(output["EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"]);
4453
+ }
4447
4454
  return contents;
4448
4455
  };
4449
4456
  const de_LoadBalancerAddress = (output, context) => {
@@ -4778,6 +4785,9 @@ const de_SetSecurityGroupsOutput = (output, context) => {
4778
4785
  else if (output["SecurityGroupIds"] !== undefined && output["SecurityGroupIds"]["member"] !== undefined) {
4779
4786
  contents.SecurityGroupIds = de_SecurityGroups((0, smithy_client_1.getArrayIfSingleItem)(output["SecurityGroupIds"]["member"]), context);
4780
4787
  }
4788
+ if (output["EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"] !== undefined) {
4789
+ contents.EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic = (0, smithy_client_1.expectString)(output["EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"]);
4790
+ }
4781
4791
  return contents;
4782
4792
  };
4783
4793
  const de_SetSubnetsOutput = (output, context) => {
@@ -1,4 +1,4 @@
1
- const s = "fn", t = "argv", u = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [u]: "Endpoint" }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, l = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, m = {}, n = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [{ [u]: d }, "supportsFIPS"] }] }, o = { [u]: d }, p = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [o, "supportsDualStack"] }] }, q = [k], r = [l];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [s]: "isSet", [t]: [j] }], type: e, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [s]: "stringEquals", [t]: ["aws-us-gov", { [s]: h, [t]: [o, "name"] }] }], endpoint: { url: "https://elasticloadbalancing.{Region}.amazonaws.com", properties: m, headers: m }, type: g }, { endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://elasticloadbalancing.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -561,3 +561,7 @@ export class HealthUnavailableException extends __BaseException {
561
561
  this.Message = opts.Message;
562
562
  }
563
563
  }
564
+ export const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = {
565
+ off: "off",
566
+ on: "on",
567
+ };
@@ -3427,6 +3427,10 @@ const se_SetSecurityGroupsInput = (input, context) => {
3427
3427
  entries[loc] = value;
3428
3428
  });
3429
3429
  }
3430
+ if (input.EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic != null) {
3431
+ entries["EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"] =
3432
+ input.EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic;
3433
+ }
3430
3434
  return entries;
3431
3435
  };
3432
3436
  const se_SetSubnetsInput = (input, context) => {
@@ -4372,6 +4376,9 @@ const de_LoadBalancer = (output, context) => {
4372
4376
  if (output["CustomerOwnedIpv4Pool"] !== undefined) {
4373
4377
  contents.CustomerOwnedIpv4Pool = __expectString(output["CustomerOwnedIpv4Pool"]);
4374
4378
  }
4379
+ if (output["EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"] !== undefined) {
4380
+ contents.EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic = __expectString(output["EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"]);
4381
+ }
4375
4382
  return contents;
4376
4383
  };
4377
4384
  const de_LoadBalancerAddress = (output, context) => {
@@ -4706,6 +4713,9 @@ const de_SetSecurityGroupsOutput = (output, context) => {
4706
4713
  else if (output["SecurityGroupIds"] !== undefined && output["SecurityGroupIds"]["member"] !== undefined) {
4707
4714
  contents.SecurityGroupIds = de_SecurityGroups(__getArrayIfSingleItem(output["SecurityGroupIds"]["member"]), context);
4708
4715
  }
4716
+ if (output["EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"] !== undefined) {
4717
+ contents.EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic = __expectString(output["EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"]);
4718
+ }
4709
4719
  return contents;
4710
4720
  };
4711
4721
  const de_SetSubnetsOutput = (output, context) => {
@@ -117,6 +117,7 @@ export interface CreateLoadBalancerCommandOutput extends CreateLoadBalancerOutpu
117
117
  * // ],
118
118
  * // IpAddressType: "ipv4" || "dualstack",
119
119
  * // CustomerOwnedIpv4Pool: "STRING_VALUE",
120
+ * // EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: "STRING_VALUE",
120
121
  * // },
121
122
  * // ],
122
123
  * // };
@@ -25,6 +25,7 @@ export interface DeregisterTargetsCommandOutput extends DeregisterTargetsOutput,
25
25
  * @public
26
26
  * <p>Deregisters the specified targets from the specified target group. After the targets are
27
27
  * deregistered, they no longer receive traffic from the load balancer.</p>
28
+ * <p>Note: If the specified target does not exist, the action returns successfully.</p>
28
29
  * @example
29
30
  * Use a bare-bones client and the command you need to make an API call.
30
31
  * ```javascript
@@ -77,6 +77,7 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
77
77
  * // ],
78
78
  * // IpAddressType: "ipv4" || "dualstack",
79
79
  * // CustomerOwnedIpv4Pool: "STRING_VALUE",
80
+ * // EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: "STRING_VALUE",
80
81
  * // },
81
82
  * // ],
82
83
  * // NextMarker: "STRING_VALUE",
@@ -23,10 +23,12 @@ export interface SetSecurityGroupsCommandOutput extends SetSecurityGroupsOutput,
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Associates the specified security groups with the specified Application Load Balancer. The
27
- * specified security groups override the previously associated security groups.</p>
28
- * <p>You can't specify a security group for a Network Load Balancer or Gateway Load
29
- * Balancer.</p>
26
+ * <p>Associates the specified security groups with the specified Application Load Balancer or
27
+ * Network Load Balancer. The specified security groups override the previously associated
28
+ * security groups.</p>
29
+ * <p>You can't perform this operation on a Network Load Balancer unless you specified a
30
+ * security group for the load balancer when you created it.</p>
31
+ * <p>You can't associate a security group with a Gateway Load Balancer.</p>
30
32
  * @example
31
33
  * Use a bare-bones client and the command you need to make an API call.
32
34
  * ```javascript
@@ -38,6 +40,7 @@ export interface SetSecurityGroupsCommandOutput extends SetSecurityGroupsOutput,
38
40
  * SecurityGroups: [ // SecurityGroups // required
39
41
  * "STRING_VALUE",
40
42
  * ],
43
+ * EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: "on" || "off",
41
44
  * };
42
45
  * const command = new SetSecurityGroupsCommand(input);
43
46
  * const response = await client.send(command);
@@ -45,6 +48,7 @@ export interface SetSecurityGroupsCommandOutput extends SetSecurityGroupsOutput,
45
48
  * // SecurityGroupIds: [ // SecurityGroups
46
49
  * // "STRING_VALUE",
47
50
  * // ],
51
+ * // EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: "on" || "off",
48
52
  * // };
49
53
  *
50
54
  * ```
@@ -15,7 +15,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
15
15
  defaultSigningName: string;
16
16
  };
17
17
  export interface EndpointParameters extends __EndpointParameters {
18
- Region: string;
18
+ Region?: string;
19
19
  UseDualStack?: boolean;
20
20
  UseFIPS?: boolean;
21
21
  Endpoint?: string;
@@ -1137,7 +1137,8 @@ export interface CreateLoadBalancerInput {
1137
1137
  SubnetMappings?: SubnetMapping[];
1138
1138
  /**
1139
1139
  * @public
1140
- * <p>[Application Load Balancers] The IDs of the security groups for the load balancer.</p>
1140
+ * <p>[Application Load Balancers and Network Load Balancers] The IDs of the security groups for
1141
+ * the load balancer.</p>
1141
1142
  */
1142
1143
  SecurityGroups?: string[];
1143
1144
  /**
@@ -1291,6 +1292,12 @@ export interface LoadBalancer {
1291
1292
  * <p>[Application Load Balancers on Outposts] The ID of the customer-owned address pool.</p>
1292
1293
  */
1293
1294
  CustomerOwnedIpv4Pool?: string;
1295
+ /**
1296
+ * @public
1297
+ * <p>Indicates whether to evaluate inbound security group rules for traffic sent to a
1298
+ * Network Load Balancer through Amazon Web Services PrivateLink.</p>
1299
+ */
1300
+ EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic?: string;
1294
1301
  }
1295
1302
  /**
1296
1303
  * @public
@@ -1550,6 +1557,8 @@ export interface SourceIpConditionConfig {
1550
1557
  * <code>source-ip</code>. Each rule can also optionally include one or more of each of the
1551
1558
  * following conditions: <code>http-header</code> and <code>query-string</code>. Note that the
1552
1559
  * value for a condition cannot be empty.</p>
1560
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html">Quotas for your
1561
+ * Application Load Balancers</a>.</p>
1553
1562
  */
1554
1563
  export interface RuleCondition {
1555
1564
  /**
@@ -2016,8 +2025,8 @@ export interface TargetGroup {
2016
2025
  Protocol?: ProtocolEnum | string;
2017
2026
  /**
2018
2027
  * @public
2019
- * <p>The port on which the targets are listening. Not used if the target is a Lambda
2020
- * function.</p>
2028
+ * <p>The port on which the targets are listening. This parameter is not used if the target is
2029
+ * a Lambda function.</p>
2021
2030
  */
2022
2031
  Port?: number;
2023
2032
  /**
@@ -2078,8 +2087,8 @@ export interface TargetGroup {
2078
2087
  Matcher?: Matcher;
2079
2088
  /**
2080
2089
  * @public
2081
- * <p>The Amazon Resource Names (ARN) of the load balancers that route traffic to this target
2082
- * group.</p>
2090
+ * <p>The Amazon Resource Name (ARN) of the load balancer that routes traffic to this target
2091
+ * group. You can use each target group with only one load balancer.</p>
2083
2092
  */
2084
2093
  LoadBalancerArns?: string[];
2085
2094
  /**
@@ -2205,8 +2214,8 @@ export interface TargetDescription {
2205
2214
  * @public
2206
2215
  * <p>The port on which the target is listening. If the target group protocol is GENEVE, the
2207
2216
  * supported port is 6081. If the target type is <code>alb</code>, the targeted Application Load
2208
- * Balancer must have at least one listener whose port matches the target group port. Not used if
2209
- * the target is a Lambda function.</p>
2217
+ * Balancer must have at least one listener whose port matches the target group port. This
2218
+ * parameter is not used if the target is a Lambda function.</p>
2210
2219
  */
2211
2220
  Port?: number;
2212
2221
  /**
@@ -2285,6 +2294,27 @@ export interface DescribeAccountLimitsInput {
2285
2294
  * @public
2286
2295
  * <p>Information about an Elastic Load Balancing resource limit for your Amazon Web Services
2287
2296
  * account.</p>
2297
+ * <p>For more information, see the following:</p>
2298
+ * <ul>
2299
+ * <li>
2300
+ * <p>
2301
+ * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html">Quotas for your
2302
+ * Application Load Balancers</a>
2303
+ * </p>
2304
+ * </li>
2305
+ * <li>
2306
+ * <p>
2307
+ * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html">Quotas for your
2308
+ * Network Load Balancers</a>
2309
+ * </p>
2310
+ * </li>
2311
+ * <li>
2312
+ * <p>
2313
+ * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html">Quotas for your Gateway
2314
+ * Load Balancers</a>
2315
+ * </p>
2316
+ * </li>
2317
+ * </ul>
2288
2318
  */
2289
2319
  export interface Limit {
2290
2320
  /**
@@ -3595,9 +3625,8 @@ export interface SetIpAddressTypeInput {
3595
3625
  /**
3596
3626
  * @public
3597
3627
  * <p>The IP address type. The possible values are <code>ipv4</code> (for IPv4 addresses) and
3598
- * <code>dualstack</code> (for IPv4 and IPv6 addresses).
3599
- * You can’t specify
3600
- * <code>dualstack</code> for a load balancer with a UDP or TCP_UDP listener.</p>
3628
+ * <code>dualstack</code> (for IPv4 and IPv6 addresses). You can’t specify <code>dualstack</code> for a load balancer
3629
+ * with a UDP or TCP_UDP listener.</p>
3601
3630
  */
3602
3631
  IpAddressType: IpAddressType | string | undefined;
3603
3632
  }
@@ -3647,6 +3676,18 @@ export interface SetRulePrioritiesOutput {
3647
3676
  */
3648
3677
  Rules?: Rule[];
3649
3678
  }
3679
+ /**
3680
+ * @public
3681
+ * @enum
3682
+ */
3683
+ export declare const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum: {
3684
+ readonly off: "off";
3685
+ readonly on: "on";
3686
+ };
3687
+ /**
3688
+ * @public
3689
+ */
3690
+ export type EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = (typeof EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum)[keyof typeof EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum];
3650
3691
  /**
3651
3692
  * @public
3652
3693
  */
@@ -3661,6 +3702,12 @@ export interface SetSecurityGroupsInput {
3661
3702
  * <p>The IDs of the security groups.</p>
3662
3703
  */
3663
3704
  SecurityGroups: string[] | undefined;
3705
+ /**
3706
+ * @public
3707
+ * <p>Indicates whether to evaluate inbound security group rules for traffic sent to a
3708
+ * Network Load Balancer through Amazon Web Services PrivateLink. The default is <code>on</code>.</p>
3709
+ */
3710
+ EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic?: EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum | string;
3664
3711
  }
3665
3712
  /**
3666
3713
  * @public
@@ -3671,6 +3718,12 @@ export interface SetSecurityGroupsOutput {
3671
3718
  * <p>The IDs of the security groups associated with the load balancer.</p>
3672
3719
  */
3673
3720
  SecurityGroupIds?: string[];
3721
+ /**
3722
+ * @public
3723
+ * <p>Indicates whether to evaluate inbound security group rules for traffic sent to a
3724
+ * Network Load Balancer through Amazon Web Services PrivateLink.</p>
3725
+ */
3726
+ EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic?: EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum | string;
3674
3727
  }
3675
3728
  /**
3676
3729
  * @public
@@ -3715,8 +3768,7 @@ export interface SetSubnetsInput {
3715
3768
  * <p>[Network Load Balancers] The type of IP addresses used by the subnets for your load
3716
3769
  * balancer. The possible values are <code>ipv4</code> (for IPv4 addresses) and
3717
3770
  * <code>dualstack</code> (for IPv4 and IPv6 addresses). You can’t specify
3718
- * <code>dualstack</code> for a load balancer with a UDP or TCP_UDP listener.
3719
- * .</p>
3771
+ * <code>dualstack</code> for a load balancer with a UDP or TCP_UDP listener.</p>
3720
3772
  */
3721
3773
  IpAddressType?: IpAddressType | string;
3722
3774
  }
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
26
26
  defaultSigningName: string;
27
27
  };
28
28
  export interface EndpointParameters extends __EndpointParameters {
29
- Region: string;
29
+ Region?: string;
30
30
  UseDualStack?: boolean;
31
31
  UseFIPS?: boolean;
32
32
  Endpoint?: string;
@@ -427,6 +427,7 @@ export interface LoadBalancer {
427
427
  SecurityGroups?: string[];
428
428
  IpAddressType?: IpAddressType | string;
429
429
  CustomerOwnedIpv4Pool?: string;
430
+ EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic?: string;
430
431
  }
431
432
  export interface CreateLoadBalancerOutput {
432
433
  LoadBalancers?: LoadBalancer[];
@@ -917,12 +918,24 @@ export interface SetRulePrioritiesInput {
917
918
  export interface SetRulePrioritiesOutput {
918
919
  Rules?: Rule[];
919
920
  }
921
+ export declare const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum: {
922
+ readonly off: "off";
923
+ readonly on: "on";
924
+ };
925
+ export type EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum =
926
+ (typeof EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum)[keyof typeof EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum];
920
927
  export interface SetSecurityGroupsInput {
921
928
  LoadBalancerArn: string | undefined;
922
929
  SecurityGroups: string[] | undefined;
930
+ EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic?:
931
+ | EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum
932
+ | string;
923
933
  }
924
934
  export interface SetSecurityGroupsOutput {
925
935
  SecurityGroupIds?: string[];
936
+ EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic?:
937
+ | EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum
938
+ | string;
926
939
  }
927
940
  export interface SetSubnetsInput {
928
941
  LoadBalancerArn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elastic-load-balancing-v2",
3
3
  "description": "AWS SDK for JavaScript Elastic Load Balancing V2 Client for Node.js, Browser and React Native",
4
- "version": "3.388.0",
4
+ "version": "3.391.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,40 +21,40 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.388.0",
25
- "@aws-sdk/credential-provider-node": "3.388.0",
26
- "@aws-sdk/middleware-host-header": "3.387.0",
27
- "@aws-sdk/middleware-logger": "3.387.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.387.0",
29
- "@aws-sdk/middleware-signing": "3.387.0",
30
- "@aws-sdk/middleware-user-agent": "3.387.0",
31
- "@aws-sdk/types": "3.387.0",
32
- "@aws-sdk/util-endpoints": "3.387.0",
33
- "@aws-sdk/util-user-agent-browser": "3.387.0",
34
- "@aws-sdk/util-user-agent-node": "3.387.0",
35
- "@smithy/config-resolver": "^2.0.2",
36
- "@smithy/fetch-http-handler": "^2.0.2",
37
- "@smithy/hash-node": "^2.0.2",
38
- "@smithy/invalid-dependency": "^2.0.2",
39
- "@smithy/middleware-content-length": "^2.0.2",
40
- "@smithy/middleware-endpoint": "^2.0.2",
41
- "@smithy/middleware-retry": "^2.0.2",
42
- "@smithy/middleware-serde": "^2.0.2",
24
+ "@aws-sdk/client-sts": "3.391.0",
25
+ "@aws-sdk/credential-provider-node": "3.391.0",
26
+ "@aws-sdk/middleware-host-header": "3.391.0",
27
+ "@aws-sdk/middleware-logger": "3.391.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.391.0",
29
+ "@aws-sdk/middleware-signing": "3.391.0",
30
+ "@aws-sdk/middleware-user-agent": "3.391.0",
31
+ "@aws-sdk/types": "3.391.0",
32
+ "@aws-sdk/util-endpoints": "3.391.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.391.0",
34
+ "@aws-sdk/util-user-agent-node": "3.391.0",
35
+ "@smithy/config-resolver": "^2.0.3",
36
+ "@smithy/fetch-http-handler": "^2.0.3",
37
+ "@smithy/hash-node": "^2.0.3",
38
+ "@smithy/invalid-dependency": "^2.0.3",
39
+ "@smithy/middleware-content-length": "^2.0.3",
40
+ "@smithy/middleware-endpoint": "^2.0.3",
41
+ "@smithy/middleware-retry": "^2.0.3",
42
+ "@smithy/middleware-serde": "^2.0.3",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.2",
45
- "@smithy/node-http-handler": "^2.0.2",
46
- "@smithy/protocol-http": "^2.0.2",
47
- "@smithy/smithy-client": "^2.0.2",
48
- "@smithy/types": "^2.1.0",
49
- "@smithy/url-parser": "^2.0.2",
44
+ "@smithy/node-config-provider": "^2.0.3",
45
+ "@smithy/node-http-handler": "^2.0.3",
46
+ "@smithy/protocol-http": "^2.0.3",
47
+ "@smithy/smithy-client": "^2.0.3",
48
+ "@smithy/types": "^2.2.0",
49
+ "@smithy/url-parser": "^2.0.3",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
52
  "@smithy/util-body-length-node": "^2.0.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.2",
54
- "@smithy/util-defaults-mode-node": "^2.0.2",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.3",
54
+ "@smithy/util-defaults-mode-node": "^2.0.3",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
- "@smithy/util-waiter": "^2.0.2",
57
+ "@smithy/util-waiter": "^2.0.3",
58
58
  "fast-xml-parser": "4.2.5",
59
59
  "tslib": "^2.5.0"
60
60
  },