@aws-sdk/client-migrationhuborchestrator 3.183.0 → 3.186.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 (48) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/MigrationHubOrchestrator.js +121 -114
  4. package/dist-es/MigrationHubOrchestratorClient.js +28 -22
  5. package/dist-es/commands/CreateWorkflowCommand.js +28 -21
  6. package/dist-es/commands/CreateWorkflowStepCommand.js +28 -21
  7. package/dist-es/commands/CreateWorkflowStepGroupCommand.js +28 -21
  8. package/dist-es/commands/DeleteWorkflowCommand.js +28 -21
  9. package/dist-es/commands/DeleteWorkflowStepCommand.js +28 -21
  10. package/dist-es/commands/DeleteWorkflowStepGroupCommand.js +28 -21
  11. package/dist-es/commands/GetTemplateCommand.js +28 -21
  12. package/dist-es/commands/GetTemplateStepCommand.js +28 -21
  13. package/dist-es/commands/GetTemplateStepGroupCommand.js +28 -21
  14. package/dist-es/commands/GetWorkflowCommand.js +28 -21
  15. package/dist-es/commands/GetWorkflowStepCommand.js +28 -21
  16. package/dist-es/commands/GetWorkflowStepGroupCommand.js +28 -21
  17. package/dist-es/commands/ListPluginsCommand.js +28 -21
  18. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  19. package/dist-es/commands/ListTemplateStepGroupsCommand.js +28 -21
  20. package/dist-es/commands/ListTemplateStepsCommand.js +28 -21
  21. package/dist-es/commands/ListTemplatesCommand.js +28 -21
  22. package/dist-es/commands/ListWorkflowStepGroupsCommand.js +28 -21
  23. package/dist-es/commands/ListWorkflowStepsCommand.js +28 -21
  24. package/dist-es/commands/ListWorkflowsCommand.js +28 -21
  25. package/dist-es/commands/RetryWorkflowStepCommand.js +28 -21
  26. package/dist-es/commands/StartWorkflowCommand.js +28 -21
  27. package/dist-es/commands/StopWorkflowCommand.js +28 -21
  28. package/dist-es/commands/TagResourceCommand.js +28 -21
  29. package/dist-es/commands/UntagResourceCommand.js +28 -21
  30. package/dist-es/commands/UpdateWorkflowCommand.js +28 -21
  31. package/dist-es/commands/UpdateWorkflowStepCommand.js +28 -21
  32. package/dist-es/commands/UpdateWorkflowStepGroupCommand.js +28 -21
  33. package/dist-es/endpoints.js +8 -8
  34. package/dist-es/models/MigrationHubOrchestratorServiceException.js +10 -5
  35. package/dist-es/models/models_0.js +137 -285
  36. package/dist-es/pagination/ListPluginsPaginator.js +68 -25
  37. package/dist-es/pagination/ListTemplateStepGroupsPaginator.js +68 -25
  38. package/dist-es/pagination/ListTemplateStepsPaginator.js +68 -25
  39. package/dist-es/pagination/ListTemplatesPaginator.js +68 -25
  40. package/dist-es/pagination/ListWorkflowStepGroupsPaginator.js +68 -25
  41. package/dist-es/pagination/ListWorkflowStepsPaginator.js +68 -25
  42. package/dist-es/pagination/ListWorkflowsPaginator.js +68 -25
  43. package/dist-es/protocols/Aws_restJson1.js +3204 -2363
  44. package/dist-es/runtimeConfig.browser.js +12 -26
  45. package/dist-es/runtimeConfig.js +12 -30
  46. package/dist-es/runtimeConfig.native.js +5 -8
  47. package/dist-es/runtimeConfig.shared.js +11 -8
  48. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetWorkflowStepRequestFilterSensitiveLog, GetWorkflowStepResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetWorkflowStepCommand, serializeAws_restJson1GetWorkflowStepCommand, } from "../protocols/Aws_restJson1";
5
- export class GetWorkflowStepCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetWorkflowStepCommand = (function (_super) {
7
+ __extends(GetWorkflowStepCommand, _super);
8
+ function GetWorkflowStepCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetWorkflowStepCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubOrchestratorClient";
15
- const commandName = "GetWorkflowStepCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubOrchestratorClient";
18
+ var commandName = "GetWorkflowStepCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetWorkflowStepRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetWorkflowStepResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetWorkflowStepCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetWorkflowStepCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetWorkflowStepCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetWorkflowStepCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetWorkflowStepCommand;
38
+ }($Command));
39
+ export { GetWorkflowStepCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetWorkflowStepGroupRequestFilterSensitiveLog, GetWorkflowStepGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetWorkflowStepGroupCommand, serializeAws_restJson1GetWorkflowStepGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class GetWorkflowStepGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetWorkflowStepGroupCommand = (function (_super) {
7
+ __extends(GetWorkflowStepGroupCommand, _super);
8
+ function GetWorkflowStepGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetWorkflowStepGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubOrchestratorClient";
15
- const commandName = "GetWorkflowStepGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubOrchestratorClient";
18
+ var commandName = "GetWorkflowStepGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetWorkflowStepGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetWorkflowStepGroupResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetWorkflowStepGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetWorkflowStepGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetWorkflowStepGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetWorkflowStepGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetWorkflowStepGroupCommand;
38
+ }($Command));
39
+ export { GetWorkflowStepGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListPluginsRequestFilterSensitiveLog, ListPluginsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPluginsCommand, serializeAws_restJson1ListPluginsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPluginsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPluginsCommand = (function (_super) {
7
+ __extends(ListPluginsCommand, _super);
8
+ function ListPluginsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPluginsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubOrchestratorClient";
15
- const commandName = "ListPluginsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubOrchestratorClient";
18
+ var commandName = "ListPluginsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPluginsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPluginsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListPluginsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPluginsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPluginsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPluginsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPluginsCommand;
38
+ }($Command));
39
+ export { ListPluginsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubOrchestratorClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubOrchestratorClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTemplateStepGroupsRequestFilterSensitiveLog, ListTemplateStepGroupsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTemplateStepGroupsCommand, serializeAws_restJson1ListTemplateStepGroupsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTemplateStepGroupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTemplateStepGroupsCommand = (function (_super) {
7
+ __extends(ListTemplateStepGroupsCommand, _super);
8
+ function ListTemplateStepGroupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTemplateStepGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubOrchestratorClient";
15
- const commandName = "ListTemplateStepGroupsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubOrchestratorClient";
18
+ var commandName = "ListTemplateStepGroupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTemplateStepGroupsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTemplateStepGroupsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTemplateStepGroupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTemplateStepGroupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTemplateStepGroupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTemplateStepGroupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTemplateStepGroupsCommand;
38
+ }($Command));
39
+ export { ListTemplateStepGroupsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTemplateStepsRequestFilterSensitiveLog, ListTemplateStepsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTemplateStepsCommand, serializeAws_restJson1ListTemplateStepsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTemplateStepsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTemplateStepsCommand = (function (_super) {
7
+ __extends(ListTemplateStepsCommand, _super);
8
+ function ListTemplateStepsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTemplateStepsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubOrchestratorClient";
15
- const commandName = "ListTemplateStepsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubOrchestratorClient";
18
+ var commandName = "ListTemplateStepsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTemplateStepsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTemplateStepsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTemplateStepsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTemplateStepsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTemplateStepsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTemplateStepsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTemplateStepsCommand;
38
+ }($Command));
39
+ export { ListTemplateStepsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListMigrationWorkflowTemplatesRequestFilterSensitiveLog, ListMigrationWorkflowTemplatesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTemplatesCommand, serializeAws_restJson1ListTemplatesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTemplatesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTemplatesCommand = (function (_super) {
7
+ __extends(ListTemplatesCommand, _super);
8
+ function ListTemplatesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTemplatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubOrchestratorClient";
15
- const commandName = "ListTemplatesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubOrchestratorClient";
18
+ var commandName = "ListTemplatesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListMigrationWorkflowTemplatesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListMigrationWorkflowTemplatesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTemplatesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTemplatesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTemplatesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTemplatesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTemplatesCommand;
38
+ }($Command));
39
+ export { ListTemplatesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListWorkflowStepGroupsRequestFilterSensitiveLog, ListWorkflowStepGroupsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListWorkflowStepGroupsCommand, serializeAws_restJson1ListWorkflowStepGroupsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListWorkflowStepGroupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListWorkflowStepGroupsCommand = (function (_super) {
7
+ __extends(ListWorkflowStepGroupsCommand, _super);
8
+ function ListWorkflowStepGroupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListWorkflowStepGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubOrchestratorClient";
15
- const commandName = "ListWorkflowStepGroupsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubOrchestratorClient";
18
+ var commandName = "ListWorkflowStepGroupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListWorkflowStepGroupsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListWorkflowStepGroupsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListWorkflowStepGroupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListWorkflowStepGroupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListWorkflowStepGroupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListWorkflowStepGroupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListWorkflowStepGroupsCommand;
38
+ }($Command));
39
+ export { ListWorkflowStepGroupsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListWorkflowStepsRequestFilterSensitiveLog, ListWorkflowStepsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListWorkflowStepsCommand, serializeAws_restJson1ListWorkflowStepsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListWorkflowStepsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListWorkflowStepsCommand = (function (_super) {
7
+ __extends(ListWorkflowStepsCommand, _super);
8
+ function ListWorkflowStepsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListWorkflowStepsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubOrchestratorClient";
15
- const commandName = "ListWorkflowStepsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubOrchestratorClient";
18
+ var commandName = "ListWorkflowStepsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListWorkflowStepsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListWorkflowStepsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListWorkflowStepsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListWorkflowStepsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListWorkflowStepsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListWorkflowStepsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListWorkflowStepsCommand;
38
+ }($Command));
39
+ export { ListWorkflowStepsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListMigrationWorkflowsRequestFilterSensitiveLog, ListMigrationWorkflowsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListWorkflowsCommand, serializeAws_restJson1ListWorkflowsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListWorkflowsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListWorkflowsCommand = (function (_super) {
7
+ __extends(ListWorkflowsCommand, _super);
8
+ function ListWorkflowsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListWorkflowsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "MigrationHubOrchestratorClient";
15
- const commandName = "ListWorkflowsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubOrchestratorClient";
18
+ var commandName = "ListWorkflowsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListMigrationWorkflowsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListMigrationWorkflowsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListWorkflowsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListWorkflowsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListWorkflowsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListWorkflowsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListWorkflowsCommand;
38
+ }($Command));
39
+ export { ListWorkflowsCommand };