@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,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateEnvironmentCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class CreateEnvironmentCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateEnvironmentCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WorkSpacesThinClientClient";
30
+ const commandName = "CreateEnvironmentCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: models_0_1.CreateEnvironmentRequestFilterSensitiveLog,
36
+ outputFilterSensitiveLog: models_0_1.CreateEnvironmentResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "ThinClient",
39
+ operation: "CreateEnvironment",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_CreateEnvironmentCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_CreateEnvironmentCommand)(output, context);
50
+ }
51
+ }
52
+ exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteDeviceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteDeviceCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteDeviceCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WorkSpacesThinClientClient";
29
+ const commandName = "DeleteDeviceCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "ThinClient",
38
+ operation: "DeleteDevice",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_DeleteDeviceCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_DeleteDeviceCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteDeviceCommand = DeleteDeviceCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteEnvironmentCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteEnvironmentCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteEnvironmentCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WorkSpacesThinClientClient";
29
+ const commandName = "DeleteEnvironmentCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "ThinClient",
38
+ operation: "DeleteEnvironment",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_DeleteEnvironmentCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_DeleteEnvironmentCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeregisterDeviceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeregisterDeviceCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeregisterDeviceCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WorkSpacesThinClientClient";
29
+ const commandName = "DeregisterDeviceCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "ThinClient",
38
+ operation: "DeregisterDevice",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_DeregisterDeviceCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_DeregisterDeviceCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeregisterDeviceCommand = DeregisterDeviceCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetDeviceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class GetDeviceCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetDeviceCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WorkSpacesThinClientClient";
30
+ const commandName = "GetDeviceCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: (_) => _,
36
+ outputFilterSensitiveLog: models_0_1.GetDeviceResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "ThinClient",
39
+ operation: "GetDevice",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_GetDeviceCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_GetDeviceCommand)(output, context);
50
+ }
51
+ }
52
+ exports.GetDeviceCommand = GetDeviceCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetEnvironmentCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class GetEnvironmentCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetEnvironmentCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WorkSpacesThinClientClient";
30
+ const commandName = "GetEnvironmentCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: (_) => _,
36
+ outputFilterSensitiveLog: models_0_1.GetEnvironmentResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "ThinClient",
39
+ operation: "GetEnvironment",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_GetEnvironmentCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_GetEnvironmentCommand)(output, context);
50
+ }
51
+ }
52
+ exports.GetEnvironmentCommand = GetEnvironmentCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetSoftwareSetCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class GetSoftwareSetCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSoftwareSetCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WorkSpacesThinClientClient";
29
+ const commandName = "GetSoftwareSetCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "ThinClient",
38
+ operation: "GetSoftwareSet",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_GetSoftwareSetCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_GetSoftwareSetCommand)(output, context);
49
+ }
50
+ }
51
+ exports.GetSoftwareSetCommand = GetSoftwareSetCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListDevicesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class ListDevicesCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListDevicesCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WorkSpacesThinClientClient";
30
+ const commandName = "ListDevicesCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: (_) => _,
36
+ outputFilterSensitiveLog: models_0_1.ListDevicesResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "ThinClient",
39
+ operation: "ListDevices",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_ListDevicesCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_ListDevicesCommand)(output, context);
50
+ }
51
+ }
52
+ exports.ListDevicesCommand = ListDevicesCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEnvironmentsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class ListEnvironmentsCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListEnvironmentsCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WorkSpacesThinClientClient";
30
+ const commandName = "ListEnvironmentsCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: (_) => _,
36
+ outputFilterSensitiveLog: models_0_1.ListEnvironmentsResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "ThinClient",
39
+ operation: "ListEnvironments",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_ListEnvironmentsCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_ListEnvironmentsCommand)(output, context);
50
+ }
51
+ }
52
+ exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListSoftwareSetsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListSoftwareSetsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListSoftwareSetsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "WorkSpacesThinClientClient";
29
+ const commandName = "ListSoftwareSetsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "ThinClient",
38
+ operation: "ListSoftwareSets",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListSoftwareSetsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListSoftwareSetsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListSoftwareSetsCommand = ListSoftwareSetsCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class ListTagsForResourceCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WorkSpacesThinClientClient";
30
+ const commandName = "ListTagsForResourceCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: (_) => _,
36
+ outputFilterSensitiveLog: models_0_1.ListTagsForResourceResponseFilterSensitiveLog,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "ThinClient",
39
+ operation: "ListTagsForResource",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_ListTagsForResourceCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_ListTagsForResourceCommand)(output, context);
50
+ }
51
+ }
52
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class TagResourceCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TagResourceCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "WorkSpacesThinClientClient";
30
+ const commandName = "TagResourceCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: models_0_1.TagResourceRequestFilterSensitiveLog,
36
+ outputFilterSensitiveLog: (_) => _,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "ThinClient",
39
+ operation: "TagResource",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_TagResourceCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_TagResourceCommand)(output, context);
50
+ }
51
+ }
52
+ exports.TagResourceCommand = TagResourceCommand;