@aws-sdk/client-migration-hub 3.35.0 → 3.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/MigrationHub.js +0 -9
  3. package/dist-cjs/MigrationHubClient.js +0 -14
  4. package/dist-cjs/commands/AssociateCreatedArtifactCommand.js +0 -42
  5. package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +0 -26
  6. package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +0 -29
  7. package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +0 -55
  8. package/dist-cjs/commands/DescribeApplicationStateCommand.js +0 -25
  9. package/dist-cjs/commands/DescribeMigrationTaskCommand.js +0 -25
  10. package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +0 -41
  11. package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +0 -26
  12. package/dist-cjs/commands/ImportMigrationTaskCommand.js +0 -28
  13. package/dist-cjs/commands/ListApplicationStatesCommand.js +0 -27
  14. package/dist-cjs/commands/ListCreatedArtifactsCommand.js +0 -39
  15. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +0 -25
  16. package/dist-cjs/commands/ListMigrationTasksCommand.js +0 -38
  17. package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +0 -25
  18. package/dist-cjs/commands/NotifyApplicationStateCommand.js +0 -28
  19. package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +0 -42
  20. package/dist-cjs/commands/PutResourceAttributesCommand.js +0 -50
  21. package/dist-cjs/commands/index.js +20 -0
  22. package/dist-cjs/endpoints.js +1 -2
  23. package/dist-cjs/index.js +4 -26
  24. package/dist-cjs/models/index.js +0 -1
  25. package/dist-cjs/models/models_0.js +0 -157
  26. package/dist-cjs/pagination/Interfaces.js +0 -1
  27. package/dist-cjs/pagination/ListApplicationStatesPaginator.js +0 -11
  28. package/dist-cjs/pagination/ListCreatedArtifactsPaginator.js +0 -11
  29. package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js +0 -11
  30. package/dist-cjs/pagination/ListMigrationTasksPaginator.js +0 -11
  31. package/dist-cjs/pagination/ListProgressUpdateStreamsPaginator.js +0 -11
  32. package/dist-cjs/pagination/index.js +9 -0
  33. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  34. package/dist-cjs/runtimeConfig.browser.js +1 -6
  35. package/dist-cjs/runtimeConfig.js +2 -7
  36. package/dist-cjs/runtimeConfig.native.js +0 -4
  37. package/dist-cjs/runtimeConfig.shared.js +0 -4
  38. package/dist-es/MigrationHub.js +0 -1
  39. package/dist-es/MigrationHubClient.js +0 -1
  40. package/dist-es/commands/AssociateCreatedArtifactCommand.js +0 -1
  41. package/dist-es/commands/AssociateDiscoveredResourceCommand.js +0 -1
  42. package/dist-es/commands/CreateProgressUpdateStreamCommand.js +0 -1
  43. package/dist-es/commands/DeleteProgressUpdateStreamCommand.js +0 -1
  44. package/dist-es/commands/DescribeApplicationStateCommand.js +0 -1
  45. package/dist-es/commands/DescribeMigrationTaskCommand.js +0 -1
  46. package/dist-es/commands/DisassociateCreatedArtifactCommand.js +0 -1
  47. package/dist-es/commands/DisassociateDiscoveredResourceCommand.js +0 -1
  48. package/dist-es/commands/ImportMigrationTaskCommand.js +0 -1
  49. package/dist-es/commands/ListApplicationStatesCommand.js +0 -1
  50. package/dist-es/commands/ListCreatedArtifactsCommand.js +0 -1
  51. package/dist-es/commands/ListDiscoveredResourcesCommand.js +0 -1
  52. package/dist-es/commands/ListMigrationTasksCommand.js +0 -1
  53. package/dist-es/commands/ListProgressUpdateStreamsCommand.js +0 -1
  54. package/dist-es/commands/NotifyApplicationStateCommand.js +0 -1
  55. package/dist-es/commands/NotifyMigrationTaskStateCommand.js +0 -1
  56. package/dist-es/commands/PutResourceAttributesCommand.js +0 -1
  57. package/dist-es/commands/index.js +17 -0
  58. package/dist-es/endpoints.js +1 -2
  59. package/dist-es/index.js +4 -26
  60. package/dist-es/models/index.js +0 -1
  61. package/dist-es/models/models_0.js +0 -1
  62. package/dist-es/pagination/Interfaces.js +0 -1
  63. package/dist-es/pagination/ListApplicationStatesPaginator.js +0 -1
  64. package/dist-es/pagination/ListCreatedArtifactsPaginator.js +0 -1
  65. package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +0 -1
  66. package/dist-es/pagination/ListMigrationTasksPaginator.js +0 -1
  67. package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js +0 -1
  68. package/dist-es/pagination/index.js +6 -0
  69. package/dist-es/protocols/Aws_json1_1.js +0 -1
  70. package/dist-es/runtimeConfig.browser.js +1 -2
  71. package/dist-es/runtimeConfig.js +2 -3
  72. package/dist-es/runtimeConfig.native.js +0 -1
  73. package/dist-es/runtimeConfig.shared.js +0 -1
  74. package/dist-types/commands/index.d.ts +17 -0
  75. package/dist-types/index.d.ts +4 -25
  76. package/dist-types/pagination/index.d.ts +6 -0
  77. package/dist-types/ts3.4/MigrationHub.d.ts +18 -205
  78. package/dist-types/ts3.4/MigrationHubClient.d.ts +24 -94
  79. package/dist-types/ts3.4/commands/AssociateCreatedArtifactCommand.d.ts +2 -37
  80. package/dist-types/ts3.4/commands/AssociateDiscoveredResourceCommand.d.ts +2 -21
  81. package/dist-types/ts3.4/commands/CreateProgressUpdateStreamCommand.d.ts +2 -24
  82. package/dist-types/ts3.4/commands/DeleteProgressUpdateStreamCommand.d.ts +2 -50
  83. package/dist-types/ts3.4/commands/DescribeApplicationStateCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/DescribeMigrationTaskCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/DisassociateCreatedArtifactCommand.d.ts +2 -36
  86. package/dist-types/ts3.4/commands/DisassociateDiscoveredResourceCommand.d.ts +2 -21
  87. package/dist-types/ts3.4/commands/ImportMigrationTaskCommand.d.ts +2 -23
  88. package/dist-types/ts3.4/commands/ListApplicationStatesCommand.d.ts +2 -22
  89. package/dist-types/ts3.4/commands/ListCreatedArtifactsCommand.d.ts +2 -34
  90. package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/ListMigrationTasksCommand.d.ts +2 -33
  92. package/dist-types/ts3.4/commands/ListProgressUpdateStreamsCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/NotifyApplicationStateCommand.d.ts +2 -23
  94. package/dist-types/ts3.4/commands/NotifyMigrationTaskStateCommand.d.ts +2 -37
  95. package/dist-types/ts3.4/commands/PutResourceAttributesCommand.d.ts +2 -45
  96. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  97. package/dist-types/ts3.4/index.d.ts +4 -25
  98. package/dist-types/ts3.4/models/models_0.d.ts +165 -648
  99. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  100. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  101. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  102. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  103. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  104. package/package.json +33 -30
  105. package/dist-cjs/MigrationHub.js.map +0 -1
  106. package/dist-cjs/MigrationHubClient.js.map +0 -1
  107. package/dist-cjs/commands/AssociateCreatedArtifactCommand.js.map +0 -1
  108. package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js.map +0 -1
  109. package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js.map +0 -1
  110. package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js.map +0 -1
  111. package/dist-cjs/commands/DescribeApplicationStateCommand.js.map +0 -1
  112. package/dist-cjs/commands/DescribeMigrationTaskCommand.js.map +0 -1
  113. package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js.map +0 -1
  114. package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js.map +0 -1
  115. package/dist-cjs/commands/ImportMigrationTaskCommand.js.map +0 -1
  116. package/dist-cjs/commands/ListApplicationStatesCommand.js.map +0 -1
  117. package/dist-cjs/commands/ListCreatedArtifactsCommand.js.map +0 -1
  118. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js.map +0 -1
  119. package/dist-cjs/commands/ListMigrationTasksCommand.js.map +0 -1
  120. package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js.map +0 -1
  121. package/dist-cjs/commands/NotifyApplicationStateCommand.js.map +0 -1
  122. package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js.map +0 -1
  123. package/dist-cjs/commands/PutResourceAttributesCommand.js.map +0 -1
  124. package/dist-cjs/endpoints.js.map +0 -1
  125. package/dist-cjs/index.js.map +0 -1
  126. package/dist-cjs/models/index.js.map +0 -1
  127. package/dist-cjs/models/models_0.js.map +0 -1
  128. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  129. package/dist-cjs/pagination/ListApplicationStatesPaginator.js.map +0 -1
  130. package/dist-cjs/pagination/ListCreatedArtifactsPaginator.js.map +0 -1
  131. package/dist-cjs/pagination/ListDiscoveredResourcesPaginator.js.map +0 -1
  132. package/dist-cjs/pagination/ListMigrationTasksPaginator.js.map +0 -1
  133. package/dist-cjs/pagination/ListProgressUpdateStreamsPaginator.js.map +0 -1
  134. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  135. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  136. package/dist-cjs/runtimeConfig.js.map +0 -1
  137. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  138. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  139. package/dist-es/MigrationHub.js.map +0 -1
  140. package/dist-es/MigrationHubClient.js.map +0 -1
  141. package/dist-es/commands/AssociateCreatedArtifactCommand.js.map +0 -1
  142. package/dist-es/commands/AssociateDiscoveredResourceCommand.js.map +0 -1
  143. package/dist-es/commands/CreateProgressUpdateStreamCommand.js.map +0 -1
  144. package/dist-es/commands/DeleteProgressUpdateStreamCommand.js.map +0 -1
  145. package/dist-es/commands/DescribeApplicationStateCommand.js.map +0 -1
  146. package/dist-es/commands/DescribeMigrationTaskCommand.js.map +0 -1
  147. package/dist-es/commands/DisassociateCreatedArtifactCommand.js.map +0 -1
  148. package/dist-es/commands/DisassociateDiscoveredResourceCommand.js.map +0 -1
  149. package/dist-es/commands/ImportMigrationTaskCommand.js.map +0 -1
  150. package/dist-es/commands/ListApplicationStatesCommand.js.map +0 -1
  151. package/dist-es/commands/ListCreatedArtifactsCommand.js.map +0 -1
  152. package/dist-es/commands/ListDiscoveredResourcesCommand.js.map +0 -1
  153. package/dist-es/commands/ListMigrationTasksCommand.js.map +0 -1
  154. package/dist-es/commands/ListProgressUpdateStreamsCommand.js.map +0 -1
  155. package/dist-es/commands/NotifyApplicationStateCommand.js.map +0 -1
  156. package/dist-es/commands/NotifyMigrationTaskStateCommand.js.map +0 -1
  157. package/dist-es/commands/PutResourceAttributesCommand.js.map +0 -1
  158. package/dist-es/endpoints.js.map +0 -1
  159. package/dist-es/index.js.map +0 -1
  160. package/dist-es/models/index.js.map +0 -1
  161. package/dist-es/models/models_0.js.map +0 -1
  162. package/dist-es/pagination/Interfaces.js.map +0 -1
  163. package/dist-es/pagination/ListApplicationStatesPaginator.js.map +0 -1
  164. package/dist-es/pagination/ListCreatedArtifactsPaginator.js.map +0 -1
  165. package/dist-es/pagination/ListDiscoveredResourcesPaginator.js.map +0 -1
  166. package/dist-es/pagination/ListMigrationTasksPaginator.js.map +0 -1
  167. package/dist-es/pagination/ListProgressUpdateStreamsPaginator.js.map +0 -1
  168. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  169. package/dist-es/runtimeConfig.browser.js.map +0 -1
  170. package/dist-es/runtimeConfig.js.map +0 -1
  171. package/dist-es/runtimeConfig.native.js.map +0 -1
  172. package/dist-es/runtimeConfig.shared.js.map +0 -1
  173. package/jest.config.js +0 -4
  174. package/src/MigrationHub.ts +0 -788
  175. package/src/MigrationHubClient.ts +0 -340
  176. package/src/commands/AssociateCreatedArtifactCommand.ts +0 -112
  177. package/src/commands/AssociateDiscoveredResourceCommand.ts +0 -99
  178. package/src/commands/CreateProgressUpdateStreamCommand.ts +0 -102
  179. package/src/commands/DeleteProgressUpdateStreamCommand.ts +0 -128
  180. package/src/commands/DescribeApplicationStateCommand.ts +0 -95
  181. package/src/commands/DescribeMigrationTaskCommand.ts +0 -95
  182. package/src/commands/DisassociateCreatedArtifactCommand.ts +0 -114
  183. package/src/commands/DisassociateDiscoveredResourceCommand.ts +0 -104
  184. package/src/commands/ImportMigrationTaskCommand.ts +0 -98
  185. package/src/commands/ListApplicationStatesCommand.ts +0 -97
  186. package/src/commands/ListCreatedArtifactsCommand.ts +0 -109
  187. package/src/commands/ListDiscoveredResourcesCommand.ts +0 -95
  188. package/src/commands/ListMigrationTasksCommand.ts +0 -108
  189. package/src/commands/ListProgressUpdateStreamsCommand.ts +0 -98
  190. package/src/commands/NotifyApplicationStateCommand.ts +0 -98
  191. package/src/commands/NotifyMigrationTaskStateCommand.ts +0 -112
  192. package/src/commands/PutResourceAttributesCommand.ts +0 -120
  193. package/src/endpoints.ts +0 -57
  194. package/src/index.ts +0 -26
  195. package/src/models/index.ts +0 -1
  196. package/src/models/models_0.ts +0 -1319
  197. package/src/pagination/Interfaces.ts +0 -8
  198. package/src/pagination/ListApplicationStatesPaginator.ts +0 -59
  199. package/src/pagination/ListCreatedArtifactsPaginator.ts +0 -59
  200. package/src/pagination/ListDiscoveredResourcesPaginator.ts +0 -59
  201. package/src/pagination/ListMigrationTasksPaginator.ts +0 -59
  202. package/src/pagination/ListProgressUpdateStreamsPaginator.ts +0 -59
  203. package/src/protocols/Aws_json1_1.ts +0 -3163
  204. package/src/runtimeConfig.browser.ts +0 -41
  205. package/src/runtimeConfig.native.ts +0 -17
  206. package/src/runtimeConfig.shared.ts +0 -17
  207. package/src/runtimeConfig.ts +0 -46
  208. package/tsconfig.es.json +0 -10
  209. package/tsconfig.json +0 -33
  210. package/tsconfig.types.json +0 -9
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Lists discovered resources associated with the given <code>MigrationTask</code>.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MigrationHubClient, ListDiscoveredResourcesCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
14
- * // const { MigrationHubClient, ListDiscoveredResourcesCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
15
- * const client = new MigrationHubClient(config);
16
- * const command = new ListDiscoveredResourcesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListDiscoveredResourcesCommandInput} for command's `input` shape.
21
- * @see {@link ListDiscoveredResourcesCommandOutput} for command's `response` shape.
22
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListDiscoveredResourcesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListDiscoveredResourcesCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListDiscoveredResourcesCommand = ListDiscoveredResourcesCommand;
61
- //# sourceMappingURL=ListDiscoveredResourcesCommand.js.map
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Lists all, or filtered by resource name, migration tasks associated with the user
10
- * account making this call. This API has the following traits:</p>
11
- * <ul>
12
- * <li>
13
- * <p>Can show a summary list of the most recent migration tasks.</p>
14
- * </li>
15
- * <li>
16
- * <p>Can show a summary list of migration tasks associated with a given discovered
17
- * resource.</p>
18
- * </li>
19
- * <li>
20
- * <p>Lists migration tasks in a paginated interface.</p>
21
- * </li>
22
- * </ul>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { MigrationHubClient, ListMigrationTasksCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
27
- * // const { MigrationHubClient, ListMigrationTasksCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
28
- * const client = new MigrationHubClient(config);
29
- * const command = new ListMigrationTasksCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link ListMigrationTasksCommandInput} for command's `input` shape.
34
- * @see {@link ListMigrationTasksCommandOutput} for command's `response` shape.
35
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
38
8
  class ListMigrationTasksCommand extends smithy_client_1.Command {
39
- // Start section: command_properties
40
- // End section: command_properties
41
9
  constructor(input) {
42
- // Start section: command_constructor
43
10
  super();
44
11
  this.input = input;
45
- // End section: command_constructor
46
12
  }
47
- /**
48
- * @internal
49
- */
50
13
  resolveMiddleware(clientStack, configuration, options) {
51
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
52
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -71,4 +34,3 @@ class ListMigrationTasksCommand extends smithy_client_1.Command {
71
34
  }
72
35
  }
73
36
  exports.ListMigrationTasksCommand = ListMigrationTasksCommand;
74
- //# sourceMappingURL=ListMigrationTasksCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Lists progress update streams associated with the user account making this call.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MigrationHubClient, ListProgressUpdateStreamsCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
14
- * // const { MigrationHubClient, ListProgressUpdateStreamsCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
15
- * const client = new MigrationHubClient(config);
16
- * const command = new ListProgressUpdateStreamsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListProgressUpdateStreamsCommandInput} for command's `input` shape.
21
- * @see {@link ListProgressUpdateStreamsCommandOutput} for command's `response` shape.
22
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListProgressUpdateStreamsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class ListProgressUpdateStreamsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.ListProgressUpdateStreamsCommand = ListProgressUpdateStreamsCommand;
61
- //# sourceMappingURL=ListProgressUpdateStreamsCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Sets the migration state of an application. For a given application identified by the
10
- * value passed to <code>ApplicationId</code>, its status is set or updated by passing one of
11
- * three values to <code>Status</code>: <code>NOT_STARTED | IN_PROGRESS |
12
- * COMPLETED</code>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { MigrationHubClient, NotifyApplicationStateCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
17
- * // const { MigrationHubClient, NotifyApplicationStateCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
18
- * const client = new MigrationHubClient(config);
19
- * const command = new NotifyApplicationStateCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link NotifyApplicationStateCommandInput} for command's `input` shape.
24
- * @see {@link NotifyApplicationStateCommandOutput} for command's `response` shape.
25
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class NotifyApplicationStateCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class NotifyApplicationStateCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.NotifyApplicationStateCommand = NotifyApplicationStateCommand;
64
- //# sourceMappingURL=NotifyApplicationStateCommand.js.map
@@ -5,52 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Notifies Migration Hub of the current status, progress, or other detail regarding a
10
- * migration task. This API has the following traits:</p>
11
- * <ul>
12
- * <li>
13
- * <p>Migration tools will call the <code>NotifyMigrationTaskState</code> API to share
14
- * the latest progress and status.</p>
15
- * </li>
16
- * <li>
17
- * <p>
18
- * <code>MigrationTaskName</code> is used for addressing updates to the correct
19
- * target.</p>
20
- * </li>
21
- * <li>
22
- * <p>
23
- * <code>ProgressUpdateStream</code> is used for access control and to provide a
24
- * namespace for each migration tool.</p>
25
- * </li>
26
- * </ul>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { MigrationHubClient, NotifyMigrationTaskStateCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
31
- * // const { MigrationHubClient, NotifyMigrationTaskStateCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
32
- * const client = new MigrationHubClient(config);
33
- * const command = new NotifyMigrationTaskStateCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link NotifyMigrationTaskStateCommandInput} for command's `input` shape.
38
- * @see {@link NotifyMigrationTaskStateCommandOutput} for command's `response` shape.
39
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
8
  class NotifyMigrationTaskStateCommand extends smithy_client_1.Command {
43
- // Start section: command_properties
44
- // End section: command_properties
45
9
  constructor(input) {
46
- // Start section: command_constructor
47
10
  super();
48
11
  this.input = input;
49
- // End section: command_constructor
50
12
  }
51
- /**
52
- * @internal
53
- */
54
13
  resolveMiddleware(clientStack, configuration, options) {
55
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
56
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -75,4 +34,3 @@ class NotifyMigrationTaskStateCommand extends smithy_client_1.Command {
75
34
  }
76
35
  }
77
36
  exports.NotifyMigrationTaskStateCommand = NotifyMigrationTaskStateCommand;
78
- //# sourceMappingURL=NotifyMigrationTaskStateCommand.js.map
@@ -5,60 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Provides identifying details of the resource being migrated so that it can be associated
10
- * in the Application Discovery Service repository. This association occurs asynchronously
11
- * after <code>PutResourceAttributes</code> returns.</p>
12
- * <important>
13
- * <ul>
14
- * <li>
15
- * <p>Keep in mind that subsequent calls to PutResourceAttributes will override
16
- * previously stored attributes. For example, if it is first called with a MAC
17
- * address, but later, it is desired to <i>add</i> an IP address, it
18
- * will then be required to call it with <i>both</i> the IP and MAC
19
- * addresses to prevent overriding the MAC address.</p>
20
- * </li>
21
- * <li>
22
- * <p>Note the instructions regarding the special use case of the <a href="https://docs.aws.amazon.com/migrationhub/latest/ug/API_PutResourceAttributes.html#migrationhub-PutResourceAttributes-request-ResourceAttributeList">
23
- * <code>ResourceAttributeList</code>
24
- * </a> parameter when specifying any
25
- * "VM" related value.</p>
26
- * </li>
27
- * </ul>
28
- * </important>
29
- *
30
- * <note>
31
- * <p>Because this is an asynchronous call, it will always return 200, whether an
32
- * association occurs or not. To confirm if an association was found based on the provided
33
- * details, call <code>ListDiscoveredResources</code>.</p>
34
- * </note>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { MigrationHubClient, PutResourceAttributesCommand } from "@aws-sdk/client-migration-hub"; // ES Modules import
39
- * // const { MigrationHubClient, PutResourceAttributesCommand } = require("@aws-sdk/client-migration-hub"); // CommonJS import
40
- * const client = new MigrationHubClient(config);
41
- * const command = new PutResourceAttributesCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link PutResourceAttributesCommandInput} for command's `input` shape.
46
- * @see {@link PutResourceAttributesCommandOutput} for command's `response` shape.
47
- * @see {@link MigrationHubClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
50
8
  class PutResourceAttributesCommand extends smithy_client_1.Command {
51
- // Start section: command_properties
52
- // End section: command_properties
53
9
  constructor(input) {
54
- // Start section: command_constructor
55
10
  super();
56
11
  this.input = input;
57
- // End section: command_constructor
58
12
  }
59
- /**
60
- * @internal
61
- */
62
13
  resolveMiddleware(clientStack, configuration, options) {
63
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
64
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -83,4 +34,3 @@ class PutResourceAttributesCommand extends smithy_client_1.Command {
83
34
  }
84
35
  }
85
36
  exports.PutResourceAttributesCommand = PutResourceAttributesCommand;
86
- //# sourceMappingURL=PutResourceAttributesCommand.js.map
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AssociateCreatedArtifactCommand"), exports);
5
+ tslib_1.__exportStar(require("./AssociateDiscoveredResourceCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateProgressUpdateStreamCommand"), exports);
7
+ tslib_1.__exportStar(require("./DeleteProgressUpdateStreamCommand"), exports);
8
+ tslib_1.__exportStar(require("./DescribeApplicationStateCommand"), exports);
9
+ tslib_1.__exportStar(require("./DescribeMigrationTaskCommand"), exports);
10
+ tslib_1.__exportStar(require("./DisassociateCreatedArtifactCommand"), exports);
11
+ tslib_1.__exportStar(require("./DisassociateDiscoveredResourceCommand"), exports);
12
+ tslib_1.__exportStar(require("./ImportMigrationTaskCommand"), exports);
13
+ tslib_1.__exportStar(require("./ListApplicationStatesCommand"), exports);
14
+ tslib_1.__exportStar(require("./ListCreatedArtifactsCommand"), exports);
15
+ tslib_1.__exportStar(require("./ListDiscoveredResourcesCommand"), exports);
16
+ tslib_1.__exportStar(require("./ListMigrationTasksCommand"), exports);
17
+ tslib_1.__exportStar(require("./ListProgressUpdateStreamsCommand"), exports);
18
+ tslib_1.__exportStar(require("./NotifyApplicationStateCommand"), exports);
19
+ tslib_1.__exportStar(require("./NotifyMigrationTaskStateCommand"), exports);
20
+ tslib_1.__exportStar(require("./PutResourceAttributesCommand"), exports);
@@ -35,7 +35,7 @@ const partitionHash = {
35
35
  hostname: "mgh.{region}.amazonaws.com.cn",
36
36
  },
37
37
  "aws-iso": {
38
- regions: ["us-iso-east-1"],
38
+ regions: ["us-iso-east-1", "us-iso-west-1"],
39
39
  hostname: "mgh.{region}.c2s.ic.gov",
40
40
  },
41
41
  "aws-iso-b": {
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
54
54
  partitionHash,
55
55
  });
56
56
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
57
- //# sourceMappingURL=endpoints.js.map
package/dist-cjs/index.js CHANGED
@@ -1,30 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./MigrationHubClient"), exports);
5
4
  tslib_1.__exportStar(require("./MigrationHub"), exports);
6
- tslib_1.__exportStar(require("./commands/AssociateCreatedArtifactCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/AssociateDiscoveredResourceCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreateProgressUpdateStreamCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/DeleteProgressUpdateStreamCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/DescribeApplicationStateCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/DescribeMigrationTaskCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/DisassociateCreatedArtifactCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/DisassociateDiscoveredResourceCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/ImportMigrationTaskCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/ListApplicationStatesCommand"), exports);
16
- tslib_1.__exportStar(require("./pagination/ListApplicationStatesPaginator"), exports);
17
- tslib_1.__exportStar(require("./commands/ListCreatedArtifactsCommand"), exports);
18
- tslib_1.__exportStar(require("./pagination/ListCreatedArtifactsPaginator"), exports);
19
- tslib_1.__exportStar(require("./commands/ListDiscoveredResourcesCommand"), exports);
20
- tslib_1.__exportStar(require("./pagination/ListDiscoveredResourcesPaginator"), exports);
21
- tslib_1.__exportStar(require("./commands/ListMigrationTasksCommand"), exports);
22
- tslib_1.__exportStar(require("./pagination/ListMigrationTasksPaginator"), exports);
23
- tslib_1.__exportStar(require("./commands/ListProgressUpdateStreamsCommand"), exports);
24
- tslib_1.__exportStar(require("./pagination/ListProgressUpdateStreamsPaginator"), exports);
25
- tslib_1.__exportStar(require("./commands/NotifyApplicationStateCommand"), exports);
26
- tslib_1.__exportStar(require("./commands/NotifyMigrationTaskStateCommand"), exports);
27
- tslib_1.__exportStar(require("./commands/PutResourceAttributesCommand"), exports);
28
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
29
- tslib_1.__exportStar(require("./models/index"), exports);
30
- //# sourceMappingURL=index.js.map
5
+ tslib_1.__exportStar(require("./MigrationHubClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map