@aws-sdk/client-migrationhubstrategy 3.224.0 → 3.227.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/README.md +3 -3
- package/dist-cjs/MigrationHubStrategy.js +15 -0
- package/dist-cjs/commands/GetLatestAssessmentIdCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +1 -10
- package/dist-cjs/models/models_0.js +156 -13
- package/dist-cjs/protocols/Aws_restJson1.js +290 -1
- package/dist-es/MigrationHubStrategy.js +15 -0
- package/dist-es/commands/GetLatestAssessmentIdCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +1 -10
- package/dist-es/models/models_0.js +139 -10
- package/dist-es/protocols/Aws_restJson1.js +288 -1
- package/dist-types/MigrationHubStrategy.d.ts +10 -3
- package/dist-types/MigrationHubStrategyClient.d.ts +6 -5
- package/dist-types/commands/GetLatestAssessmentIdCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +496 -347
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/MigrationHubStrategy.d.ts +17 -0
- package/dist-types/ts3.4/MigrationHubStrategyClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetLatestAssessmentIdCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +184 -8
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +28 -28
package/README.md
CHANGED
|
@@ -13,9 +13,9 @@ AWS SDK for JavaScript MigrationHubStrategy Client for Node.js, Browser and Reac
|
|
|
13
13
|
|
|
14
14
|
<p>This API reference provides descriptions, syntax, and other details about each of the
|
|
15
15
|
actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API
|
|
16
|
-
request parameters and the response. Alternatively, you can use one of the AWS SDKs to
|
|
17
|
-
an API that is tailored to the programming language or platform that you're using. For
|
|
18
|
-
information, see <a href="http://aws.amazon.com/tools/#SDKs">AWS SDKs</a>.</p>
|
|
16
|
+
request parameters and the response. Alternatively, you can use one of the AWS SDKs to
|
|
17
|
+
access an API that is tailored to the programming language or platform that you're using. For
|
|
18
|
+
more information, see <a href="http://aws.amazon.com/tools/#SDKs">AWS SDKs</a>.</p>
|
|
19
19
|
|
|
20
20
|
## Installing
|
|
21
21
|
|
|
@@ -5,6 +5,7 @@ const GetApplicationComponentDetailsCommand_1 = require("./commands/GetApplicati
|
|
|
5
5
|
const GetApplicationComponentStrategiesCommand_1 = require("./commands/GetApplicationComponentStrategiesCommand");
|
|
6
6
|
const GetAssessmentCommand_1 = require("./commands/GetAssessmentCommand");
|
|
7
7
|
const GetImportFileTaskCommand_1 = require("./commands/GetImportFileTaskCommand");
|
|
8
|
+
const GetLatestAssessmentIdCommand_1 = require("./commands/GetLatestAssessmentIdCommand");
|
|
8
9
|
const GetPortfolioPreferencesCommand_1 = require("./commands/GetPortfolioPreferencesCommand");
|
|
9
10
|
const GetPortfolioSummaryCommand_1 = require("./commands/GetPortfolioSummaryCommand");
|
|
10
11
|
const GetRecommendationReportDetailsCommand_1 = require("./commands/GetRecommendationReportDetailsCommand");
|
|
@@ -79,6 +80,20 @@ class MigrationHubStrategy extends MigrationHubStrategyClient_1.MigrationHubStra
|
|
|
79
80
|
return this.send(command, optionsOrCb);
|
|
80
81
|
}
|
|
81
82
|
}
|
|
83
|
+
getLatestAssessmentId(args, optionsOrCb, cb) {
|
|
84
|
+
const command = new GetLatestAssessmentIdCommand_1.GetLatestAssessmentIdCommand(args);
|
|
85
|
+
if (typeof optionsOrCb === "function") {
|
|
86
|
+
this.send(command, optionsOrCb);
|
|
87
|
+
}
|
|
88
|
+
else if (typeof cb === "function") {
|
|
89
|
+
if (typeof optionsOrCb !== "object")
|
|
90
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
91
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
return this.send(command, optionsOrCb);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
82
97
|
getPortfolioPreferences(args, optionsOrCb, cb) {
|
|
83
98
|
const command = new GetPortfolioPreferencesCommand_1.GetPortfolioPreferencesCommand(args);
|
|
84
99
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetLatestAssessmentIdCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class GetLatestAssessmentIdCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetLatestAssessmentIdCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "MigrationHubStrategyClient";
|
|
28
|
+
const commandName = "GetLatestAssessmentIdCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.GetLatestAssessmentIdRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.GetLatestAssessmentIdResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetLatestAssessmentIdCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetLatestAssessmentIdCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetLatestAssessmentIdCommand = GetLatestAssessmentIdCommand;
|
|
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./GetApplicationComponentDetailsCommand"), exports
|
|
|
5
5
|
tslib_1.__exportStar(require("./GetApplicationComponentStrategiesCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./GetAssessmentCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./GetImportFileTaskCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./GetLatestAssessmentIdCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./GetPortfolioPreferencesCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./GetPortfolioSummaryCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./GetRecommendationReportDetailsCommand"), exports);
|
|
@@ -6,7 +6,7 @@ exports.ruleSet = {
|
|
|
6
6
|
parameters: {
|
|
7
7
|
Region: {
|
|
8
8
|
builtIn: "AWS::Region",
|
|
9
|
-
required:
|
|
9
|
+
required: true,
|
|
10
10
|
documentation: "The AWS region used to dispatch the request.",
|
|
11
11
|
type: "String",
|
|
12
12
|
},
|
|
@@ -56,15 +56,6 @@ exports.ruleSet = {
|
|
|
56
56
|
},
|
|
57
57
|
],
|
|
58
58
|
},
|
|
59
|
-
{
|
|
60
|
-
fn: "parseURL",
|
|
61
|
-
argv: [
|
|
62
|
-
{
|
|
63
|
-
ref: "Endpoint",
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
assign: "url",
|
|
67
|
-
},
|
|
68
59
|
],
|
|
69
60
|
type: "tree",
|
|
70
61
|
rules: [
|
|
@@ -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 = void 0;
|
|
3
|
+
exports.VersionControl = exports.OutputFormat = exports.DataSourceType = exports.ServiceQuotaExceededException = exports.ConflictException = exports.ServerCriteria = 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.RuntimeAnalysisStatus = exports.ResourceSubType = exports.TransformationToolName = exports.TargetDestination = exports.Strategy = exports.InclusionStatus = exports.AppUnitErrorCategory = exports.AppType = exports.SrcCodeOrDbAnalysisStatus = exports.ApplicationComponentCriteria = exports.Severity = exports.AntipatternReportStatus = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.NetworkInfoFilterSensitiveLog = exports.ServerErrorFilterSensitiveLog = exports.GetServerDetailsRequestFilterSensitiveLog = exports.GetRecommendationReportDetailsResponseFilterSensitiveLog = exports.RecommendationReportDetailsFilterSensitiveLog = exports.GetRecommendationReportDetailsRequestFilterSensitiveLog = exports.GetPortfolioSummaryResponseFilterSensitiveLog = exports.GetPortfolioSummaryRequestFilterSensitiveLog = exports.GetPortfolioPreferencesResponseFilterSensitiveLog = exports.PrioritizeBusinessGoalsFilterSensitiveLog = 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.RecommendationSetFilterSensitiveLog = exports.TransformationToolFilterSensitiveLog = exports.DatabaseConfigDetailFilterSensitiveLog = exports.AppUnitErrorFilterSensitiveLog = exports.S3ObjectFilterSensitiveLog = exports.AntipatternSeveritySummaryFilterSensitiveLog = 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 = 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 {
|
|
@@ -32,9 +32,11 @@ var Severity;
|
|
|
32
32
|
})(Severity = exports.Severity || (exports.Severity = {}));
|
|
33
33
|
var ApplicationComponentCriteria;
|
|
34
34
|
(function (ApplicationComponentCriteria) {
|
|
35
|
+
ApplicationComponentCriteria["ANALYSIS_STATUS"] = "ANALYSIS_STATUS";
|
|
35
36
|
ApplicationComponentCriteria["APP_NAME"] = "APP_NAME";
|
|
36
37
|
ApplicationComponentCriteria["APP_TYPE"] = "APP_TYPE";
|
|
37
38
|
ApplicationComponentCriteria["DESTINATION"] = "DESTINATION";
|
|
39
|
+
ApplicationComponentCriteria["ERROR_CATEGORY"] = "ERROR_CATEGORY";
|
|
38
40
|
ApplicationComponentCriteria["NOT_DEFINED"] = "NOT_DEFINED";
|
|
39
41
|
ApplicationComponentCriteria["SERVER_ID"] = "SERVER_ID";
|
|
40
42
|
ApplicationComponentCriteria["STRATEGY"] = "STRATEGY";
|
|
@@ -42,19 +44,46 @@ var ApplicationComponentCriteria;
|
|
|
42
44
|
var SrcCodeOrDbAnalysisStatus;
|
|
43
45
|
(function (SrcCodeOrDbAnalysisStatus) {
|
|
44
46
|
SrcCodeOrDbAnalysisStatus["ANALYSIS_FAILED"] = "ANALYSIS_FAILED";
|
|
47
|
+
SrcCodeOrDbAnalysisStatus["ANALYSIS_PARTIAL_SUCCESS"] = "ANALYSIS_PARTIAL_SUCCESS";
|
|
45
48
|
SrcCodeOrDbAnalysisStatus["ANALYSIS_STARTED"] = "ANALYSIS_STARTED";
|
|
46
49
|
SrcCodeOrDbAnalysisStatus["ANALYSIS_SUCCESS"] = "ANALYSIS_SUCCESS";
|
|
47
50
|
SrcCodeOrDbAnalysisStatus["ANALYSIS_TO_BE_SCHEDULED"] = "ANALYSIS_TO_BE_SCHEDULED";
|
|
51
|
+
SrcCodeOrDbAnalysisStatus["CONFIGURED"] = "CONFIGURED";
|
|
52
|
+
SrcCodeOrDbAnalysisStatus["UNCONFIGURED"] = "UNCONFIGURED";
|
|
48
53
|
})(SrcCodeOrDbAnalysisStatus = exports.SrcCodeOrDbAnalysisStatus || (exports.SrcCodeOrDbAnalysisStatus = {}));
|
|
49
54
|
var AppType;
|
|
50
55
|
(function (AppType) {
|
|
51
56
|
AppType["IIS"] = "IIS";
|
|
57
|
+
AppType["cassandra"] = "Cassandra";
|
|
58
|
+
AppType["db2"] = "DB2";
|
|
52
59
|
AppType["dotNetFramework"] = "DotNetFramework";
|
|
60
|
+
AppType["dotnet"] = "Dotnet";
|
|
61
|
+
AppType["dotnetcore"] = "DotnetCore";
|
|
53
62
|
AppType["java"] = "Java";
|
|
63
|
+
AppType["jboss"] = "JBoss";
|
|
64
|
+
AppType["mariadb"] = "Maria DB";
|
|
65
|
+
AppType["mongodb"] = "Mongo DB";
|
|
66
|
+
AppType["mysql"] = "MySQL";
|
|
54
67
|
AppType["oracle"] = "Oracle";
|
|
55
68
|
AppType["other"] = "Other";
|
|
69
|
+
AppType["postgresqlserver"] = "PostgreSQLServer";
|
|
70
|
+
AppType["spring"] = "Spring";
|
|
56
71
|
AppType["sqlServer"] = "SQLServer";
|
|
72
|
+
AppType["sybase"] = "Sybase";
|
|
73
|
+
AppType["tomcat"] = "Tomcat";
|
|
74
|
+
AppType["unknown"] = "Unknown";
|
|
75
|
+
AppType["visualbasic"] = "Visual Basic";
|
|
76
|
+
AppType["weblogic"] = "Oracle WebLogic";
|
|
77
|
+
AppType["websphere"] = "IBM WebSphere";
|
|
57
78
|
})(AppType = exports.AppType || (exports.AppType = {}));
|
|
79
|
+
var AppUnitErrorCategory;
|
|
80
|
+
(function (AppUnitErrorCategory) {
|
|
81
|
+
AppUnitErrorCategory["CONNECTIVITY_ERROR"] = "CONNECTIVITY_ERROR";
|
|
82
|
+
AppUnitErrorCategory["CREDENTIAL_ERROR"] = "CREDENTIAL_ERROR";
|
|
83
|
+
AppUnitErrorCategory["OTHER_ERROR"] = "OTHER_ERROR";
|
|
84
|
+
AppUnitErrorCategory["PERMISSION_ERROR"] = "PERMISSION_ERROR";
|
|
85
|
+
AppUnitErrorCategory["UNSUPPORTED_ERROR"] = "UNSUPPORTED_ERROR";
|
|
86
|
+
})(AppUnitErrorCategory = exports.AppUnitErrorCategory || (exports.AppUnitErrorCategory = {}));
|
|
58
87
|
var InclusionStatus;
|
|
59
88
|
(function (InclusionStatus) {
|
|
60
89
|
InclusionStatus["EXCLUDE_FROM_RECOMMENDATION"] = "excludeFromAssessment";
|
|
@@ -84,6 +113,7 @@ var TargetDestination;
|
|
|
84
113
|
TargetDestination["AURORA_POSTGRESQL"] = "Aurora PostgreSQL";
|
|
85
114
|
TargetDestination["AWS_ELASTIC_BEANSTALK"] = "AWS Elastic BeanStalk";
|
|
86
115
|
TargetDestination["AWS_FARGATE"] = "AWS Fargate";
|
|
116
|
+
TargetDestination["BABELFISH_AURORA_POSTGRESQL"] = "Babelfish for Aurora PostgreSQL";
|
|
87
117
|
TargetDestination["NONE_SPECIFIED"] = "None specified";
|
|
88
118
|
})(TargetDestination = exports.TargetDestination || (exports.TargetDestination = {}));
|
|
89
119
|
var TransformationToolName;
|
|
@@ -105,12 +135,26 @@ var ResourceSubType;
|
|
|
105
135
|
ResourceSubType["DATABASE_PROCESS"] = "DatabaseProcess";
|
|
106
136
|
ResourceSubType["PROCESS"] = "Process";
|
|
107
137
|
})(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 = {}));
|
|
108
145
|
var StrategyRecommendation;
|
|
109
146
|
(function (StrategyRecommendation) {
|
|
110
147
|
StrategyRecommendation["NOT_RECOMMENDED"] = "notRecommended";
|
|
148
|
+
StrategyRecommendation["POTENTIAL"] = "potential";
|
|
111
149
|
StrategyRecommendation["RECOMMENDED"] = "recommended";
|
|
112
150
|
StrategyRecommendation["VIABLE_OPTION"] = "viableOption";
|
|
113
151
|
})(StrategyRecommendation = exports.StrategyRecommendation || (exports.StrategyRecommendation = {}));
|
|
152
|
+
var ApplicationMode;
|
|
153
|
+
(function (ApplicationMode) {
|
|
154
|
+
ApplicationMode["ALL"] = "ALL";
|
|
155
|
+
ApplicationMode["KNOWN"] = "KNOWN";
|
|
156
|
+
ApplicationMode["UNKNOWN"] = "UNKNOWN";
|
|
157
|
+
})(ApplicationMode = exports.ApplicationMode || (exports.ApplicationMode = {}));
|
|
114
158
|
var AwsManagedTargetDestination;
|
|
115
159
|
(function (AwsManagedTargetDestination) {
|
|
116
160
|
AwsManagedTargetDestination["AWS_ELASTIC_BEANSTALK"] = "AWS Elastic BeanStalk";
|
|
@@ -152,6 +196,16 @@ var AssessmentStatus;
|
|
|
152
196
|
AssessmentStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
153
197
|
AssessmentStatus["STOPPED"] = "STOPPED";
|
|
154
198
|
})(AssessmentStatus = exports.AssessmentStatus || (exports.AssessmentStatus = {}));
|
|
199
|
+
var RunTimeAssessmentStatus;
|
|
200
|
+
(function (RunTimeAssessmentStatus) {
|
|
201
|
+
RunTimeAssessmentStatus["DC_FAILED"] = "dataCollectionTaskFailed";
|
|
202
|
+
RunTimeAssessmentStatus["DC_PARTIAL_SUCCESS"] = "dataCollectionTaskPartialSuccess";
|
|
203
|
+
RunTimeAssessmentStatus["DC_REQ_SENT"] = "dataCollectionTaskScheduled";
|
|
204
|
+
RunTimeAssessmentStatus["DC_STARTED"] = "dataCollectionTaskStarted";
|
|
205
|
+
RunTimeAssessmentStatus["DC_STOPPED"] = "dataCollectionTaskStopped";
|
|
206
|
+
RunTimeAssessmentStatus["DC_SUCCESS"] = "dataCollectionTaskSuccess";
|
|
207
|
+
RunTimeAssessmentStatus["DC_TO_BE_SCHEDULED"] = "dataCollectionTaskToBeScheduled";
|
|
208
|
+
})(RunTimeAssessmentStatus = exports.RunTimeAssessmentStatus || (exports.RunTimeAssessmentStatus = {}));
|
|
155
209
|
var ServerOsType;
|
|
156
210
|
(function (ServerOsType) {
|
|
157
211
|
ServerOsType["amazonLinux"] = "AmazonLinux";
|
|
@@ -160,6 +214,19 @@ var ServerOsType;
|
|
|
160
214
|
ServerOsType["redhat"] = "Redhat";
|
|
161
215
|
ServerOsType["windowsServer"] = "WindowsServer";
|
|
162
216
|
})(ServerOsType = exports.ServerOsType || (exports.ServerOsType = {}));
|
|
217
|
+
var Condition;
|
|
218
|
+
(function (Condition) {
|
|
219
|
+
Condition["CONTAINS"] = "CONTAINS";
|
|
220
|
+
Condition["EQUALS"] = "EQUALS";
|
|
221
|
+
Condition["NOT_CONTAINS"] = "NOT_CONTAINS";
|
|
222
|
+
Condition["NOT_EQUALS"] = "NOT_EQUALS";
|
|
223
|
+
})(Condition = exports.Condition || (exports.Condition = {}));
|
|
224
|
+
var AuthType;
|
|
225
|
+
(function (AuthType) {
|
|
226
|
+
AuthType["CERT"] = "CERT";
|
|
227
|
+
AuthType["NTLM"] = "NTLM";
|
|
228
|
+
AuthType["SSH"] = "SSH";
|
|
229
|
+
})(AuthType = exports.AuthType || (exports.AuthType = {}));
|
|
163
230
|
class InternalServerException extends MigrationHubStrategyServiceException_1.MigrationHubStrategyServiceException {
|
|
164
231
|
constructor(opts) {
|
|
165
232
|
super({
|
|
@@ -223,6 +290,19 @@ class ValidationException extends MigrationHubStrategyServiceException_1.Migrati
|
|
|
223
290
|
}
|
|
224
291
|
}
|
|
225
292
|
exports.ValidationException = ValidationException;
|
|
293
|
+
class DependencyException extends MigrationHubStrategyServiceException_1.MigrationHubStrategyServiceException {
|
|
294
|
+
constructor(opts) {
|
|
295
|
+
super({
|
|
296
|
+
name: "DependencyException",
|
|
297
|
+
$fault: "server",
|
|
298
|
+
...opts,
|
|
299
|
+
});
|
|
300
|
+
this.name = "DependencyException";
|
|
301
|
+
this.$fault = "server";
|
|
302
|
+
Object.setPrototypeOf(this, DependencyException.prototype);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
exports.DependencyException = DependencyException;
|
|
226
306
|
var DatabaseManagementPreference;
|
|
227
307
|
(function (DatabaseManagementPreference) {
|
|
228
308
|
DatabaseManagementPreference["AWS_MANAGED"] = "AWS-managed";
|
|
@@ -277,16 +357,14 @@ var RecommendationReportStatus;
|
|
|
277
357
|
RecommendationReportStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
278
358
|
RecommendationReportStatus["SUCCESS"] = "SUCCESS";
|
|
279
359
|
})(RecommendationReportStatus = exports.RecommendationReportStatus || (exports.RecommendationReportStatus = {}));
|
|
280
|
-
var
|
|
281
|
-
(function (
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
RunTimeAssessmentStatus["DC_TO_BE_SCHEDULED"] = "dataCollectionTaskToBeScheduled";
|
|
289
|
-
})(RunTimeAssessmentStatus = exports.RunTimeAssessmentStatus || (exports.RunTimeAssessmentStatus = {}));
|
|
360
|
+
var ServerErrorCategory;
|
|
361
|
+
(function (ServerErrorCategory) {
|
|
362
|
+
ServerErrorCategory["ARCHITECTURE_ERROR"] = "ARCHITECTURE_ERROR";
|
|
363
|
+
ServerErrorCategory["CONNECTIVITY_ERROR"] = "CONNECTIVITY_ERROR";
|
|
364
|
+
ServerErrorCategory["CREDENTIAL_ERROR"] = "CREDENTIAL_ERROR";
|
|
365
|
+
ServerErrorCategory["OTHER_ERROR"] = "OTHER_ERROR";
|
|
366
|
+
ServerErrorCategory["PERMISSION_ERROR"] = "PERMISSION_ERROR";
|
|
367
|
+
})(ServerErrorCategory = exports.ServerErrorCategory || (exports.ServerErrorCategory = {}));
|
|
290
368
|
var OSType;
|
|
291
369
|
(function (OSType) {
|
|
292
370
|
OSType["LINUX"] = "LINUX";
|
|
@@ -319,9 +397,21 @@ var CollectorHealth;
|
|
|
319
397
|
CollectorHealth["COLLECTOR_HEALTHY"] = "COLLECTOR_HEALTHY";
|
|
320
398
|
CollectorHealth["COLLECTOR_UNHEALTHY"] = "COLLECTOR_UNHEALTHY";
|
|
321
399
|
})(CollectorHealth = exports.CollectorHealth || (exports.CollectorHealth = {}));
|
|
400
|
+
var PipelineType;
|
|
401
|
+
(function (PipelineType) {
|
|
402
|
+
PipelineType["AZURE_DEVOPS"] = "AZURE_DEVOPS";
|
|
403
|
+
})(PipelineType = exports.PipelineType || (exports.PipelineType = {}));
|
|
404
|
+
var VersionControlType;
|
|
405
|
+
(function (VersionControlType) {
|
|
406
|
+
VersionControlType["AZURE_DEVOPS_GIT"] = "AZURE_DEVOPS_GIT";
|
|
407
|
+
VersionControlType["GITHUB"] = "GITHUB";
|
|
408
|
+
VersionControlType["GITHUB_ENTERPRISE"] = "GITHUB_ENTERPRISE";
|
|
409
|
+
})(VersionControlType = exports.VersionControlType || (exports.VersionControlType = {}));
|
|
322
410
|
var ServerCriteria;
|
|
323
411
|
(function (ServerCriteria) {
|
|
412
|
+
ServerCriteria["ANALYSIS_STATUS"] = "ANALYSIS_STATUS";
|
|
324
413
|
ServerCriteria["DESTINATION"] = "DESTINATION";
|
|
414
|
+
ServerCriteria["ERROR_CATEGORY"] = "ERROR_CATEGORY";
|
|
325
415
|
ServerCriteria["NOT_DEFINED"] = "NOT_DEFINED";
|
|
326
416
|
ServerCriteria["OS_NAME"] = "OS_NAME";
|
|
327
417
|
ServerCriteria["SERVER_ID"] = "SERVER_ID";
|
|
@@ -365,6 +455,7 @@ var OutputFormat;
|
|
|
365
455
|
})(OutputFormat = exports.OutputFormat || (exports.OutputFormat = {}));
|
|
366
456
|
var VersionControl;
|
|
367
457
|
(function (VersionControl) {
|
|
458
|
+
VersionControl["AZURE_DEVOPS_GIT"] = "AZURE_DEVOPS_GIT";
|
|
368
459
|
VersionControl["GITHUB"] = "GITHUB";
|
|
369
460
|
VersionControl["GITHUB_ENTERPRISE"] = "GITHUB_ENTERPRISE";
|
|
370
461
|
})(VersionControl = exports.VersionControl || (exports.VersionControl = {}));
|
|
@@ -376,6 +467,10 @@ const S3ObjectFilterSensitiveLog = (obj) => ({
|
|
|
376
467
|
...obj,
|
|
377
468
|
});
|
|
378
469
|
exports.S3ObjectFilterSensitiveLog = S3ObjectFilterSensitiveLog;
|
|
470
|
+
const AppUnitErrorFilterSensitiveLog = (obj) => ({
|
|
471
|
+
...obj,
|
|
472
|
+
});
|
|
473
|
+
exports.AppUnitErrorFilterSensitiveLog = AppUnitErrorFilterSensitiveLog;
|
|
379
474
|
const DatabaseConfigDetailFilterSensitiveLog = (obj) => ({
|
|
380
475
|
...obj,
|
|
381
476
|
});
|
|
@@ -396,6 +491,10 @@ const ApplicationComponentDetailFilterSensitiveLog = (obj) => ({
|
|
|
396
491
|
...obj,
|
|
397
492
|
});
|
|
398
493
|
exports.ApplicationComponentDetailFilterSensitiveLog = ApplicationComponentDetailFilterSensitiveLog;
|
|
494
|
+
const ApplicationComponentStatusSummaryFilterSensitiveLog = (obj) => ({
|
|
495
|
+
...obj,
|
|
496
|
+
});
|
|
497
|
+
exports.ApplicationComponentStatusSummaryFilterSensitiveLog = ApplicationComponentStatusSummaryFilterSensitiveLog;
|
|
399
498
|
const ApplicationComponentStrategyFilterSensitiveLog = (obj) => ({
|
|
400
499
|
...obj,
|
|
401
500
|
});
|
|
@@ -438,6 +537,10 @@ const StrategySummaryFilterSensitiveLog = (obj) => ({
|
|
|
438
537
|
...obj,
|
|
439
538
|
});
|
|
440
539
|
exports.StrategySummaryFilterSensitiveLog = StrategySummaryFilterSensitiveLog;
|
|
540
|
+
const ServerStatusSummaryFilterSensitiveLog = (obj) => ({
|
|
541
|
+
...obj,
|
|
542
|
+
});
|
|
543
|
+
exports.ServerStatusSummaryFilterSensitiveLog = ServerStatusSummaryFilterSensitiveLog;
|
|
441
544
|
const ServerSummaryFilterSensitiveLog = (obj) => ({
|
|
442
545
|
...obj,
|
|
443
546
|
});
|
|
@@ -446,6 +549,10 @@ const AssessmentSummaryFilterSensitiveLog = (obj) => ({
|
|
|
446
549
|
...obj,
|
|
447
550
|
});
|
|
448
551
|
exports.AssessmentSummaryFilterSensitiveLog = AssessmentSummaryFilterSensitiveLog;
|
|
552
|
+
const AssessmentTargetFilterSensitiveLog = (obj) => ({
|
|
553
|
+
...obj,
|
|
554
|
+
});
|
|
555
|
+
exports.AssessmentTargetFilterSensitiveLog = AssessmentTargetFilterSensitiveLog;
|
|
449
556
|
const AssociatedApplicationFilterSensitiveLog = (obj) => ({
|
|
450
557
|
...obj,
|
|
451
558
|
});
|
|
@@ -486,6 +593,14 @@ const GetImportFileTaskResponseFilterSensitiveLog = (obj) => ({
|
|
|
486
593
|
...obj,
|
|
487
594
|
});
|
|
488
595
|
exports.GetImportFileTaskResponseFilterSensitiveLog = GetImportFileTaskResponseFilterSensitiveLog;
|
|
596
|
+
const GetLatestAssessmentIdRequestFilterSensitiveLog = (obj) => ({
|
|
597
|
+
...obj,
|
|
598
|
+
});
|
|
599
|
+
exports.GetLatestAssessmentIdRequestFilterSensitiveLog = GetLatestAssessmentIdRequestFilterSensitiveLog;
|
|
600
|
+
const GetLatestAssessmentIdResponseFilterSensitiveLog = (obj) => ({
|
|
601
|
+
...obj,
|
|
602
|
+
});
|
|
603
|
+
exports.GetLatestAssessmentIdResponseFilterSensitiveLog = GetLatestAssessmentIdResponseFilterSensitiveLog;
|
|
489
604
|
const GetPortfolioPreferencesRequestFilterSensitiveLog = (obj) => ({
|
|
490
605
|
...obj,
|
|
491
606
|
});
|
|
@@ -562,6 +677,10 @@ const GetServerDetailsRequestFilterSensitiveLog = (obj) => ({
|
|
|
562
677
|
...obj,
|
|
563
678
|
});
|
|
564
679
|
exports.GetServerDetailsRequestFilterSensitiveLog = GetServerDetailsRequestFilterSensitiveLog;
|
|
680
|
+
const ServerErrorFilterSensitiveLog = (obj) => ({
|
|
681
|
+
...obj,
|
|
682
|
+
});
|
|
683
|
+
exports.ServerErrorFilterSensitiveLog = ServerErrorFilterSensitiveLog;
|
|
565
684
|
const NetworkInfoFilterSensitiveLog = (obj) => ({
|
|
566
685
|
...obj,
|
|
567
686
|
});
|
|
@@ -610,6 +729,30 @@ const ListCollectorsRequestFilterSensitiveLog = (obj) => ({
|
|
|
610
729
|
...obj,
|
|
611
730
|
});
|
|
612
731
|
exports.ListCollectorsRequestFilterSensitiveLog = ListCollectorsRequestFilterSensitiveLog;
|
|
732
|
+
const IPAddressBasedRemoteInfoFilterSensitiveLog = (obj) => ({
|
|
733
|
+
...obj,
|
|
734
|
+
});
|
|
735
|
+
exports.IPAddressBasedRemoteInfoFilterSensitiveLog = IPAddressBasedRemoteInfoFilterSensitiveLog;
|
|
736
|
+
const PipelineInfoFilterSensitiveLog = (obj) => ({
|
|
737
|
+
...obj,
|
|
738
|
+
});
|
|
739
|
+
exports.PipelineInfoFilterSensitiveLog = PipelineInfoFilterSensitiveLog;
|
|
740
|
+
const RemoteSourceCodeAnalysisServerInfoFilterSensitiveLog = (obj) => ({
|
|
741
|
+
...obj,
|
|
742
|
+
});
|
|
743
|
+
exports.RemoteSourceCodeAnalysisServerInfoFilterSensitiveLog = RemoteSourceCodeAnalysisServerInfoFilterSensitiveLog;
|
|
744
|
+
const VcenterBasedRemoteInfoFilterSensitiveLog = (obj) => ({
|
|
745
|
+
...obj,
|
|
746
|
+
});
|
|
747
|
+
exports.VcenterBasedRemoteInfoFilterSensitiveLog = VcenterBasedRemoteInfoFilterSensitiveLog;
|
|
748
|
+
const VersionControlInfoFilterSensitiveLog = (obj) => ({
|
|
749
|
+
...obj,
|
|
750
|
+
});
|
|
751
|
+
exports.VersionControlInfoFilterSensitiveLog = VersionControlInfoFilterSensitiveLog;
|
|
752
|
+
const ConfigurationSummaryFilterSensitiveLog = (obj) => ({
|
|
753
|
+
...obj,
|
|
754
|
+
});
|
|
755
|
+
exports.ConfigurationSummaryFilterSensitiveLog = ConfigurationSummaryFilterSensitiveLog;
|
|
613
756
|
const CollectorFilterSensitiveLog = (obj) => ({
|
|
614
757
|
...obj,
|
|
615
758
|
});
|