@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.
- package/dist-cjs/index.js +1256 -1119
- 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 -51
- 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 +16 -8
- 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 -10
- 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 +33 -33
- 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,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { MigrationHubStrategyServiceException as __BaseException } from "./MigrationHubStrategyServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -27,16 +26,6 @@ export const SrcCodeOrDbAnalysisStatus = {
|
|
|
27
26
|
CONFIGURED: "CONFIGURED",
|
|
28
27
|
UNCONFIGURED: "UNCONFIGURED",
|
|
29
28
|
};
|
|
30
|
-
export var AnalysisStatusUnion;
|
|
31
|
-
(function (AnalysisStatusUnion) {
|
|
32
|
-
AnalysisStatusUnion.visit = (value, visitor) => {
|
|
33
|
-
if (value.runtimeAnalysisStatus !== undefined)
|
|
34
|
-
return visitor.runtimeAnalysisStatus(value.runtimeAnalysisStatus);
|
|
35
|
-
if (value.srcCodeOrDbAnalysisStatus !== undefined)
|
|
36
|
-
return visitor.srcCodeOrDbAnalysisStatus(value.srcCodeOrDbAnalysisStatus);
|
|
37
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
38
|
-
};
|
|
39
|
-
})(AnalysisStatusUnion || (AnalysisStatusUnion = {}));
|
|
40
29
|
export const AnalysisType = {
|
|
41
30
|
BINARY_ANALYSIS: "BINARY_ANALYSIS",
|
|
42
31
|
DATABASE_ANALYSIS: "DATABASE_ANALYSIS",
|
|
@@ -60,18 +49,6 @@ export const SourceCodeAnalyzerName = {
|
|
|
60
49
|
JAVA_ANALYZER: "JAVA_ANALYZER",
|
|
61
50
|
PORTING_ASSISTANT: "PORTING_ASSISTANT",
|
|
62
51
|
};
|
|
63
|
-
export var AnalyzerNameUnion;
|
|
64
|
-
(function (AnalyzerNameUnion) {
|
|
65
|
-
AnalyzerNameUnion.visit = (value, visitor) => {
|
|
66
|
-
if (value.binaryAnalyzerName !== undefined)
|
|
67
|
-
return visitor.binaryAnalyzerName(value.binaryAnalyzerName);
|
|
68
|
-
if (value.runTimeAnalyzerName !== undefined)
|
|
69
|
-
return visitor.runTimeAnalyzerName(value.runTimeAnalyzerName);
|
|
70
|
-
if (value.sourceCodeAnalyzerName !== undefined)
|
|
71
|
-
return visitor.sourceCodeAnalyzerName(value.sourceCodeAnalyzerName);
|
|
72
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
73
|
-
};
|
|
74
|
-
})(AnalyzerNameUnion || (AnalyzerNameUnion = {}));
|
|
75
52
|
export const AntipatternReportStatus = {
|
|
76
53
|
FAILED: "FAILED",
|
|
77
54
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -199,18 +176,6 @@ export const SelfManageTargetDestination = {
|
|
|
199
176
|
AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",
|
|
200
177
|
NONE_SPECIFIED: "None specified",
|
|
201
178
|
};
|
|
202
|
-
export var ManagementPreference;
|
|
203
|
-
(function (ManagementPreference) {
|
|
204
|
-
ManagementPreference.visit = (value, visitor) => {
|
|
205
|
-
if (value.awsManagedResources !== undefined)
|
|
206
|
-
return visitor.awsManagedResources(value.awsManagedResources);
|
|
207
|
-
if (value.selfManageResources !== undefined)
|
|
208
|
-
return visitor.selfManageResources(value.selfManageResources);
|
|
209
|
-
if (value.noPreference !== undefined)
|
|
210
|
-
return visitor.noPreference(value.noPreference);
|
|
211
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
212
|
-
};
|
|
213
|
-
})(ManagementPreference || (ManagementPreference = {}));
|
|
214
179
|
export const AssessmentDataSourceType = {
|
|
215
180
|
ADS: "ApplicationDiscoveryService",
|
|
216
181
|
MANUAL_IMPORT: "ManualImport",
|
|
@@ -351,18 +316,6 @@ export const TargetDatabaseEngine = {
|
|
|
351
316
|
ORACLE_DATABASE: "Oracle Database",
|
|
352
317
|
SAP: "SAP",
|
|
353
318
|
};
|
|
354
|
-
export var DatabaseMigrationPreference;
|
|
355
|
-
(function (DatabaseMigrationPreference) {
|
|
356
|
-
DatabaseMigrationPreference.visit = (value, visitor) => {
|
|
357
|
-
if (value.heterogeneous !== undefined)
|
|
358
|
-
return visitor.heterogeneous(value.heterogeneous);
|
|
359
|
-
if (value.homogeneous !== undefined)
|
|
360
|
-
return visitor.homogeneous(value.homogeneous);
|
|
361
|
-
if (value.noPreference !== undefined)
|
|
362
|
-
return visitor.noPreference(value.noPreference);
|
|
363
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
364
|
-
};
|
|
365
|
-
})(DatabaseMigrationPreference || (DatabaseMigrationPreference = {}));
|
|
366
319
|
export const RecommendationReportStatus = {
|
|
367
320
|
FAILED: "FAILED",
|
|
368
321
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -459,7 +412,3 @@ export const VersionControl = {
|
|
|
459
412
|
GITHUB: "GITHUB",
|
|
460
413
|
GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE",
|
|
461
414
|
};
|
|
462
|
-
export const UpdateApplicationComponentConfigRequestFilterSensitiveLog = (obj) => ({
|
|
463
|
-
...obj,
|
|
464
|
-
...(obj.secretsManagerKey && { secretsManagerKey: SENSITIVE_STRING }),
|
|
465
|
-
});
|
|
@@ -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,
|