@aws-sdk/client-migrationhubstrategy 3.289.0 → 3.292.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/models/models_0.js +107 -24
- package/dist-cjs/protocols/Aws_restJson1.js +68 -0
- package/dist-es/models/models_0.js +98 -19
- package/dist-es/protocols/Aws_restJson1.js +68 -0
- package/dist-types/MigrationHubStrategy.d.ts +0 -1
- package/dist-types/MigrationHubStrategyClient.d.ts +0 -1
- package/dist-types/commands/GetApplicationComponentDetailsCommand.d.ts +10 -0
- package/dist-types/commands/GetApplicationComponentStrategiesCommand.d.ts +10 -0
- package/dist-types/commands/GetAssessmentCommand.d.ts +14 -0
- package/dist-types/commands/GetImportFileTaskCommand.d.ts +17 -0
- package/dist-types/commands/GetLatestAssessmentIdCommand.d.ts +14 -0
- package/dist-types/commands/GetPortfolioPreferencesCommand.d.ts +14 -0
- package/dist-types/commands/GetPortfolioSummaryCommand.d.ts +11 -0
- package/dist-types/commands/GetRecommendationReportDetailsCommand.d.ts +17 -0
- package/dist-types/commands/GetServerDetailsCommand.d.ts +17 -0
- package/dist-types/commands/GetServerStrategiesCommand.d.ts +17 -0
- package/dist-types/commands/ListApplicationComponentsCommand.d.ts +14 -0
- package/dist-types/commands/ListCollectorsCommand.d.ts +14 -0
- package/dist-types/commands/ListImportFileTaskCommand.d.ts +14 -0
- package/dist-types/commands/ListServersCommand.d.ts +14 -0
- package/dist-types/commands/PutPortfolioPreferencesCommand.d.ts +18 -0
- package/dist-types/commands/StartAssessmentCommand.d.ts +15 -0
- package/dist-types/commands/StartImportFileTaskCommand.d.ts +18 -0
- package/dist-types/commands/StartRecommendationReportGenerationCommand.d.ts +18 -0
- package/dist-types/commands/StopAssessmentCommand.d.ts +14 -0
- package/dist-types/commands/UpdateApplicationComponentConfigCommand.d.ts +13 -0
- package/dist-types/commands/UpdateServerConfigCommand.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +194 -30
- package/dist-types/ts3.4/models/models_0.d.ts +130 -19
- package/package.json +35 -40
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateServerConfigResponseFilterSensitiveLog = exports.UpdateServerConfigRequestFilterSensitiveLog = exports.UpdateApplicationComponentConfigResponseFilterSensitiveLog = exports.UpdateApplicationComponentConfigRequestFilterSensitiveLog = exports.StrategyOptionFilterSensitiveLog = exports.SourceCodeFilterSensitiveLog = exports.StopAssessmentResponseFilterSensitiveLog = exports.StopAssessmentRequestFilterSensitiveLog = exports.StartRecommendationReportGenerationResponseFilterSensitiveLog = exports.StartRecommendationReportGenerationRequestFilterSensitiveLog = exports.StartImportFileTaskResponseFilterSensitiveLog = exports.StartImportFileTaskRequestFilterSensitiveLog = exports.StartAssessmentResponseFilterSensitiveLog = exports.StartAssessmentRequestFilterSensitiveLog = exports.PutPortfolioPreferencesResponseFilterSensitiveLog = exports.PutPortfolioPreferencesRequestFilterSensitiveLog = exports.ListServersResponseFilterSensitiveLog = exports.ListServersRequestFilterSensitiveLog = exports.ListImportFileTaskResponseFilterSensitiveLog = exports.ImportFileTaskInformationFilterSensitiveLog = exports.ListImportFileTaskRequestFilterSensitiveLog = exports.ListCollectorsResponseFilterSensitiveLog = exports.CollectorFilterSensitiveLog = exports.ConfigurationSummaryFilterSensitiveLog = exports.VersionControlInfoFilterSensitiveLog = exports.VcenterBasedRemoteInfoFilterSensitiveLog = exports.RemoteSourceCodeAnalysisServerInfoFilterSensitiveLog = exports.PipelineInfoFilterSensitiveLog = exports.IPAddressBasedRemoteInfoFilterSensitiveLog = exports.ListCollectorsRequestFilterSensitiveLog = exports.ListApplicationComponentsResponseFilterSensitiveLog = exports.ListApplicationComponentsRequestFilterSensitiveLog = exports.GroupFilterSensitiveLog = exports.GetServerStrategiesResponseFilterSensitiveLog = exports.ServerStrategyFilterSensitiveLog = exports.GetServerStrategiesRequestFilterSensitiveLog = exports.GetServerDetailsResponseFilterSensitiveLog = exports.ServerDetailFilterSensitiveLog = exports.SystemInfoFilterSensitiveLog = exports.OSInfoFilterSensitiveLog = void 0;
|
|
3
|
+
exports.VersionControlType = exports.PipelineType = exports.CollectorHealth = exports.ServiceLinkedRoleLockClientException = exports.SortOrder = exports.GroupName = exports.OSType = exports.ServerErrorCategory = exports.RecommendationReportStatus = exports.DatabaseMigrationPreference = exports.TargetDatabaseEngine = exports.HomogeneousTargetDatabaseEngine = exports.HeterogeneousTargetDatabaseEngine = exports.DatabaseManagementPreference = exports.DependencyException = exports.ValidationException = exports.ImportFileTaskStatus = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AuthType = exports.Condition = exports.ServerOsType = exports.RunTimeAssessmentStatus = exports.AssessmentStatus = exports.ManagementPreference = exports.SelfManageTargetDestination = exports.NoPreferenceTargetDestination = exports.AwsManagedTargetDestination = exports.ApplicationMode = exports.StrategyRecommendation = exports.ResourceSubType = exports.TransformationToolName = exports.TargetDestination = exports.Strategy = exports.InclusionStatus = exports.AppUnitErrorCategory = exports.AppType = exports.ApplicationComponentCriteria = exports.Severity = exports.AntipatternReportStatus = exports.AnalyzerNameUnion = exports.SourceCodeAnalyzerName = exports.RunTimeAnalyzerName = exports.BinaryAnalyzerName = exports.AnalysisType = exports.AnalysisStatusUnion = exports.SrcCodeOrDbAnalysisStatus = exports.RuntimeAnalysisStatus = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.BusinessGoalsFilterSensitiveLog = exports.DatabasePreferencesFilterSensitiveLog = exports.DatabaseMigrationPreferenceFilterSensitiveLog = exports.NoDatabaseMigrationPreferenceFilterSensitiveLog = exports.HomogeneousFilterSensitiveLog = exports.HeterogeneousFilterSensitiveLog = exports.GetPortfolioPreferencesRequestFilterSensitiveLog = exports.GetLatestAssessmentIdResponseFilterSensitiveLog = exports.GetLatestAssessmentIdRequestFilterSensitiveLog = exports.GetImportFileTaskResponseFilterSensitiveLog = exports.GetImportFileTaskRequestFilterSensitiveLog = exports.GetAssessmentResponseFilterSensitiveLog = exports.DataCollectionDetailsFilterSensitiveLog = exports.GetAssessmentRequestFilterSensitiveLog = exports.GetApplicationComponentStrategiesResponseFilterSensitiveLog = exports.GetApplicationComponentStrategiesRequestFilterSensitiveLog = exports.GetApplicationComponentDetailsResponseFilterSensitiveLog = exports.GetApplicationComponentDetailsRequestFilterSensitiveLog = exports.AssociatedApplicationFilterSensitiveLog = exports.AssessmentTargetFilterSensitiveLog = exports.AssessmentSummaryFilterSensitiveLog = exports.ServerSummaryFilterSensitiveLog = exports.ServerStatusSummaryFilterSensitiveLog = exports.StrategySummaryFilterSensitiveLog = exports.ApplicationPreferencesFilterSensitiveLog = exports.ManagementPreferenceFilterSensitiveLog = exports.SelfManageResourcesFilterSensitiveLog = exports.NoManagementPreferenceFilterSensitiveLog = exports.AwsManagedResourcesFilterSensitiveLog = exports.ApplicationComponentSummaryFilterSensitiveLog = exports.ApplicationComponentStrategyFilterSensitiveLog = exports.ApplicationComponentStatusSummaryFilterSensitiveLog = exports.ApplicationComponentDetailFilterSensitiveLog = exports.SourceCodeRepositoryFilterSensitiveLog = exports.ResultFilterSensitiveLog = exports.RecommendationSetFilterSensitiveLog = exports.TransformationToolFilterSensitiveLog = exports.DatabaseConfigDetailFilterSensitiveLog = exports.AppUnitErrorFilterSensitiveLog = exports.AntipatternSeveritySummaryFilterSensitiveLog = exports.AntipatternReportResultFilterSensitiveLog = exports.S3ObjectFilterSensitiveLog = exports.AnalyzerNameUnionFilterSensitiveLog = exports.AnalysisStatusUnionFilterSensitiveLog = exports.VersionControl = exports.OutputFormat = exports.DataSourceType = exports.ServiceQuotaExceededException = exports.ConflictException = exports.ServerCriteria = void 0;
|
|
5
|
+
exports.UpdateServerConfigResponseFilterSensitiveLog = exports.UpdateServerConfigRequestFilterSensitiveLog = exports.UpdateApplicationComponentConfigResponseFilterSensitiveLog = exports.UpdateApplicationComponentConfigRequestFilterSensitiveLog = exports.StrategyOptionFilterSensitiveLog = exports.SourceCodeFilterSensitiveLog = exports.StopAssessmentResponseFilterSensitiveLog = exports.StopAssessmentRequestFilterSensitiveLog = exports.StartRecommendationReportGenerationResponseFilterSensitiveLog = exports.StartRecommendationReportGenerationRequestFilterSensitiveLog = exports.StartImportFileTaskResponseFilterSensitiveLog = exports.StartImportFileTaskRequestFilterSensitiveLog = exports.StartAssessmentResponseFilterSensitiveLog = exports.StartAssessmentRequestFilterSensitiveLog = exports.PutPortfolioPreferencesResponseFilterSensitiveLog = exports.PutPortfolioPreferencesRequestFilterSensitiveLog = exports.ListServersResponseFilterSensitiveLog = exports.ListServersRequestFilterSensitiveLog = exports.ListImportFileTaskResponseFilterSensitiveLog = exports.ImportFileTaskInformationFilterSensitiveLog = exports.ListImportFileTaskRequestFilterSensitiveLog = exports.ListCollectorsResponseFilterSensitiveLog = exports.CollectorFilterSensitiveLog = exports.ConfigurationSummaryFilterSensitiveLog = exports.VersionControlInfoFilterSensitiveLog = exports.VcenterBasedRemoteInfoFilterSensitiveLog = exports.RemoteSourceCodeAnalysisServerInfoFilterSensitiveLog = exports.PipelineInfoFilterSensitiveLog = exports.IPAddressBasedRemoteInfoFilterSensitiveLog = exports.ListCollectorsRequestFilterSensitiveLog = exports.ListApplicationComponentsResponseFilterSensitiveLog = exports.ListApplicationComponentsRequestFilterSensitiveLog = exports.GroupFilterSensitiveLog = exports.GetServerStrategiesResponseFilterSensitiveLog = exports.ServerStrategyFilterSensitiveLog = exports.GetServerStrategiesRequestFilterSensitiveLog = exports.GetServerDetailsResponseFilterSensitiveLog = exports.ServerDetailFilterSensitiveLog = exports.SystemInfoFilterSensitiveLog = exports.OSInfoFilterSensitiveLog = exports.NetworkInfoFilterSensitiveLog = exports.ServerErrorFilterSensitiveLog = exports.GetServerDetailsRequestFilterSensitiveLog = exports.GetRecommendationReportDetailsResponseFilterSensitiveLog = exports.RecommendationReportDetailsFilterSensitiveLog = exports.GetRecommendationReportDetailsRequestFilterSensitiveLog = exports.GetPortfolioSummaryResponseFilterSensitiveLog = exports.GetPortfolioSummaryRequestFilterSensitiveLog = exports.GetPortfolioPreferencesResponseFilterSensitiveLog = exports.PrioritizeBusinessGoalsFilterSensitiveLog = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const MigrationHubStrategyServiceException_1 = require("./MigrationHubStrategyServiceException");
|
|
8
8
|
class AccessDeniedException extends MigrationHubStrategyServiceException_1.MigrationHubStrategyServiceException {
|
|
@@ -18,6 +18,72 @@ class AccessDeniedException extends MigrationHubStrategyServiceException_1.Migra
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
exports.AccessDeniedException = AccessDeniedException;
|
|
21
|
+
var RuntimeAnalysisStatus;
|
|
22
|
+
(function (RuntimeAnalysisStatus) {
|
|
23
|
+
RuntimeAnalysisStatus["ANALYSIS_FAILED"] = "ANALYSIS_FAILED";
|
|
24
|
+
RuntimeAnalysisStatus["ANALYSIS_STARTED"] = "ANALYSIS_STARTED";
|
|
25
|
+
RuntimeAnalysisStatus["ANALYSIS_SUCCESS"] = "ANALYSIS_SUCCESS";
|
|
26
|
+
RuntimeAnalysisStatus["ANALYSIS_TO_BE_SCHEDULED"] = "ANALYSIS_TO_BE_SCHEDULED";
|
|
27
|
+
})(RuntimeAnalysisStatus = exports.RuntimeAnalysisStatus || (exports.RuntimeAnalysisStatus = {}));
|
|
28
|
+
var SrcCodeOrDbAnalysisStatus;
|
|
29
|
+
(function (SrcCodeOrDbAnalysisStatus) {
|
|
30
|
+
SrcCodeOrDbAnalysisStatus["ANALYSIS_FAILED"] = "ANALYSIS_FAILED";
|
|
31
|
+
SrcCodeOrDbAnalysisStatus["ANALYSIS_PARTIAL_SUCCESS"] = "ANALYSIS_PARTIAL_SUCCESS";
|
|
32
|
+
SrcCodeOrDbAnalysisStatus["ANALYSIS_STARTED"] = "ANALYSIS_STARTED";
|
|
33
|
+
SrcCodeOrDbAnalysisStatus["ANALYSIS_SUCCESS"] = "ANALYSIS_SUCCESS";
|
|
34
|
+
SrcCodeOrDbAnalysisStatus["ANALYSIS_TO_BE_SCHEDULED"] = "ANALYSIS_TO_BE_SCHEDULED";
|
|
35
|
+
SrcCodeOrDbAnalysisStatus["CONFIGURED"] = "CONFIGURED";
|
|
36
|
+
SrcCodeOrDbAnalysisStatus["UNCONFIGURED"] = "UNCONFIGURED";
|
|
37
|
+
})(SrcCodeOrDbAnalysisStatus = exports.SrcCodeOrDbAnalysisStatus || (exports.SrcCodeOrDbAnalysisStatus = {}));
|
|
38
|
+
var AnalysisStatusUnion;
|
|
39
|
+
(function (AnalysisStatusUnion) {
|
|
40
|
+
AnalysisStatusUnion.visit = (value, visitor) => {
|
|
41
|
+
if (value.runtimeAnalysisStatus !== undefined)
|
|
42
|
+
return visitor.runtimeAnalysisStatus(value.runtimeAnalysisStatus);
|
|
43
|
+
if (value.srcCodeOrDbAnalysisStatus !== undefined)
|
|
44
|
+
return visitor.srcCodeOrDbAnalysisStatus(value.srcCodeOrDbAnalysisStatus);
|
|
45
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
46
|
+
};
|
|
47
|
+
})(AnalysisStatusUnion = exports.AnalysisStatusUnion || (exports.AnalysisStatusUnion = {}));
|
|
48
|
+
var AnalysisType;
|
|
49
|
+
(function (AnalysisType) {
|
|
50
|
+
AnalysisType["BINARY_ANALYSIS"] = "BINARY_ANALYSIS";
|
|
51
|
+
AnalysisType["DATABASE_ANALYSIS"] = "DATABASE_ANALYSIS";
|
|
52
|
+
AnalysisType["RUNTIME_ANALYSIS"] = "RUNTIME_ANALYSIS";
|
|
53
|
+
AnalysisType["SOURCE_CODE_ANALYSIS"] = "SOURCE_CODE_ANALYSIS";
|
|
54
|
+
})(AnalysisType = exports.AnalysisType || (exports.AnalysisType = {}));
|
|
55
|
+
var BinaryAnalyzerName;
|
|
56
|
+
(function (BinaryAnalyzerName) {
|
|
57
|
+
BinaryAnalyzerName["BYTECODE_ANALYZER"] = "BYTECODE_ANALYZER";
|
|
58
|
+
BinaryAnalyzerName["DLL_ANALYZER"] = "DLL_ANALYZER";
|
|
59
|
+
})(BinaryAnalyzerName = exports.BinaryAnalyzerName || (exports.BinaryAnalyzerName = {}));
|
|
60
|
+
var RunTimeAnalyzerName;
|
|
61
|
+
(function (RunTimeAnalyzerName) {
|
|
62
|
+
RunTimeAnalyzerName["A2C_ANALYZER"] = "A2C_ANALYZER";
|
|
63
|
+
RunTimeAnalyzerName["DATABASE_ANALYZER"] = "DATABASE_ANALYZER";
|
|
64
|
+
RunTimeAnalyzerName["EMP_PA_ANALYZER"] = "EMP_PA_ANALYZER";
|
|
65
|
+
RunTimeAnalyzerName["REHOST_ANALYZER"] = "REHOST_ANALYZER";
|
|
66
|
+
RunTimeAnalyzerName["SCT_ANALYZER"] = "SCT_ANALYZER";
|
|
67
|
+
})(RunTimeAnalyzerName = exports.RunTimeAnalyzerName || (exports.RunTimeAnalyzerName = {}));
|
|
68
|
+
var SourceCodeAnalyzerName;
|
|
69
|
+
(function (SourceCodeAnalyzerName) {
|
|
70
|
+
SourceCodeAnalyzerName["BYTECODE_ANALYZER"] = "BYTECODE_ANALYZER";
|
|
71
|
+
SourceCodeAnalyzerName["CSHARP_ANALYZER"] = "CSHARP_ANALYZER";
|
|
72
|
+
SourceCodeAnalyzerName["JAVA_ANALYZER"] = "JAVA_ANALYZER";
|
|
73
|
+
SourceCodeAnalyzerName["PORTING_ASSISTANT"] = "PORTING_ASSISTANT";
|
|
74
|
+
})(SourceCodeAnalyzerName = exports.SourceCodeAnalyzerName || (exports.SourceCodeAnalyzerName = {}));
|
|
75
|
+
var AnalyzerNameUnion;
|
|
76
|
+
(function (AnalyzerNameUnion) {
|
|
77
|
+
AnalyzerNameUnion.visit = (value, visitor) => {
|
|
78
|
+
if (value.binaryAnalyzerName !== undefined)
|
|
79
|
+
return visitor.binaryAnalyzerName(value.binaryAnalyzerName);
|
|
80
|
+
if (value.runTimeAnalyzerName !== undefined)
|
|
81
|
+
return visitor.runTimeAnalyzerName(value.runTimeAnalyzerName);
|
|
82
|
+
if (value.sourceCodeAnalyzerName !== undefined)
|
|
83
|
+
return visitor.sourceCodeAnalyzerName(value.sourceCodeAnalyzerName);
|
|
84
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
85
|
+
};
|
|
86
|
+
})(AnalyzerNameUnion = exports.AnalyzerNameUnion || (exports.AnalyzerNameUnion = {}));
|
|
21
87
|
var AntipatternReportStatus;
|
|
22
88
|
(function (AntipatternReportStatus) {
|
|
23
89
|
AntipatternReportStatus["FAILED"] = "FAILED";
|
|
@@ -41,16 +107,6 @@ var ApplicationComponentCriteria;
|
|
|
41
107
|
ApplicationComponentCriteria["SERVER_ID"] = "SERVER_ID";
|
|
42
108
|
ApplicationComponentCriteria["STRATEGY"] = "STRATEGY";
|
|
43
109
|
})(ApplicationComponentCriteria = exports.ApplicationComponentCriteria || (exports.ApplicationComponentCriteria = {}));
|
|
44
|
-
var SrcCodeOrDbAnalysisStatus;
|
|
45
|
-
(function (SrcCodeOrDbAnalysisStatus) {
|
|
46
|
-
SrcCodeOrDbAnalysisStatus["ANALYSIS_FAILED"] = "ANALYSIS_FAILED";
|
|
47
|
-
SrcCodeOrDbAnalysisStatus["ANALYSIS_PARTIAL_SUCCESS"] = "ANALYSIS_PARTIAL_SUCCESS";
|
|
48
|
-
SrcCodeOrDbAnalysisStatus["ANALYSIS_STARTED"] = "ANALYSIS_STARTED";
|
|
49
|
-
SrcCodeOrDbAnalysisStatus["ANALYSIS_SUCCESS"] = "ANALYSIS_SUCCESS";
|
|
50
|
-
SrcCodeOrDbAnalysisStatus["ANALYSIS_TO_BE_SCHEDULED"] = "ANALYSIS_TO_BE_SCHEDULED";
|
|
51
|
-
SrcCodeOrDbAnalysisStatus["CONFIGURED"] = "CONFIGURED";
|
|
52
|
-
SrcCodeOrDbAnalysisStatus["UNCONFIGURED"] = "UNCONFIGURED";
|
|
53
|
-
})(SrcCodeOrDbAnalysisStatus = exports.SrcCodeOrDbAnalysisStatus || (exports.SrcCodeOrDbAnalysisStatus = {}));
|
|
54
110
|
var AppType;
|
|
55
111
|
(function (AppType) {
|
|
56
112
|
AppType["IIS"] = "IIS";
|
|
@@ -135,13 +191,6 @@ var ResourceSubType;
|
|
|
135
191
|
ResourceSubType["DATABASE_PROCESS"] = "DatabaseProcess";
|
|
136
192
|
ResourceSubType["PROCESS"] = "Process";
|
|
137
193
|
})(ResourceSubType = exports.ResourceSubType || (exports.ResourceSubType = {}));
|
|
138
|
-
var RuntimeAnalysisStatus;
|
|
139
|
-
(function (RuntimeAnalysisStatus) {
|
|
140
|
-
RuntimeAnalysisStatus["ANALYSIS_FAILED"] = "ANALYSIS_FAILED";
|
|
141
|
-
RuntimeAnalysisStatus["ANALYSIS_STARTED"] = "ANALYSIS_STARTED";
|
|
142
|
-
RuntimeAnalysisStatus["ANALYSIS_SUCCESS"] = "ANALYSIS_SUCCESS";
|
|
143
|
-
RuntimeAnalysisStatus["ANALYSIS_TO_BE_SCHEDULED"] = "ANALYSIS_TO_BE_SCHEDULED";
|
|
144
|
-
})(RuntimeAnalysisStatus = exports.RuntimeAnalysisStatus || (exports.RuntimeAnalysisStatus = {}));
|
|
145
194
|
var StrategyRecommendation;
|
|
146
195
|
(function (StrategyRecommendation) {
|
|
147
196
|
StrategyRecommendation["NOT_RECOMMENDED"] = "notRecommended";
|
|
@@ -461,14 +510,39 @@ var VersionControl;
|
|
|
461
510
|
VersionControl["GITHUB"] = "GITHUB";
|
|
462
511
|
VersionControl["GITHUB_ENTERPRISE"] = "GITHUB_ENTERPRISE";
|
|
463
512
|
})(VersionControl = exports.VersionControl || (exports.VersionControl = {}));
|
|
464
|
-
const
|
|
465
|
-
|
|
466
|
-
}
|
|
467
|
-
|
|
513
|
+
const AnalysisStatusUnionFilterSensitiveLog = (obj) => {
|
|
514
|
+
if (obj.runtimeAnalysisStatus !== undefined)
|
|
515
|
+
return { runtimeAnalysisStatus: obj.runtimeAnalysisStatus };
|
|
516
|
+
if (obj.srcCodeOrDbAnalysisStatus !== undefined)
|
|
517
|
+
return { srcCodeOrDbAnalysisStatus: obj.srcCodeOrDbAnalysisStatus };
|
|
518
|
+
if (obj.$unknown !== undefined)
|
|
519
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
520
|
+
};
|
|
521
|
+
exports.AnalysisStatusUnionFilterSensitiveLog = AnalysisStatusUnionFilterSensitiveLog;
|
|
522
|
+
const AnalyzerNameUnionFilterSensitiveLog = (obj) => {
|
|
523
|
+
if (obj.binaryAnalyzerName !== undefined)
|
|
524
|
+
return { binaryAnalyzerName: obj.binaryAnalyzerName };
|
|
525
|
+
if (obj.runTimeAnalyzerName !== undefined)
|
|
526
|
+
return { runTimeAnalyzerName: obj.runTimeAnalyzerName };
|
|
527
|
+
if (obj.sourceCodeAnalyzerName !== undefined)
|
|
528
|
+
return { sourceCodeAnalyzerName: obj.sourceCodeAnalyzerName };
|
|
529
|
+
if (obj.$unknown !== undefined)
|
|
530
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
531
|
+
};
|
|
532
|
+
exports.AnalyzerNameUnionFilterSensitiveLog = AnalyzerNameUnionFilterSensitiveLog;
|
|
468
533
|
const S3ObjectFilterSensitiveLog = (obj) => ({
|
|
469
534
|
...obj,
|
|
470
535
|
});
|
|
471
536
|
exports.S3ObjectFilterSensitiveLog = S3ObjectFilterSensitiveLog;
|
|
537
|
+
const AntipatternReportResultFilterSensitiveLog = (obj) => ({
|
|
538
|
+
...obj,
|
|
539
|
+
...(obj.analyzerName && { analyzerName: (0, exports.AnalyzerNameUnionFilterSensitiveLog)(obj.analyzerName) }),
|
|
540
|
+
});
|
|
541
|
+
exports.AntipatternReportResultFilterSensitiveLog = AntipatternReportResultFilterSensitiveLog;
|
|
542
|
+
const AntipatternSeveritySummaryFilterSensitiveLog = (obj) => ({
|
|
543
|
+
...obj,
|
|
544
|
+
});
|
|
545
|
+
exports.AntipatternSeveritySummaryFilterSensitiveLog = AntipatternSeveritySummaryFilterSensitiveLog;
|
|
472
546
|
const AppUnitErrorFilterSensitiveLog = (obj) => ({
|
|
473
547
|
...obj,
|
|
474
548
|
});
|
|
@@ -485,12 +559,21 @@ const RecommendationSetFilterSensitiveLog = (obj) => ({
|
|
|
485
559
|
...obj,
|
|
486
560
|
});
|
|
487
561
|
exports.RecommendationSetFilterSensitiveLog = RecommendationSetFilterSensitiveLog;
|
|
562
|
+
const ResultFilterSensitiveLog = (obj) => ({
|
|
563
|
+
...obj,
|
|
564
|
+
...(obj.analysisStatus && { analysisStatus: (0, exports.AnalysisStatusUnionFilterSensitiveLog)(obj.analysisStatus) }),
|
|
565
|
+
...(obj.antipatternReportResultList && {
|
|
566
|
+
antipatternReportResultList: obj.antipatternReportResultList.map((item) => (0, exports.AntipatternReportResultFilterSensitiveLog)(item)),
|
|
567
|
+
}),
|
|
568
|
+
});
|
|
569
|
+
exports.ResultFilterSensitiveLog = ResultFilterSensitiveLog;
|
|
488
570
|
const SourceCodeRepositoryFilterSensitiveLog = (obj) => ({
|
|
489
571
|
...obj,
|
|
490
572
|
});
|
|
491
573
|
exports.SourceCodeRepositoryFilterSensitiveLog = SourceCodeRepositoryFilterSensitiveLog;
|
|
492
574
|
const ApplicationComponentDetailFilterSensitiveLog = (obj) => ({
|
|
493
575
|
...obj,
|
|
576
|
+
...(obj.resultList && { resultList: obj.resultList.map((item) => (0, exports.ResultFilterSensitiveLog)(item)) }),
|
|
494
577
|
});
|
|
495
578
|
exports.ApplicationComponentDetailFilterSensitiveLog = ApplicationComponentDetailFilterSensitiveLog;
|
|
496
579
|
const ApplicationComponentStatusSummaryFilterSensitiveLog = (obj) => ({
|
|
@@ -1747,6 +1747,50 @@ const serializeAws_restJson1TargetDatabaseEngines = (input, context) => {
|
|
|
1747
1747
|
return entry;
|
|
1748
1748
|
});
|
|
1749
1749
|
};
|
|
1750
|
+
const deserializeAws_restJson1AnalysisStatusUnion = (output, context) => {
|
|
1751
|
+
if ((0, smithy_client_1.expectString)(output.runtimeAnalysisStatus) !== undefined) {
|
|
1752
|
+
return { runtimeAnalysisStatus: (0, smithy_client_1.expectString)(output.runtimeAnalysisStatus) };
|
|
1753
|
+
}
|
|
1754
|
+
if ((0, smithy_client_1.expectString)(output.srcCodeOrDbAnalysisStatus) !== undefined) {
|
|
1755
|
+
return { srcCodeOrDbAnalysisStatus: (0, smithy_client_1.expectString)(output.srcCodeOrDbAnalysisStatus) };
|
|
1756
|
+
}
|
|
1757
|
+
return { $unknown: Object.entries(output)[0] };
|
|
1758
|
+
};
|
|
1759
|
+
const deserializeAws_restJson1AnalyzerNameUnion = (output, context) => {
|
|
1760
|
+
if ((0, smithy_client_1.expectString)(output.binaryAnalyzerName) !== undefined) {
|
|
1761
|
+
return { binaryAnalyzerName: (0, smithy_client_1.expectString)(output.binaryAnalyzerName) };
|
|
1762
|
+
}
|
|
1763
|
+
if ((0, smithy_client_1.expectString)(output.runTimeAnalyzerName) !== undefined) {
|
|
1764
|
+
return { runTimeAnalyzerName: (0, smithy_client_1.expectString)(output.runTimeAnalyzerName) };
|
|
1765
|
+
}
|
|
1766
|
+
if ((0, smithy_client_1.expectString)(output.sourceCodeAnalyzerName) !== undefined) {
|
|
1767
|
+
return { sourceCodeAnalyzerName: (0, smithy_client_1.expectString)(output.sourceCodeAnalyzerName) };
|
|
1768
|
+
}
|
|
1769
|
+
return { $unknown: Object.entries(output)[0] };
|
|
1770
|
+
};
|
|
1771
|
+
const deserializeAws_restJson1AntipatternReportResult = (output, context) => {
|
|
1772
|
+
return {
|
|
1773
|
+
analyzerName: output.analyzerName != null
|
|
1774
|
+
? deserializeAws_restJson1AnalyzerNameUnion((0, smithy_client_1.expectUnion)(output.analyzerName), context)
|
|
1775
|
+
: undefined,
|
|
1776
|
+
antiPatternReportS3Object: output.antiPatternReportS3Object != null
|
|
1777
|
+
? deserializeAws_restJson1S3Object(output.antiPatternReportS3Object, context)
|
|
1778
|
+
: undefined,
|
|
1779
|
+
antipatternReportStatus: (0, smithy_client_1.expectString)(output.antipatternReportStatus),
|
|
1780
|
+
antipatternReportStatusMessage: (0, smithy_client_1.expectString)(output.antipatternReportStatusMessage),
|
|
1781
|
+
};
|
|
1782
|
+
};
|
|
1783
|
+
const deserializeAws_restJson1AntipatternReportResultList = (output, context) => {
|
|
1784
|
+
const retVal = (output || [])
|
|
1785
|
+
.filter((e) => e != null)
|
|
1786
|
+
.map((entry) => {
|
|
1787
|
+
if (entry === null) {
|
|
1788
|
+
return null;
|
|
1789
|
+
}
|
|
1790
|
+
return deserializeAws_restJson1AntipatternReportResult(entry, context);
|
|
1791
|
+
});
|
|
1792
|
+
return retVal;
|
|
1793
|
+
};
|
|
1750
1794
|
const deserializeAws_restJson1AntipatternSeveritySummary = (output, context) => {
|
|
1751
1795
|
return {
|
|
1752
1796
|
count: (0, smithy_client_1.expectInt32)(output.count),
|
|
@@ -1783,6 +1827,7 @@ const deserializeAws_restJson1ApplicationComponentDetail = (output, context) =>
|
|
|
1783
1827
|
? deserializeAws_restJson1RecommendationSet(output.recommendationSet, context)
|
|
1784
1828
|
: undefined,
|
|
1785
1829
|
resourceSubType: (0, smithy_client_1.expectString)(output.resourceSubType),
|
|
1830
|
+
resultList: output.resultList != null ? deserializeAws_restJson1ResultList(output.resultList, context) : undefined,
|
|
1786
1831
|
runtimeStatus: (0, smithy_client_1.expectString)(output.runtimeStatus),
|
|
1787
1832
|
runtimeStatusMessage: (0, smithy_client_1.expectString)(output.runtimeStatusMessage),
|
|
1788
1833
|
sourceCodeRepositories: output.sourceCodeRepositories != null
|
|
@@ -2315,6 +2360,29 @@ const deserializeAws_restJson1RemoteSourceCodeAnalysisServerInfo = (output, cont
|
|
|
2315
2360
|
remoteSourceCodeAnalysisServerConfigurationTimestamp: (0, smithy_client_1.expectString)(output.remoteSourceCodeAnalysisServerConfigurationTimestamp),
|
|
2316
2361
|
};
|
|
2317
2362
|
};
|
|
2363
|
+
const deserializeAws_restJson1Result = (output, context) => {
|
|
2364
|
+
return {
|
|
2365
|
+
analysisStatus: output.analysisStatus != null
|
|
2366
|
+
? deserializeAws_restJson1AnalysisStatusUnion((0, smithy_client_1.expectUnion)(output.analysisStatus), context)
|
|
2367
|
+
: undefined,
|
|
2368
|
+
analysisType: (0, smithy_client_1.expectString)(output.analysisType),
|
|
2369
|
+
antipatternReportResultList: output.antipatternReportResultList != null
|
|
2370
|
+
? deserializeAws_restJson1AntipatternReportResultList(output.antipatternReportResultList, context)
|
|
2371
|
+
: undefined,
|
|
2372
|
+
statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
|
|
2373
|
+
};
|
|
2374
|
+
};
|
|
2375
|
+
const deserializeAws_restJson1ResultList = (output, context) => {
|
|
2376
|
+
const retVal = (output || [])
|
|
2377
|
+
.filter((e) => e != null)
|
|
2378
|
+
.map((entry) => {
|
|
2379
|
+
if (entry === null) {
|
|
2380
|
+
return null;
|
|
2381
|
+
}
|
|
2382
|
+
return deserializeAws_restJson1Result(entry, context);
|
|
2383
|
+
});
|
|
2384
|
+
return retVal;
|
|
2385
|
+
};
|
|
2318
2386
|
const deserializeAws_restJson1S3Keys = (output, context) => {
|
|
2319
2387
|
const retVal = (output || [])
|
|
2320
2388
|
.filter((e) => e != null)
|
|
@@ -12,6 +12,72 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
12
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
+
export var RuntimeAnalysisStatus;
|
|
16
|
+
(function (RuntimeAnalysisStatus) {
|
|
17
|
+
RuntimeAnalysisStatus["ANALYSIS_FAILED"] = "ANALYSIS_FAILED";
|
|
18
|
+
RuntimeAnalysisStatus["ANALYSIS_STARTED"] = "ANALYSIS_STARTED";
|
|
19
|
+
RuntimeAnalysisStatus["ANALYSIS_SUCCESS"] = "ANALYSIS_SUCCESS";
|
|
20
|
+
RuntimeAnalysisStatus["ANALYSIS_TO_BE_SCHEDULED"] = "ANALYSIS_TO_BE_SCHEDULED";
|
|
21
|
+
})(RuntimeAnalysisStatus || (RuntimeAnalysisStatus = {}));
|
|
22
|
+
export var SrcCodeOrDbAnalysisStatus;
|
|
23
|
+
(function (SrcCodeOrDbAnalysisStatus) {
|
|
24
|
+
SrcCodeOrDbAnalysisStatus["ANALYSIS_FAILED"] = "ANALYSIS_FAILED";
|
|
25
|
+
SrcCodeOrDbAnalysisStatus["ANALYSIS_PARTIAL_SUCCESS"] = "ANALYSIS_PARTIAL_SUCCESS";
|
|
26
|
+
SrcCodeOrDbAnalysisStatus["ANALYSIS_STARTED"] = "ANALYSIS_STARTED";
|
|
27
|
+
SrcCodeOrDbAnalysisStatus["ANALYSIS_SUCCESS"] = "ANALYSIS_SUCCESS";
|
|
28
|
+
SrcCodeOrDbAnalysisStatus["ANALYSIS_TO_BE_SCHEDULED"] = "ANALYSIS_TO_BE_SCHEDULED";
|
|
29
|
+
SrcCodeOrDbAnalysisStatus["CONFIGURED"] = "CONFIGURED";
|
|
30
|
+
SrcCodeOrDbAnalysisStatus["UNCONFIGURED"] = "UNCONFIGURED";
|
|
31
|
+
})(SrcCodeOrDbAnalysisStatus || (SrcCodeOrDbAnalysisStatus = {}));
|
|
32
|
+
export var AnalysisStatusUnion;
|
|
33
|
+
(function (AnalysisStatusUnion) {
|
|
34
|
+
AnalysisStatusUnion.visit = (value, visitor) => {
|
|
35
|
+
if (value.runtimeAnalysisStatus !== undefined)
|
|
36
|
+
return visitor.runtimeAnalysisStatus(value.runtimeAnalysisStatus);
|
|
37
|
+
if (value.srcCodeOrDbAnalysisStatus !== undefined)
|
|
38
|
+
return visitor.srcCodeOrDbAnalysisStatus(value.srcCodeOrDbAnalysisStatus);
|
|
39
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
40
|
+
};
|
|
41
|
+
})(AnalysisStatusUnion || (AnalysisStatusUnion = {}));
|
|
42
|
+
export var AnalysisType;
|
|
43
|
+
(function (AnalysisType) {
|
|
44
|
+
AnalysisType["BINARY_ANALYSIS"] = "BINARY_ANALYSIS";
|
|
45
|
+
AnalysisType["DATABASE_ANALYSIS"] = "DATABASE_ANALYSIS";
|
|
46
|
+
AnalysisType["RUNTIME_ANALYSIS"] = "RUNTIME_ANALYSIS";
|
|
47
|
+
AnalysisType["SOURCE_CODE_ANALYSIS"] = "SOURCE_CODE_ANALYSIS";
|
|
48
|
+
})(AnalysisType || (AnalysisType = {}));
|
|
49
|
+
export var BinaryAnalyzerName;
|
|
50
|
+
(function (BinaryAnalyzerName) {
|
|
51
|
+
BinaryAnalyzerName["BYTECODE_ANALYZER"] = "BYTECODE_ANALYZER";
|
|
52
|
+
BinaryAnalyzerName["DLL_ANALYZER"] = "DLL_ANALYZER";
|
|
53
|
+
})(BinaryAnalyzerName || (BinaryAnalyzerName = {}));
|
|
54
|
+
export var RunTimeAnalyzerName;
|
|
55
|
+
(function (RunTimeAnalyzerName) {
|
|
56
|
+
RunTimeAnalyzerName["A2C_ANALYZER"] = "A2C_ANALYZER";
|
|
57
|
+
RunTimeAnalyzerName["DATABASE_ANALYZER"] = "DATABASE_ANALYZER";
|
|
58
|
+
RunTimeAnalyzerName["EMP_PA_ANALYZER"] = "EMP_PA_ANALYZER";
|
|
59
|
+
RunTimeAnalyzerName["REHOST_ANALYZER"] = "REHOST_ANALYZER";
|
|
60
|
+
RunTimeAnalyzerName["SCT_ANALYZER"] = "SCT_ANALYZER";
|
|
61
|
+
})(RunTimeAnalyzerName || (RunTimeAnalyzerName = {}));
|
|
62
|
+
export var SourceCodeAnalyzerName;
|
|
63
|
+
(function (SourceCodeAnalyzerName) {
|
|
64
|
+
SourceCodeAnalyzerName["BYTECODE_ANALYZER"] = "BYTECODE_ANALYZER";
|
|
65
|
+
SourceCodeAnalyzerName["CSHARP_ANALYZER"] = "CSHARP_ANALYZER";
|
|
66
|
+
SourceCodeAnalyzerName["JAVA_ANALYZER"] = "JAVA_ANALYZER";
|
|
67
|
+
SourceCodeAnalyzerName["PORTING_ASSISTANT"] = "PORTING_ASSISTANT";
|
|
68
|
+
})(SourceCodeAnalyzerName || (SourceCodeAnalyzerName = {}));
|
|
69
|
+
export var AnalyzerNameUnion;
|
|
70
|
+
(function (AnalyzerNameUnion) {
|
|
71
|
+
AnalyzerNameUnion.visit = (value, visitor) => {
|
|
72
|
+
if (value.binaryAnalyzerName !== undefined)
|
|
73
|
+
return visitor.binaryAnalyzerName(value.binaryAnalyzerName);
|
|
74
|
+
if (value.runTimeAnalyzerName !== undefined)
|
|
75
|
+
return visitor.runTimeAnalyzerName(value.runTimeAnalyzerName);
|
|
76
|
+
if (value.sourceCodeAnalyzerName !== undefined)
|
|
77
|
+
return visitor.sourceCodeAnalyzerName(value.sourceCodeAnalyzerName);
|
|
78
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
79
|
+
};
|
|
80
|
+
})(AnalyzerNameUnion || (AnalyzerNameUnion = {}));
|
|
15
81
|
export var AntipatternReportStatus;
|
|
16
82
|
(function (AntipatternReportStatus) {
|
|
17
83
|
AntipatternReportStatus["FAILED"] = "FAILED";
|
|
@@ -35,16 +101,6 @@ export var ApplicationComponentCriteria;
|
|
|
35
101
|
ApplicationComponentCriteria["SERVER_ID"] = "SERVER_ID";
|
|
36
102
|
ApplicationComponentCriteria["STRATEGY"] = "STRATEGY";
|
|
37
103
|
})(ApplicationComponentCriteria || (ApplicationComponentCriteria = {}));
|
|
38
|
-
export var SrcCodeOrDbAnalysisStatus;
|
|
39
|
-
(function (SrcCodeOrDbAnalysisStatus) {
|
|
40
|
-
SrcCodeOrDbAnalysisStatus["ANALYSIS_FAILED"] = "ANALYSIS_FAILED";
|
|
41
|
-
SrcCodeOrDbAnalysisStatus["ANALYSIS_PARTIAL_SUCCESS"] = "ANALYSIS_PARTIAL_SUCCESS";
|
|
42
|
-
SrcCodeOrDbAnalysisStatus["ANALYSIS_STARTED"] = "ANALYSIS_STARTED";
|
|
43
|
-
SrcCodeOrDbAnalysisStatus["ANALYSIS_SUCCESS"] = "ANALYSIS_SUCCESS";
|
|
44
|
-
SrcCodeOrDbAnalysisStatus["ANALYSIS_TO_BE_SCHEDULED"] = "ANALYSIS_TO_BE_SCHEDULED";
|
|
45
|
-
SrcCodeOrDbAnalysisStatus["CONFIGURED"] = "CONFIGURED";
|
|
46
|
-
SrcCodeOrDbAnalysisStatus["UNCONFIGURED"] = "UNCONFIGURED";
|
|
47
|
-
})(SrcCodeOrDbAnalysisStatus || (SrcCodeOrDbAnalysisStatus = {}));
|
|
48
104
|
export var AppType;
|
|
49
105
|
(function (AppType) {
|
|
50
106
|
AppType["IIS"] = "IIS";
|
|
@@ -129,13 +185,6 @@ export var ResourceSubType;
|
|
|
129
185
|
ResourceSubType["DATABASE_PROCESS"] = "DatabaseProcess";
|
|
130
186
|
ResourceSubType["PROCESS"] = "Process";
|
|
131
187
|
})(ResourceSubType || (ResourceSubType = {}));
|
|
132
|
-
export var RuntimeAnalysisStatus;
|
|
133
|
-
(function (RuntimeAnalysisStatus) {
|
|
134
|
-
RuntimeAnalysisStatus["ANALYSIS_FAILED"] = "ANALYSIS_FAILED";
|
|
135
|
-
RuntimeAnalysisStatus["ANALYSIS_STARTED"] = "ANALYSIS_STARTED";
|
|
136
|
-
RuntimeAnalysisStatus["ANALYSIS_SUCCESS"] = "ANALYSIS_SUCCESS";
|
|
137
|
-
RuntimeAnalysisStatus["ANALYSIS_TO_BE_SCHEDULED"] = "ANALYSIS_TO_BE_SCHEDULED";
|
|
138
|
-
})(RuntimeAnalysisStatus || (RuntimeAnalysisStatus = {}));
|
|
139
188
|
export var StrategyRecommendation;
|
|
140
189
|
(function (StrategyRecommendation) {
|
|
141
190
|
StrategyRecommendation["NOT_RECOMMENDED"] = "notRecommended";
|
|
@@ -447,10 +496,32 @@ export var VersionControl;
|
|
|
447
496
|
VersionControl["GITHUB"] = "GITHUB";
|
|
448
497
|
VersionControl["GITHUB_ENTERPRISE"] = "GITHUB_ENTERPRISE";
|
|
449
498
|
})(VersionControl || (VersionControl = {}));
|
|
450
|
-
export const
|
|
499
|
+
export const AnalysisStatusUnionFilterSensitiveLog = (obj) => {
|
|
500
|
+
if (obj.runtimeAnalysisStatus !== undefined)
|
|
501
|
+
return { runtimeAnalysisStatus: obj.runtimeAnalysisStatus };
|
|
502
|
+
if (obj.srcCodeOrDbAnalysisStatus !== undefined)
|
|
503
|
+
return { srcCodeOrDbAnalysisStatus: obj.srcCodeOrDbAnalysisStatus };
|
|
504
|
+
if (obj.$unknown !== undefined)
|
|
505
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
506
|
+
};
|
|
507
|
+
export const AnalyzerNameUnionFilterSensitiveLog = (obj) => {
|
|
508
|
+
if (obj.binaryAnalyzerName !== undefined)
|
|
509
|
+
return { binaryAnalyzerName: obj.binaryAnalyzerName };
|
|
510
|
+
if (obj.runTimeAnalyzerName !== undefined)
|
|
511
|
+
return { runTimeAnalyzerName: obj.runTimeAnalyzerName };
|
|
512
|
+
if (obj.sourceCodeAnalyzerName !== undefined)
|
|
513
|
+
return { sourceCodeAnalyzerName: obj.sourceCodeAnalyzerName };
|
|
514
|
+
if (obj.$unknown !== undefined)
|
|
515
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
516
|
+
};
|
|
517
|
+
export const S3ObjectFilterSensitiveLog = (obj) => ({
|
|
451
518
|
...obj,
|
|
452
519
|
});
|
|
453
|
-
export const
|
|
520
|
+
export const AntipatternReportResultFilterSensitiveLog = (obj) => ({
|
|
521
|
+
...obj,
|
|
522
|
+
...(obj.analyzerName && { analyzerName: AnalyzerNameUnionFilterSensitiveLog(obj.analyzerName) }),
|
|
523
|
+
});
|
|
524
|
+
export const AntipatternSeveritySummaryFilterSensitiveLog = (obj) => ({
|
|
454
525
|
...obj,
|
|
455
526
|
});
|
|
456
527
|
export const AppUnitErrorFilterSensitiveLog = (obj) => ({
|
|
@@ -465,11 +536,19 @@ export const TransformationToolFilterSensitiveLog = (obj) => ({
|
|
|
465
536
|
export const RecommendationSetFilterSensitiveLog = (obj) => ({
|
|
466
537
|
...obj,
|
|
467
538
|
});
|
|
539
|
+
export const ResultFilterSensitiveLog = (obj) => ({
|
|
540
|
+
...obj,
|
|
541
|
+
...(obj.analysisStatus && { analysisStatus: AnalysisStatusUnionFilterSensitiveLog(obj.analysisStatus) }),
|
|
542
|
+
...(obj.antipatternReportResultList && {
|
|
543
|
+
antipatternReportResultList: obj.antipatternReportResultList.map((item) => AntipatternReportResultFilterSensitiveLog(item)),
|
|
544
|
+
}),
|
|
545
|
+
});
|
|
468
546
|
export const SourceCodeRepositoryFilterSensitiveLog = (obj) => ({
|
|
469
547
|
...obj,
|
|
470
548
|
});
|
|
471
549
|
export const ApplicationComponentDetailFilterSensitiveLog = (obj) => ({
|
|
472
550
|
...obj,
|
|
551
|
+
...(obj.resultList && { resultList: obj.resultList.map((item) => ResultFilterSensitiveLog(item)) }),
|
|
473
552
|
});
|
|
474
553
|
export const ApplicationComponentStatusSummaryFilterSensitiveLog = (obj) => ({
|
|
475
554
|
...obj,
|
|
@@ -1702,6 +1702,50 @@ const serializeAws_restJson1TargetDatabaseEngines = (input, context) => {
|
|
|
1702
1702
|
return entry;
|
|
1703
1703
|
});
|
|
1704
1704
|
};
|
|
1705
|
+
const deserializeAws_restJson1AnalysisStatusUnion = (output, context) => {
|
|
1706
|
+
if (__expectString(output.runtimeAnalysisStatus) !== undefined) {
|
|
1707
|
+
return { runtimeAnalysisStatus: __expectString(output.runtimeAnalysisStatus) };
|
|
1708
|
+
}
|
|
1709
|
+
if (__expectString(output.srcCodeOrDbAnalysisStatus) !== undefined) {
|
|
1710
|
+
return { srcCodeOrDbAnalysisStatus: __expectString(output.srcCodeOrDbAnalysisStatus) };
|
|
1711
|
+
}
|
|
1712
|
+
return { $unknown: Object.entries(output)[0] };
|
|
1713
|
+
};
|
|
1714
|
+
const deserializeAws_restJson1AnalyzerNameUnion = (output, context) => {
|
|
1715
|
+
if (__expectString(output.binaryAnalyzerName) !== undefined) {
|
|
1716
|
+
return { binaryAnalyzerName: __expectString(output.binaryAnalyzerName) };
|
|
1717
|
+
}
|
|
1718
|
+
if (__expectString(output.runTimeAnalyzerName) !== undefined) {
|
|
1719
|
+
return { runTimeAnalyzerName: __expectString(output.runTimeAnalyzerName) };
|
|
1720
|
+
}
|
|
1721
|
+
if (__expectString(output.sourceCodeAnalyzerName) !== undefined) {
|
|
1722
|
+
return { sourceCodeAnalyzerName: __expectString(output.sourceCodeAnalyzerName) };
|
|
1723
|
+
}
|
|
1724
|
+
return { $unknown: Object.entries(output)[0] };
|
|
1725
|
+
};
|
|
1726
|
+
const deserializeAws_restJson1AntipatternReportResult = (output, context) => {
|
|
1727
|
+
return {
|
|
1728
|
+
analyzerName: output.analyzerName != null
|
|
1729
|
+
? deserializeAws_restJson1AnalyzerNameUnion(__expectUnion(output.analyzerName), context)
|
|
1730
|
+
: undefined,
|
|
1731
|
+
antiPatternReportS3Object: output.antiPatternReportS3Object != null
|
|
1732
|
+
? deserializeAws_restJson1S3Object(output.antiPatternReportS3Object, context)
|
|
1733
|
+
: undefined,
|
|
1734
|
+
antipatternReportStatus: __expectString(output.antipatternReportStatus),
|
|
1735
|
+
antipatternReportStatusMessage: __expectString(output.antipatternReportStatusMessage),
|
|
1736
|
+
};
|
|
1737
|
+
};
|
|
1738
|
+
const deserializeAws_restJson1AntipatternReportResultList = (output, context) => {
|
|
1739
|
+
const retVal = (output || [])
|
|
1740
|
+
.filter((e) => e != null)
|
|
1741
|
+
.map((entry) => {
|
|
1742
|
+
if (entry === null) {
|
|
1743
|
+
return null;
|
|
1744
|
+
}
|
|
1745
|
+
return deserializeAws_restJson1AntipatternReportResult(entry, context);
|
|
1746
|
+
});
|
|
1747
|
+
return retVal;
|
|
1748
|
+
};
|
|
1705
1749
|
const deserializeAws_restJson1AntipatternSeveritySummary = (output, context) => {
|
|
1706
1750
|
return {
|
|
1707
1751
|
count: __expectInt32(output.count),
|
|
@@ -1738,6 +1782,7 @@ const deserializeAws_restJson1ApplicationComponentDetail = (output, context) =>
|
|
|
1738
1782
|
? deserializeAws_restJson1RecommendationSet(output.recommendationSet, context)
|
|
1739
1783
|
: undefined,
|
|
1740
1784
|
resourceSubType: __expectString(output.resourceSubType),
|
|
1785
|
+
resultList: output.resultList != null ? deserializeAws_restJson1ResultList(output.resultList, context) : undefined,
|
|
1741
1786
|
runtimeStatus: __expectString(output.runtimeStatus),
|
|
1742
1787
|
runtimeStatusMessage: __expectString(output.runtimeStatusMessage),
|
|
1743
1788
|
sourceCodeRepositories: output.sourceCodeRepositories != null
|
|
@@ -2270,6 +2315,29 @@ const deserializeAws_restJson1RemoteSourceCodeAnalysisServerInfo = (output, cont
|
|
|
2270
2315
|
remoteSourceCodeAnalysisServerConfigurationTimestamp: __expectString(output.remoteSourceCodeAnalysisServerConfigurationTimestamp),
|
|
2271
2316
|
};
|
|
2272
2317
|
};
|
|
2318
|
+
const deserializeAws_restJson1Result = (output, context) => {
|
|
2319
|
+
return {
|
|
2320
|
+
analysisStatus: output.analysisStatus != null
|
|
2321
|
+
? deserializeAws_restJson1AnalysisStatusUnion(__expectUnion(output.analysisStatus), context)
|
|
2322
|
+
: undefined,
|
|
2323
|
+
analysisType: __expectString(output.analysisType),
|
|
2324
|
+
antipatternReportResultList: output.antipatternReportResultList != null
|
|
2325
|
+
? deserializeAws_restJson1AntipatternReportResultList(output.antipatternReportResultList, context)
|
|
2326
|
+
: undefined,
|
|
2327
|
+
statusMessage: __expectString(output.statusMessage),
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2330
|
+
const deserializeAws_restJson1ResultList = (output, context) => {
|
|
2331
|
+
const retVal = (output || [])
|
|
2332
|
+
.filter((e) => e != null)
|
|
2333
|
+
.map((entry) => {
|
|
2334
|
+
if (entry === null) {
|
|
2335
|
+
return null;
|
|
2336
|
+
}
|
|
2337
|
+
return deserializeAws_restJson1Result(entry, context);
|
|
2338
|
+
});
|
|
2339
|
+
return retVal;
|
|
2340
|
+
};
|
|
2273
2341
|
const deserializeAws_restJson1S3Keys = (output, context) => {
|
|
2274
2342
|
const retVal = (output || [])
|
|
2275
2343
|
.filter((e) => e != null)
|
|
@@ -23,7 +23,6 @@ import { UpdateServerConfigCommandInput, UpdateServerConfigCommandOutput } from
|
|
|
23
23
|
import { MigrationHubStrategyClient } from "./MigrationHubStrategyClient";
|
|
24
24
|
/**
|
|
25
25
|
* <fullname>Migration Hub Strategy Recommendations</fullname>
|
|
26
|
-
*
|
|
27
26
|
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
28
27
|
* actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API
|
|
29
28
|
* request parameters and the response. Alternatively, you can use one of the AWS SDKs to
|
|
@@ -145,7 +145,6 @@ export interface MigrationHubStrategyClientResolvedConfig extends MigrationHubSt
|
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
147
|
* <fullname>Migration Hub Strategy Recommendations</fullname>
|
|
148
|
-
*
|
|
149
148
|
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
150
149
|
* actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API
|
|
151
150
|
* request parameters and the response. Alternatively, you can use one of the AWS SDKs to
|
|
@@ -29,6 +29,16 @@ export interface GetApplicationComponentDetailsCommandOutput extends GetApplicat
|
|
|
29
29
|
* @see {@link GetApplicationComponentDetailsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link InternalServerException} (server fault)
|
|
33
|
+
* <p> The server experienced an internal error. Try again. </p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
36
|
+
* <p> The specified ID in the request is not found. </p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
39
|
+
* <p> The request was denied due to request throttling. </p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
32
42
|
*/
|
|
33
43
|
export declare class GetApplicationComponentDetailsCommand extends $Command<GetApplicationComponentDetailsCommandInput, GetApplicationComponentDetailsCommandOutput, MigrationHubStrategyClientResolvedConfig> {
|
|
34
44
|
readonly input: GetApplicationComponentDetailsCommandInput;
|
|
@@ -30,6 +30,16 @@ export interface GetApplicationComponentStrategiesCommandOutput extends GetAppli
|
|
|
30
30
|
* @see {@link GetApplicationComponentStrategiesCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link InternalServerException} (server fault)
|
|
34
|
+
* <p> The server experienced an internal error. Try again. </p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
37
|
+
* <p> The specified ID in the request is not found. </p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
40
|
+
* <p> The request was denied due to request throttling. </p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
33
43
|
*/
|
|
34
44
|
export declare class GetApplicationComponentStrategiesCommand extends $Command<GetApplicationComponentStrategiesCommandInput, GetApplicationComponentStrategiesCommandOutput, MigrationHubStrategyClientResolvedConfig> {
|
|
35
45
|
readonly input: GetApplicationComponentStrategiesCommandInput;
|
|
@@ -29,6 +29,20 @@ export interface GetAssessmentCommandOutput extends GetAssessmentResponse, __Met
|
|
|
29
29
|
* @see {@link GetAssessmentCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
+
* <p> The user does not have permission to perform the action. Check the
|
|
34
|
+
* AWS Identity and Access Management (IAM) policy associated with this user.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalServerException} (server fault)
|
|
37
|
+
* <p> The server experienced an internal error. Try again. </p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
40
|
+
* <p> The specified ID in the request is not found. </p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
43
|
+
* <p> The request was denied due to request throttling. </p>
|
|
44
|
+
*
|
|
45
|
+
*
|
|
32
46
|
*/
|
|
33
47
|
export declare class GetAssessmentCommand extends $Command<GetAssessmentCommandInput, GetAssessmentCommandOutput, MigrationHubStrategyClientResolvedConfig> {
|
|
34
48
|
readonly input: GetAssessmentCommandInput;
|
|
@@ -29,6 +29,23 @@ export interface GetImportFileTaskCommandOutput extends GetImportFileTaskRespons
|
|
|
29
29
|
* @see {@link GetImportFileTaskCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
+
* <p> The user does not have permission to perform the action. Check the
|
|
34
|
+
* AWS Identity and Access Management (IAM) policy associated with this user.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalServerException} (server fault)
|
|
37
|
+
* <p> The server experienced an internal error. Try again. </p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
40
|
+
* <p> The specified ID in the request is not found. </p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
43
|
+
* <p> The request was denied due to request throttling. </p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ValidationException} (client fault)
|
|
46
|
+
* <p> The request body isn't valid. </p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
32
49
|
*/
|
|
33
50
|
export declare class GetImportFileTaskCommand extends $Command<GetImportFileTaskCommandInput, GetImportFileTaskCommandOutput, MigrationHubStrategyClientResolvedConfig> {
|
|
34
51
|
readonly input: GetImportFileTaskCommandInput;
|