Skip to content

Commit d835dbb

Browse files
author
awstools
committed
feat(client-ec2): Add parameters to enable provisioning IPAM BYOIPv4 space at a Local Zone Network Border Group level
1 parent 992c63a commit d835dbb

14 files changed

+157
-19
lines changed

clients/client-ec2/src/commands/CreatePublicIpv4PoolCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export interface CreatePublicIpv4PoolCommandOutput extends CreatePublicIpv4PoolR
4848
* ],
4949
* },
5050
* ],
51+
* NetworkBorderGroup: "STRING_VALUE",
5152
* };
5253
* const command = new CreatePublicIpv4PoolCommand(input);
5354
* const response = await client.send(command);

clients/client-ec2/src/commands/DeletePublicIpv4PoolCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export interface DeletePublicIpv4PoolCommandOutput extends DeletePublicIpv4PoolR
3838
* const input = { // DeletePublicIpv4PoolRequest
3939
* DryRun: true || false,
4040
* PoolId: "STRING_VALUE", // required
41+
* NetworkBorderGroup: "STRING_VALUE",
4142
* };
4243
* const command = new DeletePublicIpv4PoolCommand(input);
4344
* const response = await client.send(command);

clients/client-ec2/src/commands/GetIpamDiscoveredResourceCidrsCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ export interface GetIpamDiscoveredResourceCidrsCommandOutput
7474
* // ],
7575
* // IpUsage: Number("double"),
7676
* // VpcId: "STRING_VALUE",
77+
* // NetworkInterfaceAttachmentStatus: "available" || "in-use",
7778
* // SampleTime: new Date("TIMESTAMP"),
79+
* // AvailabilityZoneId: "STRING_VALUE",
7880
* // },
7981
* // ],
8082
* // NextToken: "STRING_VALUE",

clients/client-ec2/src/commands/GetIpamResourceCidrsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export interface GetIpamResourceCidrsCommandOutput extends GetIpamResourceCidrsR
8383
* // ManagementState: "managed" || "unmanaged" || "ignored",
8484
* // OverlapStatus: "overlapping" || "nonoverlapping" || "ignored",
8585
* // VpcId: "STRING_VALUE",
86+
* // AvailabilityZoneId: "STRING_VALUE",
8687
* // },
8788
* // ],
8889
* // };

clients/client-ec2/src/commands/ModifyIpamResourceCidrCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export interface ModifyIpamResourceCidrCommandOutput extends ModifyIpamResourceC
6969
* // ManagementState: "managed" || "unmanaged" || "ignored",
7070
* // OverlapStatus: "overlapping" || "nonoverlapping" || "ignored",
7171
* // VpcId: "STRING_VALUE",
72+
* // AvailabilityZoneId: "STRING_VALUE",
7273
* // },
7374
* // };
7475
*

clients/client-ec2/src/commands/ProvisionByoipCidrCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { ProvisionByoipCidrRequest, ProvisionByoipCidrResult } from "../models/models_6";
9+
import { ProvisionByoipCidrRequest } from "../models/models_6";
10+
import { ProvisionByoipCidrResult } from "../models/models_7";
1011
import { de_ProvisionByoipCidrCommand, se_ProvisionByoipCidrCommand } from "../protocols/Aws_ec2";
1112

1213
/**

clients/client-ec2/src/commands/ProvisionPublicIpv4PoolCidrCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export interface ProvisionPublicIpv4PoolCidrCommandOutput extends ProvisionPubli
4141
* IpamPoolId: "STRING_VALUE", // required
4242
* PoolId: "STRING_VALUE", // required
4343
* NetmaskLength: Number("int"), // required
44+
* NetworkBorderGroup: "STRING_VALUE",
4445
* };
4546
* const command = new ProvisionPublicIpv4PoolCidrCommand(input);
4647
* const response = await client.send(command);

clients/client-ec2/src/models/models_1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5467,7 +5467,7 @@ export interface CreateIpamPoolRequest {
54675467
IpamScopeId: string | undefined;
54685468

54695469
/**
5470-
* <p>In IPAM, the locale is the Amazon Web Services Region where you want to make an IPAM pool available for allocations. Only resources in the same Region as the locale of the pool can get IP address allocations from the pool. You can only allocate a CIDR for a VPC, for example, from an IPAM pool that shares a locale with the VPC’s Region. Note that once you choose a Locale for a pool, you cannot modify it. If you do not choose a locale, resources in Regions others than the IPAM's home region cannot use CIDRs from this pool.</p>
5470+
* <p>In IPAM, the locale is the Amazon Web Services Region or, for IPAM IPv4 pools in the public scope, the network border group for an Amazon Web Services Local Zone where you want to make an IPAM pool available for allocations (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail">supported Local Zones</a>). If you do not choose a locale, resources in Regions others than the IPAM's home region cannot use CIDRs from this pool.</p>
54715471
* <p>Possible values: Any Amazon Web Services Region, such as us-east-1.</p>
54725472
* @public
54735473
*/
@@ -5711,7 +5711,7 @@ export interface IpamPool {
57115711
IpamRegion?: string;
57125712

57135713
/**
5714-
* <p>The locale of the IPAM pool. In IPAM, the locale is the Amazon Web Services Region where you want to make an IPAM pool available for allocations. Only resources in the same Region as the locale of the pool can get IP address allocations from the pool. You can only allocate a CIDR for a VPC, for example, from an IPAM pool that shares a locale with the VPC’s Region. Note that once you choose a Locale for a pool, you cannot modify it. If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error.</p>
5714+
* <p>The locale of the IPAM pool. In IPAM, the locale is the Amazon Web Services Region or, for IPAM IPv4 pools in the public scope, the network border group for an Amazon Web Services Local Zone where you want to make an IPAM pool available for allocations (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail">supported Local Zones</a>). If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error.</p>
57155715
* @public
57165716
*/
57175717
Locale?: string;

clients/client-ec2/src/models/models_2.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,12 @@ export interface CreatePublicIpv4PoolRequest {
653653
* @public
654654
*/
655655
TagSpecifications?: TagSpecification[];
656+
657+
/**
658+
* <p>The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail">Local Zone availability</a> in the <i>Amazon EC2 User Guide</i>.</p>
659+
* @public
660+
*/
661+
NetworkBorderGroup?: string;
656662
}
657663

658664
/**

clients/client-ec2/src/models/models_3.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,12 @@ export interface DeletePublicIpv4PoolRequest {
383383
* @public
384384
*/
385385
PoolId: string | undefined;
386+
387+
/**
388+
* <p>The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail">Local Zone availability</a> in the <i>Amazon EC2 User Guide</i>.</p>
389+
* @public
390+
*/
391+
NetworkBorderGroup?: string;
386392
}
387393

388394
/**

0 commit comments

Comments
 (0)