Skip to content

Commit

Permalink
feat(client-global-accelerator): Global Accelerator now support accel…
Browse files Browse the repository at this point in the history
…erators with cross account endpoints.
  • Loading branch information
awstools committed Nov 1, 2023
1 parent 6e0eda3 commit e4aa35f
Show file tree
Hide file tree
Showing 22 changed files with 3,422 additions and 11 deletions.
58 changes: 57 additions & 1 deletion clients/client-global-accelerator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ on Amazon Web Services CLI commands.</p>
are anycast from the Amazon Web Services edge network. For IPv4, Global Accelerator provides two static IPv4 addresses. For dual-stack,
Global Accelerator provides a total of four addresses: two static IPv4 addresses and two static IPv6 addresses.
With a standard accelerator for IPv4, instead of using the addresses that Global Accelerator provides, you can configure
these entry points to be IPv4 addresses from your own IP address ranges that you bring toGlobal Accelerator (BYOIP). </p>
these entry points to be IPv4 addresses from your own IP address ranges that you bring to Global Accelerator (BYOIP). </p>
<p>For a standard accelerator,
they distribute incoming application traffic across multiple endpoint resources in multiple Amazon Web Services Regions , which increases
the availability of your applications. Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers,
Expand Down Expand Up @@ -290,6 +290,14 @@ CreateAccelerator

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/classes/createacceleratorcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/createacceleratorcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/createacceleratorcommandoutput.html)

</details>
<details>
<summary>
CreateCrossAccountAttachment
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/classes/createcrossaccountattachmentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/createcrossaccountattachmentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/createcrossaccountattachmentcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -338,6 +346,14 @@ DeleteAccelerator

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/classes/deleteacceleratorcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/deleteacceleratorcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/deleteacceleratorcommandoutput.html)

</details>
<details>
<summary>
DeleteCrossAccountAttachment
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/classes/deletecrossaccountattachmentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/deletecrossaccountattachmentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/deletecrossaccountattachmentcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -410,6 +426,14 @@ DescribeAcceleratorAttributes

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/classes/describeacceleratorattributescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/describeacceleratorattributescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/describeacceleratorattributescommandoutput.html)

</details>
<details>
<summary>
DescribeCrossAccountAttachment
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/classes/describecrossaccountattachmentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/describecrossaccountattachmentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/describecrossaccountattachmentcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -474,6 +498,30 @@ ListByoipCidrs

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/classes/listbyoipcidrscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/listbyoipcidrscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/listbyoipcidrscommandoutput.html)

</details>
<details>
<summary>
ListCrossAccountAttachments
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/classes/listcrossaccountattachmentscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/listcrossaccountattachmentscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/listcrossaccountattachmentscommandoutput.html)

</details>
<details>
<summary>
ListCrossAccountResourceAccounts
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/classes/listcrossaccountresourceaccountscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/listcrossaccountresourceaccountscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/listcrossaccountresourceaccountscommandoutput.html)

</details>
<details>
<summary>
ListCrossAccountResources
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/classes/listcrossaccountresourcescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/listcrossaccountresourcescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/listcrossaccountresourcescommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -594,6 +642,14 @@ UpdateAcceleratorAttributes

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/classes/updateacceleratorattributescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/updateacceleratorattributescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/updateacceleratorattributescommandoutput.html)

</details>
<details>
<summary>
UpdateCrossAccountAttachment
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/classes/updatecrossaccountattachmentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/updatecrossaccountattachmentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-global-accelerator/interfaces/updatecrossaccountattachmentcommandoutput.html)

</details>
<details>
<summary>
Expand Down
163 changes: 162 additions & 1 deletion clients/client-global-accelerator/src/GlobalAccelerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ import {
CreateAcceleratorCommandInput,
CreateAcceleratorCommandOutput,
} from "./commands/CreateAcceleratorCommand";
import {
CreateCrossAccountAttachmentCommand,
CreateCrossAccountAttachmentCommandInput,
CreateCrossAccountAttachmentCommandOutput,
} from "./commands/CreateCrossAccountAttachmentCommand";
import {
CreateCustomRoutingAcceleratorCommand,
CreateCustomRoutingAcceleratorCommandInput,
Expand Down Expand Up @@ -57,6 +62,11 @@ import {
DeleteAcceleratorCommandInput,
DeleteAcceleratorCommandOutput,
} from "./commands/DeleteAcceleratorCommand";
import {
DeleteCrossAccountAttachmentCommand,
DeleteCrossAccountAttachmentCommandInput,
DeleteCrossAccountAttachmentCommandOutput,
} from "./commands/DeleteCrossAccountAttachmentCommand";
import {
DeleteCustomRoutingAcceleratorCommand,
DeleteCustomRoutingAcceleratorCommandInput,
Expand Down Expand Up @@ -102,6 +112,11 @@ import {
DescribeAcceleratorCommandInput,
DescribeAcceleratorCommandOutput,
} from "./commands/DescribeAcceleratorCommand";
import {
DescribeCrossAccountAttachmentCommand,
DescribeCrossAccountAttachmentCommandInput,
DescribeCrossAccountAttachmentCommandOutput,
} from "./commands/DescribeCrossAccountAttachmentCommand";
import {
DescribeCustomRoutingAcceleratorAttributesCommand,
DescribeCustomRoutingAcceleratorAttributesCommandInput,
Expand Down Expand Up @@ -142,6 +157,21 @@ import {
ListByoipCidrsCommandInput,
ListByoipCidrsCommandOutput,
} from "./commands/ListByoipCidrsCommand";
import {
ListCrossAccountAttachmentsCommand,
ListCrossAccountAttachmentsCommandInput,
ListCrossAccountAttachmentsCommandOutput,
} from "./commands/ListCrossAccountAttachmentsCommand";
import {
ListCrossAccountResourceAccountsCommand,
ListCrossAccountResourceAccountsCommandInput,
ListCrossAccountResourceAccountsCommandOutput,
} from "./commands/ListCrossAccountResourceAccountsCommand";
import {
ListCrossAccountResourcesCommand,
ListCrossAccountResourcesCommandInput,
ListCrossAccountResourcesCommandOutput,
} from "./commands/ListCrossAccountResourcesCommand";
import {
ListCustomRoutingAcceleratorsCommand,
ListCustomRoutingAcceleratorsCommandInput,
Expand Down Expand Up @@ -213,6 +243,11 @@ import {
UpdateAcceleratorCommandInput,
UpdateAcceleratorCommandOutput,
} from "./commands/UpdateAcceleratorCommand";
import {
UpdateCrossAccountAttachmentCommand,
UpdateCrossAccountAttachmentCommandInput,
UpdateCrossAccountAttachmentCommandOutput,
} from "./commands/UpdateCrossAccountAttachmentCommand";
import {
UpdateCustomRoutingAcceleratorAttributesCommand,
UpdateCustomRoutingAcceleratorAttributesCommandInput,
Expand Down Expand Up @@ -251,12 +286,14 @@ const commands = {
AdvertiseByoipCidrCommand,
AllowCustomRoutingTrafficCommand,
CreateAcceleratorCommand,
CreateCrossAccountAttachmentCommand,
CreateCustomRoutingAcceleratorCommand,
CreateCustomRoutingEndpointGroupCommand,
CreateCustomRoutingListenerCommand,
CreateEndpointGroupCommand,
CreateListenerCommand,
DeleteAcceleratorCommand,
DeleteCrossAccountAttachmentCommand,
DeleteCustomRoutingAcceleratorCommand,
DeleteCustomRoutingEndpointGroupCommand,
DeleteCustomRoutingListenerCommand,
Expand All @@ -266,6 +303,7 @@ const commands = {
DeprovisionByoipCidrCommand,
DescribeAcceleratorCommand,
DescribeAcceleratorAttributesCommand,
DescribeCrossAccountAttachmentCommand,
DescribeCustomRoutingAcceleratorCommand,
DescribeCustomRoutingAcceleratorAttributesCommand,
DescribeCustomRoutingEndpointGroupCommand,
Expand All @@ -274,6 +312,9 @@ const commands = {
DescribeListenerCommand,
ListAcceleratorsCommand,
ListByoipCidrsCommand,
ListCrossAccountAttachmentsCommand,
ListCrossAccountResourceAccountsCommand,
ListCrossAccountResourcesCommand,
ListCustomRoutingAcceleratorsCommand,
ListCustomRoutingEndpointGroupsCommand,
ListCustomRoutingListenersCommand,
Expand All @@ -289,6 +330,7 @@ const commands = {
UntagResourceCommand,
UpdateAcceleratorCommand,
UpdateAcceleratorAttributesCommand,
UpdateCrossAccountAttachmentCommand,
UpdateCustomRoutingAcceleratorCommand,
UpdateCustomRoutingAcceleratorAttributesCommand,
UpdateCustomRoutingListenerCommand,
Expand Down Expand Up @@ -377,6 +419,23 @@ export interface GlobalAccelerator {
cb: (err: any, data?: CreateAcceleratorCommandOutput) => void
): void;

/**
* @see {@link CreateCrossAccountAttachmentCommand}
*/
createCrossAccountAttachment(
args: CreateCrossAccountAttachmentCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateCrossAccountAttachmentCommandOutput>;
createCrossAccountAttachment(
args: CreateCrossAccountAttachmentCommandInput,
cb: (err: any, data?: CreateCrossAccountAttachmentCommandOutput) => void
): void;
createCrossAccountAttachment(
args: CreateCrossAccountAttachmentCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateCrossAccountAttachmentCommandOutput) => void
): void;

/**
* @see {@link CreateCustomRoutingAcceleratorCommand}
*/
Expand Down Expand Up @@ -476,6 +535,23 @@ export interface GlobalAccelerator {
cb: (err: any, data?: DeleteAcceleratorCommandOutput) => void
): void;

/**
* @see {@link DeleteCrossAccountAttachmentCommand}
*/
deleteCrossAccountAttachment(
args: DeleteCrossAccountAttachmentCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteCrossAccountAttachmentCommandOutput>;
deleteCrossAccountAttachment(
args: DeleteCrossAccountAttachmentCommandInput,
cb: (err: any, data?: DeleteCrossAccountAttachmentCommandOutput) => void
): void;
deleteCrossAccountAttachment(
args: DeleteCrossAccountAttachmentCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteCrossAccountAttachmentCommandOutput) => void
): void;

/**
* @see {@link DeleteCustomRoutingAcceleratorCommand}
*/
Expand Down Expand Up @@ -626,6 +702,23 @@ export interface GlobalAccelerator {
cb: (err: any, data?: DescribeAcceleratorAttributesCommandOutput) => void
): void;

/**
* @see {@link DescribeCrossAccountAttachmentCommand}
*/
describeCrossAccountAttachment(
args: DescribeCrossAccountAttachmentCommandInput,
options?: __HttpHandlerOptions
): Promise<DescribeCrossAccountAttachmentCommandOutput>;
describeCrossAccountAttachment(
args: DescribeCrossAccountAttachmentCommandInput,
cb: (err: any, data?: DescribeCrossAccountAttachmentCommandOutput) => void
): void;
describeCrossAccountAttachment(
args: DescribeCrossAccountAttachmentCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DescribeCrossAccountAttachmentCommandOutput) => void
): void;

/**
* @see {@link DescribeCustomRoutingAcceleratorCommand}
*/
Expand Down Expand Up @@ -759,6 +852,57 @@ export interface GlobalAccelerator {
cb: (err: any, data?: ListByoipCidrsCommandOutput) => void
): void;

/**
* @see {@link ListCrossAccountAttachmentsCommand}
*/
listCrossAccountAttachments(
args: ListCrossAccountAttachmentsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListCrossAccountAttachmentsCommandOutput>;
listCrossAccountAttachments(
args: ListCrossAccountAttachmentsCommandInput,
cb: (err: any, data?: ListCrossAccountAttachmentsCommandOutput) => void
): void;
listCrossAccountAttachments(
args: ListCrossAccountAttachmentsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListCrossAccountAttachmentsCommandOutput) => void
): void;

/**
* @see {@link ListCrossAccountResourceAccountsCommand}
*/
listCrossAccountResourceAccounts(
args: ListCrossAccountResourceAccountsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListCrossAccountResourceAccountsCommandOutput>;
listCrossAccountResourceAccounts(
args: ListCrossAccountResourceAccountsCommandInput,
cb: (err: any, data?: ListCrossAccountResourceAccountsCommandOutput) => void
): void;
listCrossAccountResourceAccounts(
args: ListCrossAccountResourceAccountsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListCrossAccountResourceAccountsCommandOutput) => void
): void;

/**
* @see {@link ListCrossAccountResourcesCommand}
*/
listCrossAccountResources(
args: ListCrossAccountResourcesCommandInput,
options?: __HttpHandlerOptions
): Promise<ListCrossAccountResourcesCommandOutput>;
listCrossAccountResources(
args: ListCrossAccountResourcesCommandInput,
cb: (err: any, data?: ListCrossAccountResourcesCommandOutput) => void
): void;
listCrossAccountResources(
args: ListCrossAccountResourcesCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListCrossAccountResourcesCommandOutput) => void
): void;

/**
* @see {@link ListCustomRoutingAcceleratorsCommand}
*/
Expand Down Expand Up @@ -993,6 +1137,23 @@ export interface GlobalAccelerator {
cb: (err: any, data?: UpdateAcceleratorAttributesCommandOutput) => void
): void;

/**
* @see {@link UpdateCrossAccountAttachmentCommand}
*/
updateCrossAccountAttachment(
args: UpdateCrossAccountAttachmentCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateCrossAccountAttachmentCommandOutput>;
updateCrossAccountAttachment(
args: UpdateCrossAccountAttachmentCommandInput,
cb: (err: any, data?: UpdateCrossAccountAttachmentCommandOutput) => void
): void;
updateCrossAccountAttachment(
args: UpdateCrossAccountAttachmentCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateCrossAccountAttachmentCommandOutput) => void
): void;

/**
* @see {@link UpdateCustomRoutingAcceleratorCommand}
*/
Expand Down Expand Up @@ -1122,7 +1283,7 @@ export interface GlobalAccelerator {
* are anycast from the Amazon Web Services edge network. For IPv4, Global Accelerator provides two static IPv4 addresses. For dual-stack,
* Global Accelerator provides a total of four addresses: two static IPv4 addresses and two static IPv6 addresses.
* With a standard accelerator for IPv4, instead of using the addresses that Global Accelerator provides, you can configure
* these entry points to be IPv4 addresses from your own IP address ranges that you bring toGlobal Accelerator (BYOIP). </p>
* these entry points to be IPv4 addresses from your own IP address ranges that you bring to Global Accelerator (BYOIP). </p>
* <p>For a standard accelerator,
* they distribute incoming application traffic across multiple endpoint resources in multiple Amazon Web Services Regions , which increases
* the availability of your applications. Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers,
Expand Down
Loading

0 comments on commit e4aa35f

Please sign in to comment.