@aws-sdk/client-appstream 3.39.0 → 3.43.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 +44 -0
- package/README.md +7 -7
- package/dist-cjs/AppStream.js +150 -0
- package/dist-cjs/commands/AssociateApplicationFleetCommand.js +36 -0
- package/dist-cjs/commands/CreateAppBlockCommand.js +36 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +36 -0
- package/dist-cjs/commands/DeleteAppBlockCommand.js +36 -0
- package/dist-cjs/commands/DeleteApplicationCommand.js +36 -0
- package/dist-cjs/commands/DescribeAppBlocksCommand.js +36 -0
- package/dist-cjs/commands/DescribeApplicationFleetAssociationsCommand.js +36 -0
- package/dist-cjs/commands/DescribeApplicationsCommand.js +36 -0
- package/dist-cjs/commands/DisassociateApplicationFleetCommand.js +36 -0
- package/dist-cjs/commands/UpdateApplicationCommand.js +36 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/endpoints.js +112 -9
- package/dist-cjs/models/models_0.js +185 -34
- package/dist-cjs/protocols/Aws_json1_1.js +1335 -239
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/AppStream.js +150 -0
- package/dist-es/commands/AssociateApplicationFleetCommand.js +39 -0
- package/dist-es/commands/CreateAppBlockCommand.js +39 -0
- package/dist-es/commands/CreateApplicationCommand.js +39 -0
- package/dist-es/commands/DeleteAppBlockCommand.js +39 -0
- package/dist-es/commands/DeleteApplicationCommand.js +39 -0
- package/dist-es/commands/DescribeAppBlocksCommand.js +39 -0
- package/dist-es/commands/DescribeApplicationFleetAssociationsCommand.js +39 -0
- package/dist-es/commands/DescribeApplicationsCommand.js +39 -0
- package/dist-es/commands/DisassociateApplicationFleetCommand.js +39 -0
- package/dist-es/commands/UpdateApplicationCommand.js +39 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoints.js +112 -9
- package/dist-es/models/models_0.js +127 -24
- package/dist-es/protocols/Aws_json1_1.js +1291 -162
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/AppStream.d.ts +104 -4
- package/dist-types/AppStreamClient.d.ts +20 -2
- package/dist-types/commands/AssociateApplicationFleetCommand.d.ts +35 -0
- package/dist-types/commands/AssociateFleetCommand.d.ts +1 -1
- package/dist-types/commands/BatchAssociateUserStackCommand.d.ts +1 -1
- package/dist-types/commands/BatchDisassociateUserStackCommand.d.ts +1 -1
- package/dist-types/commands/CopyImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateAppBlockCommand.d.ts +41 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +41 -0
- package/dist-types/commands/CreateDirectoryConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateFleetCommand.d.ts +2 -2
- package/dist-types/commands/CreateImageBuilderCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageBuilderStreamingURLCommand.d.ts +1 -1
- package/dist-types/commands/CreateStackCommand.d.ts +1 -1
- package/dist-types/commands/CreateStreamingURLCommand.d.ts +1 -1
- package/dist-types/commands/CreateUpdatedImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateUsageReportSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppBlockCommand.d.ts +35 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +35 -0
- package/dist-types/commands/DeleteDirectoryConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFleetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImageBuilderCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImagePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStackCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUsageReportSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAppBlocksCommand.d.ts +35 -0
- package/dist-types/commands/DescribeApplicationFleetAssociationsCommand.d.ts +35 -0
- package/dist-types/commands/DescribeApplicationsCommand.d.ts +35 -0
- package/dist-types/commands/DescribeDirectoryConfigsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageBuildersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSessionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStacksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUsageReportSubscriptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserStackAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUsersCommand.d.ts +1 -1
- package/dist-types/commands/DisableUserCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateApplicationFleetCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateFleetCommand.d.ts +1 -1
- package/dist-types/commands/EnableUserCommand.d.ts +1 -1
- package/dist-types/commands/ExpireSessionCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociatedFleetsCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociatedStacksCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartFleetCommand.d.ts +1 -1
- package/dist-types/commands/StartImageBuilderCommand.d.ts +1 -1
- package/dist-types/commands/StopFleetCommand.d.ts +1 -1
- package/dist-types/commands/StopImageBuilderCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApplicationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateDirectoryConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFleetCommand.d.ts +22 -4
- package/dist-types/commands/UpdateImagePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStackCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +647 -63
- package/dist-types/protocols/Aws_json1_1.d.ts +30 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/AppStream.d.ts +50 -0
- package/dist-types/ts3.4/AppStreamClient.d.ts +16 -2
- package/dist-types/ts3.4/commands/AssociateApplicationFleetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAppBlockCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAppBlockCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAppBlocksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeApplicationFleetAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeApplicationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateApplicationFleetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +368 -42
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +30 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +24 -24
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
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.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** update clients as of 11/18/2021 ([#3039](https://github.com/aws/aws-sdk-js-v3/issues/3039)) ([d2b2c45](https://github.com/aws/aws-sdk-js-v3/commit/d2b2c453315fc7bff798c1fb97c792e59274b4d6))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
6
50
|
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
51
|
|
|
8
52
|
**Note:** Version bump only for package @aws-sdk/client-appstream
|
package/README.md
CHANGED
|
@@ -45,16 +45,16 @@ using your favorite package manager:
|
|
|
45
45
|
|
|
46
46
|
The AWS SDK is modulized by clients and commands.
|
|
47
47
|
To send a request, you only need to import the `AppStreamClient` and
|
|
48
|
-
the commands you need, for example `
|
|
48
|
+
the commands you need, for example `AssociateApplicationFleetCommand`:
|
|
49
49
|
|
|
50
50
|
```js
|
|
51
51
|
// ES5 example
|
|
52
|
-
const { AppStreamClient,
|
|
52
|
+
const { AppStreamClient, AssociateApplicationFleetCommand } = require("@aws-sdk/client-appstream");
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
```ts
|
|
56
56
|
// ES6+ example
|
|
57
|
-
import { AppStreamClient,
|
|
57
|
+
import { AppStreamClient, AssociateApplicationFleetCommand } from "@aws-sdk/client-appstream";
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
### Usage
|
|
@@ -73,7 +73,7 @@ const client = new AppStreamClient({ region: "REGION" });
|
|
|
73
73
|
const params = {
|
|
74
74
|
/** input parameters */
|
|
75
75
|
};
|
|
76
|
-
const command = new
|
|
76
|
+
const command = new AssociateApplicationFleetCommand(params);
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
#### Async/await
|
|
@@ -152,7 +152,7 @@ const client = new AWS.AppStream({ region: "REGION" });
|
|
|
152
152
|
|
|
153
153
|
// async/await.
|
|
154
154
|
try {
|
|
155
|
-
const data = await client.
|
|
155
|
+
const data = await client.associateApplicationFleet(params);
|
|
156
156
|
// process data.
|
|
157
157
|
} catch (error) {
|
|
158
158
|
// error handling.
|
|
@@ -160,7 +160,7 @@ try {
|
|
|
160
160
|
|
|
161
161
|
// Promises.
|
|
162
162
|
client
|
|
163
|
-
.
|
|
163
|
+
.associateApplicationFleet(params)
|
|
164
164
|
.then((data) => {
|
|
165
165
|
// process data.
|
|
166
166
|
})
|
|
@@ -169,7 +169,7 @@ client
|
|
|
169
169
|
});
|
|
170
170
|
|
|
171
171
|
// callbacks.
|
|
172
|
-
client.
|
|
172
|
+
client.associateApplicationFleet(params, (err, data) => {
|
|
173
173
|
// proccess err and data.
|
|
174
174
|
});
|
|
175
175
|
```
|
package/dist-cjs/AppStream.js
CHANGED
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AppStream = void 0;
|
|
4
4
|
const AppStreamClient_1 = require("./AppStreamClient");
|
|
5
|
+
const AssociateApplicationFleetCommand_1 = require("./commands/AssociateApplicationFleetCommand");
|
|
5
6
|
const AssociateFleetCommand_1 = require("./commands/AssociateFleetCommand");
|
|
6
7
|
const BatchAssociateUserStackCommand_1 = require("./commands/BatchAssociateUserStackCommand");
|
|
7
8
|
const BatchDisassociateUserStackCommand_1 = require("./commands/BatchDisassociateUserStackCommand");
|
|
8
9
|
const CopyImageCommand_1 = require("./commands/CopyImageCommand");
|
|
10
|
+
const CreateAppBlockCommand_1 = require("./commands/CreateAppBlockCommand");
|
|
11
|
+
const CreateApplicationCommand_1 = require("./commands/CreateApplicationCommand");
|
|
9
12
|
const CreateDirectoryConfigCommand_1 = require("./commands/CreateDirectoryConfigCommand");
|
|
10
13
|
const CreateFleetCommand_1 = require("./commands/CreateFleetCommand");
|
|
11
14
|
const CreateImageBuilderCommand_1 = require("./commands/CreateImageBuilderCommand");
|
|
@@ -15,6 +18,8 @@ const CreateStreamingURLCommand_1 = require("./commands/CreateStreamingURLComman
|
|
|
15
18
|
const CreateUpdatedImageCommand_1 = require("./commands/CreateUpdatedImageCommand");
|
|
16
19
|
const CreateUsageReportSubscriptionCommand_1 = require("./commands/CreateUsageReportSubscriptionCommand");
|
|
17
20
|
const CreateUserCommand_1 = require("./commands/CreateUserCommand");
|
|
21
|
+
const DeleteAppBlockCommand_1 = require("./commands/DeleteAppBlockCommand");
|
|
22
|
+
const DeleteApplicationCommand_1 = require("./commands/DeleteApplicationCommand");
|
|
18
23
|
const DeleteDirectoryConfigCommand_1 = require("./commands/DeleteDirectoryConfigCommand");
|
|
19
24
|
const DeleteFleetCommand_1 = require("./commands/DeleteFleetCommand");
|
|
20
25
|
const DeleteImageBuilderCommand_1 = require("./commands/DeleteImageBuilderCommand");
|
|
@@ -23,6 +28,9 @@ const DeleteImagePermissionsCommand_1 = require("./commands/DeleteImagePermissio
|
|
|
23
28
|
const DeleteStackCommand_1 = require("./commands/DeleteStackCommand");
|
|
24
29
|
const DeleteUsageReportSubscriptionCommand_1 = require("./commands/DeleteUsageReportSubscriptionCommand");
|
|
25
30
|
const DeleteUserCommand_1 = require("./commands/DeleteUserCommand");
|
|
31
|
+
const DescribeAppBlocksCommand_1 = require("./commands/DescribeAppBlocksCommand");
|
|
32
|
+
const DescribeApplicationFleetAssociationsCommand_1 = require("./commands/DescribeApplicationFleetAssociationsCommand");
|
|
33
|
+
const DescribeApplicationsCommand_1 = require("./commands/DescribeApplicationsCommand");
|
|
26
34
|
const DescribeDirectoryConfigsCommand_1 = require("./commands/DescribeDirectoryConfigsCommand");
|
|
27
35
|
const DescribeFleetsCommand_1 = require("./commands/DescribeFleetsCommand");
|
|
28
36
|
const DescribeImageBuildersCommand_1 = require("./commands/DescribeImageBuildersCommand");
|
|
@@ -34,6 +42,7 @@ const DescribeUsageReportSubscriptionsCommand_1 = require("./commands/DescribeUs
|
|
|
34
42
|
const DescribeUsersCommand_1 = require("./commands/DescribeUsersCommand");
|
|
35
43
|
const DescribeUserStackAssociationsCommand_1 = require("./commands/DescribeUserStackAssociationsCommand");
|
|
36
44
|
const DisableUserCommand_1 = require("./commands/DisableUserCommand");
|
|
45
|
+
const DisassociateApplicationFleetCommand_1 = require("./commands/DisassociateApplicationFleetCommand");
|
|
37
46
|
const DisassociateFleetCommand_1 = require("./commands/DisassociateFleetCommand");
|
|
38
47
|
const EnableUserCommand_1 = require("./commands/EnableUserCommand");
|
|
39
48
|
const ExpireSessionCommand_1 = require("./commands/ExpireSessionCommand");
|
|
@@ -46,11 +55,26 @@ const StopFleetCommand_1 = require("./commands/StopFleetCommand");
|
|
|
46
55
|
const StopImageBuilderCommand_1 = require("./commands/StopImageBuilderCommand");
|
|
47
56
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
48
57
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
58
|
+
const UpdateApplicationCommand_1 = require("./commands/UpdateApplicationCommand");
|
|
49
59
|
const UpdateDirectoryConfigCommand_1 = require("./commands/UpdateDirectoryConfigCommand");
|
|
50
60
|
const UpdateFleetCommand_1 = require("./commands/UpdateFleetCommand");
|
|
51
61
|
const UpdateImagePermissionsCommand_1 = require("./commands/UpdateImagePermissionsCommand");
|
|
52
62
|
const UpdateStackCommand_1 = require("./commands/UpdateStackCommand");
|
|
53
63
|
class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
64
|
+
associateApplicationFleet(args, optionsOrCb, cb) {
|
|
65
|
+
const command = new AssociateApplicationFleetCommand_1.AssociateApplicationFleetCommand(args);
|
|
66
|
+
if (typeof optionsOrCb === "function") {
|
|
67
|
+
this.send(command, optionsOrCb);
|
|
68
|
+
}
|
|
69
|
+
else if (typeof cb === "function") {
|
|
70
|
+
if (typeof optionsOrCb !== "object")
|
|
71
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
72
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
return this.send(command, optionsOrCb);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
54
78
|
associateFleet(args, optionsOrCb, cb) {
|
|
55
79
|
const command = new AssociateFleetCommand_1.AssociateFleetCommand(args);
|
|
56
80
|
if (typeof optionsOrCb === "function") {
|
|
@@ -107,6 +131,34 @@ class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
|
107
131
|
return this.send(command, optionsOrCb);
|
|
108
132
|
}
|
|
109
133
|
}
|
|
134
|
+
createAppBlock(args, optionsOrCb, cb) {
|
|
135
|
+
const command = new CreateAppBlockCommand_1.CreateAppBlockCommand(args);
|
|
136
|
+
if (typeof optionsOrCb === "function") {
|
|
137
|
+
this.send(command, optionsOrCb);
|
|
138
|
+
}
|
|
139
|
+
else if (typeof cb === "function") {
|
|
140
|
+
if (typeof optionsOrCb !== "object")
|
|
141
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
142
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
return this.send(command, optionsOrCb);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
createApplication(args, optionsOrCb, cb) {
|
|
149
|
+
const command = new CreateApplicationCommand_1.CreateApplicationCommand(args);
|
|
150
|
+
if (typeof optionsOrCb === "function") {
|
|
151
|
+
this.send(command, optionsOrCb);
|
|
152
|
+
}
|
|
153
|
+
else if (typeof cb === "function") {
|
|
154
|
+
if (typeof optionsOrCb !== "object")
|
|
155
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
156
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
return this.send(command, optionsOrCb);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
110
162
|
createDirectoryConfig(args, optionsOrCb, cb) {
|
|
111
163
|
const command = new CreateDirectoryConfigCommand_1.CreateDirectoryConfigCommand(args);
|
|
112
164
|
if (typeof optionsOrCb === "function") {
|
|
@@ -233,6 +285,34 @@ class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
|
233
285
|
return this.send(command, optionsOrCb);
|
|
234
286
|
}
|
|
235
287
|
}
|
|
288
|
+
deleteAppBlock(args, optionsOrCb, cb) {
|
|
289
|
+
const command = new DeleteAppBlockCommand_1.DeleteAppBlockCommand(args);
|
|
290
|
+
if (typeof optionsOrCb === "function") {
|
|
291
|
+
this.send(command, optionsOrCb);
|
|
292
|
+
}
|
|
293
|
+
else if (typeof cb === "function") {
|
|
294
|
+
if (typeof optionsOrCb !== "object")
|
|
295
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
296
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
297
|
+
}
|
|
298
|
+
else {
|
|
299
|
+
return this.send(command, optionsOrCb);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
deleteApplication(args, optionsOrCb, cb) {
|
|
303
|
+
const command = new DeleteApplicationCommand_1.DeleteApplicationCommand(args);
|
|
304
|
+
if (typeof optionsOrCb === "function") {
|
|
305
|
+
this.send(command, optionsOrCb);
|
|
306
|
+
}
|
|
307
|
+
else if (typeof cb === "function") {
|
|
308
|
+
if (typeof optionsOrCb !== "object")
|
|
309
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
310
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
311
|
+
}
|
|
312
|
+
else {
|
|
313
|
+
return this.send(command, optionsOrCb);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
236
316
|
deleteDirectoryConfig(args, optionsOrCb, cb) {
|
|
237
317
|
const command = new DeleteDirectoryConfigCommand_1.DeleteDirectoryConfigCommand(args);
|
|
238
318
|
if (typeof optionsOrCb === "function") {
|
|
@@ -345,6 +425,48 @@ class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
|
345
425
|
return this.send(command, optionsOrCb);
|
|
346
426
|
}
|
|
347
427
|
}
|
|
428
|
+
describeAppBlocks(args, optionsOrCb, cb) {
|
|
429
|
+
const command = new DescribeAppBlocksCommand_1.DescribeAppBlocksCommand(args);
|
|
430
|
+
if (typeof optionsOrCb === "function") {
|
|
431
|
+
this.send(command, optionsOrCb);
|
|
432
|
+
}
|
|
433
|
+
else if (typeof cb === "function") {
|
|
434
|
+
if (typeof optionsOrCb !== "object")
|
|
435
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
436
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
437
|
+
}
|
|
438
|
+
else {
|
|
439
|
+
return this.send(command, optionsOrCb);
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
describeApplicationFleetAssociations(args, optionsOrCb, cb) {
|
|
443
|
+
const command = new DescribeApplicationFleetAssociationsCommand_1.DescribeApplicationFleetAssociationsCommand(args);
|
|
444
|
+
if (typeof optionsOrCb === "function") {
|
|
445
|
+
this.send(command, optionsOrCb);
|
|
446
|
+
}
|
|
447
|
+
else if (typeof cb === "function") {
|
|
448
|
+
if (typeof optionsOrCb !== "object")
|
|
449
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
450
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
451
|
+
}
|
|
452
|
+
else {
|
|
453
|
+
return this.send(command, optionsOrCb);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
describeApplications(args, optionsOrCb, cb) {
|
|
457
|
+
const command = new DescribeApplicationsCommand_1.DescribeApplicationsCommand(args);
|
|
458
|
+
if (typeof optionsOrCb === "function") {
|
|
459
|
+
this.send(command, optionsOrCb);
|
|
460
|
+
}
|
|
461
|
+
else if (typeof cb === "function") {
|
|
462
|
+
if (typeof optionsOrCb !== "object")
|
|
463
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
464
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
465
|
+
}
|
|
466
|
+
else {
|
|
467
|
+
return this.send(command, optionsOrCb);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
348
470
|
describeDirectoryConfigs(args, optionsOrCb, cb) {
|
|
349
471
|
const command = new DescribeDirectoryConfigsCommand_1.DescribeDirectoryConfigsCommand(args);
|
|
350
472
|
if (typeof optionsOrCb === "function") {
|
|
@@ -499,6 +621,20 @@ class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
|
499
621
|
return this.send(command, optionsOrCb);
|
|
500
622
|
}
|
|
501
623
|
}
|
|
624
|
+
disassociateApplicationFleet(args, optionsOrCb, cb) {
|
|
625
|
+
const command = new DisassociateApplicationFleetCommand_1.DisassociateApplicationFleetCommand(args);
|
|
626
|
+
if (typeof optionsOrCb === "function") {
|
|
627
|
+
this.send(command, optionsOrCb);
|
|
628
|
+
}
|
|
629
|
+
else if (typeof cb === "function") {
|
|
630
|
+
if (typeof optionsOrCb !== "object")
|
|
631
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
632
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
633
|
+
}
|
|
634
|
+
else {
|
|
635
|
+
return this.send(command, optionsOrCb);
|
|
636
|
+
}
|
|
637
|
+
}
|
|
502
638
|
disassociateFleet(args, optionsOrCb, cb) {
|
|
503
639
|
const command = new DisassociateFleetCommand_1.DisassociateFleetCommand(args);
|
|
504
640
|
if (typeof optionsOrCb === "function") {
|
|
@@ -667,6 +803,20 @@ class AppStream extends AppStreamClient_1.AppStreamClient {
|
|
|
667
803
|
return this.send(command, optionsOrCb);
|
|
668
804
|
}
|
|
669
805
|
}
|
|
806
|
+
updateApplication(args, optionsOrCb, cb) {
|
|
807
|
+
const command = new UpdateApplicationCommand_1.UpdateApplicationCommand(args);
|
|
808
|
+
if (typeof optionsOrCb === "function") {
|
|
809
|
+
this.send(command, optionsOrCb);
|
|
810
|
+
}
|
|
811
|
+
else if (typeof cb === "function") {
|
|
812
|
+
if (typeof optionsOrCb !== "object")
|
|
813
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
814
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
815
|
+
}
|
|
816
|
+
else {
|
|
817
|
+
return this.send(command, optionsOrCb);
|
|
818
|
+
}
|
|
819
|
+
}
|
|
670
820
|
updateDirectoryConfig(args, optionsOrCb, cb) {
|
|
671
821
|
const command = new UpdateDirectoryConfigCommand_1.UpdateDirectoryConfigCommand(args);
|
|
672
822
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssociateApplicationFleetCommand = 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 AssociateApplicationFleetCommand 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 = "AssociateApplicationFleetCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.AssociateApplicationFleetRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.AssociateApplicationFleetResult.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_1AssociateApplicationFleetCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1AssociateApplicationFleetCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.AssociateApplicationFleetCommand = AssociateApplicationFleetCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateAppBlockCommand = 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 CreateAppBlockCommand 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 = "CreateAppBlockCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateAppBlockRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateAppBlockResult.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_1CreateAppBlockCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreateAppBlockCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateAppBlockCommand = CreateAppBlockCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateApplicationCommand = 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 CreateApplicationCommand 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 = "CreateApplicationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateApplicationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateApplicationResult.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_1CreateApplicationCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreateApplicationCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateApplicationCommand = CreateApplicationCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteAppBlockCommand = 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 DeleteAppBlockCommand 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 = "DeleteAppBlockCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteAppBlockRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteAppBlockResult.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_1DeleteAppBlockCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DeleteAppBlockCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteAppBlockCommand = DeleteAppBlockCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteApplicationCommand = 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 DeleteApplicationCommand 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 = "DeleteApplicationCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteApplicationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteApplicationResult.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_1DeleteApplicationCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DeleteApplicationCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteApplicationCommand = DeleteApplicationCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeAppBlocksCommand = 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 DescribeAppBlocksCommand 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 = "DescribeAppBlocksCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeAppBlocksRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeAppBlocksResult.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_1DescribeAppBlocksCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DescribeAppBlocksCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeAppBlocksCommand = DescribeAppBlocksCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeApplicationFleetAssociationsCommand = 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 DescribeApplicationFleetAssociationsCommand 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 = "DescribeApplicationFleetAssociationsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeApplicationFleetAssociationsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeApplicationFleetAssociationsResult.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_1DescribeApplicationFleetAssociationsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DescribeApplicationFleetAssociationsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeApplicationFleetAssociationsCommand = DescribeApplicationFleetAssociationsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeApplicationsCommand = 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 DescribeApplicationsCommand 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 = "DescribeApplicationsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeApplicationsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeApplicationsResult.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_1DescribeApplicationsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DescribeApplicationsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeApplicationsCommand = DescribeApplicationsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisassociateApplicationFleetCommand = 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 DisassociateApplicationFleetCommand 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 = "DisassociateApplicationFleetCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DisassociateApplicationFleetRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DisassociateApplicationFleetResult.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_1DisassociateApplicationFleetCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DisassociateApplicationFleetCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DisassociateApplicationFleetCommand = DisassociateApplicationFleetCommand;
|