@aws-sdk/client-migrationhubstrategy 3.928.0 → 3.930.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 (46) hide show
  1. package/dist-cjs/index.js +1256 -1119
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/MigrationHubStrategyClient.js +2 -0
  4. package/dist-es/commands/GetApplicationComponentDetailsCommand.js +3 -9
  5. package/dist-es/commands/GetApplicationComponentStrategiesCommand.js +3 -9
  6. package/dist-es/commands/GetAssessmentCommand.js +3 -9
  7. package/dist-es/commands/GetImportFileTaskCommand.js +3 -9
  8. package/dist-es/commands/GetLatestAssessmentIdCommand.js +3 -9
  9. package/dist-es/commands/GetPortfolioPreferencesCommand.js +3 -9
  10. package/dist-es/commands/GetPortfolioSummaryCommand.js +3 -9
  11. package/dist-es/commands/GetRecommendationReportDetailsCommand.js +3 -9
  12. package/dist-es/commands/GetServerDetailsCommand.js +3 -9
  13. package/dist-es/commands/GetServerStrategiesCommand.js +3 -9
  14. package/dist-es/commands/ListAnalyzableServersCommand.js +3 -9
  15. package/dist-es/commands/ListApplicationComponentsCommand.js +3 -9
  16. package/dist-es/commands/ListCollectorsCommand.js +3 -9
  17. package/dist-es/commands/ListImportFileTaskCommand.js +3 -9
  18. package/dist-es/commands/ListServersCommand.js +3 -9
  19. package/dist-es/commands/PutPortfolioPreferencesCommand.js +3 -9
  20. package/dist-es/commands/StartAssessmentCommand.js +3 -9
  21. package/dist-es/commands/StartImportFileTaskCommand.js +3 -9
  22. package/dist-es/commands/StartRecommendationReportGenerationCommand.js +3 -9
  23. package/dist-es/commands/StopAssessmentCommand.js +3 -9
  24. package/dist-es/commands/UpdateApplicationComponentConfigCommand.js +3 -10
  25. package/dist-es/commands/UpdateServerConfigCommand.js +3 -9
  26. package/dist-es/models/models_0.js +0 -51
  27. package/dist-es/runtimeConfig.shared.js +2 -0
  28. package/dist-es/schemas/schemas_0.js +1194 -0
  29. package/dist-types/MigrationHubStrategyClient.d.ts +10 -1
  30. package/dist-types/models/models_0.d.ts +16 -8
  31. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  32. package/dist-types/runtimeConfig.d.ts +1 -0
  33. package/dist-types/runtimeConfig.native.d.ts +1 -0
  34. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  35. package/dist-types/schemas/schemas_0.d.ts +165 -0
  36. package/dist-types/ts3.4/MigrationHubStrategyClient.d.ts +4 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +0 -10
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +171 -0
  43. package/package.json +33 -33
  44. package/dist-es/protocols/Aws_restJson1.js +0 -890
  45. package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
  46. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -269
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.migrationhubstrategy" }),
28
30
  serviceId: config?.serviceId ?? "MigrationHubStrategy",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class MigrationHubStrategyClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetApplicationComponentDetailsCommand, se_GetApplicationComponentDetailsCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetApplicationComponentDetails } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetApplicationComponentDetailsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentDetails", {})
17
13
  .n("MigrationHubStrategyClient", "GetApplicationComponentDetailsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetApplicationComponentDetailsCommand)
20
- .de(de_GetApplicationComponentDetailsCommand)
14
+ .sc(GetApplicationComponentDetails)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetApplicationComponentStrategiesCommand, se_GetApplicationComponentStrategiesCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetApplicationComponentStrategies } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetApplicationComponentStrategiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentStrategies", {})
17
13
  .n("MigrationHubStrategyClient", "GetApplicationComponentStrategiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetApplicationComponentStrategiesCommand)
20
- .de(de_GetApplicationComponentStrategiesCommand)
14
+ .sc(GetApplicationComponentStrategies)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAssessmentCommand, se_GetAssessmentCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAssessment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAssessmentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "GetAssessment", {})
17
13
  .n("MigrationHubStrategyClient", "GetAssessmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAssessmentCommand)
20
- .de(de_GetAssessmentCommand)
14
+ .sc(GetAssessment)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetImportFileTaskCommand, se_GetImportFileTaskCommand } from "../protocols/Aws_restJson1";
4
+ import { GetImportFileTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetImportFileTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "GetImportFileTask", {})
17
13
  .n("MigrationHubStrategyClient", "GetImportFileTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetImportFileTaskCommand)
20
- .de(de_GetImportFileTaskCommand)
14
+ .sc(GetImportFileTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetLatestAssessmentIdCommand, se_GetLatestAssessmentIdCommand } from "../protocols/Aws_restJson1";
4
+ import { GetLatestAssessmentId } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetLatestAssessmentIdCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "GetLatestAssessmentId", {})
17
13
  .n("MigrationHubStrategyClient", "GetLatestAssessmentIdCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetLatestAssessmentIdCommand)
20
- .de(de_GetLatestAssessmentIdCommand)
14
+ .sc(GetLatestAssessmentId)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetPortfolioPreferencesCommand, se_GetPortfolioPreferencesCommand } from "../protocols/Aws_restJson1";
4
+ import { GetPortfolioPreferences } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPortfolioPreferencesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioPreferences", {})
17
13
  .n("MigrationHubStrategyClient", "GetPortfolioPreferencesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPortfolioPreferencesCommand)
20
- .de(de_GetPortfolioPreferencesCommand)
14
+ .sc(GetPortfolioPreferences)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetPortfolioSummaryCommand, se_GetPortfolioSummaryCommand } from "../protocols/Aws_restJson1";
4
+ import { GetPortfolioSummary } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPortfolioSummaryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioSummary", {})
17
13
  .n("MigrationHubStrategyClient", "GetPortfolioSummaryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPortfolioSummaryCommand)
20
- .de(de_GetPortfolioSummaryCommand)
14
+ .sc(GetPortfolioSummary)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetRecommendationReportDetailsCommand, se_GetRecommendationReportDetailsCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetRecommendationReportDetails } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRecommendationReportDetailsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "GetRecommendationReportDetails", {})
17
13
  .n("MigrationHubStrategyClient", "GetRecommendationReportDetailsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRecommendationReportDetailsCommand)
20
- .de(de_GetRecommendationReportDetailsCommand)
14
+ .sc(GetRecommendationReportDetails)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetServerDetailsCommand, se_GetServerDetailsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetServerDetails } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetServerDetailsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "GetServerDetails", {})
17
13
  .n("MigrationHubStrategyClient", "GetServerDetailsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetServerDetailsCommand)
20
- .de(de_GetServerDetailsCommand)
14
+ .sc(GetServerDetails)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetServerStrategiesCommand, se_GetServerStrategiesCommand } from "../protocols/Aws_restJson1";
4
+ import { GetServerStrategies } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetServerStrategiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "GetServerStrategies", {})
17
13
  .n("MigrationHubStrategyClient", "GetServerStrategiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetServerStrategiesCommand)
20
- .de(de_GetServerStrategiesCommand)
14
+ .sc(GetServerStrategies)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListAnalyzableServersCommand, se_ListAnalyzableServersCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAnalyzableServers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAnalyzableServersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "ListAnalyzableServers", {})
17
13
  .n("MigrationHubStrategyClient", "ListAnalyzableServersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAnalyzableServersCommand)
20
- .de(de_ListAnalyzableServersCommand)
14
+ .sc(ListAnalyzableServers)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListApplicationComponentsCommand, se_ListApplicationComponentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListApplicationComponents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListApplicationComponentsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "ListApplicationComponents", {})
17
13
  .n("MigrationHubStrategyClient", "ListApplicationComponentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListApplicationComponentsCommand)
20
- .de(de_ListApplicationComponentsCommand)
14
+ .sc(ListApplicationComponents)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListCollectorsCommand, se_ListCollectorsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListCollectors } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListCollectorsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "ListCollectors", {})
17
13
  .n("MigrationHubStrategyClient", "ListCollectorsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListCollectorsCommand)
20
- .de(de_ListCollectorsCommand)
14
+ .sc(ListCollectors)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListImportFileTaskCommand, se_ListImportFileTaskCommand } from "../protocols/Aws_restJson1";
4
+ import { ListImportFileTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListImportFileTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "ListImportFileTask", {})
17
13
  .n("MigrationHubStrategyClient", "ListImportFileTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListImportFileTaskCommand)
20
- .de(de_ListImportFileTaskCommand)
14
+ .sc(ListImportFileTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListServersCommand, se_ListServersCommand } from "../protocols/Aws_restJson1";
4
+ import { ListServers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListServersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "ListServers", {})
17
13
  .n("MigrationHubStrategyClient", "ListServersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListServersCommand)
20
- .de(de_ListServersCommand)
14
+ .sc(ListServers)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutPortfolioPreferencesCommand, se_PutPortfolioPreferencesCommand } from "../protocols/Aws_restJson1";
4
+ import { PutPortfolioPreferences } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutPortfolioPreferencesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "PutPortfolioPreferences", {})
17
13
  .n("MigrationHubStrategyClient", "PutPortfolioPreferencesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutPortfolioPreferencesCommand)
20
- .de(de_PutPortfolioPreferencesCommand)
14
+ .sc(PutPortfolioPreferences)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartAssessmentCommand, se_StartAssessmentCommand } from "../protocols/Aws_restJson1";
4
+ import { StartAssessment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartAssessmentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "StartAssessment", {})
17
13
  .n("MigrationHubStrategyClient", "StartAssessmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartAssessmentCommand)
20
- .de(de_StartAssessmentCommand)
14
+ .sc(StartAssessment)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartImportFileTaskCommand, se_StartImportFileTaskCommand } from "../protocols/Aws_restJson1";
4
+ import { StartImportFileTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartImportFileTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "StartImportFileTask", {})
17
13
  .n("MigrationHubStrategyClient", "StartImportFileTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartImportFileTaskCommand)
20
- .de(de_StartImportFileTaskCommand)
14
+ .sc(StartImportFileTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartRecommendationReportGenerationCommand, se_StartRecommendationReportGenerationCommand, } from "../protocols/Aws_restJson1";
4
+ import { StartRecommendationReportGeneration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartRecommendationReportGenerationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "StartRecommendationReportGeneration", {})
17
13
  .n("MigrationHubStrategyClient", "StartRecommendationReportGenerationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartRecommendationReportGenerationCommand)
20
- .de(de_StartRecommendationReportGenerationCommand)
14
+ .sc(StartRecommendationReportGeneration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopAssessmentCommand, se_StopAssessmentCommand } from "../protocols/Aws_restJson1";
4
+ import { StopAssessment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopAssessmentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "StopAssessment", {})
17
13
  .n("MigrationHubStrategyClient", "StopAssessmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopAssessmentCommand)
20
- .de(de_StopAssessmentCommand)
14
+ .sc(StopAssessment)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateApplicationComponentConfigRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_UpdateApplicationComponentConfigCommand, se_UpdateApplicationComponentConfigCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateApplicationComponentConfig } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateApplicationComponentConfigCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AWSMigrationHubStrategyRecommendation", "UpdateApplicationComponentConfig", {})
18
13
  .n("MigrationHubStrategyClient", "UpdateApplicationComponentConfigCommand")
19
- .f(UpdateApplicationComponentConfigRequestFilterSensitiveLog, void 0)
20
- .ser(se_UpdateApplicationComponentConfigCommand)
21
- .de(de_UpdateApplicationComponentConfigCommand)
14
+ .sc(UpdateApplicationComponentConfig)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateServerConfigCommand, se_UpdateServerConfigCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateServerConfig } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateServerConfigCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSMigrationHubStrategyRecommendation", "UpdateServerConfig", {})
17
13
  .n("MigrationHubStrategyClient", "UpdateServerConfigCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateServerConfigCommand)
20
- .de(de_UpdateServerConfigCommand)
14
+ .sc(UpdateServerConfig)
21
15
  .build() {
22
16
  }