@aws-sdk/client-migrationhubstrategy 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 (38) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/MigrationHubStrategy.js +89 -82
  4. package/dist-es/MigrationHubStrategyClient.js +28 -22
  5. package/dist-es/commands/GetApplicationComponentDetailsCommand.js +28 -21
  6. package/dist-es/commands/GetApplicationComponentStrategiesCommand.js +28 -21
  7. package/dist-es/commands/GetAssessmentCommand.js +28 -21
  8. package/dist-es/commands/GetImportFileTaskCommand.js +28 -21
  9. package/dist-es/commands/GetPortfolioPreferencesCommand.js +28 -21
  10. package/dist-es/commands/GetPortfolioSummaryCommand.js +28 -21
  11. package/dist-es/commands/GetRecommendationReportDetailsCommand.js +28 -21
  12. package/dist-es/commands/GetServerDetailsCommand.js +28 -21
  13. package/dist-es/commands/GetServerStrategiesCommand.js +28 -21
  14. package/dist-es/commands/ListApplicationComponentsCommand.js +28 -21
  15. package/dist-es/commands/ListCollectorsCommand.js +28 -21
  16. package/dist-es/commands/ListImportFileTaskCommand.js +28 -21
  17. package/dist-es/commands/ListServersCommand.js +28 -21
  18. package/dist-es/commands/PutPortfolioPreferencesCommand.js +28 -21
  19. package/dist-es/commands/StartAssessmentCommand.js +28 -21
  20. package/dist-es/commands/StartImportFileTaskCommand.js +28 -21
  21. package/dist-es/commands/StartRecommendationReportGenerationCommand.js +28 -21
  22. package/dist-es/commands/StopAssessmentCommand.js +28 -21
  23. package/dist-es/commands/UpdateApplicationComponentConfigCommand.js +28 -21
  24. package/dist-es/commands/UpdateServerConfigCommand.js +28 -21
  25. package/dist-es/endpoints.js +8 -8
  26. package/dist-es/models/MigrationHubStrategyServiceException.js +10 -5
  27. package/dist-es/models/models_0.js +184 -338
  28. package/dist-es/pagination/GetServerDetailsPaginator.js +68 -25
  29. package/dist-es/pagination/ListApplicationComponentsPaginator.js +68 -25
  30. package/dist-es/pagination/ListCollectorsPaginator.js +68 -25
  31. package/dist-es/pagination/ListImportFileTaskPaginator.js +68 -25
  32. package/dist-es/pagination/ListServersPaginator.js +68 -25
  33. package/dist-es/protocols/Aws_restJson1.js +2237 -1660
  34. package/dist-es/runtimeConfig.browser.js +12 -26
  35. package/dist-es/runtimeConfig.js +12 -30
  36. package/dist-es/runtimeConfig.native.js +5 -8
  37. package/dist-es/runtimeConfig.shared.js +11 -8
  38. 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 { GetAssessmentRequestFilterSensitiveLog, GetAssessmentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetAssessmentCommand, serializeAws_restJson1GetAssessmentCommand, } from "../protocols/Aws_restJson1";
5
- export class GetAssessmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetAssessmentCommand = (function (_super) {
7
+ __extends(GetAssessmentCommand, _super);
8
+ function GetAssessmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetAssessmentCommand.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 = "MigrationHubStrategyClient";
15
- const commandName = "GetAssessmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubStrategyClient";
18
+ var commandName = "GetAssessmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetAssessmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetAssessmentResponseFilterSensitiveLog,
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
+ GetAssessmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetAssessmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetAssessmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetAssessmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetAssessmentCommand;
38
+ }($Command));
39
+ export { GetAssessmentCommand };
@@ -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 { GetImportFileTaskRequestFilterSensitiveLog, GetImportFileTaskResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetImportFileTaskCommand, serializeAws_restJson1GetImportFileTaskCommand, } from "../protocols/Aws_restJson1";
5
- export class GetImportFileTaskCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetImportFileTaskCommand = (function (_super) {
7
+ __extends(GetImportFileTaskCommand, _super);
8
+ function GetImportFileTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetImportFileTaskCommand.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 = "MigrationHubStrategyClient";
15
- const commandName = "GetImportFileTaskCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubStrategyClient";
18
+ var commandName = "GetImportFileTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetImportFileTaskRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetImportFileTaskResponseFilterSensitiveLog,
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
+ GetImportFileTaskCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetImportFileTaskCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetImportFileTaskCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetImportFileTaskCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetImportFileTaskCommand;
38
+ }($Command));
39
+ export { GetImportFileTaskCommand };
@@ -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 { GetPortfolioPreferencesRequestFilterSensitiveLog, GetPortfolioPreferencesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPortfolioPreferencesCommand, serializeAws_restJson1GetPortfolioPreferencesCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPortfolioPreferencesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetPortfolioPreferencesCommand = (function (_super) {
7
+ __extends(GetPortfolioPreferencesCommand, _super);
8
+ function GetPortfolioPreferencesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPortfolioPreferencesCommand.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 = "MigrationHubStrategyClient";
15
- const commandName = "GetPortfolioPreferencesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubStrategyClient";
18
+ var commandName = "GetPortfolioPreferencesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPortfolioPreferencesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPortfolioPreferencesResponseFilterSensitiveLog,
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
+ GetPortfolioPreferencesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPortfolioPreferencesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPortfolioPreferencesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPortfolioPreferencesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPortfolioPreferencesCommand;
38
+ }($Command));
39
+ export { GetPortfolioPreferencesCommand };
@@ -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 { GetPortfolioSummaryRequestFilterSensitiveLog, GetPortfolioSummaryResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPortfolioSummaryCommand, serializeAws_restJson1GetPortfolioSummaryCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPortfolioSummaryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetPortfolioSummaryCommand = (function (_super) {
7
+ __extends(GetPortfolioSummaryCommand, _super);
8
+ function GetPortfolioSummaryCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPortfolioSummaryCommand.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 = "MigrationHubStrategyClient";
15
- const commandName = "GetPortfolioSummaryCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubStrategyClient";
18
+ var commandName = "GetPortfolioSummaryCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPortfolioSummaryRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPortfolioSummaryResponseFilterSensitiveLog,
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
+ GetPortfolioSummaryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPortfolioSummaryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPortfolioSummaryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPortfolioSummaryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPortfolioSummaryCommand;
38
+ }($Command));
39
+ export { GetPortfolioSummaryCommand };
@@ -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 { GetRecommendationReportDetailsRequestFilterSensitiveLog, GetRecommendationReportDetailsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetRecommendationReportDetailsCommand, serializeAws_restJson1GetRecommendationReportDetailsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetRecommendationReportDetailsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetRecommendationReportDetailsCommand = (function (_super) {
7
+ __extends(GetRecommendationReportDetailsCommand, _super);
8
+ function GetRecommendationReportDetailsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRecommendationReportDetailsCommand.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 = "MigrationHubStrategyClient";
15
- const commandName = "GetRecommendationReportDetailsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubStrategyClient";
18
+ var commandName = "GetRecommendationReportDetailsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetRecommendationReportDetailsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRecommendationReportDetailsResponseFilterSensitiveLog,
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
+ GetRecommendationReportDetailsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetRecommendationReportDetailsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRecommendationReportDetailsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetRecommendationReportDetailsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRecommendationReportDetailsCommand;
38
+ }($Command));
39
+ export { GetRecommendationReportDetailsCommand };
@@ -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 { GetServerDetailsRequestFilterSensitiveLog, GetServerDetailsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetServerDetailsCommand, serializeAws_restJson1GetServerDetailsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetServerDetailsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetServerDetailsCommand = (function (_super) {
7
+ __extends(GetServerDetailsCommand, _super);
8
+ function GetServerDetailsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetServerDetailsCommand.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 = "MigrationHubStrategyClient";
15
- const commandName = "GetServerDetailsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubStrategyClient";
18
+ var commandName = "GetServerDetailsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetServerDetailsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetServerDetailsResponseFilterSensitiveLog,
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
+ GetServerDetailsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetServerDetailsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetServerDetailsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetServerDetailsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetServerDetailsCommand;
38
+ }($Command));
39
+ export { GetServerDetailsCommand };
@@ -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 { GetServerStrategiesRequestFilterSensitiveLog, GetServerStrategiesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetServerStrategiesCommand, serializeAws_restJson1GetServerStrategiesCommand, } from "../protocols/Aws_restJson1";
5
- export class GetServerStrategiesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetServerStrategiesCommand = (function (_super) {
7
+ __extends(GetServerStrategiesCommand, _super);
8
+ function GetServerStrategiesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetServerStrategiesCommand.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 = "MigrationHubStrategyClient";
15
- const commandName = "GetServerStrategiesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubStrategyClient";
18
+ var commandName = "GetServerStrategiesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetServerStrategiesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetServerStrategiesResponseFilterSensitiveLog,
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
+ GetServerStrategiesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetServerStrategiesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetServerStrategiesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetServerStrategiesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetServerStrategiesCommand;
38
+ }($Command));
39
+ export { GetServerStrategiesCommand };
@@ -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 { ListApplicationComponentsRequestFilterSensitiveLog, ListApplicationComponentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListApplicationComponentsCommand, serializeAws_restJson1ListApplicationComponentsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListApplicationComponentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListApplicationComponentsCommand = (function (_super) {
7
+ __extends(ListApplicationComponentsCommand, _super);
8
+ function ListApplicationComponentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApplicationComponentsCommand.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 = "MigrationHubStrategyClient";
15
- const commandName = "ListApplicationComponentsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubStrategyClient";
18
+ var commandName = "ListApplicationComponentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListApplicationComponentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListApplicationComponentsResponseFilterSensitiveLog,
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
+ ListApplicationComponentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListApplicationComponentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApplicationComponentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListApplicationComponentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApplicationComponentsCommand;
38
+ }($Command));
39
+ export { ListApplicationComponentsCommand };
@@ -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 { ListCollectorsRequestFilterSensitiveLog, ListCollectorsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListCollectorsCommand, serializeAws_restJson1ListCollectorsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListCollectorsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListCollectorsCommand = (function (_super) {
7
+ __extends(ListCollectorsCommand, _super);
8
+ function ListCollectorsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListCollectorsCommand.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 = "MigrationHubStrategyClient";
15
- const commandName = "ListCollectorsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubStrategyClient";
18
+ var commandName = "ListCollectorsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListCollectorsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListCollectorsResponseFilterSensitiveLog,
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
+ ListCollectorsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListCollectorsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListCollectorsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListCollectorsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListCollectorsCommand;
38
+ }($Command));
39
+ export { ListCollectorsCommand };
@@ -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 { ListImportFileTaskRequestFilterSensitiveLog, ListImportFileTaskResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListImportFileTaskCommand, serializeAws_restJson1ListImportFileTaskCommand, } from "../protocols/Aws_restJson1";
5
- export class ListImportFileTaskCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListImportFileTaskCommand = (function (_super) {
7
+ __extends(ListImportFileTaskCommand, _super);
8
+ function ListImportFileTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListImportFileTaskCommand.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 = "MigrationHubStrategyClient";
15
- const commandName = "ListImportFileTaskCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MigrationHubStrategyClient";
18
+ var commandName = "ListImportFileTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListImportFileTaskRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListImportFileTaskResponseFilterSensitiveLog,
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
+ ListImportFileTaskCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListImportFileTaskCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListImportFileTaskCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListImportFileTaskCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListImportFileTaskCommand;
38
+ }($Command));
39
+ export { ListImportFileTaskCommand };