@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,109 @@
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 { ListDevicesRequest, ListDevicesResponse } 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 ListDevicesCommand}.
14
+ */
15
+ export interface ListDevicesCommandInput extends ListDevicesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDevicesCommand}.
21
+ */
22
+ export interface ListDevicesCommandOutput extends ListDevicesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of thin client devices.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WorkSpacesThinClientClient, ListDevicesCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
31
+ * // const { WorkSpacesThinClientClient, ListDevicesCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
32
+ * const client = new WorkSpacesThinClientClient(config);
33
+ * const input = { // ListDevicesRequest
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
37
+ * const command = new ListDevicesCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListDevicesResponse
40
+ * // devices: [ // DeviceList
41
+ * // { // DeviceSummary
42
+ * // id: "STRING_VALUE",
43
+ * // serialNumber: "STRING_VALUE",
44
+ * // name: "STRING_VALUE",
45
+ * // model: "STRING_VALUE",
46
+ * // environmentId: "STRING_VALUE",
47
+ * // status: "REGISTERED" || "DEREGISTERING" || "DEREGISTERED" || "ARCHIVED",
48
+ * // currentSoftwareSetId: "STRING_VALUE",
49
+ * // desiredSoftwareSetId: "STRING_VALUE",
50
+ * // pendingSoftwareSetId: "STRING_VALUE",
51
+ * // softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
52
+ * // lastConnectedAt: new Date("TIMESTAMP"),
53
+ * // lastPostureAt: new Date("TIMESTAMP"),
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // updatedAt: new Date("TIMESTAMP"),
56
+ * // arn: "STRING_VALUE",
57
+ * // tags: { // EmbeddedTag
58
+ * // resourceArn: "STRING_VALUE",
59
+ * // internalId: "STRING_VALUE",
60
+ * // },
61
+ * // },
62
+ * // ],
63
+ * // nextToken: "STRING_VALUE",
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param ListDevicesCommandInput - {@link ListDevicesCommandInput}
69
+ * @returns {@link ListDevicesCommandOutput}
70
+ * @see {@link ListDevicesCommandInput} for command's `input` shape.
71
+ * @see {@link ListDevicesCommandOutput} 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 ThrottlingException} (client fault)
81
+ * <p>The request was denied due to request throttling.</p>
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * <p>The input fails to satisfy the specified constraints.</p>
85
+ *
86
+ * @throws {@link WorkSpacesThinClientServiceException}
87
+ * <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
88
+ *
89
+ */
90
+ export declare class ListDevicesCommand extends $Command<ListDevicesCommandInput, ListDevicesCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
91
+ readonly input: ListDevicesCommandInput;
92
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
+ /**
94
+ * @public
95
+ */
96
+ constructor(input: ListDevicesCommandInput);
97
+ /**
98
+ * @internal
99
+ */
100
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDevicesCommandInput, ListDevicesCommandOutput>;
101
+ /**
102
+ * @internal
103
+ */
104
+ private serialize;
105
+ /**
106
+ * @internal
107
+ */
108
+ private deserialize;
109
+ }
@@ -0,0 +1,118 @@
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 { ListEnvironmentsRequest, ListEnvironmentsResponse } 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 ListEnvironmentsCommand}.
14
+ */
15
+ export interface ListEnvironmentsCommandInput extends ListEnvironmentsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListEnvironmentsCommand}.
21
+ */
22
+ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of environments.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WorkSpacesThinClientClient, ListEnvironmentsCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
31
+ * // const { WorkSpacesThinClientClient, ListEnvironmentsCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
32
+ * const client = new WorkSpacesThinClientClient(config);
33
+ * const input = { // ListEnvironmentsRequest
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
37
+ * const command = new ListEnvironmentsCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListEnvironmentsResponse
40
+ * // environments: [ // EnvironmentList
41
+ * // { // EnvironmentSummary
42
+ * // id: "STRING_VALUE",
43
+ * // name: "STRING_VALUE",
44
+ * // desktopArn: "STRING_VALUE",
45
+ * // desktopEndpoint: "STRING_VALUE",
46
+ * // desktopType: "workspaces" || "appstream" || "workspaces-web",
47
+ * // activationCode: "STRING_VALUE",
48
+ * // softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
49
+ * // maintenanceWindow: { // MaintenanceWindow
50
+ * // type: "SYSTEM" || "CUSTOM",
51
+ * // startTimeHour: Number("int"),
52
+ * // startTimeMinute: Number("int"),
53
+ * // endTimeHour: Number("int"),
54
+ * // endTimeMinute: Number("int"),
55
+ * // daysOfTheWeek: [ // DayOfWeekList
56
+ * // "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY",
57
+ * // ],
58
+ * // applyTimeOf: "UTC" || "DEVICE",
59
+ * // },
60
+ * // softwareSetUpdateMode: "USE_LATEST" || "USE_DESIRED",
61
+ * // desiredSoftwareSetId: "STRING_VALUE",
62
+ * // pendingSoftwareSetId: "STRING_VALUE",
63
+ * // createdAt: new Date("TIMESTAMP"),
64
+ * // updatedAt: new Date("TIMESTAMP"),
65
+ * // arn: "STRING_VALUE",
66
+ * // tags: { // EmbeddedTag
67
+ * // resourceArn: "STRING_VALUE",
68
+ * // internalId: "STRING_VALUE",
69
+ * // },
70
+ * // },
71
+ * // ],
72
+ * // nextToken: "STRING_VALUE",
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param ListEnvironmentsCommandInput - {@link ListEnvironmentsCommandInput}
78
+ * @returns {@link ListEnvironmentsCommandOutput}
79
+ * @see {@link ListEnvironmentsCommandInput} for command's `input` shape.
80
+ * @see {@link ListEnvironmentsCommandOutput} 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 ThrottlingException} (client fault)
90
+ * <p>The request was denied due to request throttling.</p>
91
+ *
92
+ * @throws {@link ValidationException} (client fault)
93
+ * <p>The input fails to satisfy the specified constraints.</p>
94
+ *
95
+ * @throws {@link WorkSpacesThinClientServiceException}
96
+ * <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
97
+ *
98
+ */
99
+ export declare class ListEnvironmentsCommand extends $Command<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
100
+ readonly input: ListEnvironmentsCommandInput;
101
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
102
+ /**
103
+ * @public
104
+ */
105
+ constructor(input: ListEnvironmentsCommandInput);
106
+ /**
107
+ * @internal
108
+ */
109
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput>;
110
+ /**
111
+ * @internal
112
+ */
113
+ private serialize;
114
+ /**
115
+ * @internal
116
+ */
117
+ private deserialize;
118
+ }
@@ -0,0 +1,96 @@
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 { ListSoftwareSetsRequest, ListSoftwareSetsResponse } 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 ListSoftwareSetsCommand}.
14
+ */
15
+ export interface ListSoftwareSetsCommandInput extends ListSoftwareSetsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListSoftwareSetsCommand}.
21
+ */
22
+ export interface ListSoftwareSetsCommandOutput extends ListSoftwareSetsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of software sets.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WorkSpacesThinClientClient, ListSoftwareSetsCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
31
+ * // const { WorkSpacesThinClientClient, ListSoftwareSetsCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
32
+ * const client = new WorkSpacesThinClientClient(config);
33
+ * const input = { // ListSoftwareSetsRequest
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
37
+ * const command = new ListSoftwareSetsCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListSoftwareSetsResponse
40
+ * // softwareSets: [ // SoftwareSetList
41
+ * // { // SoftwareSetSummary
42
+ * // id: "STRING_VALUE",
43
+ * // version: "STRING_VALUE",
44
+ * // releasedAt: new Date("TIMESTAMP"),
45
+ * // supportedUntil: new Date("TIMESTAMP"),
46
+ * // validationStatus: "VALIDATED" || "NOT_VALIDATED",
47
+ * // arn: "STRING_VALUE",
48
+ * // },
49
+ * // ],
50
+ * // nextToken: "STRING_VALUE",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param ListSoftwareSetsCommandInput - {@link ListSoftwareSetsCommandInput}
56
+ * @returns {@link ListSoftwareSetsCommandOutput}
57
+ * @see {@link ListSoftwareSetsCommandInput} for command's `input` shape.
58
+ * @see {@link ListSoftwareSetsCommandOutput} for command's `response` shape.
59
+ * @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You do not have sufficient access to perform this action.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>The server encountered an internal error and is unable to complete the request.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was denied due to request throttling.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The input fails to satisfy the specified constraints.</p>
72
+ *
73
+ * @throws {@link WorkSpacesThinClientServiceException}
74
+ * <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
75
+ *
76
+ */
77
+ export declare class ListSoftwareSetsCommand extends $Command<ListSoftwareSetsCommandInput, ListSoftwareSetsCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
78
+ readonly input: ListSoftwareSetsCommandInput;
79
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
+ /**
81
+ * @public
82
+ */
83
+ constructor(input: ListSoftwareSetsCommandInput);
84
+ /**
85
+ * @internal
86
+ */
87
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSoftwareSetsCommandInput, ListSoftwareSetsCommandOutput>;
88
+ /**
89
+ * @internal
90
+ */
91
+ private serialize;
92
+ /**
93
+ * @internal
94
+ */
95
+ private deserialize;
96
+ }
@@ -0,0 +1,84 @@
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 { ListTagsForResourceRequest, ListTagsForResourceResponse } 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 ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of tags for a resource.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WorkSpacesThinClientClient, ListTagsForResourceCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
31
+ * // const { WorkSpacesThinClientClient, ListTagsForResourceCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
32
+ * const client = new WorkSpacesThinClientClient(config);
33
+ * const input = { // ListTagsForResourceRequest
34
+ * resourceArn: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new ListTagsForResourceCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // ListTagsForResourceResponse
39
+ * // tags: { // TagsMap
40
+ * // "<keys>": "STRING_VALUE",
41
+ * // },
42
+ * // };
43
+ *
44
+ * ```
45
+ *
46
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
47
+ * @returns {@link ListTagsForResourceCommandOutput}
48
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
49
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
50
+ * @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
51
+ *
52
+ * @throws {@link InternalServiceException} (server fault)
53
+ * <p>Request processing failed due to some unknown error, exception, or failure.</p>
54
+ *
55
+ * @throws {@link ResourceNotFoundException} (client fault)
56
+ * <p>The resource specified in the request was not found.</p>
57
+ *
58
+ * @throws {@link ValidationException} (client fault)
59
+ * <p>The input fails to satisfy the specified constraints.</p>
60
+ *
61
+ * @throws {@link WorkSpacesThinClientServiceException}
62
+ * <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
63
+ *
64
+ */
65
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
66
+ readonly input: ListTagsForResourceCommandInput;
67
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
+ /**
69
+ * @public
70
+ */
71
+ constructor(input: ListTagsForResourceCommandInput);
72
+ /**
73
+ * @internal
74
+ */
75
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
76
+ /**
77
+ * @internal
78
+ */
79
+ private serialize;
80
+ /**
81
+ * @internal
82
+ */
83
+ private deserialize;
84
+ }
@@ -0,0 +1,83 @@
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 { TagResourceRequest, TagResourceResponse } 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 TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Assigns one or more tags (key-value pairs) to the specified resource.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WorkSpacesThinClientClient, TagResourceCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
31
+ * // const { WorkSpacesThinClientClient, TagResourceCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
32
+ * const client = new WorkSpacesThinClientClient(config);
33
+ * const input = { // TagResourceRequest
34
+ * resourceArn: "STRING_VALUE", // required
35
+ * tags: { // TagsMap // required
36
+ * "<keys>": "STRING_VALUE",
37
+ * },
38
+ * };
39
+ * const command = new TagResourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
46
+ * @returns {@link TagResourceCommandOutput}
47
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
48
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
49
+ * @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
50
+ *
51
+ * @throws {@link InternalServiceException} (server fault)
52
+ * <p>Request processing failed due to some unknown error, exception, or failure.</p>
53
+ *
54
+ * @throws {@link ResourceNotFoundException} (client fault)
55
+ * <p>The resource specified in the request was not found.</p>
56
+ *
57
+ * @throws {@link ValidationException} (client fault)
58
+ * <p>The input fails to satisfy the specified constraints.</p>
59
+ *
60
+ * @throws {@link WorkSpacesThinClientServiceException}
61
+ * <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
62
+ *
63
+ */
64
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
65
+ readonly input: TagResourceCommandInput;
66
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
70
+ constructor(input: TagResourceCommandInput);
71
+ /**
72
+ * @internal
73
+ */
74
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
78
+ private serialize;
79
+ /**
80
+ * @internal
81
+ */
82
+ private deserialize;
83
+ }
@@ -0,0 +1,83 @@
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 { UntagResourceRequest, UntagResourceResponse } 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 UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Removes a tag or tags from a resource.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WorkSpacesThinClientClient, UntagResourceCommand } from "@aws-sdk/client-workspaces-thin-client"; // ES Modules import
31
+ * // const { WorkSpacesThinClientClient, UntagResourceCommand } = require("@aws-sdk/client-workspaces-thin-client"); // CommonJS import
32
+ * const client = new WorkSpacesThinClientClient(config);
33
+ * const input = { // UntagResourceRequest
34
+ * resourceArn: "STRING_VALUE", // required
35
+ * tagKeys: [ // TagKeys // required
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * };
39
+ * const command = new UntagResourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
46
+ * @returns {@link UntagResourceCommandOutput}
47
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
48
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
49
+ * @see {@link WorkSpacesThinClientClientResolvedConfig | config} for WorkSpacesThinClientClient's `config` shape.
50
+ *
51
+ * @throws {@link InternalServiceException} (server fault)
52
+ * <p>Request processing failed due to some unknown error, exception, or failure.</p>
53
+ *
54
+ * @throws {@link ResourceNotFoundException} (client fault)
55
+ * <p>The resource specified in the request was not found.</p>
56
+ *
57
+ * @throws {@link ValidationException} (client fault)
58
+ * <p>The input fails to satisfy the specified constraints.</p>
59
+ *
60
+ * @throws {@link WorkSpacesThinClientServiceException}
61
+ * <p>Base exception class for all service exceptions from WorkSpacesThinClient service.</p>
62
+ *
63
+ */
64
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, WorkSpacesThinClientClientResolvedConfig> {
65
+ readonly input: UntagResourceCommandInput;
66
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
70
+ constructor(input: UntagResourceCommandInput);
71
+ /**
72
+ * @internal
73
+ */
74
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesThinClientClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
78
+ private serialize;
79
+ /**
80
+ * @internal
81
+ */
82
+ private deserialize;
83
+ }