@aws-sdk/client-migrationhubstrategy 3.927.0 → 3.929.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.
- package/dist-cjs/index.js +1256 -1073
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/MigrationHubStrategyClient.js +2 -0
- package/dist-es/commands/GetApplicationComponentDetailsCommand.js +3 -9
- package/dist-es/commands/GetApplicationComponentStrategiesCommand.js +3 -9
- package/dist-es/commands/GetAssessmentCommand.js +3 -9
- package/dist-es/commands/GetImportFileTaskCommand.js +3 -9
- package/dist-es/commands/GetLatestAssessmentIdCommand.js +3 -9
- package/dist-es/commands/GetPortfolioPreferencesCommand.js +3 -9
- package/dist-es/commands/GetPortfolioSummaryCommand.js +3 -9
- package/dist-es/commands/GetRecommendationReportDetailsCommand.js +3 -9
- package/dist-es/commands/GetServerDetailsCommand.js +3 -9
- package/dist-es/commands/GetServerStrategiesCommand.js +3 -9
- package/dist-es/commands/ListAnalyzableServersCommand.js +3 -9
- package/dist-es/commands/ListApplicationComponentsCommand.js +3 -9
- package/dist-es/commands/ListCollectorsCommand.js +3 -9
- package/dist-es/commands/ListImportFileTaskCommand.js +3 -9
- package/dist-es/commands/ListServersCommand.js +3 -9
- package/dist-es/commands/PutPortfolioPreferencesCommand.js +3 -9
- package/dist-es/commands/StartAssessmentCommand.js +3 -9
- package/dist-es/commands/StartImportFileTaskCommand.js +3 -9
- package/dist-es/commands/StartRecommendationReportGenerationCommand.js +3 -9
- package/dist-es/commands/StopAssessmentCommand.js +3 -9
- package/dist-es/commands/UpdateApplicationComponentConfigCommand.js +3 -10
- package/dist-es/commands/UpdateServerConfigCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -5
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1194 -0
- package/dist-types/MigrationHubStrategyClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -4
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +165 -0
- package/dist-types/ts3.4/MigrationHubStrategyClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -3
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +171 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -890
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -269
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.migrationhubstrategy" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "MigrationHubStrategy",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|