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