Skip to content

Commit

Permalink
feat(client-license-manager-user-subscriptions): New and updated API …
Browse files Browse the repository at this point in the history
…operations to support License Included User-based Subscription of Microsoft Remote Desktop Services (RDS).
  • Loading branch information
awstools committed Nov 14, 2024
1 parent 07b84d2 commit 5c7c349
Show file tree
Hide file tree
Showing 27 changed files with 3,656 additions and 196 deletions.
48 changes: 48 additions & 0 deletions clients/client-license-manager-user-subscriptions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,22 @@ AssociateUser

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/AssociateUserCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/AssociateUserCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/AssociateUserCommandOutput/)

</details>
<details>
<summary>
CreateLicenseServerEndpoint
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/CreateLicenseServerEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/CreateLicenseServerEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/CreateLicenseServerEndpointCommandOutput/)

</details>
<details>
<summary>
DeleteLicenseServerEndpoint
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/DeleteLicenseServerEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/DeleteLicenseServerEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/DeleteLicenseServerEndpointCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -249,6 +265,14 @@ ListInstances

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/ListInstancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListInstancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListInstancesCommandOutput/)

</details>
<details>
<summary>
ListLicenseServerEndpoints
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/ListLicenseServerEndpointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListLicenseServerEndpointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListLicenseServerEndpointsCommandOutput/)

</details>
<details>
<summary>
Expand All @@ -257,6 +281,14 @@ ListProductSubscriptions

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/ListProductSubscriptionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListProductSubscriptionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListProductSubscriptionsCommandOutput/)

</details>
<details>
<summary>
ListTagsForResource
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/ListTagsForResourceCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -289,6 +321,22 @@ StopProductSubscription

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/StopProductSubscriptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/StopProductSubscriptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/StopProductSubscriptionCommandOutput/)

</details>
<details>
<summary>
TagResource
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/TagResourceCommandOutput/)

</details>
<details>
<summary>
UntagResource
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/license-manager-user-subscriptions/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-license-manager-user-subscriptions/Interface/UntagResourceCommandOutput/)

</details>
<details>
<summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ import {
AssociateUserCommandInput,
AssociateUserCommandOutput,
} from "./commands/AssociateUserCommand";
import {
CreateLicenseServerEndpointCommand,
CreateLicenseServerEndpointCommandInput,
CreateLicenseServerEndpointCommandOutput,
} from "./commands/CreateLicenseServerEndpointCommand";
import {
DeleteLicenseServerEndpointCommand,
DeleteLicenseServerEndpointCommandInput,
DeleteLicenseServerEndpointCommandOutput,
} from "./commands/DeleteLicenseServerEndpointCommand";
import {
DeregisterIdentityProviderCommand,
DeregisterIdentityProviderCommandInput,
Expand All @@ -27,11 +37,21 @@ import {
ListInstancesCommandInput,
ListInstancesCommandOutput,
} from "./commands/ListInstancesCommand";
import {
ListLicenseServerEndpointsCommand,
ListLicenseServerEndpointsCommandInput,
ListLicenseServerEndpointsCommandOutput,
} from "./commands/ListLicenseServerEndpointsCommand";
import {
ListProductSubscriptionsCommand,
ListProductSubscriptionsCommandInput,
ListProductSubscriptionsCommandOutput,
} from "./commands/ListProductSubscriptionsCommand";
import {
ListTagsForResourceCommand,
ListTagsForResourceCommandInput,
ListTagsForResourceCommandOutput,
} from "./commands/ListTagsForResourceCommand";
import {
ListUserAssociationsCommand,
ListUserAssociationsCommandInput,
Expand All @@ -52,6 +72,12 @@ import {
StopProductSubscriptionCommandInput,
StopProductSubscriptionCommandOutput,
} from "./commands/StopProductSubscriptionCommand";
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
import {
UntagResourceCommand,
UntagResourceCommandInput,
UntagResourceCommandOutput,
} from "./commands/UntagResourceCommand";
import {
UpdateIdentityProviderSettingsCommand,
UpdateIdentityProviderSettingsCommandInput,
Expand All @@ -64,15 +90,21 @@ import {

const commands = {
AssociateUserCommand,
CreateLicenseServerEndpointCommand,
DeleteLicenseServerEndpointCommand,
DeregisterIdentityProviderCommand,
DisassociateUserCommand,
ListIdentityProvidersCommand,
ListInstancesCommand,
ListLicenseServerEndpointsCommand,
ListProductSubscriptionsCommand,
ListTagsForResourceCommand,
ListUserAssociationsCommand,
RegisterIdentityProviderCommand,
StartProductSubscriptionCommand,
StopProductSubscriptionCommand,
TagResourceCommand,
UntagResourceCommand,
UpdateIdentityProviderSettingsCommand,
};

Expand All @@ -88,9 +120,44 @@ export interface LicenseManagerUserSubscriptions {
cb: (err: any, data?: AssociateUserCommandOutput) => void
): void;

/**
* @see {@link CreateLicenseServerEndpointCommand}
*/
createLicenseServerEndpoint(
args: CreateLicenseServerEndpointCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateLicenseServerEndpointCommandOutput>;
createLicenseServerEndpoint(
args: CreateLicenseServerEndpointCommandInput,
cb: (err: any, data?: CreateLicenseServerEndpointCommandOutput) => void
): void;
createLicenseServerEndpoint(
args: CreateLicenseServerEndpointCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateLicenseServerEndpointCommandOutput) => void
): void;

/**
* @see {@link DeleteLicenseServerEndpointCommand}
*/
deleteLicenseServerEndpoint(
args: DeleteLicenseServerEndpointCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteLicenseServerEndpointCommandOutput>;
deleteLicenseServerEndpoint(
args: DeleteLicenseServerEndpointCommandInput,
cb: (err: any, data?: DeleteLicenseServerEndpointCommandOutput) => void
): void;
deleteLicenseServerEndpoint(
args: DeleteLicenseServerEndpointCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteLicenseServerEndpointCommandOutput) => void
): void;

/**
* @see {@link DeregisterIdentityProviderCommand}
*/
deregisterIdentityProvider(): Promise<DeregisterIdentityProviderCommandOutput>;
deregisterIdentityProvider(
args: DeregisterIdentityProviderCommandInput,
options?: __HttpHandlerOptions
Expand All @@ -108,6 +175,7 @@ export interface LicenseManagerUserSubscriptions {
/**
* @see {@link DisassociateUserCommand}
*/
disassociateUser(): Promise<DisassociateUserCommandOutput>;
disassociateUser(
args: DisassociateUserCommandInput,
options?: __HttpHandlerOptions
Expand Down Expand Up @@ -152,6 +220,24 @@ export interface LicenseManagerUserSubscriptions {
cb: (err: any, data?: ListInstancesCommandOutput) => void
): void;

/**
* @see {@link ListLicenseServerEndpointsCommand}
*/
listLicenseServerEndpoints(): Promise<ListLicenseServerEndpointsCommandOutput>;
listLicenseServerEndpoints(
args: ListLicenseServerEndpointsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListLicenseServerEndpointsCommandOutput>;
listLicenseServerEndpoints(
args: ListLicenseServerEndpointsCommandInput,
cb: (err: any, data?: ListLicenseServerEndpointsCommandOutput) => void
): void;
listLicenseServerEndpoints(
args: ListLicenseServerEndpointsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListLicenseServerEndpointsCommandOutput) => void
): void;

/**
* @see {@link ListProductSubscriptionsCommand}
*/
Expand All @@ -169,6 +255,23 @@ export interface LicenseManagerUserSubscriptions {
cb: (err: any, data?: ListProductSubscriptionsCommandOutput) => void
): void;

/**
* @see {@link ListTagsForResourceCommand}
*/
listTagsForResource(
args: ListTagsForResourceCommandInput,
options?: __HttpHandlerOptions
): Promise<ListTagsForResourceCommandOutput>;
listTagsForResource(
args: ListTagsForResourceCommandInput,
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
): void;
listTagsForResource(
args: ListTagsForResourceCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
): void;

/**
* @see {@link ListUserAssociationsCommand}
*/
Expand Down Expand Up @@ -223,6 +326,7 @@ export interface LicenseManagerUserSubscriptions {
/**
* @see {@link StopProductSubscriptionCommand}
*/
stopProductSubscription(): Promise<StopProductSubscriptionCommandOutput>;
stopProductSubscription(
args: StopProductSubscriptionCommandInput,
options?: __HttpHandlerOptions
Expand All @@ -237,6 +341,28 @@ export interface LicenseManagerUserSubscriptions {
cb: (err: any, data?: StopProductSubscriptionCommandOutput) => void
): void;

/**
* @see {@link TagResourceCommand}
*/
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
tagResource(
args: TagResourceCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: TagResourceCommandOutput) => void
): void;

/**
* @see {@link UntagResourceCommand}
*/
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
untagResource(
args: UntagResourceCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UntagResourceCommandOutput) => void
): void;

/**
* @see {@link UpdateIdentityProviderSettingsCommand}
*/
Expand All @@ -257,7 +383,7 @@ export interface LicenseManagerUserSubscriptions {

/**
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
* a per user subscription fee on Amazon EC2 instances.</p>
* a per user subscription fee on Amazon EC2 instances.</p>
* @public
*/
export class LicenseManagerUserSubscriptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ import {
resolveHttpAuthSchemeConfig,
} from "./auth/httpAuthSchemeProvider";
import { AssociateUserCommandInput, AssociateUserCommandOutput } from "./commands/AssociateUserCommand";
import {
CreateLicenseServerEndpointCommandInput,
CreateLicenseServerEndpointCommandOutput,
} from "./commands/CreateLicenseServerEndpointCommand";
import {
DeleteLicenseServerEndpointCommandInput,
DeleteLicenseServerEndpointCommandOutput,
} from "./commands/DeleteLicenseServerEndpointCommand";
import {
DeregisterIdentityProviderCommandInput,
DeregisterIdentityProviderCommandOutput,
Expand All @@ -64,10 +72,18 @@ import {
ListIdentityProvidersCommandOutput,
} from "./commands/ListIdentityProvidersCommand";
import { ListInstancesCommandInput, ListInstancesCommandOutput } from "./commands/ListInstancesCommand";
import {
ListLicenseServerEndpointsCommandInput,
ListLicenseServerEndpointsCommandOutput,
} from "./commands/ListLicenseServerEndpointsCommand";
import {
ListProductSubscriptionsCommandInput,
ListProductSubscriptionsCommandOutput,
} from "./commands/ListProductSubscriptionsCommand";
import {
ListTagsForResourceCommandInput,
ListTagsForResourceCommandOutput,
} from "./commands/ListTagsForResourceCommand";
import {
ListUserAssociationsCommandInput,
ListUserAssociationsCommandOutput,
Expand All @@ -84,6 +100,8 @@ import {
StopProductSubscriptionCommandInput,
StopProductSubscriptionCommandOutput,
} from "./commands/StopProductSubscriptionCommand";
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
import {
UpdateIdentityProviderSettingsCommandInput,
UpdateIdentityProviderSettingsCommandOutput,
Expand All @@ -104,31 +122,43 @@ export { __Client };
*/
export type ServiceInputTypes =
| AssociateUserCommandInput
| CreateLicenseServerEndpointCommandInput
| DeleteLicenseServerEndpointCommandInput
| DeregisterIdentityProviderCommandInput
| DisassociateUserCommandInput
| ListIdentityProvidersCommandInput
| ListInstancesCommandInput
| ListLicenseServerEndpointsCommandInput
| ListProductSubscriptionsCommandInput
| ListTagsForResourceCommandInput
| ListUserAssociationsCommandInput
| RegisterIdentityProviderCommandInput
| StartProductSubscriptionCommandInput
| StopProductSubscriptionCommandInput
| TagResourceCommandInput
| UntagResourceCommandInput
| UpdateIdentityProviderSettingsCommandInput;

/**
* @public
*/
export type ServiceOutputTypes =
| AssociateUserCommandOutput
| CreateLicenseServerEndpointCommandOutput
| DeleteLicenseServerEndpointCommandOutput
| DeregisterIdentityProviderCommandOutput
| DisassociateUserCommandOutput
| ListIdentityProvidersCommandOutput
| ListInstancesCommandOutput
| ListLicenseServerEndpointsCommandOutput
| ListProductSubscriptionsCommandOutput
| ListTagsForResourceCommandOutput
| ListUserAssociationsCommandOutput
| RegisterIdentityProviderCommandOutput
| StartProductSubscriptionCommandOutput
| StopProductSubscriptionCommandOutput
| TagResourceCommandOutput
| UntagResourceCommandOutput
| UpdateIdentityProviderSettingsCommandOutput;

/**
Expand Down Expand Up @@ -306,7 +336,7 @@ export interface LicenseManagerUserSubscriptionsClientResolvedConfig

/**
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
* a per user subscription fee on Amazon EC2 instances.</p>
* a per user subscription fee on Amazon EC2 instances.</p>
* @public
*/
export class LicenseManagerUserSubscriptionsClient extends __Client<
Expand Down
Loading

0 comments on commit 5c7c349

Please # to comment.