@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.
Files changed (155) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +344 -0
  3. package/dist-cjs/WorkSpacesThin.js +43 -0
  4. package/dist-cjs/WorkSpacesThinClientClient.js +43 -0
  5. package/dist-cjs/commands/CreateEnvironmentCommand.js +52 -0
  6. package/dist-cjs/commands/DeleteDeviceCommand.js +51 -0
  7. package/dist-cjs/commands/DeleteEnvironmentCommand.js +51 -0
  8. package/dist-cjs/commands/DeregisterDeviceCommand.js +51 -0
  9. package/dist-cjs/commands/GetDeviceCommand.js +52 -0
  10. package/dist-cjs/commands/GetEnvironmentCommand.js +52 -0
  11. package/dist-cjs/commands/GetSoftwareSetCommand.js +51 -0
  12. package/dist-cjs/commands/ListDevicesCommand.js +52 -0
  13. package/dist-cjs/commands/ListEnvironmentsCommand.js +52 -0
  14. package/dist-cjs/commands/ListSoftwareSetsCommand.js +51 -0
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +52 -0
  16. package/dist-cjs/commands/TagResourceCommand.js +52 -0
  17. package/dist-cjs/commands/UntagResourceCommand.js +52 -0
  18. package/dist-cjs/commands/UpdateDeviceCommand.js +52 -0
  19. package/dist-cjs/commands/UpdateEnvironmentCommand.js +52 -0
  20. package/dist-cjs/commands/UpdateSoftwareSetCommand.js +51 -0
  21. package/dist-cjs/commands/index.js +19 -0
  22. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  23. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  24. package/dist-cjs/endpoint/ruleset.js +7 -0
  25. package/dist-cjs/extensionConfiguration.js +2 -0
  26. package/dist-cjs/index.js +12 -0
  27. package/dist-cjs/models/WorkSpacesThinClientServiceException.js +12 -0
  28. package/dist-cjs/models/index.js +4 -0
  29. package/dist-cjs/models/models_0.js +287 -0
  30. package/dist-cjs/pagination/Interfaces.js +2 -0
  31. package/dist-cjs/pagination/ListDevicesPaginator.js +29 -0
  32. package/dist-cjs/pagination/ListEnvironmentsPaginator.js +29 -0
  33. package/dist-cjs/pagination/ListSoftwareSetsPaginator.js +29 -0
  34. package/dist-cjs/pagination/index.js +7 -0
  35. package/dist-cjs/protocols/Aws_restJson1.js +1486 -0
  36. package/dist-cjs/runtimeConfig.browser.js +39 -0
  37. package/dist-cjs/runtimeConfig.js +50 -0
  38. package/dist-cjs/runtimeConfig.native.js +15 -0
  39. package/dist-cjs/runtimeConfig.shared.js +24 -0
  40. package/dist-cjs/runtimeExtensions.js +22 -0
  41. package/dist-es/WorkSpacesThin.js +39 -0
  42. package/dist-es/WorkSpacesThinClientClient.js +39 -0
  43. package/dist-es/commands/CreateEnvironmentCommand.js +48 -0
  44. package/dist-es/commands/DeleteDeviceCommand.js +47 -0
  45. package/dist-es/commands/DeleteEnvironmentCommand.js +47 -0
  46. package/dist-es/commands/DeregisterDeviceCommand.js +47 -0
  47. package/dist-es/commands/GetDeviceCommand.js +48 -0
  48. package/dist-es/commands/GetEnvironmentCommand.js +48 -0
  49. package/dist-es/commands/GetSoftwareSetCommand.js +47 -0
  50. package/dist-es/commands/ListDevicesCommand.js +48 -0
  51. package/dist-es/commands/ListEnvironmentsCommand.js +48 -0
  52. package/dist-es/commands/ListSoftwareSetsCommand.js +47 -0
  53. package/dist-es/commands/ListTagsForResourceCommand.js +48 -0
  54. package/dist-es/commands/TagResourceCommand.js +48 -0
  55. package/dist-es/commands/UntagResourceCommand.js +48 -0
  56. package/dist-es/commands/UpdateDeviceCommand.js +48 -0
  57. package/dist-es/commands/UpdateEnvironmentCommand.js +48 -0
  58. package/dist-es/commands/UpdateSoftwareSetCommand.js +47 -0
  59. package/dist-es/commands/index.js +16 -0
  60. package/dist-es/endpoint/EndpointParameters.js +8 -0
  61. package/dist-es/endpoint/endpointResolver.js +8 -0
  62. package/dist-es/endpoint/ruleset.js +4 -0
  63. package/dist-es/extensionConfiguration.js +1 -0
  64. package/dist-es/index.js +7 -0
  65. package/dist-es/models/WorkSpacesThinClientServiceException.js +8 -0
  66. package/dist-es/models/index.js +1 -0
  67. package/dist-es/models/models_0.js +258 -0
  68. package/dist-es/pagination/Interfaces.js +1 -0
  69. package/dist-es/pagination/ListDevicesPaginator.js +25 -0
  70. package/dist-es/pagination/ListEnvironmentsPaginator.js +25 -0
  71. package/dist-es/pagination/ListSoftwareSetsPaginator.js +25 -0
  72. package/dist-es/pagination/index.js +4 -0
  73. package/dist-es/protocols/Aws_restJson1.js +1451 -0
  74. package/dist-es/runtimeConfig.browser.js +34 -0
  75. package/dist-es/runtimeConfig.js +45 -0
  76. package/dist-es/runtimeConfig.native.js +11 -0
  77. package/dist-es/runtimeConfig.shared.js +20 -0
  78. package/dist-es/runtimeExtensions.js +18 -0
  79. package/dist-types/WorkSpacesThin.d.ts +133 -0
  80. package/dist-types/WorkSpacesThinClientClient.d.ts +196 -0
  81. package/dist-types/commands/CreateEnvironmentCommand.d.ts +146 -0
  82. package/dist-types/commands/DeleteDeviceCommand.d.ts +92 -0
  83. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +92 -0
  84. package/dist-types/commands/DeregisterDeviceCommand.d.ts +93 -0
  85. package/dist-types/commands/GetDeviceCommand.d.ts +113 -0
  86. package/dist-types/commands/GetEnvironmentCommand.d.ts +121 -0
  87. package/dist-types/commands/GetSoftwareSetCommand.d.ts +101 -0
  88. package/dist-types/commands/ListDevicesCommand.d.ts +109 -0
  89. package/dist-types/commands/ListEnvironmentsCommand.d.ts +118 -0
  90. package/dist-types/commands/ListSoftwareSetsCommand.d.ts +96 -0
  91. package/dist-types/commands/ListTagsForResourceCommand.d.ts +84 -0
  92. package/dist-types/commands/TagResourceCommand.d.ts +83 -0
  93. package/dist-types/commands/UntagResourceCommand.d.ts +83 -0
  94. package/dist-types/commands/UpdateDeviceCommand.d.ts +112 -0
  95. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +134 -0
  96. package/dist-types/commands/UpdateSoftwareSetCommand.d.ts +87 -0
  97. package/dist-types/commands/index.d.ts +16 -0
  98. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  99. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  100. package/dist-types/endpoint/ruleset.d.ts +2 -0
  101. package/dist-types/extensionConfiguration.d.ts +8 -0
  102. package/dist-types/index.d.ts +26 -0
  103. package/dist-types/models/WorkSpacesThinClientServiceException.d.ts +13 -0
  104. package/dist-types/models/index.d.ts +1 -0
  105. package/dist-types/models/models_0.d.ts +1506 -0
  106. package/dist-types/pagination/Interfaces.d.ts +8 -0
  107. package/dist-types/pagination/ListDevicesPaginator.d.ts +7 -0
  108. package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
  109. package/dist-types/pagination/ListSoftwareSetsPaginator.d.ts +7 -0
  110. package/dist-types/pagination/index.d.ts +4 -0
  111. package/dist-types/protocols/Aws_restJson1.d.ts +146 -0
  112. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  113. package/dist-types/runtimeConfig.d.ts +46 -0
  114. package/dist-types/runtimeConfig.native.d.ts +45 -0
  115. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  116. package/dist-types/runtimeExtensions.d.ts +17 -0
  117. package/dist-types/ts3.4/WorkSpacesThin.d.ts +279 -0
  118. package/dist-types/ts3.4/WorkSpacesThinClientClient.d.ts +217 -0
  119. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +39 -0
  120. package/dist-types/ts3.4/commands/DeleteDeviceCommand.d.ts +35 -0
  121. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +39 -0
  122. package/dist-types/ts3.4/commands/DeregisterDeviceCommand.d.ts +38 -0
  123. package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +35 -0
  124. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +38 -0
  125. package/dist-types/ts3.4/commands/GetSoftwareSetCommand.d.ts +38 -0
  126. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +35 -0
  127. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +38 -0
  128. package/dist-types/ts3.4/commands/ListSoftwareSetsCommand.d.ts +38 -0
  129. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  130. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  131. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  132. package/dist-types/ts3.4/commands/UpdateDeviceCommand.d.ts +35 -0
  133. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +39 -0
  134. package/dist-types/ts3.4/commands/UpdateSoftwareSetCommand.d.ts +39 -0
  135. package/dist-types/ts3.4/commands/index.d.ts +16 -0
  136. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  137. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  138. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  139. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  140. package/dist-types/ts3.4/index.d.ts +10 -0
  141. package/dist-types/ts3.4/models/WorkSpacesThinClientServiceException.d.ts +8 -0
  142. package/dist-types/ts3.4/models/index.d.ts +1 -0
  143. package/dist-types/ts3.4/models/models_0.d.ts +440 -0
  144. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  145. package/dist-types/ts3.4/pagination/ListDevicesPaginator.d.ts +11 -0
  146. package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/ListSoftwareSetsPaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  149. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +197 -0
  150. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +99 -0
  151. package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
  152. package/dist-types/ts3.4/runtimeConfig.native.d.ts +90 -0
  153. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  154. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  155. package/package.json +104 -0
@@ -0,0 +1,92 @@
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 { DeleteDeviceRequest, DeleteDeviceResponse } 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 DeleteDeviceCommand}.
14
+ */
15
+ export interface DeleteDeviceCommandInput extends DeleteDeviceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteDeviceCommand}.
21
+ */
22
+ export interface DeleteDeviceCommandOutput extends DeleteDeviceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes 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, DeleteDeviceCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
31
+ * // const { WorkSpacesThinClientClient, DeleteDeviceCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
32
+ * const client = new WorkSpacesThinClientClient(config);
33
+ * const input = { // DeleteDeviceRequest
34
+ * id: "STRING_VALUE", // required
35
+ * clientToken: "STRING_VALUE",
36
+ * };
37
+ * const command = new DeleteDeviceCommand(input);
38
+ * const response = await client.send(command);
39
+ * // {};
40
+ *
41
+ * ```
42
+ *
43
+ * @param DeleteDeviceCommandInput - {@link DeleteDeviceCommandInput}
44
+ * @returns {@link DeleteDeviceCommandOutput}
45
+ * @see {@link DeleteDeviceCommandInput} for command's `input` shape.
46
+ * @see {@link DeleteDeviceCommandOutput} 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 ConflictException} (client fault)
53
+ * <p>The requested operation would cause a conflict with the current state of a service
54
+ * resource associated with the request. Resolve the conflict before retrying this
55
+ * request.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>The server encountered an internal error and is unable to complete the request.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The resource specified in the request was not found.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The request was denied due to request throttling.</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>The input fails to satisfy the specified constraints.</p>
68
+ *
69
+ * @throws {@link WorkSpacesThinClientServiceException}
70
+ * <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
71
+ *
72
+ */
73
+ export declare class DeleteDeviceCommand extends $Command<DeleteDeviceCommandInput, DeleteDeviceCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
74
+ readonly input: DeleteDeviceCommandInput;
75
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
+ /**
77
+ * @public
78
+ */
79
+ constructor(input: DeleteDeviceCommandInput);
80
+ /**
81
+ * @internal
82
+ */
83
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDeviceCommandInput, DeleteDeviceCommandOutput>;
84
+ /**
85
+ * @internal
86
+ */
87
+ private serialize;
88
+ /**
89
+ * @internal
90
+ */
91
+ private deserialize;
92
+ }
@@ -0,0 +1,92 @@
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 { DeleteEnvironmentRequest, DeleteEnvironmentResponse } 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 DeleteEnvironmentCommand}.
14
+ */
15
+ export interface DeleteEnvironmentCommandInput extends DeleteEnvironmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteEnvironmentCommand}.
21
+ */
22
+ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes 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, DeleteEnvironmentCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
31
+ * // const { WorkSpacesThinClientClient, DeleteEnvironmentCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
32
+ * const client = new WorkSpacesThinClientClient(config);
33
+ * const input = { // DeleteEnvironmentRequest
34
+ * id: "STRING_VALUE", // required
35
+ * clientToken: "STRING_VALUE",
36
+ * };
37
+ * const command = new DeleteEnvironmentCommand(input);
38
+ * const response = await client.send(command);
39
+ * // {};
40
+ *
41
+ * ```
42
+ *
43
+ * @param DeleteEnvironmentCommandInput - {@link DeleteEnvironmentCommandInput}
44
+ * @returns {@link DeleteEnvironmentCommandOutput}
45
+ * @see {@link DeleteEnvironmentCommandInput} for command's `input` shape.
46
+ * @see {@link DeleteEnvironmentCommandOutput} 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 ConflictException} (client fault)
53
+ * <p>The requested operation would cause a conflict with the current state of a service
54
+ * resource associated with the request. Resolve the conflict before retrying this
55
+ * request.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>The server encountered an internal error and is unable to complete the request.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The resource specified in the request was not found.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The request was denied due to request throttling.</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>The input fails to satisfy the specified constraints.</p>
68
+ *
69
+ * @throws {@link WorkSpacesThinClientServiceException}
70
+ * <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
71
+ *
72
+ */
73
+ export declare class DeleteEnvironmentCommand extends $Command<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
74
+ readonly input: DeleteEnvironmentCommandInput;
75
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
+ /**
77
+ * @public
78
+ */
79
+ constructor(input: DeleteEnvironmentCommandInput);
80
+ /**
81
+ * @internal
82
+ */
83
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput>;
84
+ /**
85
+ * @internal
86
+ */
87
+ private serialize;
88
+ /**
89
+ * @internal
90
+ */
91
+ private deserialize;
92
+ }
@@ -0,0 +1,93 @@
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 { DeregisterDeviceRequest, DeregisterDeviceResponse } 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 DeregisterDeviceCommand}.
14
+ */
15
+ export interface DeregisterDeviceCommandInput extends DeregisterDeviceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeregisterDeviceCommand}.
21
+ */
22
+ export interface DeregisterDeviceCommandOutput extends DeregisterDeviceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deregisters 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, DeregisterDeviceCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
31
+ * // const { WorkSpacesThinClientClient, DeregisterDeviceCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
32
+ * const client = new WorkSpacesThinClientClient(config);
33
+ * const input = { // DeregisterDeviceRequest
34
+ * id: "STRING_VALUE", // required
35
+ * targetDeviceStatus: "DEREGISTERED" || "ARCHIVED",
36
+ * clientToken: "STRING_VALUE",
37
+ * };
38
+ * const command = new DeregisterDeviceCommand(input);
39
+ * const response = await client.send(command);
40
+ * // {};
41
+ *
42
+ * ```
43
+ *
44
+ * @param DeregisterDeviceCommandInput - {@link DeregisterDeviceCommandInput}
45
+ * @returns {@link DeregisterDeviceCommandOutput}
46
+ * @see {@link DeregisterDeviceCommandInput} for command's `input` shape.
47
+ * @see {@link DeregisterDeviceCommandOutput} for command's `response` shape.
48
+ * @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
49
+ *
50
+ * @throws {@link AccessDeniedException} (client fault)
51
+ * <p>You do not have sufficient access to perform this action.</p>
52
+ *
53
+ * @throws {@link ConflictException} (client fault)
54
+ * <p>The requested operation would cause a conflict with the current state of a service
55
+ * resource associated with the request. Resolve the conflict before retrying this
56
+ * request.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>The server encountered an internal error and is unable to complete the request.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The resource specified in the request was not found.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was denied due to request throttling.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>The input fails to satisfy the specified constraints.</p>
69
+ *
70
+ * @throws {@link WorkSpacesThinClientServiceException}
71
+ * <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
72
+ *
73
+ */
74
+ export declare class DeregisterDeviceCommand extends $Command<DeregisterDeviceCommandInput, DeregisterDeviceCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
75
+ readonly input: DeregisterDeviceCommandInput;
76
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
77
+ /**
78
+ * @public
79
+ */
80
+ constructor(input: DeregisterDeviceCommandInput);
81
+ /**
82
+ * @internal
83
+ */
84
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeregisterDeviceCommandInput, DeregisterDeviceCommandOutput>;
85
+ /**
86
+ * @internal
87
+ */
88
+ private serialize;
89
+ /**
90
+ * @internal
91
+ */
92
+ private deserialize;
93
+ }
@@ -0,0 +1,113 @@
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 { GetDeviceRequest, GetDeviceResponse } 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 GetDeviceCommand}.
14
+ */
15
+ export interface GetDeviceCommandInput extends GetDeviceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDeviceCommand}.
21
+ */
22
+ export interface GetDeviceCommandOutput extends GetDeviceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns information for 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, GetDeviceCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
31
+ * // const { WorkSpacesThinClientClient, GetDeviceCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
32
+ * const client = new WorkSpacesThinClientClient(config);
33
+ * const input = { // GetDeviceRequest
34
+ * id: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetDeviceCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetDeviceResponse
39
+ * // device: { // Device
40
+ * // id: "STRING_VALUE",
41
+ * // serialNumber: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // model: "STRING_VALUE",
44
+ * // environmentId: "STRING_VALUE",
45
+ * // status: "REGISTERED" || "DEREGISTERING" || "DEREGISTERED" || "ARCHIVED",
46
+ * // currentSoftwareSetId: "STRING_VALUE",
47
+ * // currentSoftwareSetVersion: "STRING_VALUE",
48
+ * // desiredSoftwareSetId: "STRING_VALUE",
49
+ * // pendingSoftwareSetId: "STRING_VALUE",
50
+ * // pendingSoftwareSetVersion: "STRING_VALUE",
51
+ * // softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
52
+ * // softwareSetComplianceStatus: "NONE" || "COMPLIANT" || "NOT_COMPLIANT",
53
+ * // softwareSetUpdateStatus: "AVAILABLE" || "IN_PROGRESS" || "UP_TO_DATE",
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
+ * // kmsKeyArn: "STRING_VALUE",
60
+ * // tags: { // EmbeddedTag
61
+ * // resourceArn: "STRING_VALUE",
62
+ * // internalId: "STRING_VALUE",
63
+ * // },
64
+ * // },
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param GetDeviceCommandInput - {@link GetDeviceCommandInput}
70
+ * @returns {@link GetDeviceCommandOutput}
71
+ * @see {@link GetDeviceCommandInput} for command's `input` shape.
72
+ * @see {@link GetDeviceCommandOutput} for command's `response` shape.
73
+ * @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>You do not have sufficient access to perform this action.</p>
77
+ *
78
+ * @throws {@link InternalServerException} (server fault)
79
+ * <p>The server encountered an internal error and is unable to complete the request.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>The resource specified in the request was not found.</p>
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * <p>The request was denied due to request throttling.</p>
86
+ *
87
+ * @throws {@link ValidationException} (client fault)
88
+ * <p>The input fails to satisfy the specified constraints.</p>
89
+ *
90
+ * @throws {@link WorkSpacesThinClientServiceException}
91
+ * <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
92
+ *
93
+ */
94
+ export declare class GetDeviceCommand extends $Command<GetDeviceCommandInput, GetDeviceCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
95
+ readonly input: GetDeviceCommandInput;
96
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
97
+ /**
98
+ * @public
99
+ */
100
+ constructor(input: GetDeviceCommandInput);
101
+ /**
102
+ * @internal
103
+ */
104
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDeviceCommandInput, GetDeviceCommandOutput>;
105
+ /**
106
+ * @internal
107
+ */
108
+ private serialize;
109
+ /**
110
+ * @internal
111
+ */
112
+ private deserialize;
113
+ }
@@ -0,0 +1,121 @@
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 { GetEnvironmentRequest, GetEnvironmentResponse } 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 GetEnvironmentCommand}.
14
+ */
15
+ export interface GetEnvironmentCommandInput extends GetEnvironmentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetEnvironmentCommand}.
21
+ */
22
+ export interface GetEnvironmentCommandOutput extends GetEnvironmentResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns information for 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, GetEnvironmentCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
31
+ * // const { WorkSpacesThinClientClient, GetEnvironmentCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
32
+ * const client = new WorkSpacesThinClientClient(config);
33
+ * const input = { // GetEnvironmentRequest
34
+ * id: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetEnvironmentCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetEnvironmentResponse
39
+ * // environment: { // Environment
40
+ * // id: "STRING_VALUE",
41
+ * // name: "STRING_VALUE",
42
+ * // desktopArn: "STRING_VALUE",
43
+ * // desktopEndpoint: "STRING_VALUE",
44
+ * // desktopType: "workspaces" || "appstream" || "workspaces-web",
45
+ * // activationCode: "STRING_VALUE",
46
+ * // registeredDevicesCount: Number("int"),
47
+ * // softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
48
+ * // maintenanceWindow: { // MaintenanceWindow
49
+ * // type: "SYSTEM" || "CUSTOM",
50
+ * // startTimeHour: Number("int"),
51
+ * // startTimeMinute: Number("int"),
52
+ * // endTimeHour: Number("int"),
53
+ * // endTimeMinute: Number("int"),
54
+ * // daysOfTheWeek: [ // DayOfWeekList
55
+ * // "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY",
56
+ * // ],
57
+ * // applyTimeOf: "UTC" || "DEVICE",
58
+ * // },
59
+ * // softwareSetUpdateMode: "USE_LATEST" || "USE_DESIRED",
60
+ * // desiredSoftwareSetId: "STRING_VALUE",
61
+ * // pendingSoftwareSetId: "STRING_VALUE",
62
+ * // pendingSoftwareSetVersion: "STRING_VALUE",
63
+ * // softwareSetComplianceStatus: "NO_REGISTERED_DEVICES" || "COMPLIANT" || "NOT_COMPLIANT",
64
+ * // createdAt: new Date("TIMESTAMP"),
65
+ * // updatedAt: new Date("TIMESTAMP"),
66
+ * // arn: "STRING_VALUE",
67
+ * // kmsKeyArn: "STRING_VALUE",
68
+ * // tags: { // EmbeddedTag
69
+ * // resourceArn: "STRING_VALUE",
70
+ * // internalId: "STRING_VALUE",
71
+ * // },
72
+ * // },
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param GetEnvironmentCommandInput - {@link GetEnvironmentCommandInput}
78
+ * @returns {@link GetEnvironmentCommandOutput}
79
+ * @see {@link GetEnvironmentCommandInput} for command's `input` shape.
80
+ * @see {@link GetEnvironmentCommandOutput} for command's `response` shape.
81
+ * @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
82
+ *
83
+ * @throws {@link AccessDeniedException} (client fault)
84
+ * <p>You do not have sufficient access to perform this action.</p>
85
+ *
86
+ * @throws {@link InternalServerException} (server fault)
87
+ * <p>The server encountered an internal error and is unable to complete the request.</p>
88
+ *
89
+ * @throws {@link ResourceNotFoundException} (client fault)
90
+ * <p>The resource specified in the request was not found.</p>
91
+ *
92
+ * @throws {@link ThrottlingException} (client fault)
93
+ * <p>The request was denied due to request throttling.</p>
94
+ *
95
+ * @throws {@link ValidationException} (client fault)
96
+ * <p>The input fails to satisfy the specified constraints.</p>
97
+ *
98
+ * @throws {@link WorkSpacesThinClientServiceException}
99
+ * <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
100
+ *
101
+ */
102
+ export declare class GetEnvironmentCommand extends $Command<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
103
+ readonly input: GetEnvironmentCommandInput;
104
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
105
+ /**
106
+ * @public
107
+ */
108
+ constructor(input: GetEnvironmentCommandInput);
109
+ /**
110
+ * @internal
111
+ */
112
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEnvironmentCommandInput, GetEnvironmentCommandOutput>;
113
+ /**
114
+ * @internal
115
+ */
116
+ private serialize;
117
+ /**
118
+ * @internal
119
+ */
120
+ private deserialize;
121
+ }
@@ -0,0 +1,101 @@
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 { GetSoftwareSetRequest, GetSoftwareSetResponse } 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 GetSoftwareSetCommand}.
14
+ */
15
+ export interface GetSoftwareSetCommandInput extends GetSoftwareSetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetSoftwareSetCommand}.
21
+ */
22
+ export interface GetSoftwareSetCommandOutput extends GetSoftwareSetResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns information for 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, GetSoftwareSetCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
31
+ * // const { WorkSpacesThinClientClient, GetSoftwareSetCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
32
+ * const client = new WorkSpacesThinClientClient(config);
33
+ * const input = { // GetSoftwareSetRequest
34
+ * id: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new GetSoftwareSetCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // GetSoftwareSetResponse
39
+ * // softwareSet: { // SoftwareSet
40
+ * // id: "STRING_VALUE",
41
+ * // version: "STRING_VALUE",
42
+ * // releasedAt: new Date("TIMESTAMP"),
43
+ * // supportedUntil: new Date("TIMESTAMP"),
44
+ * // validationStatus: "VALIDATED" || "NOT_VALIDATED",
45
+ * // software: [ // SoftwareList
46
+ * // { // Software
47
+ * // name: "STRING_VALUE",
48
+ * // version: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // arn: "STRING_VALUE",
52
+ * // },
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param GetSoftwareSetCommandInput - {@link GetSoftwareSetCommandInput}
58
+ * @returns {@link GetSoftwareSetCommandOutput}
59
+ * @see {@link GetSoftwareSetCommandInput} for command's `input` shape.
60
+ * @see {@link GetSoftwareSetCommandOutput} for command's `response` shape.
61
+ * @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You do not have sufficient access to perform this action.</p>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>The server encountered an internal error and is unable to complete the request.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The resource specified in the request was not found.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was denied due to request throttling.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The input fails to satisfy the specified constraints.</p>
77
+ *
78
+ * @throws {@link WorkSpacesThinClientServiceException}
79
+ * <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
80
+ *
81
+ */
82
+ export declare class GetSoftwareSetCommand extends $Command<GetSoftwareSetCommandInput, GetSoftwareSetCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
83
+ readonly input: GetSoftwareSetCommandInput;
84
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
+ /**
86
+ * @public
87
+ */
88
+ constructor(input: GetSoftwareSetCommandInput);
89
+ /**
90
+ * @internal
91
+ */
92
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSoftwareSetCommandInput, GetSoftwareSetCommandOutput>;
93
+ /**
94
+ * @internal
95
+ */
96
+ private serialize;
97
+ /**
98
+ * @internal
99
+ */
100
+ private deserialize;
101
+ }