@aws-sdk/client-workspaces-thin-client 3.458.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/LICENSE +201 -0
- package/README.md +344 -0
- package/dist-cjs/WorkSpacesThin.js +43 -0
- package/dist-cjs/WorkSpacesThinClientClient.js +43 -0
- package/dist-cjs/commands/CreateEnvironmentCommand.js +52 -0
- package/dist-cjs/commands/DeleteDeviceCommand.js +51 -0
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +51 -0
- package/dist-cjs/commands/DeregisterDeviceCommand.js +51 -0
- package/dist-cjs/commands/GetDeviceCommand.js +52 -0
- package/dist-cjs/commands/GetEnvironmentCommand.js +52 -0
- package/dist-cjs/commands/GetSoftwareSetCommand.js +51 -0
- package/dist-cjs/commands/ListDevicesCommand.js +52 -0
- package/dist-cjs/commands/ListEnvironmentsCommand.js +52 -0
- package/dist-cjs/commands/ListSoftwareSetsCommand.js +51 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +52 -0
- package/dist-cjs/commands/TagResourceCommand.js +52 -0
- package/dist-cjs/commands/UntagResourceCommand.js +52 -0
- package/dist-cjs/commands/UpdateDeviceCommand.js +52 -0
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +52 -0
- package/dist-cjs/commands/UpdateSoftwareSetCommand.js +51 -0
- package/dist-cjs/commands/index.js +19 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/WorkSpacesThinClientServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +287 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListDevicesPaginator.js +29 -0
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +29 -0
- package/dist-cjs/pagination/ListSoftwareSetsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1486 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/WorkSpacesThin.js +39 -0
- package/dist-es/WorkSpacesThinClientClient.js +39 -0
- package/dist-es/commands/CreateEnvironmentCommand.js +48 -0
- package/dist-es/commands/DeleteDeviceCommand.js +47 -0
- package/dist-es/commands/DeleteEnvironmentCommand.js +47 -0
- package/dist-es/commands/DeregisterDeviceCommand.js +47 -0
- package/dist-es/commands/GetDeviceCommand.js +48 -0
- package/dist-es/commands/GetEnvironmentCommand.js +48 -0
- package/dist-es/commands/GetSoftwareSetCommand.js +47 -0
- package/dist-es/commands/ListDevicesCommand.js +48 -0
- package/dist-es/commands/ListEnvironmentsCommand.js +48 -0
- package/dist-es/commands/ListSoftwareSetsCommand.js +47 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +48 -0
- package/dist-es/commands/TagResourceCommand.js +48 -0
- package/dist-es/commands/UntagResourceCommand.js +48 -0
- package/dist-es/commands/UpdateDeviceCommand.js +48 -0
- package/dist-es/commands/UpdateEnvironmentCommand.js +48 -0
- package/dist-es/commands/UpdateSoftwareSetCommand.js +47 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/WorkSpacesThinClientServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +258 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListDevicesPaginator.js +25 -0
- package/dist-es/pagination/ListEnvironmentsPaginator.js +25 -0
- package/dist-es/pagination/ListSoftwareSetsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1451 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/WorkSpacesThin.d.ts +133 -0
- package/dist-types/WorkSpacesThinClientClient.d.ts +196 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +146 -0
- package/dist-types/commands/DeleteDeviceCommand.d.ts +92 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +92 -0
- package/dist-types/commands/DeregisterDeviceCommand.d.ts +93 -0
- package/dist-types/commands/GetDeviceCommand.d.ts +113 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +121 -0
- package/dist-types/commands/GetSoftwareSetCommand.d.ts +101 -0
- package/dist-types/commands/ListDevicesCommand.d.ts +109 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +118 -0
- package/dist-types/commands/ListSoftwareSetsCommand.d.ts +96 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +84 -0
- package/dist-types/commands/TagResourceCommand.d.ts +83 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +83 -0
- package/dist-types/commands/UpdateDeviceCommand.d.ts +112 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +134 -0
- package/dist-types/commands/UpdateSoftwareSetCommand.d.ts +87 -0
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +26 -0
- package/dist-types/models/WorkSpacesThinClientServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1506 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListDevicesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSoftwareSetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +146 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/WorkSpacesThin.d.ts +279 -0
- package/dist-types/ts3.4/WorkSpacesThinClientClient.d.ts +217 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteDeviceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeregisterDeviceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetSoftwareSetCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListSoftwareSetsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateDeviceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateSoftwareSetCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/WorkSpacesThinClientServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +440 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDevicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSoftwareSetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +197 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +90 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +104 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { UpdateDeviceRequest, UpdateDeviceResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesThinClientClientResolvedConfig } from "../WorkSpacesThinClientClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateDeviceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateDeviceCommandInput extends UpdateDeviceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateDeviceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateDeviceCommandOutput extends UpdateDeviceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Updates a thin client device.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkSpacesThinClientClient, UpdateDeviceCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
|
|
31
|
+
* // const { WorkSpacesThinClientClient, UpdateDeviceCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
|
|
32
|
+
* const client = new WorkSpacesThinClientClient(config);
|
|
33
|
+
* const input = { // UpdateDeviceRequest
|
|
34
|
+
* id: "STRING_VALUE", // required
|
|
35
|
+
* name: "STRING_VALUE",
|
|
36
|
+
* desiredSoftwareSetId: "STRING_VALUE",
|
|
37
|
+
* softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
|
|
38
|
+
* kmsKeyArn: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new UpdateDeviceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // UpdateDeviceResponse
|
|
43
|
+
* // device: { // DeviceSummary
|
|
44
|
+
* // id: "STRING_VALUE",
|
|
45
|
+
* // serialNumber: "STRING_VALUE",
|
|
46
|
+
* // name: "STRING_VALUE",
|
|
47
|
+
* // model: "STRING_VALUE",
|
|
48
|
+
* // environmentId: "STRING_VALUE",
|
|
49
|
+
* // status: "REGISTERED" || "DEREGISTERING" || "DEREGISTERED" || "ARCHIVED",
|
|
50
|
+
* // currentSoftwareSetId: "STRING_VALUE",
|
|
51
|
+
* // desiredSoftwareSetId: "STRING_VALUE",
|
|
52
|
+
* // pendingSoftwareSetId: "STRING_VALUE",
|
|
53
|
+
* // softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
|
|
54
|
+
* // lastConnectedAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // lastPostureAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // arn: "STRING_VALUE",
|
|
59
|
+
* // tags: { // EmbeddedTag
|
|
60
|
+
* // resourceArn: "STRING_VALUE",
|
|
61
|
+
* // internalId: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param UpdateDeviceCommandInput - {@link UpdateDeviceCommandInput}
|
|
69
|
+
* @returns {@link UpdateDeviceCommandOutput}
|
|
70
|
+
* @see {@link UpdateDeviceCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link UpdateDeviceCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>The resource specified in the request was not found.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>The request was denied due to request throttling.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p>The input fails to satisfy the specified constraints.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link WorkSpacesThinClientServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
|
|
91
|
+
*
|
|
92
|
+
*/
|
|
93
|
+
export declare class UpdateDeviceCommand extends $Command<UpdateDeviceCommandInput, UpdateDeviceCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
|
|
94
|
+
readonly input: UpdateDeviceCommandInput;
|
|
95
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
constructor(input: UpdateDeviceCommandInput);
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDeviceCommandInput, UpdateDeviceCommandOutput>;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
private serialize;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
private deserialize;
|
|
112
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { UpdateEnvironmentRequest, UpdateEnvironmentResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesThinClientClientResolvedConfig } from "../WorkSpacesThinClientClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateEnvironmentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateEnvironmentCommandInput extends UpdateEnvironmentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateEnvironmentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Updates an environment.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkSpacesThinClientClient, UpdateEnvironmentCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
|
|
31
|
+
* // const { WorkSpacesThinClientClient, UpdateEnvironmentCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
|
|
32
|
+
* const client = new WorkSpacesThinClientClient(config);
|
|
33
|
+
* const input = { // UpdateEnvironmentRequest
|
|
34
|
+
* id: "STRING_VALUE", // required
|
|
35
|
+
* name: "STRING_VALUE",
|
|
36
|
+
* desktopArn: "STRING_VALUE",
|
|
37
|
+
* desktopEndpoint: "STRING_VALUE",
|
|
38
|
+
* softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
|
|
39
|
+
* maintenanceWindow: { // MaintenanceWindow
|
|
40
|
+
* type: "SYSTEM" || "CUSTOM",
|
|
41
|
+
* startTimeHour: Number("int"),
|
|
42
|
+
* startTimeMinute: Number("int"),
|
|
43
|
+
* endTimeHour: Number("int"),
|
|
44
|
+
* endTimeMinute: Number("int"),
|
|
45
|
+
* daysOfTheWeek: [ // DayOfWeekList
|
|
46
|
+
* "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY",
|
|
47
|
+
* ],
|
|
48
|
+
* applyTimeOf: "UTC" || "DEVICE",
|
|
49
|
+
* },
|
|
50
|
+
* softwareSetUpdateMode: "USE_LATEST" || "USE_DESIRED",
|
|
51
|
+
* desiredSoftwareSetId: "STRING_VALUE",
|
|
52
|
+
* };
|
|
53
|
+
* const command = new UpdateEnvironmentCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // UpdateEnvironmentResponse
|
|
56
|
+
* // environment: { // EnvironmentSummary
|
|
57
|
+
* // id: "STRING_VALUE",
|
|
58
|
+
* // name: "STRING_VALUE",
|
|
59
|
+
* // desktopArn: "STRING_VALUE",
|
|
60
|
+
* // desktopEndpoint: "STRING_VALUE",
|
|
61
|
+
* // desktopType: "workspaces" || "appstream" || "workspaces-web",
|
|
62
|
+
* // activationCode: "STRING_VALUE",
|
|
63
|
+
* // softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
|
|
64
|
+
* // maintenanceWindow: { // MaintenanceWindow
|
|
65
|
+
* // type: "SYSTEM" || "CUSTOM",
|
|
66
|
+
* // startTimeHour: Number("int"),
|
|
67
|
+
* // startTimeMinute: Number("int"),
|
|
68
|
+
* // endTimeHour: Number("int"),
|
|
69
|
+
* // endTimeMinute: Number("int"),
|
|
70
|
+
* // daysOfTheWeek: [ // DayOfWeekList
|
|
71
|
+
* // "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY",
|
|
72
|
+
* // ],
|
|
73
|
+
* // applyTimeOf: "UTC" || "DEVICE",
|
|
74
|
+
* // },
|
|
75
|
+
* // softwareSetUpdateMode: "USE_LATEST" || "USE_DESIRED",
|
|
76
|
+
* // desiredSoftwareSetId: "STRING_VALUE",
|
|
77
|
+
* // pendingSoftwareSetId: "STRING_VALUE",
|
|
78
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
79
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
80
|
+
* // arn: "STRING_VALUE",
|
|
81
|
+
* // tags: { // EmbeddedTag
|
|
82
|
+
* // resourceArn: "STRING_VALUE",
|
|
83
|
+
* // internalId: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // };
|
|
87
|
+
*
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* @param UpdateEnvironmentCommandInput - {@link UpdateEnvironmentCommandInput}
|
|
91
|
+
* @returns {@link UpdateEnvironmentCommandOutput}
|
|
92
|
+
* @see {@link UpdateEnvironmentCommandInput} for command's `input` shape.
|
|
93
|
+
* @see {@link UpdateEnvironmentCommandOutput} for command's `response` shape.
|
|
94
|
+
* @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
97
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link InternalServerException} (server fault)
|
|
100
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
103
|
+
* <p>The resource specified in the request was not found.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
106
|
+
* <p>The request was denied due to request throttling.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ValidationException} (client fault)
|
|
109
|
+
* <p>The input fails to satisfy the specified constraints.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link WorkSpacesThinClientServiceException}
|
|
112
|
+
* <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
115
|
+
export declare class UpdateEnvironmentCommand extends $Command<UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
|
|
116
|
+
readonly input: UpdateEnvironmentCommandInput;
|
|
117
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
constructor(input: UpdateEnvironmentCommandInput);
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput>;
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
private serialize;
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
private deserialize;
|
|
134
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { UpdateSoftwareSetRequest, UpdateSoftwareSetResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesThinClientClientResolvedConfig } from "../WorkSpacesThinClientClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateSoftwareSetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateSoftwareSetCommandInput extends UpdateSoftwareSetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateSoftwareSetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateSoftwareSetCommandOutput extends UpdateSoftwareSetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Updates a software set.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkSpacesThinClientClient, UpdateSoftwareSetCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
|
|
31
|
+
* // const { WorkSpacesThinClientClient, UpdateSoftwareSetCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
|
|
32
|
+
* const client = new WorkSpacesThinClientClient(config);
|
|
33
|
+
* const input = { // UpdateSoftwareSetRequest
|
|
34
|
+
* id: "STRING_VALUE", // required
|
|
35
|
+
* validationStatus: "VALIDATED" || "NOT_VALIDATED", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new UpdateSoftwareSetCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param UpdateSoftwareSetCommandInput - {@link UpdateSoftwareSetCommandInput}
|
|
44
|
+
* @returns {@link UpdateSoftwareSetCommandOutput}
|
|
45
|
+
* @see {@link UpdateSoftwareSetCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link UpdateSoftwareSetCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
50
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InternalServerException} (server fault)
|
|
53
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
|
+
* <p>The resource specified in the request was not found.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
59
|
+
* <p>The request was denied due to request throttling.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ValidationException} (client fault)
|
|
62
|
+
* <p>The input fails to satisfy the specified constraints.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link WorkSpacesThinClientServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
export declare class UpdateSoftwareSetCommand extends $Command<UpdateSoftwareSetCommandInput, UpdateSoftwareSetCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
|
|
69
|
+
readonly input: UpdateSoftwareSetCommandInput;
|
|
70
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
constructor(input: UpdateSoftwareSetCommandInput);
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSoftwareSetCommandInput, UpdateSoftwareSetCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private deserialize;
|
|
87
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from "./CreateEnvironmentCommand";
|
|
2
|
+
export * from "./DeleteDeviceCommand";
|
|
3
|
+
export * from "./DeleteEnvironmentCommand";
|
|
4
|
+
export * from "./DeregisterDeviceCommand";
|
|
5
|
+
export * from "./GetDeviceCommand";
|
|
6
|
+
export * from "./GetEnvironmentCommand";
|
|
7
|
+
export * from "./GetSoftwareSetCommand";
|
|
8
|
+
export * from "./ListDevicesCommand";
|
|
9
|
+
export * from "./ListEnvironmentsCommand";
|
|
10
|
+
export * from "./ListSoftwareSetsCommand";
|
|
11
|
+
export * from "./ListTagsForResourceCommand";
|
|
12
|
+
export * from "./TagResourceCommand";
|
|
13
|
+
export * from "./UntagResourceCommand";
|
|
14
|
+
export * from "./UpdateDeviceCommand";
|
|
15
|
+
export * from "./UpdateEnvironmentCommand";
|
|
16
|
+
export * from "./UpdateSoftwareSetCommand";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
+
}
|
|
11
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
18
|
+
Region?: string;
|
|
19
|
+
UseDualStack?: boolean;
|
|
20
|
+
UseFIPS?: boolean;
|
|
21
|
+
Endpoint?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface WorkSpacesThinExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
8
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>Amazon WorkSpaces Thin Client is a affordable device built to work with Amazon Web Services End User
|
|
3
|
+
* Computing (EUC) virtual desktops to provide users with a complete cloud desktop
|
|
4
|
+
* solution. WorkSpaces Thin Client is a compact device designed to connect up to two monitors and USB
|
|
5
|
+
* devices like a keyboard, mouse, headset, and webcam. To maximize endpoint security, WorkSpaces Thin Client
|
|
6
|
+
* devices do not allow local data storage or installation of unapproved applications. The
|
|
7
|
+
* WorkSpaces Thin Client device ships preloaded with device management software.</p>
|
|
8
|
+
* <p>You can use these APIs to complete WorkSpaces Thin Client tasks, such as creating environments or
|
|
9
|
+
* viewing devices. For more information about WorkSpaces Thin Client, including the required permissions to
|
|
10
|
+
* 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
|
|
11
|
+
* more information about using the Command Line Interface (CLI) to manage
|
|
12
|
+
* 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
|
|
13
|
+
* CLI Reference</a>.</p>
|
|
14
|
+
*
|
|
15
|
+
* @packageDocumentation
|
|
16
|
+
*/
|
|
17
|
+
export * from "./WorkSpacesThinClientClient";
|
|
18
|
+
export * from "./WorkSpacesThin";
|
|
19
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
20
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
21
|
+
export { WorkSpacesThinExtensionConfiguration } from "./extensionConfiguration";
|
|
22
|
+
export * from "./commands";
|
|
23
|
+
export * from "./pagination";
|
|
24
|
+
export * from "./models";
|
|
25
|
+
import "@aws-sdk/util-endpoints";
|
|
26
|
+
export { WorkSpacesThinClientServiceException } from "./models/WorkSpacesThinClientServiceException";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*
|
|
6
|
+
* Base exception class for all service exceptions from WorkSpacesThinClient service.
|
|
7
|
+
*/
|
|
8
|
+
export declare class WorkSpacesThinClientServiceException extends __ServiceException {
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(options: __ServiceExceptionOptions);
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|