Skip to content

Commit 659cea7

Browse files
author
awstools
committed
feat(client-global-accelerator): This release contains a new optional ip-addresses input field for the update accelerator and update custom routing accelerator apis. This input enables consumers to replace IPv4 addresses on existing accelerators with addresses provided in the input.
1 parent 031a10a commit 659cea7

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

clients/client-global-accelerator/src/commands/UpdateAcceleratorCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ export interface UpdateAcceleratorCommandOutput extends UpdateAcceleratorRespons
6464
* AcceleratorArn: "STRING_VALUE", // required
6565
* Name: "STRING_VALUE",
6666
* IpAddressType: "IPV4" || "DUAL_STACK",
67+
* IpAddresses: [ // IpAddresses
68+
* "STRING_VALUE",
69+
* ],
6770
* Enabled: true || false,
6871
* };
6972
* const command = new UpdateAcceleratorCommand(input);

clients/client-global-accelerator/src/commands/UpdateCustomRoutingAcceleratorCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ export interface UpdateCustomRoutingAcceleratorCommandOutput
4747
* AcceleratorArn: "STRING_VALUE", // required
4848
* Name: "STRING_VALUE",
4949
* IpAddressType: "IPV4" || "DUAL_STACK",
50+
* IpAddresses: [ // IpAddresses
51+
* "STRING_VALUE",
52+
* ],
5053
* Enabled: true || false,
5154
* };
5255
* const command = new UpdateCustomRoutingAcceleratorCommand(input);

clients/client-global-accelerator/src/models/models_0.ts

+12
Original file line numberDiff line numberDiff line change
@@ -3219,6 +3219,12 @@ export interface UpdateAcceleratorRequest {
32193219
*/
32203220
IpAddressType?: IpAddressType;
32213221

3222+
/**
3223+
* <p>The IP addresses for an accelerator.</p>
3224+
* @public
3225+
*/
3226+
IpAddresses?: string[];
3227+
32223228
/**
32233229
* <p>Indicates whether an accelerator is enabled. The value is true or false. The default value is true. </p>
32243230
* <p>If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.</p>
@@ -3372,6 +3378,12 @@ export interface UpdateCustomRoutingAcceleratorRequest {
33723378
*/
33733379
IpAddressType?: IpAddressType;
33743380

3381+
/**
3382+
* <p>The IP addresses for an accelerator.</p>
3383+
* @public
3384+
*/
3385+
IpAddresses?: string[];
3386+
33753387
/**
33763388
* <p>Indicates whether an accelerator is enabled. The value is true or false. The default value is true. </p>
33773389
* <p>If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.</p>

codegen/sdk-codegen/aws-models/global-accelerator.json

+12
Original file line numberDiff line numberDiff line change
@@ -5860,6 +5860,12 @@
58605860
"smithy.api#documentation": "<p>The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.</p>"
58615861
}
58625862
},
5863+
"IpAddresses": {
5864+
"target": "com.amazonaws.globalaccelerator#IpAddresses",
5865+
"traits": {
5866+
"smithy.api#documentation": "<p>The IP addresses for an accelerator.</p>"
5867+
}
5868+
},
58635869
"Enabled": {
58645870
"target": "com.amazonaws.globalaccelerator#GenericBoolean",
58655871
"traits": {
@@ -6094,6 +6100,12 @@
60946100
"smithy.api#documentation": "<p>The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.</p>"
60956101
}
60966102
},
6103+
"IpAddresses": {
6104+
"target": "com.amazonaws.globalaccelerator#IpAddresses",
6105+
"traits": {
6106+
"smithy.api#documentation": "<p>The IP addresses for an accelerator.</p>"
6107+
}
6108+
},
60976109
"Enabled": {
60986110
"target": "com.amazonaws.globalaccelerator#GenericBoolean",
60996111
"traits": {

0 commit comments

Comments
 (0)