@aws-sdk/client-migrationhuborchestrator 3.181.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 (204) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +209 -0
  4. package/dist-cjs/MigrationHubOrchestrator.js +427 -0
  5. package/dist-cjs/MigrationHubOrchestratorClient.js +37 -0
  6. package/dist-cjs/commands/CreateWorkflowCommand.js +36 -0
  7. package/dist-cjs/commands/CreateWorkflowStepCommand.js +36 -0
  8. package/dist-cjs/commands/CreateWorkflowStepGroupCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteWorkflowCommand.js +36 -0
  10. package/dist-cjs/commands/DeleteWorkflowStepCommand.js +36 -0
  11. package/dist-cjs/commands/DeleteWorkflowStepGroupCommand.js +36 -0
  12. package/dist-cjs/commands/GetTemplateCommand.js +36 -0
  13. package/dist-cjs/commands/GetTemplateStepCommand.js +36 -0
  14. package/dist-cjs/commands/GetTemplateStepGroupCommand.js +36 -0
  15. package/dist-cjs/commands/GetWorkflowCommand.js +36 -0
  16. package/dist-cjs/commands/GetWorkflowStepCommand.js +36 -0
  17. package/dist-cjs/commands/GetWorkflowStepGroupCommand.js +36 -0
  18. package/dist-cjs/commands/ListPluginsCommand.js +36 -0
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  20. package/dist-cjs/commands/ListTemplateStepGroupsCommand.js +36 -0
  21. package/dist-cjs/commands/ListTemplateStepsCommand.js +36 -0
  22. package/dist-cjs/commands/ListTemplatesCommand.js +36 -0
  23. package/dist-cjs/commands/ListWorkflowStepGroupsCommand.js +36 -0
  24. package/dist-cjs/commands/ListWorkflowStepsCommand.js +36 -0
  25. package/dist-cjs/commands/ListWorkflowsCommand.js +36 -0
  26. package/dist-cjs/commands/RetryWorkflowStepCommand.js +36 -0
  27. package/dist-cjs/commands/StartWorkflowCommand.js +36 -0
  28. package/dist-cjs/commands/StopWorkflowCommand.js +36 -0
  29. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  30. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  31. package/dist-cjs/commands/UpdateWorkflowCommand.js +36 -0
  32. package/dist-cjs/commands/UpdateWorkflowStepCommand.js +36 -0
  33. package/dist-cjs/commands/UpdateWorkflowStepGroupCommand.js +36 -0
  34. package/dist-cjs/commands/index.js +31 -0
  35. package/dist-cjs/endpoints.js +132 -0
  36. package/dist-cjs/index.js +11 -0
  37. package/dist-cjs/models/MigrationHubOrchestratorServiceException.js +11 -0
  38. package/dist-cjs/models/index.js +4 -0
  39. package/dist-cjs/models/models_0.js +491 -0
  40. package/dist-cjs/pagination/Interfaces.js +2 -0
  41. package/dist-cjs/pagination/ListPluginsPaginator.js +36 -0
  42. package/dist-cjs/pagination/ListTemplateStepGroupsPaginator.js +36 -0
  43. package/dist-cjs/pagination/ListTemplateStepsPaginator.js +36 -0
  44. package/dist-cjs/pagination/ListTemplatesPaginator.js +36 -0
  45. package/dist-cjs/pagination/ListWorkflowStepGroupsPaginator.js +36 -0
  46. package/dist-cjs/pagination/ListWorkflowStepsPaginator.js +36 -0
  47. package/dist-cjs/pagination/ListWorkflowsPaginator.js +36 -0
  48. package/dist-cjs/pagination/index.js +11 -0
  49. package/dist-cjs/protocols/Aws_restJson1.js +2816 -0
  50. package/dist-cjs/runtimeConfig.browser.js +45 -0
  51. package/dist-cjs/runtimeConfig.js +52 -0
  52. package/dist-cjs/runtimeConfig.native.js +16 -0
  53. package/dist-cjs/runtimeConfig.shared.js +17 -0
  54. package/dist-es/MigrationHubOrchestrator.js +430 -0
  55. package/dist-es/MigrationHubOrchestratorClient.js +39 -0
  56. package/dist-es/commands/CreateWorkflowCommand.js +39 -0
  57. package/dist-es/commands/CreateWorkflowStepCommand.js +39 -0
  58. package/dist-es/commands/CreateWorkflowStepGroupCommand.js +39 -0
  59. package/dist-es/commands/DeleteWorkflowCommand.js +39 -0
  60. package/dist-es/commands/DeleteWorkflowStepCommand.js +39 -0
  61. package/dist-es/commands/DeleteWorkflowStepGroupCommand.js +39 -0
  62. package/dist-es/commands/GetTemplateCommand.js +39 -0
  63. package/dist-es/commands/GetTemplateStepCommand.js +39 -0
  64. package/dist-es/commands/GetTemplateStepGroupCommand.js +39 -0
  65. package/dist-es/commands/GetWorkflowCommand.js +39 -0
  66. package/dist-es/commands/GetWorkflowStepCommand.js +39 -0
  67. package/dist-es/commands/GetWorkflowStepGroupCommand.js +39 -0
  68. package/dist-es/commands/ListPluginsCommand.js +39 -0
  69. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  70. package/dist-es/commands/ListTemplateStepGroupsCommand.js +39 -0
  71. package/dist-es/commands/ListTemplateStepsCommand.js +39 -0
  72. package/dist-es/commands/ListTemplatesCommand.js +39 -0
  73. package/dist-es/commands/ListWorkflowStepGroupsCommand.js +39 -0
  74. package/dist-es/commands/ListWorkflowStepsCommand.js +39 -0
  75. package/dist-es/commands/ListWorkflowsCommand.js +39 -0
  76. package/dist-es/commands/RetryWorkflowStepCommand.js +39 -0
  77. package/dist-es/commands/StartWorkflowCommand.js +39 -0
  78. package/dist-es/commands/StopWorkflowCommand.js +39 -0
  79. package/dist-es/commands/TagResourceCommand.js +39 -0
  80. package/dist-es/commands/UntagResourceCommand.js +39 -0
  81. package/dist-es/commands/UpdateWorkflowCommand.js +39 -0
  82. package/dist-es/commands/UpdateWorkflowStepCommand.js +39 -0
  83. package/dist-es/commands/UpdateWorkflowStepGroupCommand.js +39 -0
  84. package/dist-es/commands/index.js +28 -0
  85. package/dist-es/endpoints.js +128 -0
  86. package/dist-es/index.js +6 -0
  87. package/dist-es/models/MigrationHubOrchestratorServiceException.js +12 -0
  88. package/dist-es/models/index.js +1 -0
  89. package/dist-es/models/models_0.js +261 -0
  90. package/dist-es/pagination/Interfaces.js +1 -0
  91. package/dist-es/pagination/ListPluginsPaginator.js +75 -0
  92. package/dist-es/pagination/ListTemplateStepGroupsPaginator.js +75 -0
  93. package/dist-es/pagination/ListTemplateStepsPaginator.js +75 -0
  94. package/dist-es/pagination/ListTemplatesPaginator.js +75 -0
  95. package/dist-es/pagination/ListWorkflowStepGroupsPaginator.js +75 -0
  96. package/dist-es/pagination/ListWorkflowStepsPaginator.js +75 -0
  97. package/dist-es/pagination/ListWorkflowsPaginator.js +75 -0
  98. package/dist-es/pagination/index.js +8 -0
  99. package/dist-es/protocols/Aws_restJson1.js +3593 -0
  100. package/dist-es/runtimeConfig.browser.js +26 -0
  101. package/dist-es/runtimeConfig.js +30 -0
  102. package/dist-es/runtimeConfig.native.js +8 -0
  103. package/dist-es/runtimeConfig.shared.js +13 -0
  104. package/dist-types/MigrationHubOrchestrator.d.ts +209 -0
  105. package/dist-types/MigrationHubOrchestratorClient.d.ts +176 -0
  106. package/dist-types/commands/CreateWorkflowCommand.d.ts +35 -0
  107. package/dist-types/commands/CreateWorkflowStepCommand.d.ts +35 -0
  108. package/dist-types/commands/CreateWorkflowStepGroupCommand.d.ts +35 -0
  109. package/dist-types/commands/DeleteWorkflowCommand.d.ts +36 -0
  110. package/dist-types/commands/DeleteWorkflowStepCommand.d.ts +36 -0
  111. package/dist-types/commands/DeleteWorkflowStepGroupCommand.d.ts +35 -0
  112. package/dist-types/commands/GetTemplateCommand.d.ts +35 -0
  113. package/dist-types/commands/GetTemplateStepCommand.d.ts +35 -0
  114. package/dist-types/commands/GetTemplateStepGroupCommand.d.ts +35 -0
  115. package/dist-types/commands/GetWorkflowCommand.d.ts +35 -0
  116. package/dist-types/commands/GetWorkflowStepCommand.d.ts +35 -0
  117. package/dist-types/commands/GetWorkflowStepGroupCommand.d.ts +35 -0
  118. package/dist-types/commands/ListPluginsCommand.d.ts +35 -0
  119. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  120. package/dist-types/commands/ListTemplateStepGroupsCommand.d.ts +35 -0
  121. package/dist-types/commands/ListTemplateStepsCommand.d.ts +35 -0
  122. package/dist-types/commands/ListTemplatesCommand.d.ts +35 -0
  123. package/dist-types/commands/ListWorkflowStepGroupsCommand.d.ts +35 -0
  124. package/dist-types/commands/ListWorkflowStepsCommand.d.ts +35 -0
  125. package/dist-types/commands/ListWorkflowsCommand.d.ts +35 -0
  126. package/dist-types/commands/RetryWorkflowStepCommand.d.ts +35 -0
  127. package/dist-types/commands/StartWorkflowCommand.d.ts +35 -0
  128. package/dist-types/commands/StopWorkflowCommand.d.ts +35 -0
  129. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  130. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  131. package/dist-types/commands/UpdateWorkflowCommand.d.ts +35 -0
  132. package/dist-types/commands/UpdateWorkflowStepCommand.d.ts +35 -0
  133. package/dist-types/commands/UpdateWorkflowStepGroupCommand.d.ts +35 -0
  134. package/dist-types/commands/index.d.ts +28 -0
  135. package/dist-types/endpoints.d.ts +2 -0
  136. package/dist-types/index.d.ts +6 -0
  137. package/dist-types/models/MigrationHubOrchestratorServiceException.d.ts +10 -0
  138. package/dist-types/models/index.d.ts +1 -0
  139. package/dist-types/models/models_0.d.ts +2063 -0
  140. package/dist-types/pagination/Interfaces.d.ts +6 -0
  141. package/dist-types/pagination/ListPluginsPaginator.d.ts +4 -0
  142. package/dist-types/pagination/ListTemplateStepGroupsPaginator.d.ts +4 -0
  143. package/dist-types/pagination/ListTemplateStepsPaginator.d.ts +4 -0
  144. package/dist-types/pagination/ListTemplatesPaginator.d.ts +4 -0
  145. package/dist-types/pagination/ListWorkflowStepGroupsPaginator.d.ts +4 -0
  146. package/dist-types/pagination/ListWorkflowStepsPaginator.d.ts +4 -0
  147. package/dist-types/pagination/ListWorkflowsPaginator.d.ts +4 -0
  148. package/dist-types/pagination/index.d.ts +8 -0
  149. package/dist-types/protocols/Aws_restJson1.d.ts +86 -0
  150. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  151. package/dist-types/runtimeConfig.d.ts +40 -0
  152. package/dist-types/runtimeConfig.native.d.ts +39 -0
  153. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  154. package/dist-types/ts3.4/MigrationHubOrchestrator.d.ts +480 -0
  155. package/dist-types/ts3.4/MigrationHubOrchestratorClient.d.ts +273 -0
  156. package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +36 -0
  157. package/dist-types/ts3.4/commands/CreateWorkflowStepCommand.d.ts +36 -0
  158. package/dist-types/ts3.4/commands/CreateWorkflowStepGroupCommand.d.ts +39 -0
  159. package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +36 -0
  160. package/dist-types/ts3.4/commands/DeleteWorkflowStepCommand.d.ts +36 -0
  161. package/dist-types/ts3.4/commands/DeleteWorkflowStepGroupCommand.d.ts +39 -0
  162. package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +36 -0
  163. package/dist-types/ts3.4/commands/GetTemplateStepCommand.d.ts +35 -0
  164. package/dist-types/ts3.4/commands/GetTemplateStepGroupCommand.d.ts +39 -0
  165. package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +35 -0
  166. package/dist-types/ts3.4/commands/GetWorkflowStepCommand.d.ts +35 -0
  167. package/dist-types/ts3.4/commands/GetWorkflowStepGroupCommand.d.ts +39 -0
  168. package/dist-types/ts3.4/commands/ListPluginsCommand.d.ts +32 -0
  169. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -0
  170. package/dist-types/ts3.4/commands/ListTemplateStepGroupsCommand.d.ts +39 -0
  171. package/dist-types/ts3.4/commands/ListTemplateStepsCommand.d.ts +36 -0
  172. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +36 -0
  173. package/dist-types/ts3.4/commands/ListWorkflowStepGroupsCommand.d.ts +39 -0
  174. package/dist-types/ts3.4/commands/ListWorkflowStepsCommand.d.ts +36 -0
  175. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +36 -0
  176. package/dist-types/ts3.4/commands/RetryWorkflowStepCommand.d.ts +36 -0
  177. package/dist-types/ts3.4/commands/StartWorkflowCommand.d.ts +36 -0
  178. package/dist-types/ts3.4/commands/StopWorkflowCommand.d.ts +36 -0
  179. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -0
  180. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  181. package/dist-types/ts3.4/commands/UpdateWorkflowCommand.d.ts +36 -0
  182. package/dist-types/ts3.4/commands/UpdateWorkflowStepCommand.d.ts +36 -0
  183. package/dist-types/ts3.4/commands/UpdateWorkflowStepGroupCommand.d.ts +39 -0
  184. package/dist-types/ts3.4/commands/index.d.ts +28 -0
  185. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  186. package/dist-types/ts3.4/index.d.ts +6 -0
  187. package/dist-types/ts3.4/models/MigrationHubOrchestratorServiceException.d.ts +7 -0
  188. package/dist-types/ts3.4/models/index.d.ts +1 -0
  189. package/dist-types/ts3.4/models/models_0.d.ts +880 -0
  190. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  191. package/dist-types/ts3.4/pagination/ListPluginsPaginator.d.ts +11 -0
  192. package/dist-types/ts3.4/pagination/ListTemplateStepGroupsPaginator.d.ts +11 -0
  193. package/dist-types/ts3.4/pagination/ListTemplateStepsPaginator.d.ts +11 -0
  194. package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +11 -0
  195. package/dist-types/ts3.4/pagination/ListWorkflowStepGroupsPaginator.d.ts +11 -0
  196. package/dist-types/ts3.4/pagination/ListWorkflowStepsPaginator.d.ts +11 -0
  197. package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +11 -0
  198. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  199. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +341 -0
  200. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +69 -0
  201. package/dist-types/ts3.4/runtimeConfig.d.ts +69 -0
  202. package/dist-types/ts3.4/runtimeConfig.native.d.ts +70 -0
  203. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +12 -0
  204. package/package.json +100 -0
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteWorkflowStepGroupCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DeleteWorkflowStepGroupCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "DeleteWorkflowStepGroupCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteWorkflowStepGroupRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteWorkflowStepGroupResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteWorkflowStepGroupCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteWorkflowStepGroupCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DeleteWorkflowStepGroupCommand = DeleteWorkflowStepGroupCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTemplateCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetTemplateCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "GetTemplateCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetMigrationWorkflowTemplateRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetMigrationWorkflowTemplateResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetTemplateCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetTemplateCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetTemplateCommand = GetTemplateCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTemplateStepCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetTemplateStepCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "GetTemplateStepCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetTemplateStepRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetTemplateStepResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetTemplateStepCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetTemplateStepCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetTemplateStepCommand = GetTemplateStepCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTemplateStepGroupCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetTemplateStepGroupCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "GetTemplateStepGroupCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetTemplateStepGroupRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetTemplateStepGroupResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetTemplateStepGroupCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetTemplateStepGroupCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetTemplateStepGroupCommand = GetTemplateStepGroupCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetWorkflowCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetWorkflowCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "GetWorkflowCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetMigrationWorkflowRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetMigrationWorkflowResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetWorkflowCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetWorkflowCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetWorkflowCommand = GetWorkflowCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetWorkflowStepCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetWorkflowStepCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "GetWorkflowStepCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetWorkflowStepRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetWorkflowStepResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetWorkflowStepCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetWorkflowStepCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetWorkflowStepCommand = GetWorkflowStepCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetWorkflowStepGroupCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetWorkflowStepGroupCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "GetWorkflowStepGroupCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetWorkflowStepGroupRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetWorkflowStepGroupResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetWorkflowStepGroupCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetWorkflowStepGroupCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetWorkflowStepGroupCommand = GetWorkflowStepGroupCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListPluginsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListPluginsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "ListPluginsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListPluginsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListPluginsResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListPluginsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListPluginsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListPluginsCommand = ListPluginsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTagsForResourceCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListTagsForResourceCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "ListTagsForResourceCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListTagsForResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListTagsForResourceResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTemplateStepGroupsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListTemplateStepGroupsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "ListTemplateStepGroupsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListTemplateStepGroupsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListTemplateStepGroupsResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTemplateStepGroupsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTemplateStepGroupsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListTemplateStepGroupsCommand = ListTemplateStepGroupsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTemplateStepsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListTemplateStepsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "ListTemplateStepsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListTemplateStepsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListTemplateStepsResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTemplateStepsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTemplateStepsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListTemplateStepsCommand = ListTemplateStepsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTemplatesCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListTemplatesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "ListTemplatesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListMigrationWorkflowTemplatesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListMigrationWorkflowTemplatesResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTemplatesCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTemplatesCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListTemplatesCommand = ListTemplatesCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListWorkflowStepGroupsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListWorkflowStepGroupsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "ListWorkflowStepGroupsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListWorkflowStepGroupsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListWorkflowStepGroupsResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListWorkflowStepGroupsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListWorkflowStepGroupsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListWorkflowStepGroupsCommand = ListWorkflowStepGroupsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListWorkflowStepsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListWorkflowStepsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "ListWorkflowStepsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListWorkflowStepsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListWorkflowStepsResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListWorkflowStepsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListWorkflowStepsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListWorkflowStepsCommand = ListWorkflowStepsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListWorkflowsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListWorkflowsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "ListWorkflowsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListMigrationWorkflowsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListMigrationWorkflowsResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListWorkflowsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListWorkflowsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListWorkflowsCommand = ListWorkflowsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RetryWorkflowStepCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class RetryWorkflowStepCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "RetryWorkflowStepCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.RetryWorkflowStepRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.RetryWorkflowStepResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1RetryWorkflowStepCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1RetryWorkflowStepCommand)(output, context);
34
+ }
35
+ }
36
+ exports.RetryWorkflowStepCommand = RetryWorkflowStepCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartWorkflowCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class StartWorkflowCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "MigrationHubOrchestratorClient";
18
+ const commandName = "StartWorkflowCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.StartMigrationWorkflowRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.StartMigrationWorkflowResponseFilterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1StartWorkflowCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1StartWorkflowCommand)(output, context);
34
+ }
35
+ }
36
+ exports.StartWorkflowCommand = StartWorkflowCommand;