@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
@@ -1,54 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListCreatedArtifactsRequest, ListCreatedArtifactsResult } from "../models/models_0";
3
- import { deserializeAws_json1_1ListCreatedArtifactsCommand, serializeAws_json1_1ListCreatedArtifactsCommand, } 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 the created artifacts attached to a given migration task in an update stream. This
8
- * API has the following traits:</p>
9
- * <ul>
10
- * <li>
11
- * <p>Gets the list of the created artifacts while
12
- * migration is taking place.</p>
13
- * </li>
14
- * <li>
15
- * <p>Shows the artifacts created by the migration tool that was associated by the
16
- * <code>AssociateCreatedArtifact</code> API. </p>
17
- * </li>
18
- * <li>
19
- * <p>Lists created artifacts in a paginated interface. </p>
20
- * </li>
21
- * </ul>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { MigrationHubClient, ListCreatedArtifactsCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
26
- * // const { MigrationHubClient, ListCreatedArtifactsCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
27
- * const client = new MigrationHubClient(config);
28
- * const command = new ListCreatedArtifactsCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link ListCreatedArtifactsCommandInput} for command's `input` shape.
33
- * @see {@link ListCreatedArtifactsCommandOutput} for command's `response` shape.
34
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
- var ListCreatedArtifactsCommand = /** @class */ (function (_super) {
4
+ import { ListCreatedArtifactsRequest, ListCreatedArtifactsResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1ListCreatedArtifactsCommand, serializeAws_json1_1ListCreatedArtifactsCommand, } from "../protocols/Aws_json1_1";
6
+ var ListCreatedArtifactsCommand = (function (_super) {
38
7
  __extends(ListCreatedArtifactsCommand, _super);
39
- // Start section: command_properties
40
- // End section: command_properties
41
8
  function ListCreatedArtifactsCommand(input) {
42
- var _this =
43
- // Start section: command_constructor
44
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
45
10
  _this.input = input;
46
11
  return _this;
47
- // End section: command_constructor
48
12
  }
49
- /**
50
- * @internal
51
- */
52
13
  ListCreatedArtifactsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
53
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
54
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -76,4 +37,3 @@ var ListCreatedArtifactsCommand = /** @class */ (function (_super) {
76
37
  return ListCreatedArtifactsCommand;
77
38
  }($Command));
78
39
  export { ListCreatedArtifactsCommand };
79
- //# sourceMappingURL=ListCreatedArtifactsCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListDiscoveredResourcesRequest, ListDiscoveredResourcesResult } from "../models/models_0";
3
- import { deserializeAws_json1_1ListDiscoveredResourcesCommand, serializeAws_json1_1ListDiscoveredResourcesCommand, } 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 discovered resources associated with the given <code>MigrationTask</code>.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MigrationHubClient, ListDiscoveredResourcesCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
12
- * // const { MigrationHubClient, ListDiscoveredResourcesCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
13
- * const client = new MigrationHubClient(config);
14
- * const command = new ListDiscoveredResourcesCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link ListDiscoveredResourcesCommandInput} for command's `input` shape.
19
- * @see {@link ListDiscoveredResourcesCommandOutput} for command's `response` shape.
20
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var ListDiscoveredResourcesCommand = /** @class */ (function (_super) {
4
+ import { ListDiscoveredResourcesRequest, ListDiscoveredResourcesResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1ListDiscoveredResourcesCommand, serializeAws_json1_1ListDiscoveredResourcesCommand, } from "../protocols/Aws_json1_1";
6
+ var ListDiscoveredResourcesCommand = (function (_super) {
24
7
  __extends(ListDiscoveredResourcesCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function ListDiscoveredResourcesCommand(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
  ListDiscoveredResourcesCommand.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 ListDiscoveredResourcesCommand = /** @class */ (function (_super) {
62
37
  return ListDiscoveredResourcesCommand;
63
38
  }($Command));
64
39
  export { ListDiscoveredResourcesCommand };
65
- //# sourceMappingURL=ListDiscoveredResourcesCommand.js.map
@@ -1,53 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListMigrationTasksRequest, ListMigrationTasksResult } from "../models/models_0";
3
- import { deserializeAws_json1_1ListMigrationTasksCommand, serializeAws_json1_1ListMigrationTasksCommand, } 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, or filtered by resource name, migration tasks associated with the user
8
- * account making this call. This API has the following traits:</p>
9
- * <ul>
10
- * <li>
11
- * <p>Can show a summary list of the most recent migration tasks.</p>
12
- * </li>
13
- * <li>
14
- * <p>Can show a summary list of migration tasks associated with a given discovered
15
- * resource.</p>
16
- * </li>
17
- * <li>
18
- * <p>Lists migration tasks in a paginated interface.</p>
19
- * </li>
20
- * </ul>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { MigrationHubClient, ListMigrationTasksCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
25
- * // const { MigrationHubClient, ListMigrationTasksCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
26
- * const client = new MigrationHubClient(config);
27
- * const command = new ListMigrationTasksCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link ListMigrationTasksCommandInput} for command's `input` shape.
32
- * @see {@link ListMigrationTasksCommandOutput} for command's `response` shape.
33
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
36
- var ListMigrationTasksCommand = /** @class */ (function (_super) {
4
+ import { ListMigrationTasksRequest, ListMigrationTasksResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1ListMigrationTasksCommand, serializeAws_json1_1ListMigrationTasksCommand, } from "../protocols/Aws_json1_1";
6
+ var ListMigrationTasksCommand = (function (_super) {
37
7
  __extends(ListMigrationTasksCommand, _super);
38
- // Start section: command_properties
39
- // End section: command_properties
40
8
  function ListMigrationTasksCommand(input) {
41
- var _this =
42
- // Start section: command_constructor
43
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
44
10
  _this.input = input;
45
11
  return _this;
46
- // End section: command_constructor
47
12
  }
48
- /**
49
- * @internal
50
- */
51
13
  ListMigrationTasksCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
52
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
53
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -75,4 +37,3 @@ var ListMigrationTasksCommand = /** @class */ (function (_super) {
75
37
  return ListMigrationTasksCommand;
76
38
  }($Command));
77
39
  export { ListMigrationTasksCommand };
78
- //# sourceMappingURL=ListMigrationTasksCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListProgressUpdateStreamsRequest, ListProgressUpdateStreamsResult } from "../models/models_0";
3
- import { deserializeAws_json1_1ListProgressUpdateStreamsCommand, serializeAws_json1_1ListProgressUpdateStreamsCommand, } 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 progress update streams associated with the user account making this call.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { MigrationHubClient, ListProgressUpdateStreamsCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
12
- * // const { MigrationHubClient, ListProgressUpdateStreamsCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
13
- * const client = new MigrationHubClient(config);
14
- * const command = new ListProgressUpdateStreamsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link ListProgressUpdateStreamsCommandInput} for command's `input` shape.
19
- * @see {@link ListProgressUpdateStreamsCommandOutput} for command's `response` shape.
20
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var ListProgressUpdateStreamsCommand = /** @class */ (function (_super) {
4
+ import { ListProgressUpdateStreamsRequest, ListProgressUpdateStreamsResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1ListProgressUpdateStreamsCommand, serializeAws_json1_1ListProgressUpdateStreamsCommand, } from "../protocols/Aws_json1_1";
6
+ var ListProgressUpdateStreamsCommand = (function (_super) {
24
7
  __extends(ListProgressUpdateStreamsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function ListProgressUpdateStreamsCommand(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
  ListProgressUpdateStreamsCommand.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 ListProgressUpdateStreamsCommand = /** @class */ (function (_super) {
62
37
  return ListProgressUpdateStreamsCommand;
63
38
  }($Command));
64
39
  export { ListProgressUpdateStreamsCommand };
65
- //# sourceMappingURL=ListProgressUpdateStreamsCommand.js.map
@@ -1,43 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { NotifyApplicationStateRequest, NotifyApplicationStateResult } from "../models/models_0";
3
- import { deserializeAws_json1_1NotifyApplicationStateCommand, serializeAws_json1_1NotifyApplicationStateCommand, } 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>Sets the migration state of an application. For a given application identified by the
8
- * value passed to <code>ApplicationId</code>, its status is set or updated by passing one of
9
- * three values to <code>Status</code>: <code>NOT_STARTED | IN_PROGRESS |
10
- * COMPLETED</code>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { MigrationHubClient, NotifyApplicationStateCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
15
- * // const { MigrationHubClient, NotifyApplicationStateCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
16
- * const client = new MigrationHubClient(config);
17
- * const command = new NotifyApplicationStateCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link NotifyApplicationStateCommandInput} for command's `input` shape.
22
- * @see {@link NotifyApplicationStateCommandOutput} for command's `response` shape.
23
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var NotifyApplicationStateCommand = /** @class */ (function (_super) {
4
+ import { NotifyApplicationStateRequest, NotifyApplicationStateResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1NotifyApplicationStateCommand, serializeAws_json1_1NotifyApplicationStateCommand, } from "../protocols/Aws_json1_1";
6
+ var NotifyApplicationStateCommand = (function (_super) {
27
7
  __extends(NotifyApplicationStateCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function NotifyApplicationStateCommand(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
  NotifyApplicationStateCommand.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 NotifyApplicationStateCommand = /** @class */ (function (_super) {
65
37
  return NotifyApplicationStateCommand;
66
38
  }($Command));
67
39
  export { NotifyApplicationStateCommand };
68
- //# sourceMappingURL=NotifyApplicationStateCommand.js.map
@@ -1,57 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { NotifyMigrationTaskStateRequest, NotifyMigrationTaskStateResult } from "../models/models_0";
3
- import { deserializeAws_json1_1NotifyMigrationTaskStateCommand, serializeAws_json1_1NotifyMigrationTaskStateCommand, } 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>Notifies Migration Hub of the current status, progress, or other detail regarding a
8
- * migration task. This API has the following traits:</p>
9
- * <ul>
10
- * <li>
11
- * <p>Migration tools will call the <code>NotifyMigrationTaskState</code> API to share
12
- * the latest progress and status.</p>
13
- * </li>
14
- * <li>
15
- * <p>
16
- * <code>MigrationTaskName</code> is used for addressing updates to the correct
17
- * target.</p>
18
- * </li>
19
- * <li>
20
- * <p>
21
- * <code>ProgressUpdateStream</code> is used for access control and to provide a
22
- * namespace for each migration tool.</p>
23
- * </li>
24
- * </ul>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { MigrationHubClient, NotifyMigrationTaskStateCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
29
- * // const { MigrationHubClient, NotifyMigrationTaskStateCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
30
- * const client = new MigrationHubClient(config);
31
- * const command = new NotifyMigrationTaskStateCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link NotifyMigrationTaskStateCommandInput} for command's `input` shape.
36
- * @see {@link NotifyMigrationTaskStateCommandOutput} for command's `response` shape.
37
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- var NotifyMigrationTaskStateCommand = /** @class */ (function (_super) {
4
+ import { NotifyMigrationTaskStateRequest, NotifyMigrationTaskStateResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1NotifyMigrationTaskStateCommand, serializeAws_json1_1NotifyMigrationTaskStateCommand, } from "../protocols/Aws_json1_1";
6
+ var NotifyMigrationTaskStateCommand = (function (_super) {
41
7
  __extends(NotifyMigrationTaskStateCommand, _super);
42
- // Start section: command_properties
43
- // End section: command_properties
44
8
  function NotifyMigrationTaskStateCommand(input) {
45
- var _this =
46
- // Start section: command_constructor
47
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
48
10
  _this.input = input;
49
11
  return _this;
50
- // End section: command_constructor
51
12
  }
52
- /**
53
- * @internal
54
- */
55
13
  NotifyMigrationTaskStateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
56
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
57
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -79,4 +37,3 @@ var NotifyMigrationTaskStateCommand = /** @class */ (function (_super) {
79
37
  return NotifyMigrationTaskStateCommand;
80
38
  }($Command));
81
39
  export { NotifyMigrationTaskStateCommand };
82
- //# sourceMappingURL=NotifyMigrationTaskStateCommand.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 { PutResourceAttributesRequest, PutResourceAttributesResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1PutResourceAttributesCommand, serializeAws_json1_1PutResourceAttributesCommand, } from "../protocols/Aws_json1_1";
6
+ var PutResourceAttributesCommand = (function (_super) {
7
+ __extends(PutResourceAttributesCommand, _super);
8
+ function PutResourceAttributesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ PutResourceAttributesCommand.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 = "PutResourceAttributesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: PutResourceAttributesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: PutResourceAttributesResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutResourceAttributesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1PutResourceAttributesCommand(input, context);
33
+ };
34
+ PutResourceAttributesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1PutResourceAttributesCommand(output, context);
36
+ };
37
+ return PutResourceAttributesCommand;
38
+ }($Command));
39
+ export { PutResourceAttributesCommand };
@@ -47,7 +47,6 @@ var partitionHash = {
47
47
  };
48
48
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
49
49
  return __generator(this, function (_a) {
50
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "mgh", regionHash: regionHash, partitionHash: partitionHash }))];
50
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "mgh", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map
File without changes