@aws-sdk/client-workspaces-thin-client 3.975.0 → 3.980.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/dist-cjs/index.js
CHANGED
|
@@ -902,6 +902,12 @@ class UpdateSoftwareSetCommand extends smithyClient.Command
|
|
|
902
902
|
.build() {
|
|
903
903
|
}
|
|
904
904
|
|
|
905
|
+
const paginateListDevices = core.createPaginator(WorkSpacesThinClientClient, ListDevicesCommand, "nextToken", "nextToken", "maxResults");
|
|
906
|
+
|
|
907
|
+
const paginateListEnvironments = core.createPaginator(WorkSpacesThinClientClient, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
908
|
+
|
|
909
|
+
const paginateListSoftwareSets = core.createPaginator(WorkSpacesThinClientClient, ListSoftwareSetsCommand, "nextToken", "nextToken", "maxResults");
|
|
910
|
+
|
|
905
911
|
const commands = {
|
|
906
912
|
CreateEnvironmentCommand,
|
|
907
913
|
DeleteDeviceCommand,
|
|
@@ -920,15 +926,14 @@ const commands = {
|
|
|
920
926
|
UpdateEnvironmentCommand,
|
|
921
927
|
UpdateSoftwareSetCommand,
|
|
922
928
|
};
|
|
929
|
+
const paginators = {
|
|
930
|
+
paginateListDevices,
|
|
931
|
+
paginateListEnvironments,
|
|
932
|
+
paginateListSoftwareSets,
|
|
933
|
+
};
|
|
923
934
|
class WorkSpacesThinClient extends WorkSpacesThinClientClient {
|
|
924
935
|
}
|
|
925
|
-
smithyClient.createAggregatedClient(commands, WorkSpacesThinClient);
|
|
926
|
-
|
|
927
|
-
const paginateListDevices = core.createPaginator(WorkSpacesThinClientClient, ListDevicesCommand, "nextToken", "nextToken", "maxResults");
|
|
928
|
-
|
|
929
|
-
const paginateListEnvironments = core.createPaginator(WorkSpacesThinClientClient, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
930
|
-
|
|
931
|
-
const paginateListSoftwareSets = core.createPaginator(WorkSpacesThinClientClient, ListSoftwareSetsCommand, "nextToken", "nextToken", "maxResults");
|
|
936
|
+
smithyClient.createAggregatedClient(commands, WorkSpacesThinClient, { paginators });
|
|
932
937
|
|
|
933
938
|
const ApplyTimeOf = {
|
|
934
939
|
DEVICE: "DEVICE",
|
|
@@ -15,6 +15,9 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
15
15
|
import { UpdateDeviceCommand, } from "./commands/UpdateDeviceCommand";
|
|
16
16
|
import { UpdateEnvironmentCommand, } from "./commands/UpdateEnvironmentCommand";
|
|
17
17
|
import { UpdateSoftwareSetCommand, } from "./commands/UpdateSoftwareSetCommand";
|
|
18
|
+
import { paginateListDevices } from "./pagination/ListDevicesPaginator";
|
|
19
|
+
import { paginateListEnvironments } from "./pagination/ListEnvironmentsPaginator";
|
|
20
|
+
import { paginateListSoftwareSets } from "./pagination/ListSoftwareSetsPaginator";
|
|
18
21
|
import { WorkSpacesThinClientClient } from "./WorkSpacesThinClientClient";
|
|
19
22
|
const commands = {
|
|
20
23
|
CreateEnvironmentCommand,
|
|
@@ -34,6 +37,11 @@ const commands = {
|
|
|
34
37
|
UpdateEnvironmentCommand,
|
|
35
38
|
UpdateSoftwareSetCommand,
|
|
36
39
|
};
|
|
40
|
+
const paginators = {
|
|
41
|
+
paginateListDevices,
|
|
42
|
+
paginateListEnvironments,
|
|
43
|
+
paginateListSoftwareSets,
|
|
44
|
+
};
|
|
37
45
|
export class WorkSpacesThinClient extends WorkSpacesThinClientClient {
|
|
38
46
|
}
|
|
39
|
-
createAggregatedClient(commands, WorkSpacesThinClient);
|
|
47
|
+
createAggregatedClient(commands, WorkSpacesThinClient, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
3
3
|
import { DeleteDeviceCommandInput, DeleteDeviceCommandOutput } from "./commands/DeleteDeviceCommand";
|
|
4
4
|
import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
|
|
@@ -116,6 +116,27 @@ export interface WorkSpacesThinClient {
|
|
|
116
116
|
updateSoftwareSet(args: UpdateSoftwareSetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSoftwareSetCommandOutput>;
|
|
117
117
|
updateSoftwareSet(args: UpdateSoftwareSetCommandInput, cb: (err: any, data?: UpdateSoftwareSetCommandOutput) => void): void;
|
|
118
118
|
updateSoftwareSet(args: UpdateSoftwareSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSoftwareSetCommandOutput) => void): void;
|
|
119
|
+
/**
|
|
120
|
+
* @see {@link ListDevicesCommand}
|
|
121
|
+
* @param args - command input.
|
|
122
|
+
* @param paginationConfig - optional pagination config.
|
|
123
|
+
* @returns AsyncIterable of {@link ListDevicesCommandOutput}.
|
|
124
|
+
*/
|
|
125
|
+
paginateListDevices(args?: ListDevicesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDevicesCommandOutput>;
|
|
126
|
+
/**
|
|
127
|
+
* @see {@link ListEnvironmentsCommand}
|
|
128
|
+
* @param args - command input.
|
|
129
|
+
* @param paginationConfig - optional pagination config.
|
|
130
|
+
* @returns AsyncIterable of {@link ListEnvironmentsCommandOutput}.
|
|
131
|
+
*/
|
|
132
|
+
paginateListEnvironments(args?: ListEnvironmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentsCommandOutput>;
|
|
133
|
+
/**
|
|
134
|
+
* @see {@link ListSoftwareSetsCommand}
|
|
135
|
+
* @param args - command input.
|
|
136
|
+
* @param paginationConfig - optional pagination config.
|
|
137
|
+
* @returns AsyncIterable of {@link ListSoftwareSetsCommandOutput}.
|
|
138
|
+
*/
|
|
139
|
+
paginateListSoftwareSets(args?: ListSoftwareSetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSoftwareSetsCommandOutput>;
|
|
119
140
|
}
|
|
120
141
|
/**
|
|
121
142
|
* <p>Amazon WorkSpaces Thin Client is an affordable device built to work with Amazon Web Services End User Computing (EUC) virtual desktops to provide users with a complete cloud desktop solution. WorkSpaces Thin Client is a compact device designed to connect up to two monitors and USB devices like a keyboard, mouse, headset, and webcam. To maximize endpoint security, WorkSpaces Thin Client devices do not allow local data storage or installation of unapproved applications. The WorkSpaces Thin Client device ships preloaded with device management software.</p> <p>You can use these APIs to complete WorkSpaces Thin Client tasks, such as creating environments or viewing devices. For more information about WorkSpaces Thin Client, including the required permissions to use the service, see the <a href="https://docs.aws.amazon.com/workspaces-thin-client/latest/ag/">Amazon WorkSpaces Thin Client Administrator Guide</a>. For more information about using the Command Line Interface (CLI) to manage your WorkSpaces Thin Client resources, see the <a href="https://docs.aws.amazon.com/cli/latest/reference/workspaces-thin-client/index.html">WorkSpaces Thin Client section of the CLI Reference</a>.</p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateEnvironmentCommandInput,
|
|
4
8
|
CreateEnvironmentCommandOutput,
|
|
@@ -276,6 +280,27 @@ export interface WorkSpacesThinClient {
|
|
|
276
280
|
options: __HttpHandlerOptions,
|
|
277
281
|
cb: (err: any, data?: UpdateSoftwareSetCommandOutput) => void
|
|
278
282
|
): void;
|
|
283
|
+
paginateListDevices(
|
|
284
|
+
args?: ListDevicesCommandInput,
|
|
285
|
+
paginationConfig?: Pick<
|
|
286
|
+
PaginationConfiguration,
|
|
287
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
288
|
+
>
|
|
289
|
+
): Paginator<ListDevicesCommandOutput>;
|
|
290
|
+
paginateListEnvironments(
|
|
291
|
+
args?: ListEnvironmentsCommandInput,
|
|
292
|
+
paginationConfig?: Pick<
|
|
293
|
+
PaginationConfiguration,
|
|
294
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
295
|
+
>
|
|
296
|
+
): Paginator<ListEnvironmentsCommandOutput>;
|
|
297
|
+
paginateListSoftwareSets(
|
|
298
|
+
args?: ListSoftwareSetsCommandInput,
|
|
299
|
+
paginationConfig?: Pick<
|
|
300
|
+
PaginationConfiguration,
|
|
301
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
302
|
+
>
|
|
303
|
+
): Paginator<ListSoftwareSetsCommandOutput>;
|
|
279
304
|
}
|
|
280
305
|
export declare class WorkSpacesThinClient
|
|
281
306
|
extends WorkSpacesThinClientClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workspaces-thin-client",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workspaces Thin Client Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-workspaces-thin-client",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|