@aws-sdk/client-appstream 3.45.0 → 3.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist-cjs/AppStream.js +105 -0
- package/dist-cjs/commands/AssociateApplicationToEntitlementCommand.js +36 -0
- package/dist-cjs/commands/CreateEntitlementCommand.js +36 -0
- package/dist-cjs/commands/DeleteEntitlementCommand.js +36 -0
- package/dist-cjs/commands/DescribeEntitlementsCommand.js +36 -0
- package/dist-cjs/commands/DisassociateApplicationFromEntitlementCommand.js +36 -0
- package/dist-cjs/commands/ListEntitledApplicationsCommand.js +36 -0
- package/dist-cjs/commands/UpdateEntitlementCommand.js +36 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +124 -4
- package/dist-cjs/protocols/Aws_json1_1.js +779 -18
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/AppStream.js +105 -0
- package/dist-es/commands/AssociateApplicationToEntitlementCommand.js +39 -0
- package/dist-es/commands/CreateEntitlementCommand.js +39 -0
- package/dist-es/commands/DeleteEntitlementCommand.js +39 -0
- package/dist-es/commands/DescribeEntitlementsCommand.js +39 -0
- package/dist-es/commands/DisassociateApplicationFromEntitlementCommand.js +39 -0
- package/dist-es/commands/ListEntitledApplicationsCommand.js +39 -0
- package/dist-es/commands/UpdateEntitlementCommand.js +39 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +81 -0
- package/dist-es/protocols/Aws_json1_1.js +822 -31
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/AppStream.d.ts +54 -0
- package/dist-types/AppStreamClient.d.ts +9 -2
- package/dist-types/commands/AssociateApplicationToEntitlementCommand.d.ts +35 -0
- package/dist-types/commands/CreateEntitlementCommand.d.ts +40 -0
- package/dist-types/commands/DeleteEntitlementCommand.d.ts +35 -0
- package/dist-types/commands/DescribeEntitlementsCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateApplicationFromEntitlementCommand.d.ts +35 -0
- package/dist-types/commands/ListEntitledApplicationsCommand.d.ts +35 -0
- package/dist-types/commands/UpdateEntitlementCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +387 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +21 -0
- package/dist-types/ts3.4/AppStream.d.ts +35 -0
- package/dist-types/ts3.4/AppStreamClient.d.ts +9 -2
- package/dist-types/ts3.4/commands/AssociateApplicationToEntitlementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEntitlementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEntitlementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeEntitlementsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateApplicationFromEntitlementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEntitledApplicationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEntitlementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +215 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +21 -0
- package/package.json +37 -44
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
17
|
+
* **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
|
|
18
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
25
|
|
|
8
26
|
|
package/dist-cjs/AppStream.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AppStream = void 0;
|
|
4
4
|
const AppStreamClient_1 = require("./AppStreamClient");
|
|
5
5
|
const AssociateApplicationFleetCommand_1 = require("./commands/AssociateApplicationFleetCommand");
|
|
6
|
+
const AssociateApplicationToEntitlementCommand_1 = require("./commands/AssociateApplicationToEntitlementCommand");
|
|
6
7
|
const AssociateFleetCommand_1 = require("./commands/AssociateFleetCommand");
|
|
7
8
|
const BatchAssociateUserStackCommand_1 = require("./commands/BatchAssociateUserStackCommand");
|
|
8
9
|
const BatchDisassociateUserStackCommand_1 = require("./commands/BatchDisassociateUserStackCommand");
|
|
@@ -10,6 +11,7 @@ const CopyImageCommand_1 = require("./commands/CopyImageCommand");
|
|
|
10
11
|
const CreateAppBlockCommand_1 = require("./commands/CreateAppBlockCommand");
|
|
11
12
|
const CreateApplicationCommand_1 = require("./commands/CreateApplicationCommand");
|
|
12
13
|
const CreateDirectoryConfigCommand_1 = require("./commands/CreateDirectoryConfigCommand");
|
|
14
|
+
const CreateEntitlementCommand_1 = require("./commands/CreateEntitlementCommand");
|
|
13
15
|
const CreateFleetCommand_1 = require("./commands/CreateFleetCommand");
|
|
14
16
|
const CreateImageBuilderCommand_1 = require("./commands/CreateImageBuilderCommand");
|
|
15
17
|
const CreateImageBuilderStreamingURLCommand_1 = require("./commands/CreateImageBuilderStreamingURLCommand");
|
|
@@ -21,6 +23,7 @@ const CreateUserCommand_1 = require("./commands/CreateUserCommand");
|
|
|
21
23
|
const DeleteAppBlockCommand_1 = require("./commands/DeleteAppBlockCommand");
|
|
22
24
|
const DeleteApplicationCommand_1 = require("./commands/DeleteApplicationCommand");
|
|
23
25
|
const DeleteDirectoryConfigCommand_1 = require("./commands/DeleteDirectoryConfigCommand");
|
|
26
|
+
const DeleteEntitlementCommand_1 = require("./commands/DeleteEntitlementCommand");
|
|
24
27
|
const DeleteFleetCommand_1 = require("./commands/DeleteFleetCommand");
|
|
25
28
|
const DeleteImageBuilderCommand_1 = require("./commands/DeleteImageBuilderCommand");
|
|
26
29
|
const DeleteImageCommand_1 = require("./commands/DeleteImageCommand");
|
|
@@ -32,6 +35,7 @@ const DescribeAppBlocksCommand_1 = require("./commands/DescribeAppBlocksCommand"
|
|
|
32
35
|
const DescribeApplicationFleetAssociationsCommand_1 = require("./commands/DescribeApplicationFleetAssociationsCommand");
|
|
33
36
|
const DescribeApplicationsCommand_1 = require("./commands/DescribeApplicationsCommand");
|
|
34
37
|
const DescribeDirectoryConfigsCommand_1 = require("./commands/DescribeDirectoryConfigsCommand");
|
|
38
|
+
const DescribeEntitlementsCommand_1 = require("./commands/DescribeEntitlementsCommand");
|
|
35
39
|
const DescribeFleetsCommand_1 = require("./commands/DescribeFleetsCommand");
|
|
36
40
|
const DescribeImageBuildersCommand_1 = require("./commands/DescribeImageBuildersCommand");
|
|
37
41
|
const DescribeImagePermissionsCommand_1 = require("./commands/DescribeImagePermissionsCommand");
|
|
@@ -43,11 +47,13 @@ const DescribeUsersCommand_1 = require("./commands/DescribeUsersCommand");
|
|
|
43
47
|
const DescribeUserStackAssociationsCommand_1 = require("./commands/DescribeUserStackAssociationsCommand");
|
|
44
48
|
const DisableUserCommand_1 = require("./commands/DisableUserCommand");
|
|
45
49
|
const DisassociateApplicationFleetCommand_1 = require("./commands/DisassociateApplicationFleetCommand");
|
|
50
|
+
const DisassociateApplicationFromEntitlementCommand_1 = require("./commands/DisassociateApplicationFromEntitlementCommand");
|
|
46
51
|
const DisassociateFleetCommand_1 = require("./commands/DisassociateFleetCommand");
|
|
47
52
|
const EnableUserCommand_1 = require("./commands/EnableUserCommand");
|
|
48
53
|
const ExpireSessionCommand_1 = require("./commands/ExpireSessionCommand");
|
|
49
54
|
const ListAssociatedFleetsCommand_1 = require("./commands/ListAssociatedFleetsCommand");
|
|
50
55
|
const ListAssociatedStacksCommand_1 = require("./commands/ListAssociatedStacksCommand");
|
|
56
|
+
const ListEntitledApplicationsCommand_1 = require("./commands/ListEntitledApplicationsCommand");
|
|
51
57
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
52
58
|
const StartFleetCommand_1 = require("./commands/StartFleetCommand");
|
|
53
59
|
const StartImageBuilderCommand_1 = require("./commands/StartImageBuilderCommand");
|
|
@@ -57,6 +63,7 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
57
63
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
58
64
|
const UpdateApplicationCommand_1 = require("./commands/UpdateApplicationCommand");
|
|
59
65
|
const UpdateDirectoryConfigCommand_1 = require("./commands/UpdateDirectoryConfigCommand");
|
|
66
|
+
const UpdateEntitlementCommand_1 = require("./commands/UpdateEntitlementCommand");
|
|
60
67
|
const UpdateFleetCommand_1 = require("./commands/UpdateFleetCommand");
|
|
61
68
|
const UpdateImagePermissionsCommand_1 = require("./commands/UpdateImagePermissionsCommand");
|
|
62
69
|
const UpdateStackCommand_1 = require("./commands/UpdateStackCommand");
|
|
@@ -75,6 +82,20 @@ class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
|
75
82
|
return this.send(command, optionsOrCb);
|
|
76
83
|
}
|
|
77
84
|
}
|
|
85
|
+
associateApplicationToEntitlement(args, optionsOrCb, cb) {
|
|
86
|
+
const command = new AssociateApplicationToEntitlementCommand_1.AssociateApplicationToEntitlementCommand(args);
|
|
87
|
+
if (typeof optionsOrCb === "function") {
|
|
88
|
+
this.send(command, optionsOrCb);
|
|
89
|
+
}
|
|
90
|
+
else if (typeof cb === "function") {
|
|
91
|
+
if (typeof optionsOrCb !== "object")
|
|
92
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
93
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
return this.send(command, optionsOrCb);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
78
99
|
associateFleet(args, optionsOrCb, cb) {
|
|
79
100
|
const command = new AssociateFleetCommand_1.AssociateFleetCommand(args);
|
|
80
101
|
if (typeof optionsOrCb === "function") {
|
|
@@ -173,6 +194,20 @@ class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
|
173
194
|
return this.send(command, optionsOrCb);
|
|
174
195
|
}
|
|
175
196
|
}
|
|
197
|
+
createEntitlement(args, optionsOrCb, cb) {
|
|
198
|
+
const command = new CreateEntitlementCommand_1.CreateEntitlementCommand(args);
|
|
199
|
+
if (typeof optionsOrCb === "function") {
|
|
200
|
+
this.send(command, optionsOrCb);
|
|
201
|
+
}
|
|
202
|
+
else if (typeof cb === "function") {
|
|
203
|
+
if (typeof optionsOrCb !== "object")
|
|
204
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
205
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
return this.send(command, optionsOrCb);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
176
211
|
createFleet(args, optionsOrCb, cb) {
|
|
177
212
|
const command = new CreateFleetCommand_1.CreateFleetCommand(args);
|
|
178
213
|
if (typeof optionsOrCb === "function") {
|
|
@@ -327,6 +362,20 @@ class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
|
327
362
|
return this.send(command, optionsOrCb);
|
|
328
363
|
}
|
|
329
364
|
}
|
|
365
|
+
deleteEntitlement(args, optionsOrCb, cb) {
|
|
366
|
+
const command = new DeleteEntitlementCommand_1.DeleteEntitlementCommand(args);
|
|
367
|
+
if (typeof optionsOrCb === "function") {
|
|
368
|
+
this.send(command, optionsOrCb);
|
|
369
|
+
}
|
|
370
|
+
else if (typeof cb === "function") {
|
|
371
|
+
if (typeof optionsOrCb !== "object")
|
|
372
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
373
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
374
|
+
}
|
|
375
|
+
else {
|
|
376
|
+
return this.send(command, optionsOrCb);
|
|
377
|
+
}
|
|
378
|
+
}
|
|
330
379
|
deleteFleet(args, optionsOrCb, cb) {
|
|
331
380
|
const command = new DeleteFleetCommand_1.DeleteFleetCommand(args);
|
|
332
381
|
if (typeof optionsOrCb === "function") {
|
|
@@ -481,6 +530,20 @@ class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
|
481
530
|
return this.send(command, optionsOrCb);
|
|
482
531
|
}
|
|
483
532
|
}
|
|
533
|
+
describeEntitlements(args, optionsOrCb, cb) {
|
|
534
|
+
const command = new DescribeEntitlementsCommand_1.DescribeEntitlementsCommand(args);
|
|
535
|
+
if (typeof optionsOrCb === "function") {
|
|
536
|
+
this.send(command, optionsOrCb);
|
|
537
|
+
}
|
|
538
|
+
else if (typeof cb === "function") {
|
|
539
|
+
if (typeof optionsOrCb !== "object")
|
|
540
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
541
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
542
|
+
}
|
|
543
|
+
else {
|
|
544
|
+
return this.send(command, optionsOrCb);
|
|
545
|
+
}
|
|
546
|
+
}
|
|
484
547
|
describeFleets(args, optionsOrCb, cb) {
|
|
485
548
|
const command = new DescribeFleetsCommand_1.DescribeFleetsCommand(args);
|
|
486
549
|
if (typeof optionsOrCb === "function") {
|
|
@@ -635,6 +698,20 @@ class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
|
635
698
|
return this.send(command, optionsOrCb);
|
|
636
699
|
}
|
|
637
700
|
}
|
|
701
|
+
disassociateApplicationFromEntitlement(args, optionsOrCb, cb) {
|
|
702
|
+
const command = new DisassociateApplicationFromEntitlementCommand_1.DisassociateApplicationFromEntitlementCommand(args);
|
|
703
|
+
if (typeof optionsOrCb === "function") {
|
|
704
|
+
this.send(command, optionsOrCb);
|
|
705
|
+
}
|
|
706
|
+
else if (typeof cb === "function") {
|
|
707
|
+
if (typeof optionsOrCb !== "object")
|
|
708
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
709
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
710
|
+
}
|
|
711
|
+
else {
|
|
712
|
+
return this.send(command, optionsOrCb);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
638
715
|
disassociateFleet(args, optionsOrCb, cb) {
|
|
639
716
|
const command = new DisassociateFleetCommand_1.DisassociateFleetCommand(args);
|
|
640
717
|
if (typeof optionsOrCb === "function") {
|
|
@@ -705,6 +782,20 @@ class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
|
705
782
|
return this.send(command, optionsOrCb);
|
|
706
783
|
}
|
|
707
784
|
}
|
|
785
|
+
listEntitledApplications(args, optionsOrCb, cb) {
|
|
786
|
+
const command = new ListEntitledApplicationsCommand_1.ListEntitledApplicationsCommand(args);
|
|
787
|
+
if (typeof optionsOrCb === "function") {
|
|
788
|
+
this.send(command, optionsOrCb);
|
|
789
|
+
}
|
|
790
|
+
else if (typeof cb === "function") {
|
|
791
|
+
if (typeof optionsOrCb !== "object")
|
|
792
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
793
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
794
|
+
}
|
|
795
|
+
else {
|
|
796
|
+
return this.send(command, optionsOrCb);
|
|
797
|
+
}
|
|
798
|
+
}
|
|
708
799
|
listTagsForResource(args, optionsOrCb, cb) {
|
|
709
800
|
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
710
801
|
if (typeof optionsOrCb === "function") {
|
|
@@ -831,6 +922,20 @@ class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
|
831
922
|
return this.send(command, optionsOrCb);
|
|
832
923
|
}
|
|
833
924
|
}
|
|
925
|
+
updateEntitlement(args, optionsOrCb, cb) {
|
|
926
|
+
const command = new UpdateEntitlementCommand_1.UpdateEntitlementCommand(args);
|
|
927
|
+
if (typeof optionsOrCb === "function") {
|
|
928
|
+
this.send(command, optionsOrCb);
|
|
929
|
+
}
|
|
930
|
+
else if (typeof cb === "function") {
|
|
931
|
+
if (typeof optionsOrCb !== "object")
|
|
932
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
933
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
934
|
+
}
|
|
935
|
+
else {
|
|
936
|
+
return this.send(command, optionsOrCb);
|
|
937
|
+
}
|
|
938
|
+
}
|
|
834
939
|
updateFleet(args, optionsOrCb, cb) {
|
|
835
940
|
const command = new UpdateFleetCommand_1.UpdateFleetCommand(args);
|
|
836
941
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssociateApplicationToEntitlementCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class AssociateApplicationToEntitlementCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppStreamClient";
|
|
18
|
+
const commandName = "AssociateApplicationToEntitlementCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.AssociateApplicationToEntitlementRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.AssociateApplicationToEntitlementResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1AssociateApplicationToEntitlementCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1AssociateApplicationToEntitlementCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.AssociateApplicationToEntitlementCommand = AssociateApplicationToEntitlementCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateEntitlementCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateEntitlementCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppStreamClient";
|
|
18
|
+
const commandName = "CreateEntitlementCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateEntitlementRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateEntitlementResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1CreateEntitlementCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreateEntitlementCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateEntitlementCommand = CreateEntitlementCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteEntitlementCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DeleteEntitlementCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppStreamClient";
|
|
18
|
+
const commandName = "DeleteEntitlementCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteEntitlementRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteEntitlementResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DeleteEntitlementCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DeleteEntitlementCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteEntitlementCommand = DeleteEntitlementCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeEntitlementsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DescribeEntitlementsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppStreamClient";
|
|
18
|
+
const commandName = "DescribeEntitlementsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeEntitlementsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeEntitlementsResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DescribeEntitlementsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DescribeEntitlementsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeEntitlementsCommand = DescribeEntitlementsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisassociateApplicationFromEntitlementCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DisassociateApplicationFromEntitlementCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppStreamClient";
|
|
18
|
+
const commandName = "DisassociateApplicationFromEntitlementCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DisassociateApplicationFromEntitlementRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DisassociateApplicationFromEntitlementResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DisassociateApplicationFromEntitlementCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DisassociateApplicationFromEntitlementCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DisassociateApplicationFromEntitlementCommand = DisassociateApplicationFromEntitlementCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListEntitledApplicationsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class ListEntitledApplicationsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppStreamClient";
|
|
18
|
+
const commandName = "ListEntitledApplicationsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListEntitledApplicationsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListEntitledApplicationsResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1ListEntitledApplicationsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1ListEntitledApplicationsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListEntitledApplicationsCommand = ListEntitledApplicationsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateEntitlementCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class UpdateEntitlementCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AppStreamClient";
|
|
18
|
+
const commandName = "UpdateEntitlementCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateEntitlementRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateEntitlementResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1UpdateEntitlementCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1UpdateEntitlementCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateEntitlementCommand = UpdateEntitlementCommand;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./AssociateApplicationFleetCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./AssociateApplicationToEntitlementCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./AssociateFleetCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./BatchAssociateUserStackCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./BatchDisassociateUserStackCommand"), exports);
|
|
@@ -9,6 +10,7 @@ tslib_1.__exportStar(require("./CopyImageCommand"), exports);
|
|
|
9
10
|
tslib_1.__exportStar(require("./CreateAppBlockCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./CreateApplicationCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./CreateDirectoryConfigCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./CreateEntitlementCommand"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./CreateFleetCommand"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./CreateImageBuilderCommand"), exports);
|
|
14
16
|
tslib_1.__exportStar(require("./CreateImageBuilderStreamingURLCommand"), exports);
|
|
@@ -20,6 +22,7 @@ tslib_1.__exportStar(require("./CreateUserCommand"), exports);
|
|
|
20
22
|
tslib_1.__exportStar(require("./DeleteAppBlockCommand"), exports);
|
|
21
23
|
tslib_1.__exportStar(require("./DeleteApplicationCommand"), exports);
|
|
22
24
|
tslib_1.__exportStar(require("./DeleteDirectoryConfigCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./DeleteEntitlementCommand"), exports);
|
|
23
26
|
tslib_1.__exportStar(require("./DeleteFleetCommand"), exports);
|
|
24
27
|
tslib_1.__exportStar(require("./DeleteImageBuilderCommand"), exports);
|
|
25
28
|
tslib_1.__exportStar(require("./DeleteImageCommand"), exports);
|
|
@@ -31,6 +34,7 @@ tslib_1.__exportStar(require("./DescribeAppBlocksCommand"), exports);
|
|
|
31
34
|
tslib_1.__exportStar(require("./DescribeApplicationFleetAssociationsCommand"), exports);
|
|
32
35
|
tslib_1.__exportStar(require("./DescribeApplicationsCommand"), exports);
|
|
33
36
|
tslib_1.__exportStar(require("./DescribeDirectoryConfigsCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./DescribeEntitlementsCommand"), exports);
|
|
34
38
|
tslib_1.__exportStar(require("./DescribeFleetsCommand"), exports);
|
|
35
39
|
tslib_1.__exportStar(require("./DescribeImageBuildersCommand"), exports);
|
|
36
40
|
tslib_1.__exportStar(require("./DescribeImagePermissionsCommand"), exports);
|
|
@@ -42,11 +46,13 @@ tslib_1.__exportStar(require("./DescribeUserStackAssociationsCommand"), exports)
|
|
|
42
46
|
tslib_1.__exportStar(require("./DescribeUsersCommand"), exports);
|
|
43
47
|
tslib_1.__exportStar(require("./DisableUserCommand"), exports);
|
|
44
48
|
tslib_1.__exportStar(require("./DisassociateApplicationFleetCommand"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./DisassociateApplicationFromEntitlementCommand"), exports);
|
|
45
50
|
tslib_1.__exportStar(require("./DisassociateFleetCommand"), exports);
|
|
46
51
|
tslib_1.__exportStar(require("./EnableUserCommand"), exports);
|
|
47
52
|
tslib_1.__exportStar(require("./ExpireSessionCommand"), exports);
|
|
48
53
|
tslib_1.__exportStar(require("./ListAssociatedFleetsCommand"), exports);
|
|
49
54
|
tslib_1.__exportStar(require("./ListAssociatedStacksCommand"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./ListEntitledApplicationsCommand"), exports);
|
|
50
56
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
51
57
|
tslib_1.__exportStar(require("./StartFleetCommand"), exports);
|
|
52
58
|
tslib_1.__exportStar(require("./StartImageBuilderCommand"), exports);
|
|
@@ -56,6 +62,7 @@ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
|
56
62
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
57
63
|
tslib_1.__exportStar(require("./UpdateApplicationCommand"), exports);
|
|
58
64
|
tslib_1.__exportStar(require("./UpdateDirectoryConfigCommand"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./UpdateEntitlementCommand"), exports);
|
|
59
66
|
tslib_1.__exportStar(require("./UpdateFleetCommand"), exports);
|
|
60
67
|
tslib_1.__exportStar(require("./UpdateImagePermissionsCommand"), exports);
|
|
61
68
|
tslib_1.__exportStar(require("./UpdateStackCommand"), exports);
|