@aws-sdk/client-migrationhubstrategy 3.952.0 → 3.953.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 (42) hide show
  1. package/dist-cjs/index.js +423 -287
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/GetApplicationComponentDetailsCommand.js +2 -2
  4. package/dist-es/commands/GetApplicationComponentStrategiesCommand.js +2 -2
  5. package/dist-es/commands/GetAssessmentCommand.js +2 -2
  6. package/dist-es/commands/GetImportFileTaskCommand.js +2 -2
  7. package/dist-es/commands/GetLatestAssessmentIdCommand.js +2 -2
  8. package/dist-es/commands/GetPortfolioPreferencesCommand.js +2 -2
  9. package/dist-es/commands/GetPortfolioSummaryCommand.js +2 -2
  10. package/dist-es/commands/GetRecommendationReportDetailsCommand.js +2 -2
  11. package/dist-es/commands/GetServerDetailsCommand.js +2 -2
  12. package/dist-es/commands/GetServerStrategiesCommand.js +2 -2
  13. package/dist-es/commands/ListAnalyzableServersCommand.js +2 -2
  14. package/dist-es/commands/ListApplicationComponentsCommand.js +2 -2
  15. package/dist-es/commands/ListCollectorsCommand.js +2 -2
  16. package/dist-es/commands/ListImportFileTaskCommand.js +2 -2
  17. package/dist-es/commands/ListServersCommand.js +2 -2
  18. package/dist-es/commands/PutPortfolioPreferencesCommand.js +2 -2
  19. package/dist-es/commands/StartAssessmentCommand.js +2 -2
  20. package/dist-es/commands/StartImportFileTaskCommand.js +2 -2
  21. package/dist-es/commands/StartRecommendationReportGenerationCommand.js +2 -2
  22. package/dist-es/commands/StopAssessmentCommand.js +2 -2
  23. package/dist-es/commands/UpdateApplicationComponentConfigCommand.js +2 -2
  24. package/dist-es/commands/UpdateServerConfigCommand.js +2 -2
  25. package/dist-es/index.js +1 -0
  26. package/dist-es/runtimeConfig.shared.js +6 -1
  27. package/dist-es/schemas/schemas_0.js +255 -248
  28. package/dist-types/MigrationHubStrategyClient.d.ts +1 -10
  29. package/dist-types/index.d.ts +1 -0
  30. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  31. package/dist-types/runtimeConfig.d.ts +6 -2
  32. package/dist-types/runtimeConfig.native.d.ts +6 -2
  33. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  34. package/dist-types/schemas/schemas_0.d.ts +130 -165
  35. package/dist-types/ts3.4/MigrationHubStrategyClient.d.ts +0 -4
  36. package/dist-types/ts3.4/index.d.ts +1 -0
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  40. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +129 -166
  42. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.migrationhubstrategy" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.migrationhubstrategy",
32
+ version: "2020-02-19",
33
+ serviceTarget: "AWSMigrationHubStrategyRecommendation",
34
+ },
30
35
  serviceId: config?.serviceId ?? "MigrationHubStrategy",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetApplicationComponentDetails } from "../schemas/schemas_0";
4
+ import { GetApplicationComponentDetails$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetApplicationComponentDetailsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetApplicationComponentDetailsCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentDetails", {})
13
13
  .n("MigrationHubStrategyClient", "GetApplicationComponentDetailsCommand")
14
- .sc(GetApplicationComponentDetails)
14
+ .sc(GetApplicationComponentDetails$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetApplicationComponentStrategies } from "../schemas/schemas_0";
4
+ import { GetApplicationComponentStrategies$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetApplicationComponentStrategiesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetApplicationComponentStrategiesCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentStrategies", {})
13
13
  .n("MigrationHubStrategyClient", "GetApplicationComponentStrategiesCommand")
14
- .sc(GetApplicationComponentStrategies)
14
+ .sc(GetApplicationComponentStrategies$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetAssessment } from "../schemas/schemas_0";
4
+ import { GetAssessment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetAssessmentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetAssessmentCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "GetAssessment", {})
13
13
  .n("MigrationHubStrategyClient", "GetAssessmentCommand")
14
- .sc(GetAssessment)
14
+ .sc(GetAssessment$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetImportFileTask } from "../schemas/schemas_0";
4
+ import { GetImportFileTask$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetImportFileTaskCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetImportFileTaskCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "GetImportFileTask", {})
13
13
  .n("MigrationHubStrategyClient", "GetImportFileTaskCommand")
14
- .sc(GetImportFileTask)
14
+ .sc(GetImportFileTask$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetLatestAssessmentId } from "../schemas/schemas_0";
4
+ import { GetLatestAssessmentId$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetLatestAssessmentIdCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetLatestAssessmentIdCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "GetLatestAssessmentId", {})
13
13
  .n("MigrationHubStrategyClient", "GetLatestAssessmentIdCommand")
14
- .sc(GetLatestAssessmentId)
14
+ .sc(GetLatestAssessmentId$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetPortfolioPreferences } from "../schemas/schemas_0";
4
+ import { GetPortfolioPreferences$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetPortfolioPreferencesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetPortfolioPreferencesCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioPreferences", {})
13
13
  .n("MigrationHubStrategyClient", "GetPortfolioPreferencesCommand")
14
- .sc(GetPortfolioPreferences)
14
+ .sc(GetPortfolioPreferences$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetPortfolioSummary } from "../schemas/schemas_0";
4
+ import { GetPortfolioSummary$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetPortfolioSummaryCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetPortfolioSummaryCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "GetPortfolioSummary", {})
13
13
  .n("MigrationHubStrategyClient", "GetPortfolioSummaryCommand")
14
- .sc(GetPortfolioSummary)
14
+ .sc(GetPortfolioSummary$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetRecommendationReportDetails } from "../schemas/schemas_0";
4
+ import { GetRecommendationReportDetails$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetRecommendationReportDetailsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetRecommendationReportDetailsCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "GetRecommendationReportDetails", {})
13
13
  .n("MigrationHubStrategyClient", "GetRecommendationReportDetailsCommand")
14
- .sc(GetRecommendationReportDetails)
14
+ .sc(GetRecommendationReportDetails$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetServerDetails } from "../schemas/schemas_0";
4
+ import { GetServerDetails$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetServerDetailsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetServerDetailsCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "GetServerDetails", {})
13
13
  .n("MigrationHubStrategyClient", "GetServerDetailsCommand")
14
- .sc(GetServerDetails)
14
+ .sc(GetServerDetails$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetServerStrategies } from "../schemas/schemas_0";
4
+ import { GetServerStrategies$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetServerStrategiesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetServerStrategiesCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "GetServerStrategies", {})
13
13
  .n("MigrationHubStrategyClient", "GetServerStrategiesCommand")
14
- .sc(GetServerStrategies)
14
+ .sc(GetServerStrategies$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListAnalyzableServers } from "../schemas/schemas_0";
4
+ import { ListAnalyzableServers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListAnalyzableServersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListAnalyzableServersCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "ListAnalyzableServers", {})
13
13
  .n("MigrationHubStrategyClient", "ListAnalyzableServersCommand")
14
- .sc(ListAnalyzableServers)
14
+ .sc(ListAnalyzableServers$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListApplicationComponents } from "../schemas/schemas_0";
4
+ import { ListApplicationComponents$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListApplicationComponentsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListApplicationComponentsCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "ListApplicationComponents", {})
13
13
  .n("MigrationHubStrategyClient", "ListApplicationComponentsCommand")
14
- .sc(ListApplicationComponents)
14
+ .sc(ListApplicationComponents$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListCollectors } from "../schemas/schemas_0";
4
+ import { ListCollectors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListCollectorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListCollectorsCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "ListCollectors", {})
13
13
  .n("MigrationHubStrategyClient", "ListCollectorsCommand")
14
- .sc(ListCollectors)
14
+ .sc(ListCollectors$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListImportFileTask } from "../schemas/schemas_0";
4
+ import { ListImportFileTask$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListImportFileTaskCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListImportFileTaskCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "ListImportFileTask", {})
13
13
  .n("MigrationHubStrategyClient", "ListImportFileTaskCommand")
14
- .sc(ListImportFileTask)
14
+ .sc(ListImportFileTask$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListServers } from "../schemas/schemas_0";
4
+ import { ListServers$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListServersCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListServersCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "ListServers", {})
13
13
  .n("MigrationHubStrategyClient", "ListServersCommand")
14
- .sc(ListServers)
14
+ .sc(ListServers$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutPortfolioPreferences } from "../schemas/schemas_0";
4
+ import { PutPortfolioPreferences$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutPortfolioPreferencesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutPortfolioPreferencesCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "PutPortfolioPreferences", {})
13
13
  .n("MigrationHubStrategyClient", "PutPortfolioPreferencesCommand")
14
- .sc(PutPortfolioPreferences)
14
+ .sc(PutPortfolioPreferences$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartAssessment } from "../schemas/schemas_0";
4
+ import { StartAssessment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartAssessmentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartAssessmentCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "StartAssessment", {})
13
13
  .n("MigrationHubStrategyClient", "StartAssessmentCommand")
14
- .sc(StartAssessment)
14
+ .sc(StartAssessment$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartImportFileTask } from "../schemas/schemas_0";
4
+ import { StartImportFileTask$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartImportFileTaskCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartImportFileTaskCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "StartImportFileTask", {})
13
13
  .n("MigrationHubStrategyClient", "StartImportFileTaskCommand")
14
- .sc(StartImportFileTask)
14
+ .sc(StartImportFileTask$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartRecommendationReportGeneration } from "../schemas/schemas_0";
4
+ import { StartRecommendationReportGeneration$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartRecommendationReportGenerationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartRecommendationReportGenerationCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "StartRecommendationReportGeneration", {})
13
13
  .n("MigrationHubStrategyClient", "StartRecommendationReportGenerationCommand")
14
- .sc(StartRecommendationReportGeneration)
14
+ .sc(StartRecommendationReportGeneration$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StopAssessment } from "../schemas/schemas_0";
4
+ import { StopAssessment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StopAssessmentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StopAssessmentCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "StopAssessment", {})
13
13
  .n("MigrationHubStrategyClient", "StopAssessmentCommand")
14
- .sc(StopAssessment)
14
+ .sc(StopAssessment$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateApplicationComponentConfig } from "../schemas/schemas_0";
4
+ import { UpdateApplicationComponentConfig$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateApplicationComponentConfigCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateApplicationComponentConfigCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "UpdateApplicationComponentConfig", {})
13
13
  .n("MigrationHubStrategyClient", "UpdateApplicationComponentConfigCommand")
14
- .sc(UpdateApplicationComponentConfig)
14
+ .sc(UpdateApplicationComponentConfig$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateServerConfig } from "../schemas/schemas_0";
4
+ import { UpdateServerConfig$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateServerConfigCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateServerConfigCommand extends $Command
11
11
  })
12
12
  .s("AWSMigrationHubStrategyRecommendation", "UpdateServerConfig", {})
13
13
  .n("MigrationHubStrategyClient", "UpdateServerConfigCommand")
14
- .sc(UpdateServerConfig)
14
+ .sc(UpdateServerConfig$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./MigrationHubStrategyClient";
2
2
  export * from "./MigrationHubStrategy";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.migrationhubstrategy" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.migrationhubstrategy",
29
+ version: "2020-02-19",
30
+ serviceTarget: "AWSMigrationHubStrategyRecommendation",
31
+ },
27
32
  serviceId: config?.serviceId ?? "MigrationHubStrategy",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,