Skip to content

Commit

Permalink
feat(client-global-accelerator): This release contains a new optional…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
awstools committed Jun 5, 2024
1 parent 031a10a commit 659cea7
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ export interface UpdateAcceleratorCommandOutput extends UpdateAcceleratorRespons
* AcceleratorArn: "STRING_VALUE", // required
* Name: "STRING_VALUE",
* IpAddressType: "IPV4" || "DUAL_STACK",
* IpAddresses: [ // IpAddresses
* "STRING_VALUE",
* ],
* Enabled: true || false,
* };
* const command = new UpdateAcceleratorCommand(input);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ export interface UpdateCustomRoutingAcceleratorCommandOutput
* AcceleratorArn: "STRING_VALUE", // required
* Name: "STRING_VALUE",
* IpAddressType: "IPV4" || "DUAL_STACK",
* IpAddresses: [ // IpAddresses
* "STRING_VALUE",
* ],
* Enabled: true || false,
* };
* const command = new UpdateCustomRoutingAcceleratorCommand(input);
Expand Down
12 changes: 12 additions & 0 deletions clients/client-global-accelerator/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3219,6 +3219,12 @@ export interface UpdateAcceleratorRequest {
*/
IpAddressType?: IpAddressType;

/**
* <p>The IP addresses for an accelerator.</p>
* @public
*/
IpAddresses?: string[];

/**
* <p>Indicates whether an accelerator is enabled. The value is true or false. The default value is true. </p>
* <p>If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.</p>
Expand Down Expand Up @@ -3372,6 +3378,12 @@ export interface UpdateCustomRoutingAcceleratorRequest {
*/
IpAddressType?: IpAddressType;

/**
* <p>The IP addresses for an accelerator.</p>
* @public
*/
IpAddresses?: string[];

/**
* <p>Indicates whether an accelerator is enabled. The value is true or false. The default value is true. </p>
* <p>If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.</p>
Expand Down
12 changes: 12 additions & 0 deletions codegen/sdk-codegen/aws-models/global-accelerator.json
Original file line number Diff line number Diff line change
Expand Up @@ -5860,6 +5860,12 @@
"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>"
}
},
"IpAddresses": {
"target": "com.amazonaws.globalaccelerator#IpAddresses",
"traits": {
"smithy.api#documentation": "<p>The IP addresses for an accelerator.</p>"
}
},
"Enabled": {
"target": "com.amazonaws.globalaccelerator#GenericBoolean",
"traits": {
Expand Down Expand Up @@ -6094,6 +6100,12 @@
"smithy.api#documentation": "<p>The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.</p>"
}
},
"IpAddresses": {
"target": "com.amazonaws.globalaccelerator#IpAddresses",
"traits": {
"smithy.api#documentation": "<p>The IP addresses for an accelerator.</p>"
}
},
"Enabled": {
"target": "com.amazonaws.globalaccelerator#GenericBoolean",
"traits": {
Expand Down

0 comments on commit 659cea7

Please sign in to comment.