Skip to content

Commit 5d0f730

Browse files
author
awstools
committed
feat(client-cloudfront): This release adds bring your own IP (BYOIP) IPv6 support to CloudFront's CreateAnycastIpList and UpdateAnycastIpList API through the IpamCidrConfigs field.
1 parent 11d660c commit 5d0f730

4 files changed

Lines changed: 23 additions & 2 deletions

File tree

clients/client-cloudfront/src/commands/UpdateAnycastIpListCommand.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ export interface UpdateAnycastIpListCommandOutput extends UpdateAnycastIpListRes
3939
* const input = { // UpdateAnycastIpListRequest
4040
* Id: "STRING_VALUE", // required
4141
* IpAddressType: "ipv4" || "ipv6" || "dualstack",
42+
* IpamCidrConfigs: [ // IpamCidrConfigList
43+
* { // IpamCidrConfig
44+
* Cidr: "STRING_VALUE", // required
45+
* IpamPoolArn: "STRING_VALUE", // required
46+
* AnycastIp: "STRING_VALUE",
47+
* Status: "provisioned" || "failed-provision" || "provisioning" || "deprovisioned" || "failed-deprovision" || "deprovisioning" || "advertised" || "failed-advertise" || "advertising" || "withdrawn" || "failed-withdraw" || "withdrawing",
48+
* },
49+
* ],
4250
* IfMatch: "STRING_VALUE", // required
4351
* };
4452
* const command = new UpdateAnycastIpListCommand(input);

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ import type {
5151
FieldLevelEncryptionProfileConfig,
5252
FunctionConfig,
5353
FunctionSummary,
54+
IpamCidrConfig,
5455
KeyGroup,
5556
KeyGroupConfig,
5657
KeyValueStore,
@@ -3726,6 +3727,12 @@ export interface UpdateAnycastIpListRequest {
37263727
*/
37273728
IpAddressType?: IpAddressType | undefined;
37283729

3730+
/**
3731+
* <p> A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for updating the Anycast static IP list. </p>
3732+
* @public
3733+
*/
3734+
IpamCidrConfigs?: IpamCidrConfig[] | undefined;
3735+
37293736
/**
37303737
* <p>The current version (ETag value) of the Anycast static IP list that you are updating.</p>
37313738
* @public

clients/client-cloudfront/src/schemas/schemas_0.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4568,8 +4568,8 @@ export var UntagResourceRequest$: StaticStructureSchema = [3, n0, _URR,
45684568
];
45694569
export var UpdateAnycastIpListRequest$: StaticStructureSchema = [3, n0, _UAILR,
45704570
0,
4571-
[_Id, _IM, _IAT],
4572-
[[0, 1], [0, { [_hH]: _IM_ }], 0], 2
4571+
[_Id, _IM, _IAT, _ICC],
4572+
[[0, 1], [0, { [_hH]: _IM_ }], 0, [() => IpamCidrConfigList, 0]], 2
45734573
];
45744574
export var UpdateAnycastIpListResult$: StaticStructureSchema = [3, n0, _UAILRp,
45754575
0,

codegen/sdk-codegen/aws-models/cloudfront.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23261,6 +23261,12 @@
2326123261
"smithy.api#documentation": "<p>The IP address type for the Anycast static IP list. You can specify one of the following options:</p> <ul> <li> <p> <code>ipv4</code> only</p> </li> <li> <p> <code>ipv6</code> only</p> </li> <li> <p> <code>dualstack</code> - Allocate a list of both IPv4 and IPv6 addresses</p> </li> </ul>"
2326223262
}
2326323263
},
23264+
"IpamCidrConfigs": {
23265+
"target": "com.amazonaws.cloudfront#IpamCidrConfigList",
23266+
"traits": {
23267+
"smithy.api#documentation": "<p> A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for updating the Anycast static IP list. </p>"
23268+
}
23269+
},
2326423270
"IfMatch": {
2326523271
"target": "com.amazonaws.cloudfront#string",
2326623272
"traits": {

0 commit comments

Comments
 (0)