Skip to content

Commit 5c7c349

Browse files
author
awstools
committed
feat(client-license-manager-user-subscriptions): New and updated API operations to support License Included User-based Subscription of Microsoft Remote Desktop Services (RDS).
1 parent 07b84d2 commit 5c7c349

27 files changed

+3656
-196
lines changed

clients/client-license-manager-user-subscriptions/README.md

+48
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,22 @@ AssociateUser
217217

218218
[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/)
219219

220+
</details>
221+
<details>
222+
<summary>
223+
CreateLicenseServerEndpoint
224+
</summary>
225+
226+
[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/)
227+
228+
</details>
229+
<details>
230+
<summary>
231+
DeleteLicenseServerEndpoint
232+
</summary>
233+
234+
[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/)
235+
220236
</details>
221237
<details>
222238
<summary>
@@ -249,6 +265,14 @@ ListInstances
249265

250266
[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/)
251267

268+
</details>
269+
<details>
270+
<summary>
271+
ListLicenseServerEndpoints
272+
</summary>
273+
274+
[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/)
275+
252276
</details>
253277
<details>
254278
<summary>
@@ -257,6 +281,14 @@ ListProductSubscriptions
257281

258282
[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/)
259283

284+
</details>
285+
<details>
286+
<summary>
287+
ListTagsForResource
288+
</summary>
289+
290+
[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/)
291+
260292
</details>
261293
<details>
262294
<summary>
@@ -289,6 +321,22 @@ StopProductSubscription
289321

290322
[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/)
291323

324+
</details>
325+
<details>
326+
<summary>
327+
TagResource
328+
</summary>
329+
330+
[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/)
331+
332+
</details>
333+
<details>
334+
<summary>
335+
UntagResource
336+
</summary>
337+
338+
[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/)
339+
292340
</details>
293341
<details>
294342
<summary>

clients/client-license-manager-user-subscriptions/src/LicenseManagerUserSubscriptions.ts

+127-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ import {
77
AssociateUserCommandInput,
88
AssociateUserCommandOutput,
99
} from "./commands/AssociateUserCommand";
10+
import {
11+
CreateLicenseServerEndpointCommand,
12+
CreateLicenseServerEndpointCommandInput,
13+
CreateLicenseServerEndpointCommandOutput,
14+
} from "./commands/CreateLicenseServerEndpointCommand";
15+
import {
16+
DeleteLicenseServerEndpointCommand,
17+
DeleteLicenseServerEndpointCommandInput,
18+
DeleteLicenseServerEndpointCommandOutput,
19+
} from "./commands/DeleteLicenseServerEndpointCommand";
1020
import {
1121
DeregisterIdentityProviderCommand,
1222
DeregisterIdentityProviderCommandInput,
@@ -27,11 +37,21 @@ import {
2737
ListInstancesCommandInput,
2838
ListInstancesCommandOutput,
2939
} from "./commands/ListInstancesCommand";
40+
import {
41+
ListLicenseServerEndpointsCommand,
42+
ListLicenseServerEndpointsCommandInput,
43+
ListLicenseServerEndpointsCommandOutput,
44+
} from "./commands/ListLicenseServerEndpointsCommand";
3045
import {
3146
ListProductSubscriptionsCommand,
3247
ListProductSubscriptionsCommandInput,
3348
ListProductSubscriptionsCommandOutput,
3449
} from "./commands/ListProductSubscriptionsCommand";
50+
import {
51+
ListTagsForResourceCommand,
52+
ListTagsForResourceCommandInput,
53+
ListTagsForResourceCommandOutput,
54+
} from "./commands/ListTagsForResourceCommand";
3555
import {
3656
ListUserAssociationsCommand,
3757
ListUserAssociationsCommandInput,
@@ -52,6 +72,12 @@ import {
5272
StopProductSubscriptionCommandInput,
5373
StopProductSubscriptionCommandOutput,
5474
} from "./commands/StopProductSubscriptionCommand";
75+
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
76+
import {
77+
UntagResourceCommand,
78+
UntagResourceCommandInput,
79+
UntagResourceCommandOutput,
80+
} from "./commands/UntagResourceCommand";
5581
import {
5682
UpdateIdentityProviderSettingsCommand,
5783
UpdateIdentityProviderSettingsCommandInput,
@@ -64,15 +90,21 @@ import {
6490

6591
const commands = {
6692
AssociateUserCommand,
93+
CreateLicenseServerEndpointCommand,
94+
DeleteLicenseServerEndpointCommand,
6795
DeregisterIdentityProviderCommand,
6896
DisassociateUserCommand,
6997
ListIdentityProvidersCommand,
7098
ListInstancesCommand,
99+
ListLicenseServerEndpointsCommand,
71100
ListProductSubscriptionsCommand,
101+
ListTagsForResourceCommand,
72102
ListUserAssociationsCommand,
73103
RegisterIdentityProviderCommand,
74104
StartProductSubscriptionCommand,
75105
StopProductSubscriptionCommand,
106+
TagResourceCommand,
107+
UntagResourceCommand,
76108
UpdateIdentityProviderSettingsCommand,
77109
};
78110

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

123+
/**
124+
* @see {@link CreateLicenseServerEndpointCommand}
125+
*/
126+
createLicenseServerEndpoint(
127+
args: CreateLicenseServerEndpointCommandInput,
128+
options?: __HttpHandlerOptions
129+
): Promise<CreateLicenseServerEndpointCommandOutput>;
130+
createLicenseServerEndpoint(
131+
args: CreateLicenseServerEndpointCommandInput,
132+
cb: (err: any, data?: CreateLicenseServerEndpointCommandOutput) => void
133+
): void;
134+
createLicenseServerEndpoint(
135+
args: CreateLicenseServerEndpointCommandInput,
136+
options: __HttpHandlerOptions,
137+
cb: (err: any, data?: CreateLicenseServerEndpointCommandOutput) => void
138+
): void;
139+
140+
/**
141+
* @see {@link DeleteLicenseServerEndpointCommand}
142+
*/
143+
deleteLicenseServerEndpoint(
144+
args: DeleteLicenseServerEndpointCommandInput,
145+
options?: __HttpHandlerOptions
146+
): Promise<DeleteLicenseServerEndpointCommandOutput>;
147+
deleteLicenseServerEndpoint(
148+
args: DeleteLicenseServerEndpointCommandInput,
149+
cb: (err: any, data?: DeleteLicenseServerEndpointCommandOutput) => void
150+
): void;
151+
deleteLicenseServerEndpoint(
152+
args: DeleteLicenseServerEndpointCommandInput,
153+
options: __HttpHandlerOptions,
154+
cb: (err: any, data?: DeleteLicenseServerEndpointCommandOutput) => void
155+
): void;
156+
91157
/**
92158
* @see {@link DeregisterIdentityProviderCommand}
93159
*/
160+
deregisterIdentityProvider(): Promise<DeregisterIdentityProviderCommandOutput>;
94161
deregisterIdentityProvider(
95162
args: DeregisterIdentityProviderCommandInput,
96163
options?: __HttpHandlerOptions
@@ -108,6 +175,7 @@ export interface LicenseManagerUserSubscriptions {
108175
/**
109176
* @see {@link DisassociateUserCommand}
110177
*/
178+
disassociateUser(): Promise<DisassociateUserCommandOutput>;
111179
disassociateUser(
112180
args: DisassociateUserCommandInput,
113181
options?: __HttpHandlerOptions
@@ -152,6 +220,24 @@ export interface LicenseManagerUserSubscriptions {
152220
cb: (err: any, data?: ListInstancesCommandOutput) => void
153221
): void;
154222

223+
/**
224+
* @see {@link ListLicenseServerEndpointsCommand}
225+
*/
226+
listLicenseServerEndpoints(): Promise<ListLicenseServerEndpointsCommandOutput>;
227+
listLicenseServerEndpoints(
228+
args: ListLicenseServerEndpointsCommandInput,
229+
options?: __HttpHandlerOptions
230+
): Promise<ListLicenseServerEndpointsCommandOutput>;
231+
listLicenseServerEndpoints(
232+
args: ListLicenseServerEndpointsCommandInput,
233+
cb: (err: any, data?: ListLicenseServerEndpointsCommandOutput) => void
234+
): void;
235+
listLicenseServerEndpoints(
236+
args: ListLicenseServerEndpointsCommandInput,
237+
options: __HttpHandlerOptions,
238+
cb: (err: any, data?: ListLicenseServerEndpointsCommandOutput) => void
239+
): void;
240+
155241
/**
156242
* @see {@link ListProductSubscriptionsCommand}
157243
*/
@@ -169,6 +255,23 @@ export interface LicenseManagerUserSubscriptions {
169255
cb: (err: any, data?: ListProductSubscriptionsCommandOutput) => void
170256
): void;
171257

258+
/**
259+
* @see {@link ListTagsForResourceCommand}
260+
*/
261+
listTagsForResource(
262+
args: ListTagsForResourceCommandInput,
263+
options?: __HttpHandlerOptions
264+
): Promise<ListTagsForResourceCommandOutput>;
265+
listTagsForResource(
266+
args: ListTagsForResourceCommandInput,
267+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
268+
): void;
269+
listTagsForResource(
270+
args: ListTagsForResourceCommandInput,
271+
options: __HttpHandlerOptions,
272+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
273+
): void;
274+
172275
/**
173276
* @see {@link ListUserAssociationsCommand}
174277
*/
@@ -223,6 +326,7 @@ export interface LicenseManagerUserSubscriptions {
223326
/**
224327
* @see {@link StopProductSubscriptionCommand}
225328
*/
329+
stopProductSubscription(): Promise<StopProductSubscriptionCommandOutput>;
226330
stopProductSubscription(
227331
args: StopProductSubscriptionCommandInput,
228332
options?: __HttpHandlerOptions
@@ -237,6 +341,28 @@ export interface LicenseManagerUserSubscriptions {
237341
cb: (err: any, data?: StopProductSubscriptionCommandOutput) => void
238342
): void;
239343

344+
/**
345+
* @see {@link TagResourceCommand}
346+
*/
347+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
348+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
349+
tagResource(
350+
args: TagResourceCommandInput,
351+
options: __HttpHandlerOptions,
352+
cb: (err: any, data?: TagResourceCommandOutput) => void
353+
): void;
354+
355+
/**
356+
* @see {@link UntagResourceCommand}
357+
*/
358+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
359+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
360+
untagResource(
361+
args: UntagResourceCommandInput,
362+
options: __HttpHandlerOptions,
363+
cb: (err: any, data?: UntagResourceCommandOutput) => void
364+
): void;
365+
240366
/**
241367
* @see {@link UpdateIdentityProviderSettingsCommand}
242368
*/
@@ -257,7 +383,7 @@ export interface LicenseManagerUserSubscriptions {
257383

258384
/**
259385
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
260-
* a per user subscription fee on Amazon EC2 instances.</p>
386+
* a per user subscription fee on Amazon EC2 instances.</p>
261387
* @public
262388
*/
263389
export class LicenseManagerUserSubscriptions

clients/client-license-manager-user-subscriptions/src/LicenseManagerUserSubscriptionsClient.ts

+31-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ import {
5454
resolveHttpAuthSchemeConfig,
5555
} from "./auth/httpAuthSchemeProvider";
5656
import { AssociateUserCommandInput, AssociateUserCommandOutput } from "./commands/AssociateUserCommand";
57+
import {
58+
CreateLicenseServerEndpointCommandInput,
59+
CreateLicenseServerEndpointCommandOutput,
60+
} from "./commands/CreateLicenseServerEndpointCommand";
61+
import {
62+
DeleteLicenseServerEndpointCommandInput,
63+
DeleteLicenseServerEndpointCommandOutput,
64+
} from "./commands/DeleteLicenseServerEndpointCommand";
5765
import {
5866
DeregisterIdentityProviderCommandInput,
5967
DeregisterIdentityProviderCommandOutput,
@@ -64,10 +72,18 @@ import {
6472
ListIdentityProvidersCommandOutput,
6573
} from "./commands/ListIdentityProvidersCommand";
6674
import { ListInstancesCommandInput, ListInstancesCommandOutput } from "./commands/ListInstancesCommand";
75+
import {
76+
ListLicenseServerEndpointsCommandInput,
77+
ListLicenseServerEndpointsCommandOutput,
78+
} from "./commands/ListLicenseServerEndpointsCommand";
6779
import {
6880
ListProductSubscriptionsCommandInput,
6981
ListProductSubscriptionsCommandOutput,
7082
} from "./commands/ListProductSubscriptionsCommand";
83+
import {
84+
ListTagsForResourceCommandInput,
85+
ListTagsForResourceCommandOutput,
86+
} from "./commands/ListTagsForResourceCommand";
7187
import {
7288
ListUserAssociationsCommandInput,
7389
ListUserAssociationsCommandOutput,
@@ -84,6 +100,8 @@ import {
84100
StopProductSubscriptionCommandInput,
85101
StopProductSubscriptionCommandOutput,
86102
} from "./commands/StopProductSubscriptionCommand";
103+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
104+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
87105
import {
88106
UpdateIdentityProviderSettingsCommandInput,
89107
UpdateIdentityProviderSettingsCommandOutput,
@@ -104,31 +122,43 @@ export { __Client };
104122
*/
105123
export type ServiceInputTypes =
106124
| AssociateUserCommandInput
125+
| CreateLicenseServerEndpointCommandInput
126+
| DeleteLicenseServerEndpointCommandInput
107127
| DeregisterIdentityProviderCommandInput
108128
| DisassociateUserCommandInput
109129
| ListIdentityProvidersCommandInput
110130
| ListInstancesCommandInput
131+
| ListLicenseServerEndpointsCommandInput
111132
| ListProductSubscriptionsCommandInput
133+
| ListTagsForResourceCommandInput
112134
| ListUserAssociationsCommandInput
113135
| RegisterIdentityProviderCommandInput
114136
| StartProductSubscriptionCommandInput
115137
| StopProductSubscriptionCommandInput
138+
| TagResourceCommandInput
139+
| UntagResourceCommandInput
116140
| UpdateIdentityProviderSettingsCommandInput;
117141

118142
/**
119143
* @public
120144
*/
121145
export type ServiceOutputTypes =
122146
| AssociateUserCommandOutput
147+
| CreateLicenseServerEndpointCommandOutput
148+
| DeleteLicenseServerEndpointCommandOutput
123149
| DeregisterIdentityProviderCommandOutput
124150
| DisassociateUserCommandOutput
125151
| ListIdentityProvidersCommandOutput
126152
| ListInstancesCommandOutput
153+
| ListLicenseServerEndpointsCommandOutput
127154
| ListProductSubscriptionsCommandOutput
155+
| ListTagsForResourceCommandOutput
128156
| ListUserAssociationsCommandOutput
129157
| RegisterIdentityProviderCommandOutput
130158
| StartProductSubscriptionCommandOutput
131159
| StopProductSubscriptionCommandOutput
160+
| TagResourceCommandOutput
161+
| UntagResourceCommandOutput
132162
| UpdateIdentityProviderSettingsCommandOutput;
133163

134164
/**
@@ -306,7 +336,7 @@ export interface LicenseManagerUserSubscriptionsClientResolvedConfig
306336

307337
/**
308338
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
309-
* a per user subscription fee on Amazon EC2 instances.</p>
339+
* a per user subscription fee on Amazon EC2 instances.</p>
310340
* @public
311341
*/
312342
export class LicenseManagerUserSubscriptionsClient extends __Client<

0 commit comments

Comments
 (0)