Skip to content

Commit

Permalink
feat(client-eks): Adding EKS Anywhere subscription related operations.
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Nov 9, 2023
1 parent aab45b5 commit 8630876
Show file tree
Hide file tree
Showing 43 changed files with 2,999 additions and 288 deletions.
57 changes: 48 additions & 9 deletions clients/client-eks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@
AWS SDK for JavaScript EKS Client for Node.js, Browser and React Native.

<p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy
for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain
your own Kubernetes control plane. Kubernetes is an open-source system for automating
the deployment, scaling, and management of containerized applications. </p>
<p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so
you can use all the existing plugins and tooling from the Kubernetes community.
Applications running on Amazon EKS are fully compatible with applications
running on any standard Kubernetes environment, whether running in on-premises data
centers or public clouds. This means that you can easily migrate any standard Kubernetes
application to Amazon EKS without any code modification required.</p>
for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain your
own Kubernetes control plane. Kubernetes is an open-source system for automating the deployment,
scaling, and management of containerized applications. </p>
<p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you
can use all the existing plugins and tooling from the Kubernetes community. Applications
running on Amazon EKS are fully compatible with applications running on any
standard Kubernetes environment, whether running in on-premises data centers or public
clouds. This means that you can easily migrate any standard Kubernetes application to Amazon EKS without any code modification required.</p>

## Installing

Expand Down Expand Up @@ -243,6 +242,14 @@ CreateCluster

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/createclustercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/createclustercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/createclustercommandoutput.html)

</details>
<details>
<summary>
CreateEksAnywhereSubscription
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/createeksanywheresubscriptioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/createeksanywheresubscriptioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/createeksanywheresubscriptioncommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -275,6 +282,14 @@ DeleteCluster

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/deleteclustercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/deleteclustercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/deleteclustercommandoutput.html)

</details>
<details>
<summary>
DeleteEksAnywhereSubscription
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/deleteeksanywheresubscriptioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/deleteeksanywheresubscriptioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/deleteeksanywheresubscriptioncommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -331,6 +346,14 @@ DescribeCluster

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/describeclustercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/describeclustercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/describeclustercommandoutput.html)

</details>
<details>
<summary>
DescribeEksAnywhereSubscription
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/describeeksanywheresubscriptioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/describeeksanywheresubscriptioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/describeeksanywheresubscriptioncommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -387,6 +410,14 @@ ListClusters

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/listclusterscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/listclusterscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/listclusterscommandoutput.html)

</details>
<details>
<summary>
ListEksAnywhereSubscriptions
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/listeksanywheresubscriptionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/listeksanywheresubscriptionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/listeksanywheresubscriptionscommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -475,6 +506,14 @@ UpdateClusterVersion

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/updateclusterversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/updateclusterversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/updateclusterversioncommandoutput.html)

</details>
<details>
<summary>
UpdateEksAnywhereSubscription
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/updateeksanywheresubscriptioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/updateeksanywheresubscriptioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/updateeksanywheresubscriptioncommandoutput.html)

</details>
<details>
<summary>
Expand Down
132 changes: 123 additions & 9 deletions clients/client-eks/src/EKS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ import {
CreateClusterCommandInput,
CreateClusterCommandOutput,
} from "./commands/CreateClusterCommand";
import {
CreateEksAnywhereSubscriptionCommand,
CreateEksAnywhereSubscriptionCommandInput,
CreateEksAnywhereSubscriptionCommandOutput,
} from "./commands/CreateEksAnywhereSubscriptionCommand";
import {
CreateFargateProfileCommand,
CreateFargateProfileCommandInput,
Expand All @@ -34,6 +39,11 @@ import {
DeleteClusterCommandInput,
DeleteClusterCommandOutput,
} from "./commands/DeleteClusterCommand";
import {
DeleteEksAnywhereSubscriptionCommand,
DeleteEksAnywhereSubscriptionCommandInput,
DeleteEksAnywhereSubscriptionCommandOutput,
} from "./commands/DeleteEksAnywhereSubscriptionCommand";
import {
DeleteFargateProfileCommand,
DeleteFargateProfileCommandInput,
Expand Down Expand Up @@ -69,6 +79,11 @@ import {
DescribeClusterCommandInput,
DescribeClusterCommandOutput,
} from "./commands/DescribeClusterCommand";
import {
DescribeEksAnywhereSubscriptionCommand,
DescribeEksAnywhereSubscriptionCommandInput,
DescribeEksAnywhereSubscriptionCommandOutput,
} from "./commands/DescribeEksAnywhereSubscriptionCommand";
import {
DescribeFargateProfileCommand,
DescribeFargateProfileCommandInput,
Expand Down Expand Up @@ -100,6 +115,11 @@ import {
ListClustersCommandInput,
ListClustersCommandOutput,
} from "./commands/ListClustersCommand";
import {
ListEksAnywhereSubscriptionsCommand,
ListEksAnywhereSubscriptionsCommandInput,
ListEksAnywhereSubscriptionsCommandOutput,
} from "./commands/ListEksAnywhereSubscriptionsCommand";
import {
ListFargateProfilesCommand,
ListFargateProfilesCommandInput,
Expand Down Expand Up @@ -143,6 +163,11 @@ import {
UpdateClusterVersionCommandInput,
UpdateClusterVersionCommandOutput,
} from "./commands/UpdateClusterVersionCommand";
import {
UpdateEksAnywhereSubscriptionCommand,
UpdateEksAnywhereSubscriptionCommandInput,
UpdateEksAnywhereSubscriptionCommandOutput,
} from "./commands/UpdateEksAnywhereSubscriptionCommand";
import {
UpdateNodegroupConfigCommand,
UpdateNodegroupConfigCommandInput,
Expand All @@ -160,24 +185,28 @@ const commands = {
AssociateIdentityProviderConfigCommand,
CreateAddonCommand,
CreateClusterCommand,
CreateEksAnywhereSubscriptionCommand,
CreateFargateProfileCommand,
CreateNodegroupCommand,
DeleteAddonCommand,
DeleteClusterCommand,
DeleteEksAnywhereSubscriptionCommand,
DeleteFargateProfileCommand,
DeleteNodegroupCommand,
DeregisterClusterCommand,
DescribeAddonCommand,
DescribeAddonConfigurationCommand,
DescribeAddonVersionsCommand,
DescribeClusterCommand,
DescribeEksAnywhereSubscriptionCommand,
DescribeFargateProfileCommand,
DescribeIdentityProviderConfigCommand,
DescribeNodegroupCommand,
DescribeUpdateCommand,
DisassociateIdentityProviderConfigCommand,
ListAddonsCommand,
ListClustersCommand,
ListEksAnywhereSubscriptionsCommand,
ListFargateProfilesCommand,
ListIdentityProviderConfigsCommand,
ListNodegroupsCommand,
Expand All @@ -189,6 +218,7 @@ const commands = {
UpdateAddonCommand,
UpdateClusterConfigCommand,
UpdateClusterVersionCommand,
UpdateEksAnywhereSubscriptionCommand,
UpdateNodegroupConfigCommand,
UpdateNodegroupVersionCommand,
};
Expand Down Expand Up @@ -250,6 +280,23 @@ export interface EKS {
cb: (err: any, data?: CreateClusterCommandOutput) => void
): void;

/**
* @see {@link CreateEksAnywhereSubscriptionCommand}
*/
createEksAnywhereSubscription(
args: CreateEksAnywhereSubscriptionCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateEksAnywhereSubscriptionCommandOutput>;
createEksAnywhereSubscription(
args: CreateEksAnywhereSubscriptionCommandInput,
cb: (err: any, data?: CreateEksAnywhereSubscriptionCommandOutput) => void
): void;
createEksAnywhereSubscription(
args: CreateEksAnywhereSubscriptionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateEksAnywhereSubscriptionCommandOutput) => void
): void;

/**
* @see {@link CreateFargateProfileCommand}
*/
Expand Down Expand Up @@ -303,6 +350,23 @@ export interface EKS {
cb: (err: any, data?: DeleteClusterCommandOutput) => void
): void;

/**
* @see {@link DeleteEksAnywhereSubscriptionCommand}
*/
deleteEksAnywhereSubscription(
args: DeleteEksAnywhereSubscriptionCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteEksAnywhereSubscriptionCommandOutput>;
deleteEksAnywhereSubscription(
args: DeleteEksAnywhereSubscriptionCommandInput,
cb: (err: any, data?: DeleteEksAnywhereSubscriptionCommandOutput) => void
): void;
deleteEksAnywhereSubscription(
args: DeleteEksAnywhereSubscriptionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteEksAnywhereSubscriptionCommandOutput) => void
): void;

/**
* @see {@link DeleteFargateProfileCommand}
*/
Expand Down Expand Up @@ -410,6 +474,23 @@ export interface EKS {
cb: (err: any, data?: DescribeClusterCommandOutput) => void
): void;

/**
* @see {@link DescribeEksAnywhereSubscriptionCommand}
*/
describeEksAnywhereSubscription(
args: DescribeEksAnywhereSubscriptionCommandInput,
options?: __HttpHandlerOptions
): Promise<DescribeEksAnywhereSubscriptionCommandOutput>;
describeEksAnywhereSubscription(
args: DescribeEksAnywhereSubscriptionCommandInput,
cb: (err: any, data?: DescribeEksAnywhereSubscriptionCommandOutput) => void
): void;
describeEksAnywhereSubscription(
args: DescribeEksAnywhereSubscriptionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DescribeEksAnywhereSubscriptionCommandOutput) => void
): void;

/**
* @see {@link DescribeFargateProfileCommand}
*/
Expand Down Expand Up @@ -514,6 +595,23 @@ export interface EKS {
cb: (err: any, data?: ListClustersCommandOutput) => void
): void;

/**
* @see {@link ListEksAnywhereSubscriptionsCommand}
*/
listEksAnywhereSubscriptions(
args: ListEksAnywhereSubscriptionsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListEksAnywhereSubscriptionsCommandOutput>;
listEksAnywhereSubscriptions(
args: ListEksAnywhereSubscriptionsCommandInput,
cb: (err: any, data?: ListEksAnywhereSubscriptionsCommandOutput) => void
): void;
listEksAnywhereSubscriptions(
args: ListEksAnywhereSubscriptionsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListEksAnywhereSubscriptionsCommandOutput) => void
): void;

/**
* @see {@link ListFargateProfilesCommand}
*/
Expand Down Expand Up @@ -671,6 +769,23 @@ export interface EKS {
cb: (err: any, data?: UpdateClusterVersionCommandOutput) => void
): void;

/**
* @see {@link UpdateEksAnywhereSubscriptionCommand}
*/
updateEksAnywhereSubscription(
args: UpdateEksAnywhereSubscriptionCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateEksAnywhereSubscriptionCommandOutput>;
updateEksAnywhereSubscription(
args: UpdateEksAnywhereSubscriptionCommandInput,
cb: (err: any, data?: UpdateEksAnywhereSubscriptionCommandOutput) => void
): void;
updateEksAnywhereSubscription(
args: UpdateEksAnywhereSubscriptionCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateEksAnywhereSubscriptionCommandOutput) => void
): void;

/**
* @see {@link UpdateNodegroupConfigCommand}
*/
Expand Down Expand Up @@ -709,15 +824,14 @@ export interface EKS {
/**
* @public
* <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy
* for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain
* your own Kubernetes control plane. Kubernetes is an open-source system for automating
* the deployment, scaling, and management of containerized applications. </p>
* <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so
* you can use all the existing plugins and tooling from the Kubernetes community.
* Applications running on Amazon EKS are fully compatible with applications
* running on any standard Kubernetes environment, whether running in on-premises data
* centers or public clouds. This means that you can easily migrate any standard Kubernetes
* application to Amazon EKS without any code modification required.</p>
* for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain your
* own Kubernetes control plane. Kubernetes is an open-source system for automating the deployment,
* scaling, and management of containerized applications. </p>
* <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you
* can use all the existing plugins and tooling from the Kubernetes community. Applications
* running on Amazon EKS are fully compatible with applications running on any
* standard Kubernetes environment, whether running in on-premises data centers or public
* clouds. This means that you can easily migrate any standard Kubernetes application to Amazon EKS without any code modification required.</p>
*/
export class EKS extends EKSClient implements EKS {}
createAggregatedClient(commands, EKS);
Loading

0 comments on commit 8630876

Please sign in to comment.