Skip to content

Commit 337c43d

Browse files
author
awstools
committed
feat(client-ec2): Amazon VPC IP Address Manager (IPAM) now supports Bring-Your-Own-IP (BYOIP) for IP addresses registered with any Internet Registry. This feature uses DNS TXT records to validate ownership of a public IP address range.
1 parent 709db60 commit 337c43d

File tree

127 files changed

+3570
-1984
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+3570
-1984
lines changed

clients/client-ec2/README.md

+24
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,14 @@ CreateIpam
813813

814814
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/CreateIpamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateIpamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateIpamCommandOutput/)
815815

816+
</details>
817+
<details>
818+
<summary>
819+
CreateIpamExternalResourceVerificationToken
820+
</summary>
821+
822+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/CreateIpamExternalResourceVerificationTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateIpamExternalResourceVerificationTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/CreateIpamExternalResourceVerificationTokenCommandOutput/)
823+
816824
</details>
817825
<details>
818826
<summary>
@@ -1421,6 +1429,14 @@ DeleteIpam
14211429

14221430
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DeleteIpamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DeleteIpamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DeleteIpamCommandOutput/)
14231431

1432+
</details>
1433+
<details>
1434+
<summary>
1435+
DeleteIpamExternalResourceVerificationToken
1436+
</summary>
1437+
1438+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DeleteIpamExternalResourceVerificationTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DeleteIpamExternalResourceVerificationTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DeleteIpamExternalResourceVerificationTokenCommandOutput/)
1439+
14241440
</details>
14251441
<details>
14261442
<summary>
@@ -2413,6 +2429,14 @@ DescribeIpamByoasn
24132429

24142430
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeIpamByoasnCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeIpamByoasnCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeIpamByoasnCommandOutput/)
24152431

2432+
</details>
2433+
<details>
2434+
<summary>
2435+
DescribeIpamExternalResourceVerificationTokens
2436+
</summary>
2437+
2438+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DescribeIpamExternalResourceVerificationTokensCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeIpamExternalResourceVerificationTokensCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DescribeIpamExternalResourceVerificationTokensCommandOutput/)
2439+
24162440
</details>
24172441
<details>
24182442
<summary>

clients/client-ec2/src/EC2.ts

+70
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,11 @@ import {
366366
CreateInternetGatewayCommandOutput,
367367
} from "./commands/CreateInternetGatewayCommand";
368368
import { CreateIpamCommand, CreateIpamCommandInput, CreateIpamCommandOutput } from "./commands/CreateIpamCommand";
369+
import {
370+
CreateIpamExternalResourceVerificationTokenCommand,
371+
CreateIpamExternalResourceVerificationTokenCommandInput,
372+
CreateIpamExternalResourceVerificationTokenCommandOutput,
373+
} from "./commands/CreateIpamExternalResourceVerificationTokenCommand";
369374
import {
370375
CreateIpamPoolCommand,
371376
CreateIpamPoolCommandInput,
@@ -730,6 +735,11 @@ import {
730735
DeleteInternetGatewayCommandOutput,
731736
} from "./commands/DeleteInternetGatewayCommand";
732737
import { DeleteIpamCommand, DeleteIpamCommandInput, DeleteIpamCommandOutput } from "./commands/DeleteIpamCommand";
738+
import {
739+
DeleteIpamExternalResourceVerificationTokenCommand,
740+
DeleteIpamExternalResourceVerificationTokenCommandInput,
741+
DeleteIpamExternalResourceVerificationTokenCommandOutput,
742+
} from "./commands/DeleteIpamExternalResourceVerificationTokenCommand";
733743
import {
734744
DeleteIpamPoolCommand,
735745
DeleteIpamPoolCommandInput,
@@ -1338,6 +1348,11 @@ import {
13381348
DescribeIpamByoasnCommandInput,
13391349
DescribeIpamByoasnCommandOutput,
13401350
} from "./commands/DescribeIpamByoasnCommand";
1351+
import {
1352+
DescribeIpamExternalResourceVerificationTokensCommand,
1353+
DescribeIpamExternalResourceVerificationTokensCommandInput,
1354+
DescribeIpamExternalResourceVerificationTokensCommandOutput,
1355+
} from "./commands/DescribeIpamExternalResourceVerificationTokensCommand";
13411356
import {
13421357
DescribeIpamPoolsCommand,
13431358
DescribeIpamPoolsCommandInput,
@@ -3123,6 +3138,7 @@ const commands = {
31233138
CreateInstanceExportTaskCommand,
31243139
CreateInternetGatewayCommand,
31253140
CreateIpamCommand,
3141+
CreateIpamExternalResourceVerificationTokenCommand,
31263142
CreateIpamPoolCommand,
31273143
CreateIpamResourceDiscoveryCommand,
31283144
CreateIpamScopeCommand,
@@ -3199,6 +3215,7 @@ const commands = {
31993215
DeleteInstanceEventWindowCommand,
32003216
DeleteInternetGatewayCommand,
32013217
DeleteIpamCommand,
3218+
DeleteIpamExternalResourceVerificationTokenCommand,
32023219
DeleteIpamPoolCommand,
32033220
DeleteIpamResourceDiscoveryCommand,
32043221
DeleteIpamScopeCommand,
@@ -3323,6 +3340,7 @@ const commands = {
33233340
DescribeInstanceTypesCommand,
33243341
DescribeInternetGatewaysCommand,
33253342
DescribeIpamByoasnCommand,
3343+
DescribeIpamExternalResourceVerificationTokensCommand,
33263344
DescribeIpamPoolsCommand,
33273345
DescribeIpamResourceDiscoveriesCommand,
33283346
DescribeIpamResourceDiscoveryAssociationsCommand,
@@ -4907,6 +4925,23 @@ export interface EC2 {
49074925
cb: (err: any, data?: CreateIpamCommandOutput) => void
49084926
): void;
49094927

4928+
/**
4929+
* @see {@link CreateIpamExternalResourceVerificationTokenCommand}
4930+
*/
4931+
createIpamExternalResourceVerificationToken(
4932+
args: CreateIpamExternalResourceVerificationTokenCommandInput,
4933+
options?: __HttpHandlerOptions
4934+
): Promise<CreateIpamExternalResourceVerificationTokenCommandOutput>;
4935+
createIpamExternalResourceVerificationToken(
4936+
args: CreateIpamExternalResourceVerificationTokenCommandInput,
4937+
cb: (err: any, data?: CreateIpamExternalResourceVerificationTokenCommandOutput) => void
4938+
): void;
4939+
createIpamExternalResourceVerificationToken(
4940+
args: CreateIpamExternalResourceVerificationTokenCommandInput,
4941+
options: __HttpHandlerOptions,
4942+
cb: (err: any, data?: CreateIpamExternalResourceVerificationTokenCommandOutput) => void
4943+
): void;
4944+
49104945
/**
49114946
* @see {@link CreateIpamPoolCommand}
49124947
*/
@@ -6136,6 +6171,23 @@ export interface EC2 {
61366171
cb: (err: any, data?: DeleteIpamCommandOutput) => void
61376172
): void;
61386173

6174+
/**
6175+
* @see {@link DeleteIpamExternalResourceVerificationTokenCommand}
6176+
*/
6177+
deleteIpamExternalResourceVerificationToken(
6178+
args: DeleteIpamExternalResourceVerificationTokenCommandInput,
6179+
options?: __HttpHandlerOptions
6180+
): Promise<DeleteIpamExternalResourceVerificationTokenCommandOutput>;
6181+
deleteIpamExternalResourceVerificationToken(
6182+
args: DeleteIpamExternalResourceVerificationTokenCommandInput,
6183+
cb: (err: any, data?: DeleteIpamExternalResourceVerificationTokenCommandOutput) => void
6184+
): void;
6185+
deleteIpamExternalResourceVerificationToken(
6186+
args: DeleteIpamExternalResourceVerificationTokenCommandInput,
6187+
options: __HttpHandlerOptions,
6188+
cb: (err: any, data?: DeleteIpamExternalResourceVerificationTokenCommandOutput) => void
6189+
): void;
6190+
61396191
/**
61406192
* @see {@link DeleteIpamPoolCommand}
61416193
*/
@@ -8235,6 +8287,24 @@ export interface EC2 {
82358287
cb: (err: any, data?: DescribeIpamByoasnCommandOutput) => void
82368288
): void;
82378289

8290+
/**
8291+
* @see {@link DescribeIpamExternalResourceVerificationTokensCommand}
8292+
*/
8293+
describeIpamExternalResourceVerificationTokens(): Promise<DescribeIpamExternalResourceVerificationTokensCommandOutput>;
8294+
describeIpamExternalResourceVerificationTokens(
8295+
args: DescribeIpamExternalResourceVerificationTokensCommandInput,
8296+
options?: __HttpHandlerOptions
8297+
): Promise<DescribeIpamExternalResourceVerificationTokensCommandOutput>;
8298+
describeIpamExternalResourceVerificationTokens(
8299+
args: DescribeIpamExternalResourceVerificationTokensCommandInput,
8300+
cb: (err: any, data?: DescribeIpamExternalResourceVerificationTokensCommandOutput) => void
8301+
): void;
8302+
describeIpamExternalResourceVerificationTokens(
8303+
args: DescribeIpamExternalResourceVerificationTokensCommandInput,
8304+
options: __HttpHandlerOptions,
8305+
cb: (err: any, data?: DescribeIpamExternalResourceVerificationTokensCommandOutput) => void
8306+
): void;
8307+
82388308
/**
82398309
* @see {@link DescribeIpamPoolsCommand}
82408310
*/

clients/client-ec2/src/EC2Client.ts

+18
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,10 @@ import {
291291
CreateInternetGatewayCommandOutput,
292292
} from "./commands/CreateInternetGatewayCommand";
293293
import { CreateIpamCommandInput, CreateIpamCommandOutput } from "./commands/CreateIpamCommand";
294+
import {
295+
CreateIpamExternalResourceVerificationTokenCommandInput,
296+
CreateIpamExternalResourceVerificationTokenCommandOutput,
297+
} from "./commands/CreateIpamExternalResourceVerificationTokenCommand";
294298
import { CreateIpamPoolCommandInput, CreateIpamPoolCommandOutput } from "./commands/CreateIpamPoolCommand";
295299
import {
296300
CreateIpamResourceDiscoveryCommandInput,
@@ -529,6 +533,10 @@ import {
529533
DeleteInternetGatewayCommandOutput,
530534
} from "./commands/DeleteInternetGatewayCommand";
531535
import { DeleteIpamCommandInput, DeleteIpamCommandOutput } from "./commands/DeleteIpamCommand";
536+
import {
537+
DeleteIpamExternalResourceVerificationTokenCommandInput,
538+
DeleteIpamExternalResourceVerificationTokenCommandOutput,
539+
} from "./commands/DeleteIpamExternalResourceVerificationTokenCommand";
532540
import { DeleteIpamPoolCommandInput, DeleteIpamPoolCommandOutput } from "./commands/DeleteIpamPoolCommand";
533541
import {
534542
DeleteIpamResourceDiscoveryCommandInput,
@@ -947,6 +955,10 @@ import {
947955
DescribeInternetGatewaysCommandOutput,
948956
} from "./commands/DescribeInternetGatewaysCommand";
949957
import { DescribeIpamByoasnCommandInput, DescribeIpamByoasnCommandOutput } from "./commands/DescribeIpamByoasnCommand";
958+
import {
959+
DescribeIpamExternalResourceVerificationTokensCommandInput,
960+
DescribeIpamExternalResourceVerificationTokensCommandOutput,
961+
} from "./commands/DescribeIpamExternalResourceVerificationTokensCommand";
950962
import { DescribeIpamPoolsCommandInput, DescribeIpamPoolsCommandOutput } from "./commands/DescribeIpamPoolsCommand";
951963
import {
952964
DescribeIpamResourceDiscoveriesCommandInput,
@@ -2248,6 +2260,7 @@ export type ServiceInputTypes =
22482260
| CreateInstanceExportTaskCommandInput
22492261
| CreateInternetGatewayCommandInput
22502262
| CreateIpamCommandInput
2263+
| CreateIpamExternalResourceVerificationTokenCommandInput
22512264
| CreateIpamPoolCommandInput
22522265
| CreateIpamResourceDiscoveryCommandInput
22532266
| CreateIpamScopeCommandInput
@@ -2324,6 +2337,7 @@ export type ServiceInputTypes =
23242337
| DeleteInstanceEventWindowCommandInput
23252338
| DeleteInternetGatewayCommandInput
23262339
| DeleteIpamCommandInput
2340+
| DeleteIpamExternalResourceVerificationTokenCommandInput
23272341
| DeleteIpamPoolCommandInput
23282342
| DeleteIpamResourceDiscoveryCommandInput
23292343
| DeleteIpamScopeCommandInput
@@ -2448,6 +2462,7 @@ export type ServiceInputTypes =
24482462
| DescribeInstancesCommandInput
24492463
| DescribeInternetGatewaysCommandInput
24502464
| DescribeIpamByoasnCommandInput
2465+
| DescribeIpamExternalResourceVerificationTokensCommandInput
24512466
| DescribeIpamPoolsCommandInput
24522467
| DescribeIpamResourceDiscoveriesCommandInput
24532468
| DescribeIpamResourceDiscoveryAssociationsCommandInput
@@ -2875,6 +2890,7 @@ export type ServiceOutputTypes =
28752890
| CreateInstanceExportTaskCommandOutput
28762891
| CreateInternetGatewayCommandOutput
28772892
| CreateIpamCommandOutput
2893+
| CreateIpamExternalResourceVerificationTokenCommandOutput
28782894
| CreateIpamPoolCommandOutput
28792895
| CreateIpamResourceDiscoveryCommandOutput
28802896
| CreateIpamScopeCommandOutput
@@ -2951,6 +2967,7 @@ export type ServiceOutputTypes =
29512967
| DeleteInstanceEventWindowCommandOutput
29522968
| DeleteInternetGatewayCommandOutput
29532969
| DeleteIpamCommandOutput
2970+
| DeleteIpamExternalResourceVerificationTokenCommandOutput
29542971
| DeleteIpamPoolCommandOutput
29552972
| DeleteIpamResourceDiscoveryCommandOutput
29562973
| DeleteIpamScopeCommandOutput
@@ -3075,6 +3092,7 @@ export type ServiceOutputTypes =
30753092
| DescribeInstancesCommandOutput
30763093
| DescribeInternetGatewaysCommandOutput
30773094
| DescribeIpamByoasnCommandOutput
3095+
| DescribeIpamExternalResourceVerificationTokensCommandOutput
30783096
| DescribeIpamPoolsCommandOutput
30793097
| DescribeIpamResourceDiscoveriesCommandOutput
30803098
| DescribeIpamResourceDiscoveryAssociationsCommandOutput

clients/client-ec2/src/auth/httpAuthSchemeProvider.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters: EC2HttpAuthSchemeParam
6060
name: "ec2",
6161
region: authParameters.region,
6262
},
63-
propertiesExtractor: (config: EC2ClientConfig, context) => ({
63+
propertiesExtractor: (config: Partial<EC2ClientConfig>, context) => ({
6464
/**
6565
* @internal
6666
*/

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface AcceptAddressTransferCommandOutput extends AcceptAddressTransfe
3939
* Address: "STRING_VALUE", // required
4040
* TagSpecifications: [ // TagSpecificationList
4141
* { // TagSpecification
42-
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "vpc-encryption-control" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint",
42+
* ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "vpc-encryption-control" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint" || "ipam-external-resource-verification-token",
4343
* Tags: [ // TagList
4444
* { // Tag
4545
* Key: "STRING_VALUE",

0 commit comments

Comments
 (0)