@aws-sdk/client-appstream 3.931.0 → 3.933.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/README.md +45 -13
- package/dist-cjs/index.js +312 -42
- package/dist-es/AppStream.js +8 -0
- package/dist-es/commands/CreateExportImageTaskCommand.js +16 -0
- package/dist-es/commands/CreateImportedImageCommand.js +16 -0
- package/dist-es/commands/GetExportImageTaskCommand.js +16 -0
- package/dist-es/commands/ListExportImageTasksCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +60 -27
- package/dist-es/schemas/schemas_0.js +194 -16
- package/dist-types/AppStream.d.ts +36 -6
- package/dist-types/AppStreamClient.d.ts +12 -8
- package/dist-types/commands/CreateAppBlockBuilderCommand.d.ts +2 -2
- package/dist-types/commands/CreateAppBlockCommand.d.ts +1 -1
- package/dist-types/commands/CreateApplicationCommand.d.ts +1 -1
- package/dist-types/commands/CreateDirectoryConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateEntitlementCommand.d.ts +1 -1
- package/dist-types/commands/CreateExportImageTaskCommand.d.ts +118 -0
- package/dist-types/commands/CreateFleetCommand.d.ts +8 -2
- package/dist-types/commands/CreateImageBuilderCommand.d.ts +9 -3
- package/dist-types/commands/CreateImportedImageCommand.d.ts +186 -0
- package/dist-types/commands/CreateStreamingURLCommand.d.ts +1 -1
- package/dist-types/commands/CreateUpdatedImageCommand.d.ts +6 -5
- package/dist-types/commands/DeleteDirectoryConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImageBuilderCommand.d.ts +5 -2
- package/dist-types/commands/DeleteImageCommand.d.ts +4 -3
- package/dist-types/commands/DescribeAppBlockBuildersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDirectoryConfigsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -1
- package/dist-types/commands/DescribeImageBuildersCommand.d.ts +5 -2
- package/dist-types/commands/DescribeImagesCommand.d.ts +4 -3
- package/dist-types/commands/DisableUserCommand.d.ts +1 -1
- package/dist-types/commands/EnableUserCommand.d.ts +1 -1
- package/dist-types/commands/GetExportImageTaskCommand.d.ts +97 -0
- package/dist-types/commands/ListExportImageTasksCommand.d.ts +106 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/StartAppBlockBuilderCommand.d.ts +2 -2
- package/dist-types/commands/StartFleetCommand.d.ts +1 -1
- package/dist-types/commands/StartImageBuilderCommand.d.ts +5 -2
- package/dist-types/commands/StopAppBlockBuilderCommand.d.ts +1 -1
- package/dist-types/commands/StopImageBuilderCommand.d.ts +5 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAppBlockBuilderCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDirectoryConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFleetCommand.d.ts +9 -3
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +6 -6
- package/dist-types/models/models_0.d.ts +822 -503
- package/dist-types/schemas/schemas_0.d.ts +24 -0
- package/dist-types/ts3.4/AppStream.d.ts +70 -0
- package/dist-types/ts3.4/AppStreamClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateExportImageTaskCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateImportedImageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetExportImageTaskCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListExportImageTasksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +176 -68
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -6,22 +6,22 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript AppStream Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<fullname>Amazon
|
|
9
|
+
<fullname>Amazon WorkSpaces Applications</fullname>
|
|
10
10
|
|
|
11
|
-
<p>This is the <i>Amazon
|
|
11
|
+
<p>This is the <i>Amazon WorkSpaces Applications API Reference</i>. This documentation provides descriptions and syntax for each of the actions and data types in WorkSpaces Applications. WorkSpaces Applications is a fully managed, secure application streaming service that lets you stream desktop applications to users without rewriting applications. WorkSpaces Applications manages the AWS resources that are required to host and run your applications, scales automatically, and provides access to your users on demand. </p>
|
|
12
12
|
<note>
|
|
13
|
-
<p>You can call the
|
|
13
|
+
<p>You can call the WorkSpaces Applications API operations by using an interface VPC endpoint (interface endpoint). For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/access-api-cli-through-interface-vpc-endpoint.html">Access WorkSpaces Applications API Operations and CLI Commands Through an Interface VPC Endpoint</a> in the <i>Amazon WorkSpaces Applications Administration Guide</i>.</p>
|
|
14
14
|
</note>
|
|
15
|
-
<p>To learn more about
|
|
15
|
+
<p>To learn more about WorkSpaces Applications, see the following resources:</p>
|
|
16
16
|
<ul>
|
|
17
17
|
<li>
|
|
18
18
|
<p>
|
|
19
|
-
<a href="http://aws.amazon.com/appstream2">Amazon
|
|
19
|
+
<a href="http://aws.amazon.com/appstream2">Amazon WorkSpaces Applications product page</a>
|
|
20
20
|
</p>
|
|
21
21
|
</li>
|
|
22
22
|
<li>
|
|
23
23
|
<p>
|
|
24
|
-
<a href="http://aws.amazon.com/documentation/appstream2">Amazon
|
|
24
|
+
<a href="http://aws.amazon.com/documentation/appstream2">Amazon WorkSpaces Applications documentation</a>
|
|
25
25
|
</p>
|
|
26
26
|
</li>
|
|
27
27
|
</ul>
|
|
@@ -41,16 +41,16 @@ using your favorite package manager:
|
|
|
41
41
|
|
|
42
42
|
The AWS SDK is modulized by clients and commands.
|
|
43
43
|
To send a request, you only need to import the `AppStreamClient` and
|
|
44
|
-
the commands you need, for example `
|
|
44
|
+
the commands you need, for example `ListExportImageTasksCommand`:
|
|
45
45
|
|
|
46
46
|
```js
|
|
47
47
|
// ES5 example
|
|
48
|
-
const { AppStreamClient,
|
|
48
|
+
const { AppStreamClient, ListExportImageTasksCommand } = require("@aws-sdk/client-appstream");
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
```ts
|
|
52
52
|
// ES6+ example
|
|
53
|
-
import { AppStreamClient,
|
|
53
|
+
import { AppStreamClient, ListExportImageTasksCommand } from "@aws-sdk/client-appstream";
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
### Usage
|
|
@@ -69,7 +69,7 @@ const client = new AppStreamClient({ region: "REGION" });
|
|
|
69
69
|
const params = {
|
|
70
70
|
/** input parameters */
|
|
71
71
|
};
|
|
72
|
-
const command = new
|
|
72
|
+
const command = new ListExportImageTasksCommand(params);
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
#### Async/await
|
|
@@ -148,7 +148,7 @@ const client = new AWS.AppStream({ region: "REGION" });
|
|
|
148
148
|
|
|
149
149
|
// async/await.
|
|
150
150
|
try {
|
|
151
|
-
const data = await client.
|
|
151
|
+
const data = await client.listExportImageTasks(params);
|
|
152
152
|
// process data.
|
|
153
153
|
} catch (error) {
|
|
154
154
|
// error handling.
|
|
@@ -156,7 +156,7 @@ try {
|
|
|
156
156
|
|
|
157
157
|
// Promises.
|
|
158
158
|
client
|
|
159
|
-
.
|
|
159
|
+
.listExportImageTasks(params)
|
|
160
160
|
.then((data) => {
|
|
161
161
|
// process data.
|
|
162
162
|
})
|
|
@@ -165,7 +165,7 @@ client
|
|
|
165
165
|
});
|
|
166
166
|
|
|
167
167
|
// callbacks.
|
|
168
|
-
client.
|
|
168
|
+
client.listExportImageTasks(params, (err, data) => {
|
|
169
169
|
// process err and data.
|
|
170
170
|
});
|
|
171
171
|
```
|
|
@@ -332,6 +332,14 @@ CreateEntitlement
|
|
|
332
332
|
|
|
333
333
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/CreateEntitlementCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/CreateEntitlementCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/CreateEntitlementCommandOutput/)
|
|
334
334
|
|
|
335
|
+
</details>
|
|
336
|
+
<details>
|
|
337
|
+
<summary>
|
|
338
|
+
CreateExportImageTask
|
|
339
|
+
</summary>
|
|
340
|
+
|
|
341
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/CreateExportImageTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/CreateExportImageTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/CreateExportImageTaskCommandOutput/)
|
|
342
|
+
|
|
335
343
|
</details>
|
|
336
344
|
<details>
|
|
337
345
|
<summary>
|
|
@@ -356,6 +364,14 @@ CreateImageBuilderStreamingURL
|
|
|
356
364
|
|
|
357
365
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/CreateImageBuilderStreamingURLCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/CreateImageBuilderStreamingURLCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/CreateImageBuilderStreamingURLCommandOutput/)
|
|
358
366
|
|
|
367
|
+
</details>
|
|
368
|
+
<details>
|
|
369
|
+
<summary>
|
|
370
|
+
CreateImportedImage
|
|
371
|
+
</summary>
|
|
372
|
+
|
|
373
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/CreateImportedImageCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/CreateImportedImageCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/CreateImportedImageCommandOutput/)
|
|
374
|
+
|
|
359
375
|
</details>
|
|
360
376
|
<details>
|
|
361
377
|
<summary>
|
|
@@ -724,6 +740,14 @@ ExpireSession
|
|
|
724
740
|
|
|
725
741
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/ExpireSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/ExpireSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/ExpireSessionCommandOutput/)
|
|
726
742
|
|
|
743
|
+
</details>
|
|
744
|
+
<details>
|
|
745
|
+
<summary>
|
|
746
|
+
GetExportImageTask
|
|
747
|
+
</summary>
|
|
748
|
+
|
|
749
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/GetExportImageTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/GetExportImageTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/GetExportImageTaskCommandOutput/)
|
|
750
|
+
|
|
727
751
|
</details>
|
|
728
752
|
<details>
|
|
729
753
|
<summary>
|
|
@@ -748,6 +772,14 @@ ListEntitledApplications
|
|
|
748
772
|
|
|
749
773
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/ListEntitledApplicationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/ListEntitledApplicationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/ListEntitledApplicationsCommandOutput/)
|
|
750
774
|
|
|
775
|
+
</details>
|
|
776
|
+
<details>
|
|
777
|
+
<summary>
|
|
778
|
+
ListExportImageTasks
|
|
779
|
+
</summary>
|
|
780
|
+
|
|
781
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appstream/command/ListExportImageTasksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/ListExportImageTasksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appstream/Interface/ListExportImageTasksCommandOutput/)
|
|
782
|
+
|
|
751
783
|
</details>
|
|
752
784
|
<details>
|
|
753
785
|
<summary>
|