@aws-sdk/client-migration-hub 3.33.0 → 3.36.1

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 (268) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/MigrationHub.js +1 -10
  3. package/{dist/cjs → dist-cjs}/MigrationHubClient.js +8 -22
  4. package/dist-cjs/commands/AssociateCreatedArtifactCommand.js +36 -0
  5. package/{dist/cjs → dist-cjs}/commands/AssociateDiscoveredResourceCommand.js +2 -28
  6. package/{dist/cjs → dist-cjs}/commands/CreateProgressUpdateStreamCommand.js +2 -31
  7. package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +36 -0
  8. package/{dist/cjs → dist-cjs}/commands/DescribeApplicationStateCommand.js +2 -27
  9. package/{dist/cjs → dist-cjs}/commands/DescribeMigrationTaskCommand.js +2 -27
  10. package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +36 -0
  11. package/{dist/cjs → dist-cjs}/commands/DisassociateDiscoveredResourceCommand.js +2 -28
  12. package/{dist/cjs → dist-cjs}/commands/ImportMigrationTaskCommand.js +2 -30
  13. package/{dist/cjs → dist-cjs}/commands/ListApplicationStatesCommand.js +2 -29
  14. package/{dist/cjs → dist-cjs}/commands/ListCreatedArtifactsCommand.js +2 -41
  15. package/{dist/cjs → dist-cjs}/commands/ListDiscoveredResourcesCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/ListMigrationTasksCommand.js +2 -40
  17. package/{dist/cjs → dist-cjs}/commands/ListProgressUpdateStreamsCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/NotifyApplicationStateCommand.js +2 -30
  19. package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +36 -0
  20. package/dist-cjs/commands/PutResourceAttributesCommand.js +36 -0
  21. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  22. package/{dist/cjs → dist-cjs}/index.js +0 -1
  23. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  24. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -157
  25. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  26. package/{dist/cjs → dist-cjs}/pagination/ListApplicationStatesPaginator.js +1 -12
  27. package/{dist/cjs → dist-cjs}/pagination/ListCreatedArtifactsPaginator.js +1 -12
  28. package/{dist/cjs → dist-cjs}/pagination/ListDiscoveredResourcesPaginator.js +1 -12
  29. package/{dist/cjs → dist-cjs}/pagination/ListMigrationTasksPaginator.js +1 -12
  30. package/{dist/cjs → dist-cjs}/pagination/ListProgressUpdateStreamsPaginator.js +1 -12
  31. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  32. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  33. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  34. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  35. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  36. package/{dist/es → dist-es}/MigrationHub.js +2 -11
  37. package/{dist/es → dist-es}/MigrationHubClient.js +2 -16
  38. package/dist-es/commands/AssociateCreatedArtifactCommand.js +39 -0
  39. package/{dist/es → dist-es}/commands/AssociateDiscoveredResourceCommand.js +4 -31
  40. package/{dist/es → dist-es}/commands/CreateProgressUpdateStreamCommand.js +4 -34
  41. package/dist-es/commands/DeleteProgressUpdateStreamCommand.js +39 -0
  42. package/{dist/es → dist-es}/commands/DescribeApplicationStateCommand.js +4 -30
  43. package/{dist/es → dist-es}/commands/DescribeMigrationTaskCommand.js +4 -30
  44. package/dist-es/commands/DisassociateCreatedArtifactCommand.js +39 -0
  45. package/{dist/es → dist-es}/commands/DisassociateDiscoveredResourceCommand.js +4 -31
  46. package/{dist/es → dist-es}/commands/ImportMigrationTaskCommand.js +4 -33
  47. package/{dist/es → dist-es}/commands/ListApplicationStatesCommand.js +4 -32
  48. package/{dist/es → dist-es}/commands/ListCreatedArtifactsCommand.js +4 -44
  49. package/{dist/es → dist-es}/commands/ListDiscoveredResourcesCommand.js +4 -30
  50. package/{dist/es → dist-es}/commands/ListMigrationTasksCommand.js +4 -43
  51. package/{dist/es → dist-es}/commands/ListProgressUpdateStreamsCommand.js +4 -30
  52. package/{dist/es → dist-es}/commands/NotifyApplicationStateCommand.js +4 -33
  53. package/{dist/es → dist-es}/commands/NotifyMigrationTaskStateCommand.js +4 -47
  54. package/dist-es/commands/PutResourceAttributesCommand.js +39 -0
  55. package/{dist/es → dist-es}/endpoints.js +1 -2
  56. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  57. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  58. package/{dist/es → dist-es}/models/models_0.js +0 -157
  59. package/dist-es/pagination/Interfaces.js +1 -0
  60. package/{dist/es → dist-es}/pagination/ListApplicationStatesPaginator.js +17 -30
  61. package/{dist/es → dist-es}/pagination/ListCreatedArtifactsPaginator.js +17 -30
  62. package/{dist/es → dist-es}/pagination/ListDiscoveredResourcesPaginator.js +17 -30
  63. package/{dist/es → dist-es}/pagination/ListMigrationTasksPaginator.js +17 -30
  64. package/{dist/es → dist-es}/pagination/ListProgressUpdateStreamsPaginator.js +17 -30
  65. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +691 -697
  66. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  67. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  68. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  69. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  70. package/{dist/types → dist-types}/MigrationHub.d.ts +2 -2
  71. package/{dist/types → dist-types}/MigrationHubClient.d.ts +8 -8
  72. package/{dist/types → dist-types}/commands/AssociateCreatedArtifactCommand.d.ts +2 -2
  73. package/{dist/types → dist-types}/commands/AssociateDiscoveredResourceCommand.d.ts +2 -2
  74. package/{dist/types → dist-types}/commands/CreateProgressUpdateStreamCommand.d.ts +2 -2
  75. package/{dist/types → dist-types}/commands/DeleteProgressUpdateStreamCommand.d.ts +2 -2
  76. package/{dist/types → dist-types}/commands/DescribeApplicationStateCommand.d.ts +2 -2
  77. package/{dist/types → dist-types}/commands/DescribeMigrationTaskCommand.d.ts +2 -2
  78. package/{dist/types → dist-types}/commands/DisassociateCreatedArtifactCommand.d.ts +2 -2
  79. package/{dist/types → dist-types}/commands/DisassociateDiscoveredResourceCommand.d.ts +2 -2
  80. package/{dist/types → dist-types}/commands/ImportMigrationTaskCommand.d.ts +2 -2
  81. package/{dist/types → dist-types}/commands/ListApplicationStatesCommand.d.ts +2 -2
  82. package/{dist/types → dist-types}/commands/ListCreatedArtifactsCommand.d.ts +2 -2
  83. package/{dist/types → dist-types}/commands/ListDiscoveredResourcesCommand.d.ts +2 -2
  84. package/{dist/types → dist-types}/commands/ListMigrationTasksCommand.d.ts +2 -2
  85. package/{dist/types → dist-types}/commands/ListProgressUpdateStreamsCommand.d.ts +2 -2
  86. package/{dist/types → dist-types}/commands/NotifyApplicationStateCommand.d.ts +2 -2
  87. package/{dist/types → dist-types}/commands/NotifyMigrationTaskStateCommand.d.ts +2 -2
  88. package/{dist/types → dist-types}/commands/PutResourceAttributesCommand.d.ts +2 -2
  89. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  90. package/{index.ts → dist-types/index.d.ts} +0 -0
  91. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  92. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  93. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  94. package/{dist/types → dist-types}/pagination/ListApplicationStatesPaginator.d.ts +1 -1
  95. package/{dist/types → dist-types}/pagination/ListCreatedArtifactsPaginator.d.ts +1 -1
  96. package/{dist/types → dist-types}/pagination/ListDiscoveredResourcesPaginator.d.ts +1 -1
  97. package/{dist/types → dist-types}/pagination/ListMigrationTasksPaginator.d.ts +1 -1
  98. package/{dist/types → dist-types}/pagination/ListProgressUpdateStreamsPaginator.d.ts +1 -1
  99. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  100. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  101. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  102. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  103. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  104. package/dist-types/ts3.4/MigrationHub.d.ts +90 -0
  105. package/{dist/types → dist-types}/ts3.4/MigrationHubClient.d.ts +32 -102
  106. package/dist-types/ts3.4/commands/AssociateCreatedArtifactCommand.d.ts +17 -0
  107. package/{dist/types → dist-types}/ts3.4/commands/AssociateDiscoveredResourceCommand.d.ts +4 -23
  108. package/dist-types/ts3.4/commands/CreateProgressUpdateStreamCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/DeleteProgressUpdateStreamCommand.d.ts +17 -0
  110. package/{dist/types → dist-types}/ts3.4/commands/DescribeApplicationStateCommand.d.ts +4 -22
  111. package/{dist/types → dist-types}/ts3.4/commands/DescribeMigrationTaskCommand.d.ts +4 -22
  112. package/dist-types/ts3.4/commands/DisassociateCreatedArtifactCommand.d.ts +17 -0
  113. package/{dist/types → dist-types}/ts3.4/commands/DisassociateDiscoveredResourceCommand.d.ts +4 -23
  114. package/dist-types/ts3.4/commands/ImportMigrationTaskCommand.d.ts +17 -0
  115. package/dist-types/ts3.4/commands/ListApplicationStatesCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/ListCreatedArtifactsCommand.d.ts +17 -0
  117. package/{dist/types → dist-types}/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +4 -22
  118. package/dist-types/ts3.4/commands/ListMigrationTasksCommand.d.ts +17 -0
  119. package/{dist/types → dist-types}/ts3.4/commands/ListProgressUpdateStreamsCommand.d.ts +4 -22
  120. package/dist-types/ts3.4/commands/NotifyApplicationStateCommand.d.ts +17 -0
  121. package/dist-types/ts3.4/commands/NotifyMigrationTaskStateCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/PutResourceAttributesCommand.d.ts +17 -0
  123. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  124. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  125. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  126. package/dist-types/ts3.4/models/models_0.d.ts +573 -0
  127. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  128. package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationStatesPaginator.d.ts +1 -1
  129. package/{dist/types → dist-types}/ts3.4/pagination/ListCreatedArtifactsPaginator.d.ts +1 -1
  130. package/{dist/types → dist-types}/ts3.4/pagination/ListDiscoveredResourcesPaginator.d.ts +1 -1
  131. package/{dist/types → dist-types}/ts3.4/pagination/ListMigrationTasksPaginator.d.ts +1 -1
  132. package/{dist/types → dist-types}/ts3.4/pagination/ListProgressUpdateStreamsPaginator.d.ts +1 -1
  133. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  134. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  135. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  136. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  137. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  138. package/package.json +52 -49
  139. package/MigrationHub.ts +0 -787
  140. package/MigrationHubClient.ts +0 -339
  141. package/commands/AssociateCreatedArtifactCommand.ts +0 -111
  142. package/commands/AssociateDiscoveredResourceCommand.ts +0 -98
  143. package/commands/CreateProgressUpdateStreamCommand.ts +0 -101
  144. package/commands/DeleteProgressUpdateStreamCommand.ts +0 -127
  145. package/commands/DescribeApplicationStateCommand.ts +0 -94
  146. package/commands/DescribeMigrationTaskCommand.ts +0 -94
  147. package/commands/DisassociateCreatedArtifactCommand.ts +0 -113
  148. package/commands/DisassociateDiscoveredResourceCommand.ts +0 -103
  149. package/commands/ImportMigrationTaskCommand.ts +0 -97
  150. package/commands/ListApplicationStatesCommand.ts +0 -96
  151. package/commands/ListCreatedArtifactsCommand.ts +0 -108
  152. package/commands/ListDiscoveredResourcesCommand.ts +0 -94
  153. package/commands/ListMigrationTasksCommand.ts +0 -107
  154. package/commands/ListProgressUpdateStreamsCommand.ts +0 -97
  155. package/commands/NotifyApplicationStateCommand.ts +0 -97
  156. package/commands/NotifyMigrationTaskStateCommand.ts +0 -111
  157. package/commands/PutResourceAttributesCommand.ts +0 -119
  158. package/dist/cjs/MigrationHub.js.map +0 -1
  159. package/dist/cjs/MigrationHubClient.js.map +0 -1
  160. package/dist/cjs/commands/AssociateCreatedArtifactCommand.js +0 -78
  161. package/dist/cjs/commands/AssociateCreatedArtifactCommand.js.map +0 -1
  162. package/dist/cjs/commands/AssociateDiscoveredResourceCommand.js.map +0 -1
  163. package/dist/cjs/commands/CreateProgressUpdateStreamCommand.js.map +0 -1
  164. package/dist/cjs/commands/DeleteProgressUpdateStreamCommand.js +0 -91
  165. package/dist/cjs/commands/DeleteProgressUpdateStreamCommand.js.map +0 -1
  166. package/dist/cjs/commands/DescribeApplicationStateCommand.js.map +0 -1
  167. package/dist/cjs/commands/DescribeMigrationTaskCommand.js.map +0 -1
  168. package/dist/cjs/commands/DisassociateCreatedArtifactCommand.js +0 -77
  169. package/dist/cjs/commands/DisassociateCreatedArtifactCommand.js.map +0 -1
  170. package/dist/cjs/commands/DisassociateDiscoveredResourceCommand.js.map +0 -1
  171. package/dist/cjs/commands/ImportMigrationTaskCommand.js.map +0 -1
  172. package/dist/cjs/commands/ListApplicationStatesCommand.js.map +0 -1
  173. package/dist/cjs/commands/ListCreatedArtifactsCommand.js.map +0 -1
  174. package/dist/cjs/commands/ListDiscoveredResourcesCommand.js.map +0 -1
  175. package/dist/cjs/commands/ListMigrationTasksCommand.js.map +0 -1
  176. package/dist/cjs/commands/ListProgressUpdateStreamsCommand.js.map +0 -1
  177. package/dist/cjs/commands/NotifyApplicationStateCommand.js.map +0 -1
  178. package/dist/cjs/commands/NotifyMigrationTaskStateCommand.js +0 -78
  179. package/dist/cjs/commands/NotifyMigrationTaskStateCommand.js.map +0 -1
  180. package/dist/cjs/commands/PutResourceAttributesCommand.js +0 -86
  181. package/dist/cjs/commands/PutResourceAttributesCommand.js.map +0 -1
  182. package/dist/cjs/endpoints.js.map +0 -1
  183. package/dist/cjs/index.js.map +0 -1
  184. package/dist/cjs/models/index.js.map +0 -1
  185. package/dist/cjs/models/models_0.js.map +0 -1
  186. package/dist/cjs/package.json +0 -91
  187. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  188. package/dist/cjs/pagination/ListApplicationStatesPaginator.js.map +0 -1
  189. package/dist/cjs/pagination/ListCreatedArtifactsPaginator.js.map +0 -1
  190. package/dist/cjs/pagination/ListDiscoveredResourcesPaginator.js.map +0 -1
  191. package/dist/cjs/pagination/ListMigrationTasksPaginator.js.map +0 -1
  192. package/dist/cjs/pagination/ListProgressUpdateStreamsPaginator.js.map +0 -1
  193. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  194. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  195. package/dist/cjs/runtimeConfig.js.map +0 -1
  196. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  197. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  198. package/dist/es/MigrationHub.js.map +0 -1
  199. package/dist/es/MigrationHubClient.js.map +0 -1
  200. package/dist/es/commands/AssociateCreatedArtifactCommand.js +0 -82
  201. package/dist/es/commands/AssociateCreatedArtifactCommand.js.map +0 -1
  202. package/dist/es/commands/AssociateDiscoveredResourceCommand.js.map +0 -1
  203. package/dist/es/commands/CreateProgressUpdateStreamCommand.js.map +0 -1
  204. package/dist/es/commands/DeleteProgressUpdateStreamCommand.js +0 -95
  205. package/dist/es/commands/DeleteProgressUpdateStreamCommand.js.map +0 -1
  206. package/dist/es/commands/DescribeApplicationStateCommand.js.map +0 -1
  207. package/dist/es/commands/DescribeMigrationTaskCommand.js.map +0 -1
  208. package/dist/es/commands/DisassociateCreatedArtifactCommand.js +0 -81
  209. package/dist/es/commands/DisassociateCreatedArtifactCommand.js.map +0 -1
  210. package/dist/es/commands/DisassociateDiscoveredResourceCommand.js.map +0 -1
  211. package/dist/es/commands/ImportMigrationTaskCommand.js.map +0 -1
  212. package/dist/es/commands/ListApplicationStatesCommand.js.map +0 -1
  213. package/dist/es/commands/ListCreatedArtifactsCommand.js.map +0 -1
  214. package/dist/es/commands/ListDiscoveredResourcesCommand.js.map +0 -1
  215. package/dist/es/commands/ListMigrationTasksCommand.js.map +0 -1
  216. package/dist/es/commands/ListProgressUpdateStreamsCommand.js.map +0 -1
  217. package/dist/es/commands/NotifyApplicationStateCommand.js.map +0 -1
  218. package/dist/es/commands/NotifyMigrationTaskStateCommand.js.map +0 -1
  219. package/dist/es/commands/PutResourceAttributesCommand.js +0 -90
  220. package/dist/es/commands/PutResourceAttributesCommand.js.map +0 -1
  221. package/dist/es/endpoints.js.map +0 -1
  222. package/dist/es/index.js +0 -27
  223. package/dist/es/index.js.map +0 -1
  224. package/dist/es/models/index.js +0 -2
  225. package/dist/es/models/index.js.map +0 -1
  226. package/dist/es/models/models_0.js.map +0 -1
  227. package/dist/es/package.json +0 -91
  228. package/dist/es/pagination/Interfaces.js +0 -2
  229. package/dist/es/pagination/Interfaces.js.map +0 -1
  230. package/dist/es/pagination/ListApplicationStatesPaginator.js.map +0 -1
  231. package/dist/es/pagination/ListCreatedArtifactsPaginator.js.map +0 -1
  232. package/dist/es/pagination/ListDiscoveredResourcesPaginator.js.map +0 -1
  233. package/dist/es/pagination/ListMigrationTasksPaginator.js.map +0 -1
  234. package/dist/es/pagination/ListProgressUpdateStreamsPaginator.js.map +0 -1
  235. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  236. package/dist/es/runtimeConfig.browser.js.map +0 -1
  237. package/dist/es/runtimeConfig.js.map +0 -1
  238. package/dist/es/runtimeConfig.native.js.map +0 -1
  239. package/dist/es/runtimeConfig.shared.js.map +0 -1
  240. package/dist/types/ts3.4/MigrationHub.d.ts +0 -277
  241. package/dist/types/ts3.4/commands/AssociateCreatedArtifactCommand.d.ts +0 -52
  242. package/dist/types/ts3.4/commands/CreateProgressUpdateStreamCommand.d.ts +0 -39
  243. package/dist/types/ts3.4/commands/DeleteProgressUpdateStreamCommand.d.ts +0 -65
  244. package/dist/types/ts3.4/commands/DisassociateCreatedArtifactCommand.d.ts +0 -51
  245. package/dist/types/ts3.4/commands/ImportMigrationTaskCommand.d.ts +0 -38
  246. package/dist/types/ts3.4/commands/ListApplicationStatesCommand.d.ts +0 -37
  247. package/dist/types/ts3.4/commands/ListCreatedArtifactsCommand.d.ts +0 -49
  248. package/dist/types/ts3.4/commands/ListMigrationTasksCommand.d.ts +0 -48
  249. package/dist/types/ts3.4/commands/NotifyApplicationStateCommand.d.ts +0 -38
  250. package/dist/types/ts3.4/commands/NotifyMigrationTaskStateCommand.d.ts +0 -52
  251. package/dist/types/ts3.4/commands/PutResourceAttributesCommand.d.ts +0 -60
  252. package/dist/types/ts3.4/models/models_0.d.ts +0 -1056
  253. package/endpoints.ts +0 -57
  254. package/jest.config.js +0 -4
  255. package/models/models_0.ts +0 -1319
  256. package/pagination/Interfaces.ts +0 -7
  257. package/pagination/ListApplicationStatesPaginator.ts +0 -58
  258. package/pagination/ListCreatedArtifactsPaginator.ts +0 -58
  259. package/pagination/ListDiscoveredResourcesPaginator.ts +0 -58
  260. package/pagination/ListMigrationTasksPaginator.ts +0 -58
  261. package/pagination/ListProgressUpdateStreamsPaginator.ts +0 -58
  262. package/protocols/Aws_json1_1.ts +0 -3162
  263. package/runtimeConfig.browser.ts +0 -40
  264. package/runtimeConfig.native.ts +0 -16
  265. package/runtimeConfig.shared.ts +0 -16
  266. package/runtimeConfig.ts +0 -45
  267. package/tsconfig.es.json +0 -12
  268. package/tsconfig.json +0 -32
@@ -2,7 +2,7 @@
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
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
12
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
- /**
16
- * @internal
17
- */
18
15
  const getRuntimeConfig = (config) => {
19
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
38
35
  };
39
36
  };
40
37
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,7 @@
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
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
- /**
20
- * @internal
21
- */
22
19
  const getRuntimeConfig = (config) => {
23
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
24
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
43
40
  };
44
41
  };
45
42
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
17
14
  };
18
15
  };
19
16
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,11 +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");
6
- /**
7
- * @internal
8
- */
5
+ const endpoints_1 = require("./endpoints");
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
18
15
  });
19
16
  };
20
17
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { MigrationHubClient } from "./MigrationHubClient";
3
2
  import { AssociateCreatedArtifactCommand, } from "./commands/AssociateCreatedArtifactCommand";
4
3
  import { AssociateDiscoveredResourceCommand, } from "./commands/AssociateDiscoveredResourceCommand";
5
4
  import { CreateProgressUpdateStreamCommand, } from "./commands/CreateProgressUpdateStreamCommand";
@@ -17,15 +16,8 @@ import { ListProgressUpdateStreamsCommand, } from "./commands/ListProgressUpdate
17
16
  import { NotifyApplicationStateCommand, } from "./commands/NotifyApplicationStateCommand";
18
17
  import { NotifyMigrationTaskStateCommand, } from "./commands/NotifyMigrationTaskStateCommand";
19
18
  import { PutResourceAttributesCommand, } from "./commands/PutResourceAttributesCommand";
20
- /**
21
- * <p>The AWS Migration Hub API methods help to obtain server and application migration status
22
- * and integrate your resource-specific migration tool by providing a programmatic interface
23
- * to Migration Hub.</p>
24
- * <p>Remember that you must set your AWS Migration Hub home region before you call any of
25
- * these APIs, or a <code>HomeRegionNotSetException</code> error will be returned. Also, you
26
- * must make the API calls while in your home region.</p>
27
- */
28
- var MigrationHub = /** @class */ (function (_super) {
19
+ import { MigrationHubClient } from "./MigrationHubClient";
20
+ var MigrationHub = (function (_super) {
29
21
  __extends(MigrationHub, _super);
30
22
  function MigrationHub() {
31
23
  return _super !== null && _super.apply(this, arguments) || this;
@@ -271,4 +263,3 @@ var MigrationHub = /** @class */ (function (_super) {
271
263
  return MigrationHub;
272
264
  }(MigrationHubClient));
273
265
  export { MigrationHub };
274
- //# sourceMappingURL=MigrationHub.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,15 +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>The AWS Migration Hub API methods help to obtain server and application migration status
13
- * and integrate your resource-specific migration tool by providing a programmatic interface
14
- * to Migration Hub.</p>
15
- * <p>Remember that you must set your AWS Migration Hub home region before you call any of
16
- * these APIs, or a <code>HomeRegionNotSetException</code> error will be returned. Also, you
17
- * must make the API calls while in your home region.</p>
18
- */
19
- var MigrationHubClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var MigrationHubClient = (function (_super) {
20
12
  __extends(MigrationHubClient, _super);
21
13
  function MigrationHubClient(configuration) {
22
14
  var _this = this;
@@ -37,15 +29,9 @@ var MigrationHubClient = /** @class */ (function (_super) {
37
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
38
30
  return _this;
39
31
  }
40
- /**
41
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
42
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
43
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
44
- */
45
32
  MigrationHubClient.prototype.destroy = function () {
46
33
  _super.prototype.destroy.call(this);
47
34
  };
48
35
  return MigrationHubClient;
49
36
  }(__Client));
50
37
  export { MigrationHubClient };
51
- //# sourceMappingURL=MigrationHubClient.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { AssociateCreatedArtifactRequest, AssociateCreatedArtifactResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1AssociateCreatedArtifactCommand, serializeAws_json1_1AssociateCreatedArtifactCommand, } from "../protocols/Aws_json1_1";
6
+ var AssociateCreatedArtifactCommand = (function (_super) {
7
+ __extends(AssociateCreatedArtifactCommand, _super);
8
+ function AssociateCreatedArtifactCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ AssociateCreatedArtifactCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "AssociateCreatedArtifactCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: AssociateCreatedArtifactRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: AssociateCreatedArtifactResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssociateCreatedArtifactCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1AssociateCreatedArtifactCommand(input, context);
33
+ };
34
+ AssociateCreatedArtifactCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1AssociateCreatedArtifactCommand(output, context);
36
+ };
37
+ return AssociateCreatedArtifactCommand;
38
+ }($Command));
39
+ export { AssociateCreatedArtifactCommand };
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { AssociateDiscoveredResourceRequest, AssociateDiscoveredResourceResult } from "../models/models_0";
3
- import { deserializeAws_json1_1AssociateDiscoveredResourceCommand, serializeAws_json1_1AssociateDiscoveredResourceCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Associates a discovered resource ID from Application Discovery Service with a migration
8
- * task.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { MigrationHubClient, AssociateDiscoveredResourceCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
13
- * // const { MigrationHubClient, AssociateDiscoveredResourceCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
14
- * const client = new MigrationHubClient(config);
15
- * const command = new AssociateDiscoveredResourceCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link AssociateDiscoveredResourceCommandInput} for command's `input` shape.
20
- * @see {@link AssociateDiscoveredResourceCommandOutput} for command's `response` shape.
21
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var AssociateDiscoveredResourceCommand = /** @class */ (function (_super) {
4
+ import { AssociateDiscoveredResourceRequest, AssociateDiscoveredResourceResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1AssociateDiscoveredResourceCommand, serializeAws_json1_1AssociateDiscoveredResourceCommand, } from "../protocols/Aws_json1_1";
6
+ var AssociateDiscoveredResourceCommand = (function (_super) {
25
7
  __extends(AssociateDiscoveredResourceCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function AssociateDiscoveredResourceCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  AssociateDiscoveredResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +37,3 @@ var AssociateDiscoveredResourceCommand = /** @class */ (function (_super) {
63
37
  return AssociateDiscoveredResourceCommand;
64
38
  }($Command));
65
39
  export { AssociateDiscoveredResourceCommand };
66
- //# sourceMappingURL=AssociateDiscoveredResourceCommand.js.map
@@ -1,44 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { CreateProgressUpdateStreamRequest, CreateProgressUpdateStreamResult } from "../models/models_0";
3
- import { deserializeAws_json1_1CreateProgressUpdateStreamCommand, serializeAws_json1_1CreateProgressUpdateStreamCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a progress update stream which is an AWS resource used for access control as
8
- * well as a namespace for migration task names that is implicitly linked to your AWS account.
9
- * It must uniquely identify the migration tool as it is used for all updates made by the
10
- * tool; however, it does not need to be unique for each AWS account because it is scoped to
11
- * the AWS account.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { MigrationHubClient, CreateProgressUpdateStreamCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
16
- * // const { MigrationHubClient, CreateProgressUpdateStreamCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
17
- * const client = new MigrationHubClient(config);
18
- * const command = new CreateProgressUpdateStreamCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateProgressUpdateStreamCommandInput} for command's `input` shape.
23
- * @see {@link CreateProgressUpdateStreamCommandOutput} for command's `response` shape.
24
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
- var CreateProgressUpdateStreamCommand = /** @class */ (function (_super) {
4
+ import { CreateProgressUpdateStreamRequest, CreateProgressUpdateStreamResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateProgressUpdateStreamCommand, serializeAws_json1_1CreateProgressUpdateStreamCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateProgressUpdateStreamCommand = (function (_super) {
28
7
  __extends(CreateProgressUpdateStreamCommand, _super);
29
- // Start section: command_properties
30
- // End section: command_properties
31
8
  function CreateProgressUpdateStreamCommand(input) {
32
- var _this =
33
- // Start section: command_constructor
34
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
35
10
  _this.input = input;
36
11
  return _this;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  CreateProgressUpdateStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
43
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -66,4 +37,3 @@ var CreateProgressUpdateStreamCommand = /** @class */ (function (_super) {
66
37
  return CreateProgressUpdateStreamCommand;
67
38
  }($Command));
68
39
  export { CreateProgressUpdateStreamCommand };
69
- //# sourceMappingURL=CreateProgressUpdateStreamCommand.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteProgressUpdateStreamRequest, DeleteProgressUpdateStreamResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteProgressUpdateStreamCommand, serializeAws_json1_1DeleteProgressUpdateStreamCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteProgressUpdateStreamCommand = (function (_super) {
7
+ __extends(DeleteProgressUpdateStreamCommand, _super);
8
+ function DeleteProgressUpdateStreamCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteProgressUpdateStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "DeleteProgressUpdateStreamCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteProgressUpdateStreamRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteProgressUpdateStreamResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteProgressUpdateStreamCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DeleteProgressUpdateStreamCommand(input, context);
33
+ };
34
+ DeleteProgressUpdateStreamCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DeleteProgressUpdateStreamCommand(output, context);
36
+ };
37
+ return DeleteProgressUpdateStreamCommand;
38
+ }($Command));
39
+ export { DeleteProgressUpdateStreamCommand };
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeApplicationStateRequest, DescribeApplicationStateResult } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeApplicationStateCommand, serializeAws_json1_1DescribeApplicationStateCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Gets the migration status of an application.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MigrationHubClient, DescribeApplicationStateCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
12
- * // const { MigrationHubClient, DescribeApplicationStateCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
13
- * const client = new MigrationHubClient(config);
14
- * const command = new DescribeApplicationStateCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DescribeApplicationStateCommandInput} for command's `input` shape.
19
- * @see {@link DescribeApplicationStateCommandOutput} for command's `response` shape.
20
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DescribeApplicationStateCommand = /** @class */ (function (_super) {
4
+ import { DescribeApplicationStateRequest, DescribeApplicationStateResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeApplicationStateCommand, serializeAws_json1_1DescribeApplicationStateCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeApplicationStateCommand = (function (_super) {
24
7
  __extends(DescribeApplicationStateCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DescribeApplicationStateCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DescribeApplicationStateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DescribeApplicationStateCommand = /** @class */ (function (_super) {
62
37
  return DescribeApplicationStateCommand;
63
38
  }($Command));
64
39
  export { DescribeApplicationStateCommand };
65
- //# sourceMappingURL=DescribeApplicationStateCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeMigrationTaskRequest, DescribeMigrationTaskResult } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeMigrationTaskCommand, serializeAws_json1_1DescribeMigrationTaskCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Retrieves a list of all attributes associated with a specific migration task.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MigrationHubClient, DescribeMigrationTaskCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
12
- * // const { MigrationHubClient, DescribeMigrationTaskCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
13
- * const client = new MigrationHubClient(config);
14
- * const command = new DescribeMigrationTaskCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DescribeMigrationTaskCommandInput} for command's `input` shape.
19
- * @see {@link DescribeMigrationTaskCommandOutput} for command's `response` shape.
20
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DescribeMigrationTaskCommand = /** @class */ (function (_super) {
4
+ import { DescribeMigrationTaskRequest, DescribeMigrationTaskResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeMigrationTaskCommand, serializeAws_json1_1DescribeMigrationTaskCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeMigrationTaskCommand = (function (_super) {
24
7
  __extends(DescribeMigrationTaskCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DescribeMigrationTaskCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DescribeMigrationTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DescribeMigrationTaskCommand = /** @class */ (function (_super) {
62
37
  return DescribeMigrationTaskCommand;
63
38
  }($Command));
64
39
  export { DescribeMigrationTaskCommand };
65
- //# sourceMappingURL=DescribeMigrationTaskCommand.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DisassociateCreatedArtifactRequest, DisassociateCreatedArtifactResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1DisassociateCreatedArtifactCommand, serializeAws_json1_1DisassociateCreatedArtifactCommand, } from "../protocols/Aws_json1_1";
6
+ var DisassociateCreatedArtifactCommand = (function (_super) {
7
+ __extends(DisassociateCreatedArtifactCommand, _super);
8
+ function DisassociateCreatedArtifactCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DisassociateCreatedArtifactCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubClient";
18
+ var commandName = "DisassociateCreatedArtifactCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DisassociateCreatedArtifactRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DisassociateCreatedArtifactResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisassociateCreatedArtifactCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DisassociateCreatedArtifactCommand(input, context);
33
+ };
34
+ DisassociateCreatedArtifactCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DisassociateCreatedArtifactCommand(output, context);
36
+ };
37
+ return DisassociateCreatedArtifactCommand;
38
+ }($Command));
39
+ export { DisassociateCreatedArtifactCommand };
@@ -1,41 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DisassociateDiscoveredResourceRequest, DisassociateDiscoveredResourceResult } from "../models/models_0";
3
- import { deserializeAws_json1_1DisassociateDiscoveredResourceCommand, serializeAws_json1_1DisassociateDiscoveredResourceCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Disassociate an Application Discovery Service discovered resource from a migration
8
- * task.</p>
9
- * @example
10
- * Use a bare-bones client and the command you need to make an API call.
11
- * ```javascript
12
- * import { MigrationHubClient, DisassociateDiscoveredResourceCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
13
- * // const { MigrationHubClient, DisassociateDiscoveredResourceCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
14
- * const client = new MigrationHubClient(config);
15
- * const command = new DisassociateDiscoveredResourceCommand(input);
16
- * const response = await client.send(command);
17
- * ```
18
- *
19
- * @see {@link DisassociateDiscoveredResourceCommandInput} for command's `input` shape.
20
- * @see {@link DisassociateDiscoveredResourceCommandOutput} for command's `response` shape.
21
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
22
- *
23
- */
24
- var DisassociateDiscoveredResourceCommand = /** @class */ (function (_super) {
4
+ import { DisassociateDiscoveredResourceRequest, DisassociateDiscoveredResourceResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1DisassociateDiscoveredResourceCommand, serializeAws_json1_1DisassociateDiscoveredResourceCommand, } from "../protocols/Aws_json1_1";
6
+ var DisassociateDiscoveredResourceCommand = (function (_super) {
25
7
  __extends(DisassociateDiscoveredResourceCommand, _super);
26
- // Start section: command_properties
27
- // End section: command_properties
28
8
  function DisassociateDiscoveredResourceCommand(input) {
29
- var _this =
30
- // Start section: command_constructor
31
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
32
10
  _this.input = input;
33
11
  return _this;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  DisassociateDiscoveredResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
40
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -63,4 +37,3 @@ var DisassociateDiscoveredResourceCommand = /** @class */ (function (_super) {
63
37
  return DisassociateDiscoveredResourceCommand;
64
38
  }($Command));
65
39
  export { DisassociateDiscoveredResourceCommand };
66
- //# sourceMappingURL=DisassociateDiscoveredResourceCommand.js.map
@@ -1,43 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ImportMigrationTaskRequest, ImportMigrationTaskResult } from "../models/models_0";
3
- import { deserializeAws_json1_1ImportMigrationTaskCommand, serializeAws_json1_1ImportMigrationTaskCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Registers a new migration task which represents a server, database, etc., being migrated
8
- * to AWS by a migration tool.</p>
9
- * <p>This API is a prerequisite to calling the <code>NotifyMigrationTaskState</code> API as
10
- * the migration tool must first register the migration task with Migration Hub.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { MigrationHubClient, ImportMigrationTaskCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
15
- * // const { MigrationHubClient, ImportMigrationTaskCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
16
- * const client = new MigrationHubClient(config);
17
- * const command = new ImportMigrationTaskCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ImportMigrationTaskCommandInput} for command's `input` shape.
22
- * @see {@link ImportMigrationTaskCommandOutput} for command's `response` shape.
23
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var ImportMigrationTaskCommand = /** @class */ (function (_super) {
4
+ import { ImportMigrationTaskRequest, ImportMigrationTaskResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1ImportMigrationTaskCommand, serializeAws_json1_1ImportMigrationTaskCommand, } from "../protocols/Aws_json1_1";
6
+ var ImportMigrationTaskCommand = (function (_super) {
27
7
  __extends(ImportMigrationTaskCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function ImportMigrationTaskCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  ImportMigrationTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -65,4 +37,3 @@ var ImportMigrationTaskCommand = /** @class */ (function (_super) {
65
37
  return ImportMigrationTaskCommand;
66
38
  }($Command));
67
39
  export { ImportMigrationTaskCommand };
68
- //# sourceMappingURL=ImportMigrationTaskCommand.js.map
@@ -1,42 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListApplicationStatesRequest, ListApplicationStatesResult } from "../models/models_0";
3
- import { deserializeAws_json1_1ListApplicationStatesCommand, serializeAws_json1_1ListApplicationStatesCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Lists all the migration statuses for your applications. If you use the optional
8
- * <code>ApplicationIds</code> parameter, only the migration statuses for those
9
- * applications will be returned.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MigrationHubClient, ListApplicationStatesCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
14
- * // const { MigrationHubClient, ListApplicationStatesCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
15
- * const client = new MigrationHubClient(config);
16
- * const command = new ListApplicationStatesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListApplicationStatesCommandInput} for command's `input` shape.
21
- * @see {@link ListApplicationStatesCommandOutput} for command's `response` shape.
22
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
- var ListApplicationStatesCommand = /** @class */ (function (_super) {
4
+ import { ListApplicationStatesRequest, ListApplicationStatesResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1ListApplicationStatesCommand, serializeAws_json1_1ListApplicationStatesCommand, } from "../protocols/Aws_json1_1";
6
+ var ListApplicationStatesCommand = (function (_super) {
26
7
  __extends(ListApplicationStatesCommand, _super);
27
- // Start section: command_properties
28
- // End section: command_properties
29
8
  function ListApplicationStatesCommand(input) {
30
- var _this =
31
- // Start section: command_constructor
32
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
33
10
  _this.input = input;
34
11
  return _this;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  ListApplicationStatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
41
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +37,3 @@ var ListApplicationStatesCommand = /** @class */ (function (_super) {
64
37
  return ListApplicationStatesCommand;
65
38
  }($Command));
66
39
  export { ListApplicationStatesCommand };
67
- //# sourceMappingURL=ListApplicationStatesCommand.js.map