@aws-sdk/client-migrationhubstrategy 3.477.0 → 3.481.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 (117) hide show
  1. package/dist-cjs/commands/GetApplicationComponentDetailsCommand.js +18 -41
  2. package/dist-cjs/commands/GetApplicationComponentStrategiesCommand.js +18 -41
  3. package/dist-cjs/commands/GetAssessmentCommand.js +18 -41
  4. package/dist-cjs/commands/GetImportFileTaskCommand.js +18 -41
  5. package/dist-cjs/commands/GetLatestAssessmentIdCommand.js +18 -41
  6. package/dist-cjs/commands/GetPortfolioPreferencesCommand.js +18 -41
  7. package/dist-cjs/commands/GetPortfolioSummaryCommand.js +18 -41
  8. package/dist-cjs/commands/GetRecommendationReportDetailsCommand.js +18 -41
  9. package/dist-cjs/commands/GetServerDetailsCommand.js +18 -41
  10. package/dist-cjs/commands/GetServerStrategiesCommand.js +18 -41
  11. package/dist-cjs/commands/ListAnalyzableServersCommand.js +18 -41
  12. package/dist-cjs/commands/ListApplicationComponentsCommand.js +18 -41
  13. package/dist-cjs/commands/ListCollectorsCommand.js +18 -41
  14. package/dist-cjs/commands/ListImportFileTaskCommand.js +18 -41
  15. package/dist-cjs/commands/ListServersCommand.js +18 -41
  16. package/dist-cjs/commands/PutPortfolioPreferencesCommand.js +18 -41
  17. package/dist-cjs/commands/StartAssessmentCommand.js +18 -41
  18. package/dist-cjs/commands/StartImportFileTaskCommand.js +18 -41
  19. package/dist-cjs/commands/StartRecommendationReportGenerationCommand.js +18 -41
  20. package/dist-cjs/commands/StopAssessmentCommand.js +18 -41
  21. package/dist-cjs/commands/UpdateApplicationComponentConfigCommand.js +18 -41
  22. package/dist-cjs/commands/UpdateServerConfigCommand.js +18 -41
  23. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  24. package/dist-cjs/pagination/GetServerDetailsPaginator.js +2 -24
  25. package/dist-cjs/pagination/ListAnalyzableServersPaginator.js +2 -24
  26. package/dist-cjs/pagination/ListApplicationComponentsPaginator.js +2 -24
  27. package/dist-cjs/pagination/ListCollectorsPaginator.js +2 -24
  28. package/dist-cjs/pagination/ListImportFileTaskPaginator.js +2 -24
  29. package/dist-cjs/pagination/ListServersPaginator.js +2 -24
  30. package/dist-es/commands/GetApplicationComponentDetailsCommand.js +18 -41
  31. package/dist-es/commands/GetApplicationComponentStrategiesCommand.js +18 -41
  32. package/dist-es/commands/GetAssessmentCommand.js +18 -41
  33. package/dist-es/commands/GetImportFileTaskCommand.js +18 -41
  34. package/dist-es/commands/GetLatestAssessmentIdCommand.js +18 -41
  35. package/dist-es/commands/GetPortfolioPreferencesCommand.js +18 -41
  36. package/dist-es/commands/GetPortfolioSummaryCommand.js +18 -41
  37. package/dist-es/commands/GetRecommendationReportDetailsCommand.js +18 -41
  38. package/dist-es/commands/GetServerDetailsCommand.js +18 -41
  39. package/dist-es/commands/GetServerStrategiesCommand.js +18 -41
  40. package/dist-es/commands/ListAnalyzableServersCommand.js +18 -41
  41. package/dist-es/commands/ListApplicationComponentsCommand.js +18 -41
  42. package/dist-es/commands/ListCollectorsCommand.js +18 -41
  43. package/dist-es/commands/ListImportFileTaskCommand.js +18 -41
  44. package/dist-es/commands/ListServersCommand.js +18 -41
  45. package/dist-es/commands/PutPortfolioPreferencesCommand.js +18 -41
  46. package/dist-es/commands/StartAssessmentCommand.js +18 -41
  47. package/dist-es/commands/StartImportFileTaskCommand.js +18 -41
  48. package/dist-es/commands/StartRecommendationReportGenerationCommand.js +18 -41
  49. package/dist-es/commands/StopAssessmentCommand.js +18 -41
  50. package/dist-es/commands/UpdateApplicationComponentConfigCommand.js +18 -41
  51. package/dist-es/commands/UpdateServerConfigCommand.js +18 -41
  52. package/dist-es/endpoint/EndpointParameters.js +6 -0
  53. package/dist-es/pagination/GetServerDetailsPaginator.js +2 -23
  54. package/dist-es/pagination/ListAnalyzableServersPaginator.js +2 -23
  55. package/dist-es/pagination/ListApplicationComponentsPaginator.js +2 -23
  56. package/dist-es/pagination/ListCollectorsPaginator.js +2 -23
  57. package/dist-es/pagination/ListImportFileTaskPaginator.js +2 -23
  58. package/dist-es/pagination/ListServersPaginator.js +2 -23
  59. package/dist-types/commands/GetApplicationComponentDetailsCommand.d.ts +6 -21
  60. package/dist-types/commands/GetApplicationComponentStrategiesCommand.d.ts +6 -21
  61. package/dist-types/commands/GetAssessmentCommand.d.ts +6 -21
  62. package/dist-types/commands/GetImportFileTaskCommand.d.ts +6 -21
  63. package/dist-types/commands/GetLatestAssessmentIdCommand.d.ts +6 -21
  64. package/dist-types/commands/GetPortfolioPreferencesCommand.d.ts +6 -21
  65. package/dist-types/commands/GetPortfolioSummaryCommand.d.ts +6 -21
  66. package/dist-types/commands/GetRecommendationReportDetailsCommand.d.ts +6 -21
  67. package/dist-types/commands/GetServerDetailsCommand.d.ts +6 -21
  68. package/dist-types/commands/GetServerStrategiesCommand.d.ts +6 -21
  69. package/dist-types/commands/ListAnalyzableServersCommand.d.ts +6 -21
  70. package/dist-types/commands/ListApplicationComponentsCommand.d.ts +6 -21
  71. package/dist-types/commands/ListCollectorsCommand.d.ts +6 -21
  72. package/dist-types/commands/ListImportFileTaskCommand.d.ts +6 -21
  73. package/dist-types/commands/ListServersCommand.d.ts +6 -21
  74. package/dist-types/commands/PutPortfolioPreferencesCommand.d.ts +6 -21
  75. package/dist-types/commands/StartAssessmentCommand.d.ts +6 -21
  76. package/dist-types/commands/StartImportFileTaskCommand.d.ts +6 -21
  77. package/dist-types/commands/StartRecommendationReportGenerationCommand.d.ts +6 -21
  78. package/dist-types/commands/StopAssessmentCommand.d.ts +6 -21
  79. package/dist-types/commands/UpdateApplicationComponentConfigCommand.d.ts +6 -21
  80. package/dist-types/commands/UpdateServerConfigCommand.d.ts +6 -21
  81. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  82. package/dist-types/pagination/GetServerDetailsPaginator.d.ts +1 -1
  83. package/dist-types/pagination/ListAnalyzableServersPaginator.d.ts +1 -1
  84. package/dist-types/pagination/ListApplicationComponentsPaginator.d.ts +1 -1
  85. package/dist-types/pagination/ListCollectorsPaginator.d.ts +1 -1
  86. package/dist-types/pagination/ListImportFileTaskPaginator.d.ts +1 -1
  87. package/dist-types/pagination/ListServersPaginator.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/GetApplicationComponentDetailsCommand.d.ts +12 -24
  89. package/dist-types/ts3.4/commands/GetApplicationComponentStrategiesCommand.d.ts +12 -24
  90. package/dist-types/ts3.4/commands/GetAssessmentCommand.d.ts +14 -23
  91. package/dist-types/ts3.4/commands/GetImportFileTaskCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/GetLatestAssessmentIdCommand.d.ts +12 -24
  93. package/dist-types/ts3.4/commands/GetPortfolioPreferencesCommand.d.ts +12 -24
  94. package/dist-types/ts3.4/commands/GetPortfolioSummaryCommand.d.ts +14 -23
  95. package/dist-types/ts3.4/commands/GetRecommendationReportDetailsCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/GetServerDetailsCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/GetServerStrategiesCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/ListAnalyzableServersCommand.d.ts +12 -24
  99. package/dist-types/ts3.4/commands/ListApplicationComponentsCommand.d.ts +12 -24
  100. package/dist-types/ts3.4/commands/ListCollectorsCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/ListImportFileTaskCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/ListServersCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/PutPortfolioPreferencesCommand.d.ts +12 -24
  104. package/dist-types/ts3.4/commands/StartAssessmentCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/StartImportFileTaskCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/StartRecommendationReportGenerationCommand.d.ts +12 -24
  107. package/dist-types/ts3.4/commands/StopAssessmentCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/commands/UpdateApplicationComponentConfigCommand.d.ts +12 -24
  109. package/dist-types/ts3.4/commands/UpdateServerConfigCommand.d.ts +14 -23
  110. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  111. package/dist-types/ts3.4/pagination/GetServerDetailsPaginator.d.ts +3 -3
  112. package/dist-types/ts3.4/pagination/ListAnalyzableServersPaginator.d.ts +3 -3
  113. package/dist-types/ts3.4/pagination/ListApplicationComponentsPaginator.d.ts +3 -3
  114. package/dist-types/ts3.4/pagination/ListCollectorsPaginator.d.ts +3 -3
  115. package/dist-types/ts3.4/pagination/ListImportFileTaskPaginator.d.ts +3 -3
  116. package/dist-types/ts3.4/pagination/ListServersPaginator.d.ts +3 -3
  117. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetAssessmentCommand, se_GetAssessmentCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetAssessmentCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetAssessmentCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MigrationHubStrategyClient";
26
- const commandName = "GetAssessmentCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSMigrationHubStrategyRecommendation",
35
- operation: "GetAssessment",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetAssessmentCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetAssessmentCommand(output, context);
46
- }
7
+ export class GetAssessmentCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSMigrationHubStrategyRecommendation", "GetAssessment", {})
19
+ .n("MigrationHubStrategyClient", "GetAssessmentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetAssessmentCommand)
22
+ .de(de_GetAssessmentCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetImportFileTaskCommand, se_GetImportFileTaskCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetImportFileTaskCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetImportFileTaskCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MigrationHubStrategyClient";
26
- const commandName = "GetImportFileTaskCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSMigrationHubStrategyRecommendation",
35
- operation: "GetImportFileTask",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetImportFileTaskCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetImportFileTaskCommand(output, context);
46
- }
7
+ export class GetImportFileTaskCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSMigrationHubStrategyRecommendation", "GetImportFileTask", {})
19
+ .n("MigrationHubStrategyClient", "GetImportFileTaskCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetImportFileTaskCommand)
22
+ .de(de_GetImportFileTaskCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetLatestAssessmentIdCommand, se_GetLatestAssessmentIdCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetLatestAssessmentIdCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetLatestAssessmentIdCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MigrationHubStrategyClient";
26
- const commandName = "GetLatestAssessmentIdCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSMigrationHubStrategyRecommendation",
35
- operation: "GetLatestAssessmentId",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetLatestAssessmentIdCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetLatestAssessmentIdCommand(output, context);
46
- }
7
+ export class GetLatestAssessmentIdCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSMigrationHubStrategyRecommendation", "GetLatestAssessmentId", {})
19
+ .n("MigrationHubStrategyClient", "GetLatestAssessmentIdCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetLatestAssessmentIdCommand)
22
+ .de(de_GetLatestAssessmentIdCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetPortfolioPreferencesCommand, se_GetPortfolioPreferencesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetPortfolioPreferencesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetPortfolioPreferencesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MigrationHubStrategyClient";
26
- const commandName = "GetPortfolioPreferencesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSMigrationHubStrategyRecommendation",
35
- operation: "GetPortfolioPreferences",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetPortfolioPreferencesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetPortfolioPreferencesCommand(output, context);
46
- }
7
+ export class GetPortfolioPreferencesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioPreferences", {})
19
+ .n("MigrationHubStrategyClient", "GetPortfolioPreferencesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetPortfolioPreferencesCommand)
22
+ .de(de_GetPortfolioPreferencesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetPortfolioSummaryCommand, se_GetPortfolioSummaryCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetPortfolioSummaryCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetPortfolioSummaryCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MigrationHubStrategyClient";
26
- const commandName = "GetPortfolioSummaryCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSMigrationHubStrategyRecommendation",
35
- operation: "GetPortfolioSummary",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetPortfolioSummaryCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetPortfolioSummaryCommand(output, context);
46
- }
7
+ export class GetPortfolioSummaryCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioSummary", {})
19
+ .n("MigrationHubStrategyClient", "GetPortfolioSummaryCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetPortfolioSummaryCommand)
22
+ .de(de_GetPortfolioSummaryCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetRecommendationReportDetailsCommand, se_GetRecommendationReportDetailsCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetRecommendationReportDetailsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetRecommendationReportDetailsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MigrationHubStrategyClient";
26
- const commandName = "GetRecommendationReportDetailsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSMigrationHubStrategyRecommendation",
35
- operation: "GetRecommendationReportDetails",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetRecommendationReportDetailsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetRecommendationReportDetailsCommand(output, context);
46
- }
7
+ export class GetRecommendationReportDetailsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSMigrationHubStrategyRecommendation", "GetRecommendationReportDetails", {})
19
+ .n("MigrationHubStrategyClient", "GetRecommendationReportDetailsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetRecommendationReportDetailsCommand)
22
+ .de(de_GetRecommendationReportDetailsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetServerDetailsCommand, se_GetServerDetailsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetServerDetailsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetServerDetailsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MigrationHubStrategyClient";
26
- const commandName = "GetServerDetailsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSMigrationHubStrategyRecommendation",
35
- operation: "GetServerDetails",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetServerDetailsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetServerDetailsCommand(output, context);
46
- }
7
+ export class GetServerDetailsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSMigrationHubStrategyRecommendation", "GetServerDetails", {})
19
+ .n("MigrationHubStrategyClient", "GetServerDetailsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetServerDetailsCommand)
22
+ .de(de_GetServerDetailsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetServerStrategiesCommand, se_GetServerStrategiesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetServerStrategiesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetServerStrategiesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MigrationHubStrategyClient";
26
- const commandName = "GetServerStrategiesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSMigrationHubStrategyRecommendation",
35
- operation: "GetServerStrategies",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetServerStrategiesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetServerStrategiesCommand(output, context);
46
- }
7
+ export class GetServerStrategiesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSMigrationHubStrategyRecommendation", "GetServerStrategies", {})
19
+ .n("MigrationHubStrategyClient", "GetServerStrategiesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetServerStrategiesCommand)
22
+ .de(de_GetServerStrategiesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListAnalyzableServersCommand, se_ListAnalyzableServersCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListAnalyzableServersCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListAnalyzableServersCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MigrationHubStrategyClient";
26
- const commandName = "ListAnalyzableServersCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSMigrationHubStrategyRecommendation",
35
- operation: "ListAnalyzableServers",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListAnalyzableServersCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAnalyzableServersCommand(output, context);
46
- }
7
+ export class ListAnalyzableServersCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSMigrationHubStrategyRecommendation", "ListAnalyzableServers", {})
19
+ .n("MigrationHubStrategyClient", "ListAnalyzableServersCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAnalyzableServersCommand)
22
+ .de(de_ListAnalyzableServersCommand)
23
+ .build() {
47
24
  }