Skip to content

Commit ec6111c

Browse files
author
awstools
committed
feat(client-appstream): Adding support for additional instances and extended storage
1 parent adec304 commit ec6111c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2816
-706
lines changed

clients/client-appstream/README.md

Lines changed: 45 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@
66

77
AWS SDK for JavaScript AppStream Client for Node.js, Browser and React Native.
88

9-
<fullname>Amazon AppStream 2.0</fullname>
9+
<fullname>Amazon WorkSpaces Applications</fullname>
1010

11-
<p>This is the <i>Amazon AppStream 2.0 API Reference</i>. This documentation provides descriptions and syntax for each of the actions and data types in AppStream 2.0. AppStream 2.0 is a fully managed, secure application streaming service that lets you stream desktop applications to users without rewriting applications. AppStream 2.0 manages the AWS resources that are required to host and run your applications, scales automatically, and provides access to your users on demand. </p>
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>
1212
<note>
13-
<p>You can call the AppStream 2.0 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 AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
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>
1414
</note>
15-
<p>To learn more about AppStream 2.0, see the following resources:</p>
15+
<p>To learn more about WorkSpaces Applications, see the following resources:</p>
1616
<ul>
1717
<li>
1818
<p>
19-
<a href="http://aws.amazon.com/appstream2">Amazon AppStream 2.0 product page</a>
19+
<a href="http://aws.amazon.com/appstream2">Amazon WorkSpaces Applications product page</a>
2020
</p>
2121
</li>
2222
<li>
2323
<p>
24-
<a href="http://aws.amazon.com/documentation/appstream2">Amazon AppStream 2.0 documentation</a>
24+
<a href="http://aws.amazon.com/documentation/appstream2">Amazon WorkSpaces Applications documentation</a>
2525
</p>
2626
</li>
2727
</ul>
@@ -41,16 +41,16 @@ using your favorite package manager:
4141

4242
The AWS SDK is modulized by clients and commands.
4343
To send a request, you only need to import the `AppStreamClient` and
44-
the commands you need, for example `ListAssociatedFleetsCommand`:
44+
the commands you need, for example `ListExportImageTasksCommand`:
4545

4646
```js
4747
// ES5 example
48-
const { AppStreamClient, ListAssociatedFleetsCommand } = require("@aws-sdk/client-appstream");
48+
const { AppStreamClient, ListExportImageTasksCommand } = require("@aws-sdk/client-appstream");
4949
```
5050

5151
```ts
5252
// ES6+ example
53-
import { AppStreamClient, ListAssociatedFleetsCommand } from "@aws-sdk/client-appstream";
53+
import { AppStreamClient, ListExportImageTasksCommand } from "@aws-sdk/client-appstream";
5454
```
5555

5656
### Usage
@@ -69,7 +69,7 @@ const client = new AppStreamClient({ region: "REGION" });
6969
const params = {
7070
/** input parameters */
7171
};
72-
const command = new ListAssociatedFleetsCommand(params);
72+
const command = new ListExportImageTasksCommand(params);
7373
```
7474

7575
#### Async/await
@@ -148,15 +148,15 @@ const client = new AWS.AppStream({ region: "REGION" });
148148

149149
// async/await.
150150
try {
151-
const data = await client.listAssociatedFleets(params);
151+
const data = await client.listExportImageTasks(params);
152152
// process data.
153153
} catch (error) {
154154
// error handling.
155155
}
156156

157157
// Promises.
158158
client
159-
.listAssociatedFleets(params)
159+
.listExportImageTasks(params)
160160
.then((data) => {
161161
// process data.
162162
})
@@ -165,7 +165,7 @@ client
165165
});
166166

167167
// callbacks.
168-
client.listAssociatedFleets(params, (err, data) => {
168+
client.listExportImageTasks(params, (err, data) => {
169169
// process err and data.
170170
});
171171
```
@@ -332,6 +332,14 @@ CreateEntitlement
332332

333333
[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/)
334334

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+
335343
</details>
336344
<details>
337345
<summary>
@@ -356,6 +364,14 @@ CreateImageBuilderStreamingURL
356364

357365
[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/)
358366

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+
359375
</details>
360376
<details>
361377
<summary>
@@ -724,6 +740,14 @@ ExpireSession
724740

725741
[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/)
726742

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+
727751
</details>
728752
<details>
729753
<summary>
@@ -748,6 +772,14 @@ ListEntitledApplications
748772

749773
[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/)
750774

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+
751783
</details>
752784
<details>
753785
<summary>

clients/client-appstream/src/AppStream.ts

Lines changed: 100 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ import {
6969
CreateEntitlementCommandInput,
7070
CreateEntitlementCommandOutput,
7171
} from "./commands/CreateEntitlementCommand";
72+
import {
73+
CreateExportImageTaskCommand,
74+
CreateExportImageTaskCommandInput,
75+
CreateExportImageTaskCommandOutput,
76+
} from "./commands/CreateExportImageTaskCommand";
7277
import { CreateFleetCommand, CreateFleetCommandInput, CreateFleetCommandOutput } from "./commands/CreateFleetCommand";
7378
import {
7479
CreateImageBuilderCommand,
@@ -80,6 +85,11 @@ import {
8085
CreateImageBuilderStreamingURLCommandInput,
8186
CreateImageBuilderStreamingURLCommandOutput,
8287
} from "./commands/CreateImageBuilderStreamingURLCommand";
88+
import {
89+
CreateImportedImageCommand,
90+
CreateImportedImageCommandInput,
91+
CreateImportedImageCommandOutput,
92+
} from "./commands/CreateImportedImageCommand";
8393
import { CreateStackCommand, CreateStackCommandInput, CreateStackCommandOutput } from "./commands/CreateStackCommand";
8494
import {
8595
CreateStreamingURLCommand,
@@ -278,6 +288,11 @@ import {
278288
ExpireSessionCommandInput,
279289
ExpireSessionCommandOutput,
280290
} from "./commands/ExpireSessionCommand";
291+
import {
292+
GetExportImageTaskCommand,
293+
GetExportImageTaskCommandInput,
294+
GetExportImageTaskCommandOutput,
295+
} from "./commands/GetExportImageTaskCommand";
281296
import {
282297
ListAssociatedFleetsCommand,
283298
ListAssociatedFleetsCommandInput,
@@ -293,6 +308,11 @@ import {
293308
ListEntitledApplicationsCommandInput,
294309
ListEntitledApplicationsCommandOutput,
295310
} from "./commands/ListEntitledApplicationsCommand";
311+
import {
312+
ListExportImageTasksCommand,
313+
ListExportImageTasksCommandInput,
314+
ListExportImageTasksCommandOutput,
315+
} from "./commands/ListExportImageTasksCommand";
296316
import {
297317
ListTagsForResourceCommand,
298318
ListTagsForResourceCommandInput,
@@ -379,9 +399,11 @@ const commands = {
379399
CreateApplicationCommand,
380400
CreateDirectoryConfigCommand,
381401
CreateEntitlementCommand,
402+
CreateExportImageTaskCommand,
382403
CreateFleetCommand,
383404
CreateImageBuilderCommand,
384405
CreateImageBuilderStreamingURLCommand,
406+
CreateImportedImageCommand,
385407
CreateStackCommand,
386408
CreateStreamingURLCommand,
387409
CreateThemeForStackCommand,
@@ -428,9 +450,11 @@ const commands = {
428450
DisassociateSoftwareFromImageBuilderCommand,
429451
EnableUserCommand,
430452
ExpireSessionCommand,
453+
GetExportImageTaskCommand,
431454
ListAssociatedFleetsCommand,
432455
ListAssociatedStacksCommand,
433456
ListEntitledApplicationsCommand,
457+
ListExportImageTasksCommand,
434458
ListTagsForResourceCommand,
435459
StartAppBlockBuilderCommand,
436460
StartFleetCommand,
@@ -678,6 +702,23 @@ export interface AppStream {
678702
cb: (err: any, data?: CreateEntitlementCommandOutput) => void
679703
): void;
680704

705+
/**
706+
* @see {@link CreateExportImageTaskCommand}
707+
*/
708+
createExportImageTask(
709+
args: CreateExportImageTaskCommandInput,
710+
options?: __HttpHandlerOptions
711+
): Promise<CreateExportImageTaskCommandOutput>;
712+
createExportImageTask(
713+
args: CreateExportImageTaskCommandInput,
714+
cb: (err: any, data?: CreateExportImageTaskCommandOutput) => void
715+
): void;
716+
createExportImageTask(
717+
args: CreateExportImageTaskCommandInput,
718+
options: __HttpHandlerOptions,
719+
cb: (err: any, data?: CreateExportImageTaskCommandOutput) => void
720+
): void;
721+
681722
/**
682723
* @see {@link CreateFleetCommand}
683724
*/
@@ -723,6 +764,23 @@ export interface AppStream {
723764
cb: (err: any, data?: CreateImageBuilderStreamingURLCommandOutput) => void
724765
): void;
725766

767+
/**
768+
* @see {@link CreateImportedImageCommand}
769+
*/
770+
createImportedImage(
771+
args: CreateImportedImageCommandInput,
772+
options?: __HttpHandlerOptions
773+
): Promise<CreateImportedImageCommandOutput>;
774+
createImportedImage(
775+
args: CreateImportedImageCommandInput,
776+
cb: (err: any, data?: CreateImportedImageCommandOutput) => void
777+
): void;
778+
createImportedImage(
779+
args: CreateImportedImageCommandInput,
780+
options: __HttpHandlerOptions,
781+
cb: (err: any, data?: CreateImportedImageCommandOutput) => void
782+
): void;
783+
726784
/**
727785
* @see {@link CreateStackCommand}
728786
*/
@@ -1447,6 +1505,24 @@ export interface AppStream {
14471505
cb: (err: any, data?: ExpireSessionCommandOutput) => void
14481506
): void;
14491507

1508+
/**
1509+
* @see {@link GetExportImageTaskCommand}
1510+
*/
1511+
getExportImageTask(): Promise<GetExportImageTaskCommandOutput>;
1512+
getExportImageTask(
1513+
args: GetExportImageTaskCommandInput,
1514+
options?: __HttpHandlerOptions
1515+
): Promise<GetExportImageTaskCommandOutput>;
1516+
getExportImageTask(
1517+
args: GetExportImageTaskCommandInput,
1518+
cb: (err: any, data?: GetExportImageTaskCommandOutput) => void
1519+
): void;
1520+
getExportImageTask(
1521+
args: GetExportImageTaskCommandInput,
1522+
options: __HttpHandlerOptions,
1523+
cb: (err: any, data?: GetExportImageTaskCommandOutput) => void
1524+
): void;
1525+
14501526
/**
14511527
* @see {@link ListAssociatedFleetsCommand}
14521528
*/
@@ -1498,6 +1574,24 @@ export interface AppStream {
14981574
cb: (err: any, data?: ListEntitledApplicationsCommandOutput) => void
14991575
): void;
15001576

1577+
/**
1578+
* @see {@link ListExportImageTasksCommand}
1579+
*/
1580+
listExportImageTasks(): Promise<ListExportImageTasksCommandOutput>;
1581+
listExportImageTasks(
1582+
args: ListExportImageTasksCommandInput,
1583+
options?: __HttpHandlerOptions
1584+
): Promise<ListExportImageTasksCommandOutput>;
1585+
listExportImageTasks(
1586+
args: ListExportImageTasksCommandInput,
1587+
cb: (err: any, data?: ListExportImageTasksCommandOutput) => void
1588+
): void;
1589+
listExportImageTasks(
1590+
args: ListExportImageTasksCommandInput,
1591+
options: __HttpHandlerOptions,
1592+
cb: (err: any, data?: ListExportImageTasksCommandOutput) => void
1593+
): void;
1594+
15011595
/**
15021596
* @see {@link ListTagsForResourceCommand}
15031597
*/
@@ -1771,21 +1865,21 @@ export interface AppStream {
17711865
}
17721866

17731867
/**
1774-
* <fullname>Amazon AppStream 2.0</fullname>
1775-
* <p>This is the <i>Amazon AppStream 2.0 API Reference</i>. This documentation provides descriptions and syntax for each of the actions and data types in AppStream 2.0. AppStream 2.0 is a fully managed, secure application streaming service that lets you stream desktop applications to users without rewriting applications. AppStream 2.0 manages the AWS resources that are required to host and run your applications, scales automatically, and provides access to your users on demand. </p>
1868+
* <fullname>Amazon WorkSpaces Applications</fullname>
1869+
* <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>
17761870
* <note>
1777-
* <p>You can call the AppStream 2.0 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 AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
1871+
* <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>
17781872
* </note>
1779-
* <p>To learn more about AppStream 2.0, see the following resources:</p>
1873+
* <p>To learn more about WorkSpaces Applications, see the following resources:</p>
17801874
* <ul>
17811875
* <li>
17821876
* <p>
1783-
* <a href="http://aws.amazon.com/appstream2">Amazon AppStream 2.0 product page</a>
1877+
* <a href="http://aws.amazon.com/appstream2">Amazon WorkSpaces Applications product page</a>
17841878
* </p>
17851879
* </li>
17861880
* <li>
17871881
* <p>
1788-
* <a href="http://aws.amazon.com/documentation/appstream2">Amazon AppStream 2.0 documentation</a>
1882+
* <a href="http://aws.amazon.com/documentation/appstream2">Amazon WorkSpaces Applications documentation</a>
17891883
* </p>
17901884
* </li>
17911885
* </ul>

0 commit comments

Comments
 (0)