@aws-sdk/client-snow-device-management 3.32.0 → 3.36.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 (211) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/SnowDeviceManagement.js +1 -2
  3. package/{dist/cjs → dist-cjs}/SnowDeviceManagementClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/CancelTaskCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateTaskCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/DescribeDeviceCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/DescribeDeviceEc2InstancesCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/DescribeExecutionCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DescribeTaskCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/ListDeviceResourcesCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/ListDevicesCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/ListExecutionsCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/ListTasksCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  18. package/{dist/cjs → dist-cjs}/index.js +0 -1
  19. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  20. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  21. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  22. package/{dist/cjs → dist-cjs}/pagination/ListDeviceResourcesPaginator.js +1 -2
  23. package/{dist/cjs → dist-cjs}/pagination/ListDevicesPaginator.js +1 -2
  24. package/{dist/cjs → dist-cjs}/pagination/ListExecutionsPaginator.js +1 -2
  25. package/{dist/cjs → dist-cjs}/pagination/ListTasksPaginator.js +1 -2
  26. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +5 -6
  27. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  28. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  29. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  30. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  31. package/{dist/es → dist-es}/SnowDeviceManagement.js +2 -6
  32. package/{dist/es → dist-es}/SnowDeviceManagementClient.js +2 -11
  33. package/{dist/es → dist-es}/commands/CancelTaskCommand.js +4 -35
  34. package/{dist/es → dist-es}/commands/CreateTaskCommand.js +4 -30
  35. package/{dist/es → dist-es}/commands/DescribeDeviceCommand.js +4 -31
  36. package/{dist/es → dist-es}/commands/DescribeDeviceEc2InstancesCommand.js +4 -32
  37. package/{dist/es → dist-es}/commands/DescribeExecutionCommand.js +4 -30
  38. package/{dist/es → dist-es}/commands/DescribeTaskCommand.js +4 -30
  39. package/{dist/es → dist-es}/commands/ListDeviceResourcesCommand.js +4 -30
  40. package/{dist/es → dist-es}/commands/ListDevicesCommand.js +4 -31
  41. package/{dist/es → dist-es}/commands/ListExecutionsCommand.js +4 -30
  42. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  43. package/{dist/es → dist-es}/commands/ListTasksCommand.js +4 -30
  44. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  45. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  46. package/{dist/es → dist-es}/endpoints.js +1 -2
  47. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  48. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  49. package/{dist/es → dist-es}/models/models_0.js +0 -142
  50. package/dist-es/pagination/Interfaces.js +1 -0
  51. package/{dist/es → dist-es}/pagination/ListDeviceResourcesPaginator.js +17 -30
  52. package/{dist/es → dist-es}/pagination/ListDevicesPaginator.js +17 -30
  53. package/{dist/es → dist-es}/pagination/ListExecutionsPaginator.js +17 -30
  54. package/{dist/es → dist-es}/pagination/ListTasksPaginator.js +17 -30
  55. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +356 -362
  56. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  57. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  58. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  59. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  60. package/{dist/types → dist-types}/SnowDeviceManagement.d.ts +2 -2
  61. package/{dist/types → dist-types}/SnowDeviceManagementClient.d.ts +8 -8
  62. package/{dist/types → dist-types}/commands/CancelTaskCommand.d.ts +3 -3
  63. package/{dist/types → dist-types}/commands/CreateTaskCommand.d.ts +3 -3
  64. package/{dist/types → dist-types}/commands/DescribeDeviceCommand.d.ts +3 -3
  65. package/{dist/types → dist-types}/commands/DescribeDeviceEc2InstancesCommand.d.ts +3 -3
  66. package/{dist/types → dist-types}/commands/DescribeExecutionCommand.d.ts +3 -3
  67. package/{dist/types → dist-types}/commands/DescribeTaskCommand.d.ts +3 -3
  68. package/{dist/types → dist-types}/commands/ListDeviceResourcesCommand.d.ts +3 -3
  69. package/{dist/types → dist-types}/commands/ListDevicesCommand.d.ts +3 -3
  70. package/{dist/types → dist-types}/commands/ListExecutionsCommand.d.ts +3 -3
  71. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
  72. package/{dist/types → dist-types}/commands/ListTasksCommand.d.ts +3 -3
  73. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
  74. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
  75. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  76. package/{index.ts → dist-types/index.d.ts} +0 -0
  77. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  78. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  79. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  80. package/{dist/types → dist-types}/pagination/ListDeviceResourcesPaginator.d.ts +1 -1
  81. package/{dist/types → dist-types}/pagination/ListDevicesPaginator.d.ts +1 -1
  82. package/{dist/types → dist-types}/pagination/ListExecutionsPaginator.d.ts +1 -1
  83. package/{dist/types → dist-types}/pagination/ListTasksPaginator.d.ts +1 -1
  84. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  85. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  86. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  87. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  88. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  89. package/{dist/types → dist-types}/ts3.4/SnowDeviceManagement.d.ts +2 -2
  90. package/{dist/types → dist-types}/ts3.4/SnowDeviceManagementClient.d.ts +8 -8
  91. package/{dist/types → dist-types}/ts3.4/commands/CancelTaskCommand.d.ts +3 -3
  92. package/{dist/types → dist-types}/ts3.4/commands/CreateTaskCommand.d.ts +3 -3
  93. package/{dist/types → dist-types}/ts3.4/commands/DescribeDeviceCommand.d.ts +3 -3
  94. package/{dist/types → dist-types}/ts3.4/commands/DescribeDeviceEc2InstancesCommand.d.ts +3 -3
  95. package/{dist/types → dist-types}/ts3.4/commands/DescribeExecutionCommand.d.ts +3 -3
  96. package/{dist/types → dist-types}/ts3.4/commands/DescribeTaskCommand.d.ts +3 -3
  97. package/{dist/types → dist-types}/ts3.4/commands/ListDeviceResourcesCommand.d.ts +3 -3
  98. package/{dist/types → dist-types}/ts3.4/commands/ListDevicesCommand.d.ts +3 -3
  99. package/{dist/types → dist-types}/ts3.4/commands/ListExecutionsCommand.d.ts +3 -3
  100. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
  101. package/{dist/types → dist-types}/ts3.4/commands/ListTasksCommand.d.ts +3 -3
  102. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  103. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  104. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  105. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  106. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  107. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  108. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  109. package/{dist/types → dist-types}/ts3.4/pagination/ListDeviceResourcesPaginator.d.ts +1 -1
  110. package/{dist/types → dist-types}/ts3.4/pagination/ListDevicesPaginator.d.ts +1 -1
  111. package/{dist/types → dist-types}/ts3.4/pagination/ListExecutionsPaginator.d.ts +1 -1
  112. package/{dist/types → dist-types}/ts3.4/pagination/ListTasksPaginator.d.ts +1 -1
  113. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  114. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  115. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  116. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  117. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  118. package/package.json +52 -49
  119. package/SnowDeviceManagement.ts +0 -444
  120. package/SnowDeviceManagementClient.ts +0 -283
  121. package/commands/CancelTaskCommand.ts +0 -103
  122. package/commands/CreateTaskCommand.ts +0 -98
  123. package/commands/DescribeDeviceCommand.ts +0 -99
  124. package/commands/DescribeDeviceEc2InstancesCommand.ts +0 -103
  125. package/commands/DescribeExecutionCommand.ts +0 -98
  126. package/commands/DescribeTaskCommand.ts +0 -98
  127. package/commands/ListDeviceResourcesCommand.ts +0 -98
  128. package/commands/ListDevicesCommand.ts +0 -99
  129. package/commands/ListExecutionsCommand.ts +0 -98
  130. package/commands/ListTagsForResourceCommand.ts +0 -98
  131. package/commands/ListTasksCommand.ts +0 -98
  132. package/commands/TagResourceCommand.ts +0 -98
  133. package/commands/UntagResourceCommand.ts +0 -98
  134. package/dist/cjs/SnowDeviceManagement.js.map +0 -1
  135. package/dist/cjs/SnowDeviceManagementClient.js.map +0 -1
  136. package/dist/cjs/commands/CancelTaskCommand.js.map +0 -1
  137. package/dist/cjs/commands/CreateTaskCommand.js.map +0 -1
  138. package/dist/cjs/commands/DescribeDeviceCommand.js.map +0 -1
  139. package/dist/cjs/commands/DescribeDeviceEc2InstancesCommand.js.map +0 -1
  140. package/dist/cjs/commands/DescribeExecutionCommand.js.map +0 -1
  141. package/dist/cjs/commands/DescribeTaskCommand.js.map +0 -1
  142. package/dist/cjs/commands/ListDeviceResourcesCommand.js.map +0 -1
  143. package/dist/cjs/commands/ListDevicesCommand.js.map +0 -1
  144. package/dist/cjs/commands/ListExecutionsCommand.js.map +0 -1
  145. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  146. package/dist/cjs/commands/ListTasksCommand.js.map +0 -1
  147. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  148. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  149. package/dist/cjs/endpoints.js.map +0 -1
  150. package/dist/cjs/index.js.map +0 -1
  151. package/dist/cjs/models/index.js.map +0 -1
  152. package/dist/cjs/models/models_0.js.map +0 -1
  153. package/dist/cjs/package.json +0 -93
  154. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  155. package/dist/cjs/pagination/ListDeviceResourcesPaginator.js.map +0 -1
  156. package/dist/cjs/pagination/ListDevicesPaginator.js.map +0 -1
  157. package/dist/cjs/pagination/ListExecutionsPaginator.js.map +0 -1
  158. package/dist/cjs/pagination/ListTasksPaginator.js.map +0 -1
  159. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  160. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  161. package/dist/cjs/runtimeConfig.js.map +0 -1
  162. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  163. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  164. package/dist/es/SnowDeviceManagement.js.map +0 -1
  165. package/dist/es/SnowDeviceManagementClient.js.map +0 -1
  166. package/dist/es/commands/CancelTaskCommand.js.map +0 -1
  167. package/dist/es/commands/CreateTaskCommand.js.map +0 -1
  168. package/dist/es/commands/DescribeDeviceCommand.js.map +0 -1
  169. package/dist/es/commands/DescribeDeviceEc2InstancesCommand.js.map +0 -1
  170. package/dist/es/commands/DescribeExecutionCommand.js.map +0 -1
  171. package/dist/es/commands/DescribeTaskCommand.js.map +0 -1
  172. package/dist/es/commands/ListDeviceResourcesCommand.js.map +0 -1
  173. package/dist/es/commands/ListDevicesCommand.js.map +0 -1
  174. package/dist/es/commands/ListExecutionsCommand.js.map +0 -1
  175. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  176. package/dist/es/commands/ListTasksCommand.js.map +0 -1
  177. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  178. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  179. package/dist/es/endpoints.js.map +0 -1
  180. package/dist/es/index.js +0 -22
  181. package/dist/es/index.js.map +0 -1
  182. package/dist/es/models/index.js +0 -2
  183. package/dist/es/models/index.js.map +0 -1
  184. package/dist/es/models/models_0.js.map +0 -1
  185. package/dist/es/package.json +0 -93
  186. package/dist/es/pagination/Interfaces.js +0 -2
  187. package/dist/es/pagination/Interfaces.js.map +0 -1
  188. package/dist/es/pagination/ListDeviceResourcesPaginator.js.map +0 -1
  189. package/dist/es/pagination/ListDevicesPaginator.js.map +0 -1
  190. package/dist/es/pagination/ListExecutionsPaginator.js.map +0 -1
  191. package/dist/es/pagination/ListTasksPaginator.js.map +0 -1
  192. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  193. package/dist/es/runtimeConfig.browser.js.map +0 -1
  194. package/dist/es/runtimeConfig.js.map +0 -1
  195. package/dist/es/runtimeConfig.native.js.map +0 -1
  196. package/dist/es/runtimeConfig.shared.js.map +0 -1
  197. package/endpoints.ts +0 -57
  198. package/jest.config.js +0 -4
  199. package/models/models_0.ts +0 -1402
  200. package/pagination/Interfaces.ts +0 -7
  201. package/pagination/ListDeviceResourcesPaginator.ts +0 -58
  202. package/pagination/ListDevicesPaginator.ts +0 -54
  203. package/pagination/ListExecutionsPaginator.ts +0 -58
  204. package/pagination/ListTasksPaginator.ts +0 -54
  205. package/protocols/Aws_restJson1.ts +0 -2174
  206. package/runtimeConfig.browser.ts +0 -40
  207. package/runtimeConfig.native.ts +0 -16
  208. package/runtimeConfig.shared.ts +0 -16
  209. package/runtimeConfig.ts +0 -45
  210. package/tsconfig.es.json +0 -12
  211. package/tsconfig.json +0 -32
package/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
+
8
+
9
+ ### Features
10
+
11
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
12
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
13
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
14
+
15
+
16
+
17
+
18
+
19
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
20
+
21
+
22
+ ### Features
23
+
24
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
25
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
26
+
27
+
28
+
29
+
30
+
31
+ # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
32
+
33
+
34
+ ### Features
35
+
36
+ * **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
37
+
38
+
39
+
40
+
41
+
42
+ # [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
43
+
44
+ **Note:** Version bump only for package @aws-sdk/client-snow-device-management
45
+
46
+
47
+
48
+
49
+
6
50
  # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
51
 
8
52
  **Note:** Version bump only for package @aws-sdk/client-snow-device-management
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SnowDeviceManagement = void 0;
4
- const SnowDeviceManagementClient_1 = require("./SnowDeviceManagementClient");
5
4
  const CancelTaskCommand_1 = require("./commands/CancelTaskCommand");
6
5
  const CreateTaskCommand_1 = require("./commands/CreateTaskCommand");
7
6
  const DescribeDeviceCommand_1 = require("./commands/DescribeDeviceCommand");
@@ -15,6 +14,7 @@ const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceComm
15
14
  const ListTasksCommand_1 = require("./commands/ListTasksCommand");
16
15
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
17
16
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
17
+ const SnowDeviceManagementClient_1 = require("./SnowDeviceManagementClient");
18
18
  /**
19
19
  * <p>Amazon Web Services Snow Device Management documentation.</p>
20
20
  */
@@ -203,4 +203,3 @@ class SnowDeviceManagement extends SnowDeviceManagementClient_1.SnowDeviceManage
203
203
  }
204
204
  }
205
205
  exports.SnowDeviceManagement = SnowDeviceManagement;
206
- //# sourceMappingURL=SnowDeviceManagement.js.map
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SnowDeviceManagementClient = void 0;
4
- const runtimeConfig_1 = require("./runtimeConfig");
5
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
6
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
7
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
@@ -10,18 +9,19 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
9
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
11
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
12
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
13
  /**
14
14
  * <p>Amazon Web Services Snow Device Management documentation.</p>
15
15
  */
16
16
  class SnowDeviceManagementClient extends smithy_client_1.Client {
17
17
  constructor(configuration) {
18
- let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
19
- let _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
20
- let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
21
- let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
22
- let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
23
- let _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
24
- let _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
18
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
19
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
20
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
21
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
22
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
23
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
24
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
25
25
  super(_config_6);
26
26
  this.config = _config_6;
27
27
  this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
@@ -41,4 +41,3 @@ class SnowDeviceManagementClient extends smithy_client_1.Client {
41
41
  }
42
42
  }
43
43
  exports.SnowDeviceManagementClient = SnowDeviceManagementClient;
44
- //# sourceMappingURL=SnowDeviceManagementClient.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CancelTaskCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Sends a cancel request for a specified task. You can cancel a task only if it's still in a
10
10
  * <code>QUEUED</code> state. Tasks that are already running can't be cancelled.</p>
@@ -63,4 +63,3 @@ class CancelTaskCommand extends smithy_client_1.Command {
63
63
  }
64
64
  }
65
65
  exports.CancelTaskCommand = CancelTaskCommand;
66
- //# sourceMappingURL=CancelTaskCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateTaskCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Instructs one or more devices to start a task, such as unlocking or rebooting.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class CreateTaskCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.CreateTaskCommand = CreateTaskCommand;
61
- //# sourceMappingURL=CreateTaskCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeDeviceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Checks device-specific information, such as the device type, software version, IP
10
10
  * addresses, and lock status.</p>
@@ -59,4 +59,3 @@ class DescribeDeviceCommand extends smithy_client_1.Command {
59
59
  }
60
60
  }
61
61
  exports.DescribeDeviceCommand = DescribeDeviceCommand;
62
- //# sourceMappingURL=DescribeDeviceCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeDeviceEc2InstancesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Checks the current state of the Amazon EC2 instances. The output is similar to
10
10
  * <code>describeDevice</code>, but the results are sourced from the device cache in the
@@ -60,4 +60,3 @@ class DescribeDeviceEc2InstancesCommand extends smithy_client_1.Command {
60
60
  }
61
61
  }
62
62
  exports.DescribeDeviceEc2InstancesCommand = DescribeDeviceEc2InstancesCommand;
63
- //# sourceMappingURL=DescribeDeviceEc2InstancesCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeExecutionCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Checks the status of a remote task running on one or more target devices.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class DescribeExecutionCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.DescribeExecutionCommand = DescribeExecutionCommand;
61
- //# sourceMappingURL=DescribeExecutionCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeTaskCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Checks the metadata for a given task on a device. </p>
10
10
  * @example
@@ -58,4 +58,3 @@ class DescribeTaskCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.DescribeTaskCommand = DescribeTaskCommand;
61
- //# sourceMappingURL=DescribeTaskCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListDeviceResourcesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Returns a list of the Amazon Web Services resources available for a device. Currently, Amazon EC2 instances are the only supported resource type.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class ListDeviceResourcesCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.ListDeviceResourcesCommand = ListDeviceResourcesCommand;
61
- //# sourceMappingURL=ListDeviceResourcesCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListDevicesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Returns a list of all devices on your Amazon Web Services account that have Amazon Web Services Snow Device Management
10
10
  * enabled in the Amazon Web Services Region where the command is run.</p>
@@ -59,4 +59,3 @@ class ListDevicesCommand extends smithy_client_1.Command {
59
59
  }
60
60
  }
61
61
  exports.ListDevicesCommand = ListDevicesCommand;
62
- //# sourceMappingURL=ListDevicesCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListExecutionsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Returns the status of tasks for one or more target devices.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class ListExecutionsCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.ListExecutionsCommand = ListExecutionsCommand;
61
- //# sourceMappingURL=ListExecutionsCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListTagsForResourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Returns a list of tags for a managed device or task.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
61
- //# sourceMappingURL=ListTagsForResourceCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListTasksCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Returns a list of tasks that can be filtered by state.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class ListTasksCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.ListTasksCommand = ListTasksCommand;
61
- //# sourceMappingURL=ListTasksCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TagResourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Adds or replaces tags on a device or task.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class TagResourceCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.TagResourceCommand = TagResourceCommand;
61
- //# sourceMappingURL=TagResourceCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UntagResourceCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Removes a tag from a device or task.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.UntagResourceCommand = UntagResourceCommand;
61
- //# sourceMappingURL=UntagResourceCommand.js.map
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
54
54
  partitionHash,
55
55
  });
56
56
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
57
- //# sourceMappingURL=endpoints.js.map
@@ -22,4 +22,3 @@ tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
22
22
  tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
23
23
  tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
24
24
  tslib_1.__exportStar(require("./models/index"), exports);
25
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -489,4 +489,3 @@ var UntagResourceInput;
489
489
  ...obj,
490
490
  });
491
491
  })(UntagResourceInput = exports.UntagResourceInput || (exports.UntagResourceInput = {}));
492
- //# sourceMappingURL=models_0.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Interfaces.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDeviceResources = void 0;
4
+ const ListDeviceResourcesCommand_1 = require("../commands/ListDeviceResourcesCommand");
4
5
  const SnowDeviceManagement_1 = require("../SnowDeviceManagement");
5
6
  const SnowDeviceManagementClient_1 = require("../SnowDeviceManagementClient");
6
- const ListDeviceResourcesCommand_1 = require("../commands/ListDeviceResourcesCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateListDeviceResources(config, input, ...additionalArgument
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateListDeviceResources = paginateListDeviceResources;
46
- //# sourceMappingURL=ListDeviceResourcesPaginator.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListDevices = void 0;
4
+ const ListDevicesCommand_1 = require("../commands/ListDevicesCommand");
4
5
  const SnowDeviceManagement_1 = require("../SnowDeviceManagement");
5
6
  const SnowDeviceManagementClient_1 = require("../SnowDeviceManagementClient");
6
- const ListDevicesCommand_1 = require("../commands/ListDevicesCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateListDevices(config, input, ...additionalArguments) {
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateListDevices = paginateListDevices;
46
- //# sourceMappingURL=ListDevicesPaginator.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListExecutions = void 0;
4
+ const ListExecutionsCommand_1 = require("../commands/ListExecutionsCommand");
4
5
  const SnowDeviceManagement_1 = require("../SnowDeviceManagement");
5
6
  const SnowDeviceManagementClient_1 = require("../SnowDeviceManagementClient");
6
- const ListExecutionsCommand_1 = require("../commands/ListExecutionsCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateListExecutions(config, input, ...additionalArguments) {
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateListExecutions = paginateListExecutions;
46
- //# sourceMappingURL=ListExecutionsPaginator.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListTasks = void 0;
4
+ const ListTasksCommand_1 = require("../commands/ListTasksCommand");
4
5
  const SnowDeviceManagement_1 = require("../SnowDeviceManagement");
5
6
  const SnowDeviceManagementClient_1 = require("../SnowDeviceManagementClient");
6
- const ListTasksCommand_1 = require("../commands/ListTasksCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateListTasks(config, input, ...additionalArguments) {
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateListTasks = paginateListTasks;
46
- //# sourceMappingURL=ListTasksPaginator.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1ListTasksCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListExecutionsCommand = exports.deserializeAws_restJson1ListDevicesCommand = exports.deserializeAws_restJson1ListDeviceResourcesCommand = exports.deserializeAws_restJson1DescribeTaskCommand = exports.deserializeAws_restJson1DescribeExecutionCommand = exports.deserializeAws_restJson1DescribeDeviceEc2InstancesCommand = exports.deserializeAws_restJson1DescribeDeviceCommand = exports.deserializeAws_restJson1CreateTaskCommand = exports.deserializeAws_restJson1CancelTaskCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1ListTasksCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListExecutionsCommand = exports.serializeAws_restJson1ListDevicesCommand = exports.serializeAws_restJson1ListDeviceResourcesCommand = exports.serializeAws_restJson1DescribeTaskCommand = exports.serializeAws_restJson1DescribeExecutionCommand = exports.serializeAws_restJson1DescribeDeviceEc2InstancesCommand = exports.serializeAws_restJson1DescribeDeviceCommand = exports.serializeAws_restJson1CreateTaskCommand = exports.serializeAws_restJson1CancelTaskCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
6
  const uuid_1 = require("uuid");
7
+ const models_0_1 = require("../models/models_0");
8
8
  const serializeAws_restJson1CancelTaskCommand = async (input, context) => {
9
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
10
10
  const headers = {};
@@ -37,7 +37,7 @@ const serializeAws_restJson1CreateTaskCommand = async (input, context) => {
37
37
  const headers = {
38
38
  "content-type": "application/json",
39
39
  };
40
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/task";
40
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/task";
41
41
  let body;
42
42
  body = JSON.stringify({
43
43
  clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
@@ -218,7 +218,7 @@ exports.serializeAws_restJson1ListDeviceResourcesCommand = serializeAws_restJson
218
218
  const serializeAws_restJson1ListDevicesCommand = async (input, context) => {
219
219
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
220
220
  const headers = {};
221
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/managed-devices";
221
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/managed-devices";
222
222
  const query = {
223
223
  ...(input.jobId !== undefined && { jobId: input.jobId }),
224
224
  ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
@@ -240,7 +240,7 @@ exports.serializeAws_restJson1ListDevicesCommand = serializeAws_restJson1ListDev
240
240
  const serializeAws_restJson1ListExecutionsCommand = async (input, context) => {
241
241
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
242
242
  const headers = {};
243
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/executions";
243
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/executions";
244
244
  const query = {
245
245
  ...(input.taskId !== undefined && { taskId: input.taskId }),
246
246
  ...(input.state !== undefined && { state: input.state }),
@@ -289,7 +289,7 @@ exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson
289
289
  const serializeAws_restJson1ListTasksCommand = async (input, context) => {
290
290
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
291
291
  const headers = {};
292
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/tasks";
292
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/tasks";
293
293
  const query = {
294
294
  ...(input.state !== undefined && { state: input.state }),
295
295
  ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
@@ -1887,4 +1887,3 @@ const loadRestJsonErrorCode = (output, data) => {
1887
1887
  }
1888
1888
  return "";
1889
1889
  };
1890
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
38
39
  };
39
40
  };
40
41
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const client_sts_1 = require("@aws-sdk/client-sts");
7
8
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
9
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
43
44
  };
44
45
  };
45
46
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -17,4 +17,3 @@ const getRuntimeConfig = (config) => {
17
17
  };
18
18
  };
19
19
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const endpoints_1 = require("./endpoints");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
18
18
  });
19
19
  };
20
20
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { SnowDeviceManagementClient } from "./SnowDeviceManagementClient";
3
2
  import { CancelTaskCommand } from "./commands/CancelTaskCommand";
4
3
  import { CreateTaskCommand } from "./commands/CreateTaskCommand";
5
4
  import { DescribeDeviceCommand, } from "./commands/DescribeDeviceCommand";
@@ -13,10 +12,8 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
13
12
  import { ListTasksCommand } from "./commands/ListTasksCommand";
14
13
  import { TagResourceCommand } from "./commands/TagResourceCommand";
15
14
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
16
- /**
17
- * <p>Amazon Web Services Snow Device Management documentation.</p>
18
- */
19
- var SnowDeviceManagement = /** @class */ (function (_super) {
15
+ import { SnowDeviceManagementClient } from "./SnowDeviceManagementClient";
16
+ var SnowDeviceManagement = (function (_super) {
20
17
  __extends(SnowDeviceManagement, _super);
21
18
  function SnowDeviceManagement() {
22
19
  return _super !== null && _super.apply(this, arguments) || this;
@@ -206,4 +203,3 @@ var SnowDeviceManagement = /** @class */ (function (_super) {
206
203
  return SnowDeviceManagement;
207
204
  }(SnowDeviceManagementClient));
208
205
  export { SnowDeviceManagement };
209
- //# sourceMappingURL=SnowDeviceManagement.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,10 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <p>Amazon Web Services Snow Device Management documentation.</p>
13
- */
14
- var SnowDeviceManagementClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var SnowDeviceManagementClient = (function (_super) {
15
12
  __extends(SnowDeviceManagementClient, _super);
16
13
  function SnowDeviceManagementClient(configuration) {
17
14
  var _this = this;
@@ -32,15 +29,9 @@ var SnowDeviceManagementClient = /** @class */ (function (_super) {
32
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
33
30
  return _this;
34
31
  }
35
- /**
36
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
37
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
38
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
39
- */
40
32
  SnowDeviceManagementClient.prototype.destroy = function () {
41
33
  _super.prototype.destroy.call(this);
42
34
  };
43
35
  return SnowDeviceManagementClient;
44
36
  }(__Client));
45
37
  export { SnowDeviceManagementClient };
46
- //# sourceMappingURL=SnowDeviceManagementClient.js.map