Skip to content

Commit c3bb98f

Browse files
author
awstools
committed
feat(client-elastic-load-balancing-v2): This release adds dualstack-without-public-ipv4 IP address type for ALB.
1 parent 9f65b40 commit c3bb98f

File tree

6 files changed

+60
-24
lines changed

6 files changed

+60
-24
lines changed

clients/client-elastic-load-balancing-v2/src/commands/CreateLoadBalancerCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export interface CreateLoadBalancerCommandOutput extends CreateLoadBalancerOutpu
8585
* },
8686
* ],
8787
* Type: "application" || "network" || "gateway",
88-
* IpAddressType: "ipv4" || "dualstack",
88+
* IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
8989
* CustomerOwnedIpv4Pool: "STRING_VALUE",
9090
* };
9191
* const command = new CreateLoadBalancerCommand(input);
@@ -123,7 +123,7 @@ export interface CreateLoadBalancerCommandOutput extends CreateLoadBalancerOutpu
123123
* // SecurityGroups: [ // SecurityGroups
124124
* // "STRING_VALUE",
125125
* // ],
126-
* // IpAddressType: "ipv4" || "dualstack",
126+
* // IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
127127
* // CustomerOwnedIpv4Pool: "STRING_VALUE",
128128
* // EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: "STRING_VALUE",
129129
* // },

clients/client-elastic-load-balancing-v2/src/commands/DescribeLoadBalancersCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export interface DescribeLoadBalancersCommandOutput extends DescribeLoadBalancer
8383
* // SecurityGroups: [ // SecurityGroups
8484
* // "STRING_VALUE",
8585
* // ],
86-
* // IpAddressType: "ipv4" || "dualstack",
86+
* // IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
8787
* // CustomerOwnedIpv4Pool: "STRING_VALUE",
8888
* // EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic: "STRING_VALUE",
8989
* // },

clients/client-elastic-load-balancing-v2/src/commands/SetIpAddressTypeCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ export interface SetIpAddressTypeCommandOutput extends SetIpAddressTypeOutput, _
4040
* const client = new ElasticLoadBalancingV2Client(config);
4141
* const input = { // SetIpAddressTypeInput
4242
* LoadBalancerArn: "STRING_VALUE", // required
43-
* IpAddressType: "ipv4" || "dualstack", // required
43+
* IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4", // required
4444
* };
4545
* const command = new SetIpAddressTypeCommand(input);
4646
* const response = await client.send(command);
4747
* // { // SetIpAddressTypeOutput
48-
* // IpAddressType: "ipv4" || "dualstack",
48+
* // IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
4949
* // };
5050
*
5151
* ```

clients/client-elastic-load-balancing-v2/src/commands/SetSubnetsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface SetSubnetsCommandOutput extends SetSubnetsOutput, __MetadataBea
5656
* IPv6Address: "STRING_VALUE",
5757
* },
5858
* ],
59-
* IpAddressType: "ipv4" || "dualstack",
59+
* IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
6060
* };
6161
* const command = new SetSubnetsCommand(input);
6262
* const response = await client.send(command);
@@ -76,7 +76,7 @@ export interface SetSubnetsCommandOutput extends SetSubnetsOutput, __MetadataBea
7676
* // ],
7777
* // },
7878
* // ],
79-
* // IpAddressType: "ipv4" || "dualstack",
79+
* // IpAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
8080
* // };
8181
*
8282
* ```

clients/client-elastic-load-balancing-v2/src/models/models_0.ts

Lines changed: 41 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1651,6 +1651,7 @@ export class UnsupportedProtocolException extends __BaseException {
16511651
*/
16521652
export const IpAddressType = {
16531653
DUALSTACK: "dualstack",
1654+
DUALSTACK_WITHOUT_PUBLIC_IPV4: "dualstack-without-public-ipv4",
16541655
IPV4: "ipv4",
16551656
} as const;
16561657

@@ -1803,9 +1804,18 @@ export interface CreateLoadBalancerInput {
18031804
Type?: LoadBalancerTypeEnum;
18041805

18051806
/**
1806-
* <p>The type of IP addresses used by the subnets for your load balancer. The possible values
1807-
* are <code>ipv4</code> (for IPv4 addresses) and <code>dualstack</code> (for IPv4 and IPv6
1808-
* addresses). </p>
1807+
* <p>Note: Internal load balancers must use the <code>ipv4</code> IP address type.</p>
1808+
* <p>[Application Load Balancers] The IP address type. The possible values are
1809+
* <code>ipv4</code> (for only IPv4 addresses), <code>dualstack</code> (for IPv4 and
1810+
* IPv6 addresses), and <code>dualstack-without-public-ipv4</code> (for IPv6 only public
1811+
* addresses, with private IPv4 and IPv6 addresses).</p>
1812+
* <p>[Network Load Balancers] The IP address type. The possible values are
1813+
* <code>ipv4</code> (for only IPv4 addresses) and <code>dualstack</code>
1814+
* (for IPv4 and IPv6 addresses). You can’t specify <code>dualstack</code>
1815+
* for a load balancer with a UDP or TCP_UDP listener.</p>
1816+
* <p>[Gateway Load Balancers] The IP address type. The possible values are
1817+
* <code>ipv4</code> (for only IPv4 addresses) and <code>dualstack</code>
1818+
* (for IPv4 and IPv6 addresses).</p>
18091819
* @public
18101820
*/
18111821
IpAddressType?: IpAddressType;
@@ -1935,9 +1945,15 @@ export interface LoadBalancer {
19351945
SecurityGroups?: string[];
19361946

19371947
/**
1938-
* <p>The type of IP addresses used by the subnets for your load balancer. The possible values
1939-
* are <code>ipv4</code> (for IPv4 addresses) and <code>dualstack</code> (for IPv4 and IPv6
1940-
* addresses).</p>
1948+
* <p>[Application Load Balancers] The type of IP addresses used for public or private
1949+
* connections by the subnets attached to your load balancer. The possible values are
1950+
* <code>ipv4</code> (for only IPv4 addresses), <code>dualstack</code> (for IPv4 and
1951+
* IPv6 addresses), and <code>dualstack-without-public-ipv4</code> (for IPv6 only public
1952+
* addresses, with private IPv4 and IPv6 addresses).</p>
1953+
* <p>[Network Load Balancers and Gateway Load Balancers] The type of IP addresses
1954+
* used for public or private connections by the subnets attached to your load
1955+
* balancer. The possible values are <code>ipv4</code> (for only IPv4 addresses)
1956+
* and <code>dualstack</code> (for IPv4 and IPv6 addresses).</p>
19411957
* @public
19421958
*/
19431959
IpAddressType?: IpAddressType;
@@ -5197,9 +5213,18 @@ export interface SetIpAddressTypeInput {
51975213
LoadBalancerArn: string | undefined;
51985214

51995215
/**
5200-
* <p>The IP address type. The possible values are <code>ipv4</code> (for IPv4 addresses) and
5201-
* <code>dualstack</code> (for IPv4 and IPv6 addresses). You can’t specify <code>dualstack</code> for a load balancer
5202-
* with a UDP or TCP_UDP listener.</p>
5216+
* <p>Note: Internal load balancers must use the <code>ipv4</code> IP address type.</p>
5217+
* <p>[Application Load Balancers] The IP address type. The possible values are
5218+
* <code>ipv4</code> (for only IPv4 addresses), <code>dualstack</code> (for IPv4 and
5219+
* IPv6 addresses), and <code>dualstack-without-public-ipv4</code> (for IPv6 only public
5220+
* addresses, with private IPv4 and IPv6 addresses).</p>
5221+
* <p>[Network Load Balancers] The IP address type. The possible values are
5222+
* <code>ipv4</code> (for only IPv4 addresses) and <code>dualstack</code>
5223+
* (for IPv4 and IPv6 addresses). You can’t specify <code>dualstack</code>
5224+
* for a load balancer with a UDP or TCP_UDP listener.</p>
5225+
* <p>[Gateway Load Balancers] The IP address type. The possible values are
5226+
* <code>ipv4</code> (for only IPv4 addresses) and <code>dualstack</code>
5227+
* (for IPv4 and IPv6 addresses).</p>
52035228
* @public
52045229
*/
52055230
IpAddressType: IpAddressType | undefined;
@@ -5359,7 +5384,11 @@ export interface SetSubnetsInput {
53595384
SubnetMappings?: SubnetMapping[];
53605385

53615386
/**
5362-
* <p>[Network Load Balancers] The type of IP addresses used by the subnets for your load
5387+
* <p>[Application Load Balancers] The IP address type. The possible values are
5388+
* <code>ipv4</code> (for only IPv4 addresses), <code>dualstack</code> (for IPv4 and
5389+
* IPv6 addresses), and <code>dualstack-without-public-ipv4</code> (for IPv6 only public
5390+
* addresses, with private IPv4 and IPv6 addresses).</p>
5391+
* <p>[Network Load Balancers] The type of IP addresses used by the subnets for your load
53635392
* balancer. The possible values are <code>ipv4</code> (for IPv4 addresses) and
53645393
* <code>dualstack</code> (for IPv4 and IPv6 addresses). You can’t specify
53655394
* <code>dualstack</code> for a load balancer with a UDP or TCP_UDP listener.</p>
@@ -5382,7 +5411,8 @@ export interface SetSubnetsOutput {
53825411
AvailabilityZones?: AvailabilityZone[];
53835412

53845413
/**
5385-
* <p>[Network Load Balancers] The IP address type.</p>
5414+
* <p>[Application Load Balancers] The IP address type.</p>
5415+
* <p>[Network Load Balancers] The IP address type.</p>
53865416
* <p>[Gateway Load Balancers] The IP address type.</p>
53875417
* @public
53885418
*/

codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@
12771277
"IpAddressType": {
12781278
"target": "com.amazonaws.elasticloadbalancingv2#IpAddressType",
12791279
"traits": {
1280-
"smithy.api#documentation": "<p>The type of IP addresses used by the subnets for your load balancer. The possible values\n are <code>ipv4</code> (for IPv4 addresses) and <code>dualstack</code> (for IPv4 and IPv6\n addresses). </p>"
1280+
"smithy.api#documentation": "<p>Note: Internal load balancers must use the <code>ipv4</code> IP address type.</p>\n <p>[Application Load Balancers] The IP address type. The possible values are \n <code>ipv4</code> (for only IPv4 addresses), <code>dualstack</code> (for IPv4 and \n IPv6 addresses), and <code>dualstack-without-public-ipv4</code> (for IPv6 only public \n addresses, with private IPv4 and IPv6 addresses).</p>\n <p>[Network Load Balancers] The IP address type. The possible values are \n <code>ipv4</code> (for only IPv4 addresses) and <code>dualstack</code> \n (for IPv4 and IPv6 addresses). You can’t specify <code>dualstack</code> \n for a load balancer with a UDP or TCP_UDP listener.</p>\n <p>[Gateway Load Balancers] The IP address type. The possible values are \n <code>ipv4</code> (for only IPv4 addresses) and <code>dualstack</code> \n (for IPv4 and IPv6 addresses).</p>"
12811281
}
12821282
},
12831283
"CustomerOwnedIpv4Pool": {
@@ -3797,7 +3797,7 @@
37973797
"sdkId": "Elastic Load Balancing v2",
37983798
"arnNamespace": "elasticloadbalancing",
37993799
"cloudFormationName": "ElasticLoadBalancingV2",
3800-
"cloudTrailEventSource": "elasticloadbalancingv2.amazonaws.com",
3800+
"cloudTrailEventSource": "elasticloadbalancing.amazonaws.com",
38013801
"docId": "elasticloadbalancingv2-2015-12-01",
38023802
"endpointPrefix": "elasticloadbalancing"
38033803
},
@@ -5312,6 +5312,12 @@
53125312
"traits": {
53135313
"smithy.api#enumValue": "dualstack"
53145314
}
5315+
},
5316+
"DUALSTACK_WITHOUT_PUBLIC_IPV4": {
5317+
"target": "smithy.api#Unit",
5318+
"traits": {
5319+
"smithy.api#enumValue": "dualstack-without-public-ipv4"
5320+
}
53155321
}
53165322
}
53175323
},
@@ -5522,7 +5528,7 @@
55225528
"IpAddressType": {
55235529
"target": "com.amazonaws.elasticloadbalancingv2#IpAddressType",
55245530
"traits": {
5525-
"smithy.api#documentation": "<p>The type of IP addresses used by the subnets for your load balancer. The possible values\n are <code>ipv4</code> (for IPv4 addresses) and <code>dualstack</code> (for IPv4 and IPv6\n addresses).</p>"
5531+
"smithy.api#documentation": "<p>[Application Load Balancers] The type of IP addresses used for public or private \n connections by the subnets attached to your load balancer. The possible values are \n <code>ipv4</code> (for only IPv4 addresses), <code>dualstack</code> (for IPv4 and \n IPv6 addresses), and <code>dualstack-without-public-ipv4</code> (for IPv6 only public \n addresses, with private IPv4 and IPv6 addresses).</p>\n <p>[Network Load Balancers and Gateway Load Balancers] The type of IP addresses \n used for public or private connections by the subnets attached to your load \n balancer. The possible values are <code>ipv4</code> (for only IPv4 addresses) \n and <code>dualstack</code> (for IPv4 and IPv6 addresses).</p>"
55265532
}
55275533
},
55285534
"CustomerOwnedIpv4Pool": {
@@ -7559,7 +7565,7 @@
75597565
"target": "com.amazonaws.elasticloadbalancingv2#IpAddressType",
75607566
"traits": {
75617567
"smithy.api#clientOptional": {},
7562-
"smithy.api#documentation": "<p>The IP address type. The possible values are <code>ipv4</code> (for IPv4 addresses) and\n <code>dualstack</code> (for IPv4 and IPv6 addresses). You can’t specify <code>dualstack</code> for a load balancer\n with a UDP or TCP_UDP listener.</p>",
7568+
"smithy.api#documentation": "<p>Note: Internal load balancers must use the <code>ipv4</code> IP address type.</p>\n <p>[Application Load Balancers] The IP address type. The possible values are \n <code>ipv4</code> (for only IPv4 addresses), <code>dualstack</code> (for IPv4 and \n IPv6 addresses), and <code>dualstack-without-public-ipv4</code> (for IPv6 only public \n addresses, with private IPv4 and IPv6 addresses).</p>\n <p>[Network Load Balancers] The IP address type. The possible values are \n <code>ipv4</code> (for only IPv4 addresses) and <code>dualstack</code> \n (for IPv4 and IPv6 addresses). You can’t specify <code>dualstack</code> \n for a load balancer with a UDP or TCP_UDP listener.</p>\n <p>[Gateway Load Balancers] The IP address type. The possible values are \n <code>ipv4</code> (for only IPv4 addresses) and <code>dualstack</code> \n (for IPv4 and IPv6 addresses).</p>",
75637569
"smithy.api#required": {}
75647570
}
75657571
}
@@ -7836,7 +7842,7 @@
78367842
"IpAddressType": {
78377843
"target": "com.amazonaws.elasticloadbalancingv2#IpAddressType",
78387844
"traits": {
7839-
"smithy.api#documentation": "<p>[Network Load Balancers] The type of IP addresses used by the subnets for your load\n balancer. The possible values are <code>ipv4</code> (for IPv4 addresses) and\n <code>dualstack</code> (for IPv4 and IPv6 addresses). You can’t specify\n <code>dualstack</code> for a load balancer with a UDP or TCP_UDP listener.</p>\n <p>[Gateway Load Balancers] The type of IP addresses used by the subnets for your load\n balancer. The possible values are <code>ipv4</code> (for IPv4 addresses) and\n <code>dualstack</code> (for IPv4 and IPv6 addresses).</p>"
7845+
"smithy.api#documentation": "<p>[Application Load Balancers] The IP address type. The possible values are \n <code>ipv4</code> (for only IPv4 addresses), <code>dualstack</code> (for IPv4 and \n IPv6 addresses), and <code>dualstack-without-public-ipv4</code> (for IPv6 only public \n addresses, with private IPv4 and IPv6 addresses).</p>\n <p>[Network Load Balancers] The type of IP addresses used by the subnets for your load\n balancer. The possible values are <code>ipv4</code> (for IPv4 addresses) and\n <code>dualstack</code> (for IPv4 and IPv6 addresses). You can’t specify\n <code>dualstack</code> for a load balancer with a UDP or TCP_UDP listener.</p>\n <p>[Gateway Load Balancers] The type of IP addresses used by the subnets for your load\n balancer. The possible values are <code>ipv4</code> (for IPv4 addresses) and\n <code>dualstack</code> (for IPv4 and IPv6 addresses).</p>"
78407846
}
78417847
}
78427848
},
@@ -7856,7 +7862,7 @@
78567862
"IpAddressType": {
78577863
"target": "com.amazonaws.elasticloadbalancingv2#IpAddressType",
78587864
"traits": {
7859-
"smithy.api#documentation": "<p>[Network Load Balancers] The IP address type.</p>\n <p>[Gateway Load Balancers] The IP address type.</p>"
7865+
"smithy.api#documentation": "<p>[Application Load Balancers] The IP address type.</p>\n <p>[Network Load Balancers] The IP address type.</p>\n <p>[Gateway Load Balancers] The IP address type.</p>"
78607866
}
78617867
}
78627868
},

0 commit comments

Comments
 (0)