@aws-sdk/client-migrationhubstrategy 3.226.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 +1 -1
|
@@ -4,6 +4,7 @@ import { GetApplicationComponentDetailsCommandInput, GetApplicationComponentDeta
|
|
|
4
4
|
import { GetApplicationComponentStrategiesCommandInput, GetApplicationComponentStrategiesCommandOutput } from "../commands/GetApplicationComponentStrategiesCommand";
|
|
5
5
|
import { GetAssessmentCommandInput, GetAssessmentCommandOutput } from "../commands/GetAssessmentCommand";
|
|
6
6
|
import { GetImportFileTaskCommandInput, GetImportFileTaskCommandOutput } from "../commands/GetImportFileTaskCommand";
|
|
7
|
+
import { GetLatestAssessmentIdCommandInput, GetLatestAssessmentIdCommandOutput } from "../commands/GetLatestAssessmentIdCommand";
|
|
7
8
|
import { GetPortfolioPreferencesCommandInput, GetPortfolioPreferencesCommandOutput } from "../commands/GetPortfolioPreferencesCommand";
|
|
8
9
|
import { GetPortfolioSummaryCommandInput, GetPortfolioSummaryCommandOutput } from "../commands/GetPortfolioSummaryCommand";
|
|
9
10
|
import { GetRecommendationReportDetailsCommandInput, GetRecommendationReportDetailsCommandOutput } from "../commands/GetRecommendationReportDetailsCommand";
|
|
@@ -24,6 +25,7 @@ export declare const serializeAws_restJson1GetApplicationComponentDetailsCommand
|
|
|
24
25
|
export declare const serializeAws_restJson1GetApplicationComponentStrategiesCommand: (input: GetApplicationComponentStrategiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
26
|
export declare const serializeAws_restJson1GetAssessmentCommand: (input: GetAssessmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
27
|
export declare const serializeAws_restJson1GetImportFileTaskCommand: (input: GetImportFileTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
|
+
export declare const serializeAws_restJson1GetLatestAssessmentIdCommand: (input: GetLatestAssessmentIdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
29
|
export declare const serializeAws_restJson1GetPortfolioPreferencesCommand: (input: GetPortfolioPreferencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
30
|
export declare const serializeAws_restJson1GetPortfolioSummaryCommand: (input: GetPortfolioSummaryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
31
|
export declare const serializeAws_restJson1GetRecommendationReportDetailsCommand: (input: GetRecommendationReportDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -44,6 +46,7 @@ export declare const deserializeAws_restJson1GetApplicationComponentDetailsComma
|
|
|
44
46
|
export declare const deserializeAws_restJson1GetApplicationComponentStrategiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetApplicationComponentStrategiesCommandOutput>;
|
|
45
47
|
export declare const deserializeAws_restJson1GetAssessmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAssessmentCommandOutput>;
|
|
46
48
|
export declare const deserializeAws_restJson1GetImportFileTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetImportFileTaskCommandOutput>;
|
|
49
|
+
export declare const deserializeAws_restJson1GetLatestAssessmentIdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLatestAssessmentIdCommandOutput>;
|
|
47
50
|
export declare const deserializeAws_restJson1GetPortfolioPreferencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPortfolioPreferencesCommandOutput>;
|
|
48
51
|
export declare const deserializeAws_restJson1GetPortfolioSummaryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPortfolioSummaryCommandOutput>;
|
|
49
52
|
export declare const deserializeAws_restJson1GetRecommendationReportDetailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRecommendationReportDetailsCommandOutput>;
|
|
@@ -15,6 +15,10 @@ import {
|
|
|
15
15
|
GetImportFileTaskCommandInput,
|
|
16
16
|
GetImportFileTaskCommandOutput,
|
|
17
17
|
} from "./commands/GetImportFileTaskCommand";
|
|
18
|
+
import {
|
|
19
|
+
GetLatestAssessmentIdCommandInput,
|
|
20
|
+
GetLatestAssessmentIdCommandOutput,
|
|
21
|
+
} from "./commands/GetLatestAssessmentIdCommand";
|
|
18
22
|
import {
|
|
19
23
|
GetPortfolioPreferencesCommandInput,
|
|
20
24
|
GetPortfolioPreferencesCommandOutput,
|
|
@@ -139,6 +143,19 @@ export declare class MigrationHubStrategy extends MigrationHubStrategyClient {
|
|
|
139
143
|
options: __HttpHandlerOptions,
|
|
140
144
|
cb: (err: any, data?: GetImportFileTaskCommandOutput) => void
|
|
141
145
|
): void;
|
|
146
|
+
getLatestAssessmentId(
|
|
147
|
+
args: GetLatestAssessmentIdCommandInput,
|
|
148
|
+
options?: __HttpHandlerOptions
|
|
149
|
+
): Promise<GetLatestAssessmentIdCommandOutput>;
|
|
150
|
+
getLatestAssessmentId(
|
|
151
|
+
args: GetLatestAssessmentIdCommandInput,
|
|
152
|
+
cb: (err: any, data?: GetLatestAssessmentIdCommandOutput) => void
|
|
153
|
+
): void;
|
|
154
|
+
getLatestAssessmentId(
|
|
155
|
+
args: GetLatestAssessmentIdCommandInput,
|
|
156
|
+
options: __HttpHandlerOptions,
|
|
157
|
+
cb: (err: any, data?: GetLatestAssessmentIdCommandOutput) => void
|
|
158
|
+
): void;
|
|
142
159
|
getPortfolioPreferences(
|
|
143
160
|
args: GetPortfolioPreferencesCommandInput,
|
|
144
161
|
options?: __HttpHandlerOptions
|
|
@@ -59,6 +59,10 @@ import {
|
|
|
59
59
|
GetImportFileTaskCommandInput,
|
|
60
60
|
GetImportFileTaskCommandOutput,
|
|
61
61
|
} from "./commands/GetImportFileTaskCommand";
|
|
62
|
+
import {
|
|
63
|
+
GetLatestAssessmentIdCommandInput,
|
|
64
|
+
GetLatestAssessmentIdCommandOutput,
|
|
65
|
+
} from "./commands/GetLatestAssessmentIdCommand";
|
|
62
66
|
import {
|
|
63
67
|
GetPortfolioPreferencesCommandInput,
|
|
64
68
|
GetPortfolioPreferencesCommandOutput,
|
|
@@ -133,6 +137,7 @@ export declare type ServiceInputTypes =
|
|
|
133
137
|
| GetApplicationComponentStrategiesCommandInput
|
|
134
138
|
| GetAssessmentCommandInput
|
|
135
139
|
| GetImportFileTaskCommandInput
|
|
140
|
+
| GetLatestAssessmentIdCommandInput
|
|
136
141
|
| GetPortfolioPreferencesCommandInput
|
|
137
142
|
| GetPortfolioSummaryCommandInput
|
|
138
143
|
| GetRecommendationReportDetailsCommandInput
|
|
@@ -154,6 +159,7 @@ export declare type ServiceOutputTypes =
|
|
|
154
159
|
| GetApplicationComponentStrategiesCommandOutput
|
|
155
160
|
| GetAssessmentCommandOutput
|
|
156
161
|
| GetImportFileTaskCommandOutput
|
|
162
|
+
| GetLatestAssessmentIdCommandOutput
|
|
157
163
|
| GetPortfolioPreferencesCommandOutput
|
|
158
164
|
| GetPortfolioSummaryCommandOutput
|
|
159
165
|
| GetRecommendationReportDetailsCommandOutput
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
MigrationHubStrategyClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../MigrationHubStrategyClient";
|
|
14
|
+
import {
|
|
15
|
+
GetLatestAssessmentIdRequest,
|
|
16
|
+
GetLatestAssessmentIdResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface GetLatestAssessmentIdCommandInput
|
|
19
|
+
extends GetLatestAssessmentIdRequest {}
|
|
20
|
+
export interface GetLatestAssessmentIdCommandOutput
|
|
21
|
+
extends GetLatestAssessmentIdResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class GetLatestAssessmentIdCommand extends $Command<
|
|
24
|
+
GetLatestAssessmentIdCommandInput,
|
|
25
|
+
GetLatestAssessmentIdCommandOutput,
|
|
26
|
+
MigrationHubStrategyClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetLatestAssessmentIdCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetLatestAssessmentIdCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: MigrationHubStrategyClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
GetLatestAssessmentIdCommandInput,
|
|
37
|
+
GetLatestAssessmentIdCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./GetApplicationComponentDetailsCommand";
|
|
|
2
2
|
export * from "./GetApplicationComponentStrategiesCommand";
|
|
3
3
|
export * from "./GetAssessmentCommand";
|
|
4
4
|
export * from "./GetImportFileTaskCommand";
|
|
5
|
+
export * from "./GetLatestAssessmentIdCommand";
|
|
5
6
|
export * from "./GetPortfolioPreferencesCommand";
|
|
6
7
|
export * from "./GetPortfolioSummaryCommand";
|
|
7
8
|
export * from "./GetRecommendationReportDetailsCommand";
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -22,18 +22,23 @@ export interface AntipatternSeveritySummary {
|
|
|
22
22
|
count?: number;
|
|
23
23
|
}
|
|
24
24
|
export declare enum ApplicationComponentCriteria {
|
|
25
|
+
ANALYSIS_STATUS = "ANALYSIS_STATUS",
|
|
25
26
|
APP_NAME = "APP_NAME",
|
|
26
27
|
APP_TYPE = "APP_TYPE",
|
|
27
28
|
DESTINATION = "DESTINATION",
|
|
29
|
+
ERROR_CATEGORY = "ERROR_CATEGORY",
|
|
28
30
|
NOT_DEFINED = "NOT_DEFINED",
|
|
29
31
|
SERVER_ID = "SERVER_ID",
|
|
30
32
|
STRATEGY = "STRATEGY",
|
|
31
33
|
}
|
|
32
34
|
export declare enum SrcCodeOrDbAnalysisStatus {
|
|
33
35
|
ANALYSIS_FAILED = "ANALYSIS_FAILED",
|
|
36
|
+
ANALYSIS_PARTIAL_SUCCESS = "ANALYSIS_PARTIAL_SUCCESS",
|
|
34
37
|
ANALYSIS_STARTED = "ANALYSIS_STARTED",
|
|
35
38
|
ANALYSIS_SUCCESS = "ANALYSIS_SUCCESS",
|
|
36
39
|
ANALYSIS_TO_BE_SCHEDULED = "ANALYSIS_TO_BE_SCHEDULED",
|
|
40
|
+
CONFIGURED = "CONFIGURED",
|
|
41
|
+
UNCONFIGURED = "UNCONFIGURED",
|
|
37
42
|
}
|
|
38
43
|
export interface S3Object {
|
|
39
44
|
s3Bucket?: string;
|
|
@@ -41,11 +46,37 @@ export interface S3Object {
|
|
|
41
46
|
}
|
|
42
47
|
export declare enum AppType {
|
|
43
48
|
IIS = "IIS",
|
|
49
|
+
cassandra = "Cassandra",
|
|
50
|
+
db2 = "DB2",
|
|
44
51
|
dotNetFramework = "DotNetFramework",
|
|
52
|
+
dotnet = "Dotnet",
|
|
53
|
+
dotnetcore = "DotnetCore",
|
|
45
54
|
java = "Java",
|
|
55
|
+
jboss = "JBoss",
|
|
56
|
+
mariadb = "Maria DB",
|
|
57
|
+
mongodb = "Mongo DB",
|
|
58
|
+
mysql = "MySQL",
|
|
46
59
|
oracle = "Oracle",
|
|
47
60
|
other = "Other",
|
|
61
|
+
postgresqlserver = "PostgreSQLServer",
|
|
62
|
+
spring = "Spring",
|
|
48
63
|
sqlServer = "SQLServer",
|
|
64
|
+
sybase = "Sybase",
|
|
65
|
+
tomcat = "Tomcat",
|
|
66
|
+
unknown = "Unknown",
|
|
67
|
+
visualbasic = "Visual Basic",
|
|
68
|
+
weblogic = "Oracle WebLogic",
|
|
69
|
+
websphere = "IBM WebSphere",
|
|
70
|
+
}
|
|
71
|
+
export declare enum AppUnitErrorCategory {
|
|
72
|
+
CONNECTIVITY_ERROR = "CONNECTIVITY_ERROR",
|
|
73
|
+
CREDENTIAL_ERROR = "CREDENTIAL_ERROR",
|
|
74
|
+
OTHER_ERROR = "OTHER_ERROR",
|
|
75
|
+
PERMISSION_ERROR = "PERMISSION_ERROR",
|
|
76
|
+
UNSUPPORTED_ERROR = "UNSUPPORTED_ERROR",
|
|
77
|
+
}
|
|
78
|
+
export interface AppUnitError {
|
|
79
|
+
appUnitErrorCategory?: AppUnitErrorCategory | string;
|
|
49
80
|
}
|
|
50
81
|
export interface DatabaseConfigDetail {
|
|
51
82
|
secretName?: string;
|
|
@@ -76,6 +107,7 @@ export declare enum TargetDestination {
|
|
|
76
107
|
AURORA_POSTGRESQL = "Aurora PostgreSQL",
|
|
77
108
|
AWS_ELASTIC_BEANSTALK = "AWS Elastic BeanStalk",
|
|
78
109
|
AWS_FARGATE = "AWS Fargate",
|
|
110
|
+
BABELFISH_AURORA_POSTGRESQL = "Babelfish for Aurora PostgreSQL",
|
|
79
111
|
NONE_SPECIFIED = "None specified",
|
|
80
112
|
}
|
|
81
113
|
export declare enum TransformationToolName {
|
|
@@ -105,10 +137,17 @@ export declare enum ResourceSubType {
|
|
|
105
137
|
DATABASE_PROCESS = "DatabaseProcess",
|
|
106
138
|
PROCESS = "Process",
|
|
107
139
|
}
|
|
140
|
+
export declare enum RuntimeAnalysisStatus {
|
|
141
|
+
ANALYSIS_FAILED = "ANALYSIS_FAILED",
|
|
142
|
+
ANALYSIS_STARTED = "ANALYSIS_STARTED",
|
|
143
|
+
ANALYSIS_SUCCESS = "ANALYSIS_SUCCESS",
|
|
144
|
+
ANALYSIS_TO_BE_SCHEDULED = "ANALYSIS_TO_BE_SCHEDULED",
|
|
145
|
+
}
|
|
108
146
|
export interface SourceCodeRepository {
|
|
109
147
|
repository?: string;
|
|
110
148
|
branch?: string;
|
|
111
149
|
versionControlType?: string;
|
|
150
|
+
projectName?: string;
|
|
112
151
|
}
|
|
113
152
|
export interface ApplicationComponentDetail {
|
|
114
153
|
id?: string;
|
|
@@ -130,9 +169,17 @@ export interface ApplicationComponentDetail {
|
|
|
130
169
|
lastAnalyzedTimestamp?: Date;
|
|
131
170
|
associatedServerId?: string;
|
|
132
171
|
moreServerAssociationExists?: boolean;
|
|
172
|
+
runtimeStatus?: RuntimeAnalysisStatus | string;
|
|
173
|
+
runtimeStatusMessage?: string;
|
|
174
|
+
appUnitError?: AppUnitError;
|
|
175
|
+
}
|
|
176
|
+
export interface ApplicationComponentStatusSummary {
|
|
177
|
+
srcCodeOrDbAnalysisStatus?: SrcCodeOrDbAnalysisStatus | string;
|
|
178
|
+
count?: number;
|
|
133
179
|
}
|
|
134
180
|
export declare enum StrategyRecommendation {
|
|
135
181
|
NOT_RECOMMENDED = "notRecommended",
|
|
182
|
+
POTENTIAL = "potential",
|
|
136
183
|
RECOMMENDED = "recommended",
|
|
137
184
|
VIABLE_OPTION = "viableOption",
|
|
138
185
|
}
|
|
@@ -145,6 +192,11 @@ export interface ApplicationComponentSummary {
|
|
|
145
192
|
appType?: AppType | string;
|
|
146
193
|
count?: number;
|
|
147
194
|
}
|
|
195
|
+
export declare enum ApplicationMode {
|
|
196
|
+
ALL = "ALL",
|
|
197
|
+
KNOWN = "KNOWN",
|
|
198
|
+
UNKNOWN = "UNKNOWN",
|
|
199
|
+
}
|
|
148
200
|
export declare enum AwsManagedTargetDestination {
|
|
149
201
|
AWS_ELASTIC_BEANSTALK = "AWS Elastic BeanStalk",
|
|
150
202
|
AWS_FARGATE = "AWS Fargate",
|
|
@@ -224,6 +276,19 @@ export interface StrategySummary {
|
|
|
224
276
|
strategy?: Strategy | string;
|
|
225
277
|
count?: number;
|
|
226
278
|
}
|
|
279
|
+
export declare enum RunTimeAssessmentStatus {
|
|
280
|
+
DC_FAILED = "dataCollectionTaskFailed",
|
|
281
|
+
DC_PARTIAL_SUCCESS = "dataCollectionTaskPartialSuccess",
|
|
282
|
+
DC_REQ_SENT = "dataCollectionTaskScheduled",
|
|
283
|
+
DC_STARTED = "dataCollectionTaskStarted",
|
|
284
|
+
DC_STOPPED = "dataCollectionTaskStopped",
|
|
285
|
+
DC_SUCCESS = "dataCollectionTaskSuccess",
|
|
286
|
+
DC_TO_BE_SCHEDULED = "dataCollectionTaskToBeScheduled",
|
|
287
|
+
}
|
|
288
|
+
export interface ServerStatusSummary {
|
|
289
|
+
runTimeAssessmentStatus?: RunTimeAssessmentStatus | string;
|
|
290
|
+
count?: number;
|
|
291
|
+
}
|
|
227
292
|
export declare enum ServerOsType {
|
|
228
293
|
amazonLinux = "AmazonLinux",
|
|
229
294
|
endOfSupportWindowsServer = "EndOfSupportWindowsServer",
|
|
@@ -245,11 +310,29 @@ export interface AssessmentSummary {
|
|
|
245
310
|
antipatternReportStatus?: AntipatternReportStatus | string;
|
|
246
311
|
antipatternReportStatusMessage?: string;
|
|
247
312
|
lastAnalyzedTimestamp?: Date;
|
|
313
|
+
listApplicationComponentStatusSummary?: ApplicationComponentStatusSummary[];
|
|
314
|
+
listServerStatusSummary?: ServerStatusSummary[];
|
|
315
|
+
}
|
|
316
|
+
export declare enum Condition {
|
|
317
|
+
CONTAINS = "CONTAINS",
|
|
318
|
+
EQUALS = "EQUALS",
|
|
319
|
+
NOT_CONTAINS = "NOT_CONTAINS",
|
|
320
|
+
NOT_EQUALS = "NOT_EQUALS",
|
|
321
|
+
}
|
|
322
|
+
export interface AssessmentTarget {
|
|
323
|
+
condition: Condition | string | undefined;
|
|
324
|
+
name: string | undefined;
|
|
325
|
+
values: string[] | undefined;
|
|
248
326
|
}
|
|
249
327
|
export interface AssociatedApplication {
|
|
250
328
|
name?: string;
|
|
251
329
|
id?: string;
|
|
252
330
|
}
|
|
331
|
+
export declare enum AuthType {
|
|
332
|
+
CERT = "CERT",
|
|
333
|
+
NTLM = "NTLM",
|
|
334
|
+
SSH = "SSH",
|
|
335
|
+
}
|
|
253
336
|
export interface GetApplicationComponentDetailsRequest {
|
|
254
337
|
applicationComponentId: string | undefined;
|
|
255
338
|
}
|
|
@@ -297,10 +380,12 @@ export interface DataCollectionDetails {
|
|
|
297
380
|
inProgress?: number;
|
|
298
381
|
startTime?: Date;
|
|
299
382
|
completionTime?: Date;
|
|
383
|
+
statusMessage?: string;
|
|
300
384
|
}
|
|
301
385
|
export interface GetAssessmentResponse {
|
|
302
386
|
id?: string;
|
|
303
387
|
dataCollectionDetails?: DataCollectionDetails;
|
|
388
|
+
assessmentTargets?: AssessmentTarget[];
|
|
304
389
|
}
|
|
305
390
|
export interface GetImportFileTaskRequest {
|
|
306
391
|
id: string | undefined;
|
|
@@ -335,6 +420,17 @@ export declare class ValidationException extends __BaseException {
|
|
|
335
420
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
336
421
|
);
|
|
337
422
|
}
|
|
423
|
+
export declare class DependencyException extends __BaseException {
|
|
424
|
+
readonly name: "DependencyException";
|
|
425
|
+
readonly $fault: "server";
|
|
426
|
+
constructor(
|
|
427
|
+
opts: __ExceptionOptionType<DependencyException, __BaseException>
|
|
428
|
+
);
|
|
429
|
+
}
|
|
430
|
+
export interface GetLatestAssessmentIdRequest {}
|
|
431
|
+
export interface GetLatestAssessmentIdResponse {
|
|
432
|
+
id?: string;
|
|
433
|
+
}
|
|
338
434
|
export interface GetPortfolioPreferencesRequest {}
|
|
339
435
|
export declare enum DatabaseManagementPreference {
|
|
340
436
|
AWS_MANAGED = "AWS-managed",
|
|
@@ -437,6 +533,7 @@ export interface GetPortfolioPreferencesResponse {
|
|
|
437
533
|
prioritizeBusinessGoals?: PrioritizeBusinessGoals;
|
|
438
534
|
applicationPreferences?: ApplicationPreferences;
|
|
439
535
|
databasePreferences?: DatabasePreferences;
|
|
536
|
+
applicationMode?: ApplicationMode | string;
|
|
440
537
|
}
|
|
441
538
|
export interface GetPortfolioSummaryRequest {}
|
|
442
539
|
export interface GetPortfolioSummaryResponse {
|
|
@@ -467,14 +564,15 @@ export interface GetServerDetailsRequest {
|
|
|
467
564
|
nextToken?: string;
|
|
468
565
|
maxResults?: number;
|
|
469
566
|
}
|
|
470
|
-
export declare enum
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
567
|
+
export declare enum ServerErrorCategory {
|
|
568
|
+
ARCHITECTURE_ERROR = "ARCHITECTURE_ERROR",
|
|
569
|
+
CONNECTIVITY_ERROR = "CONNECTIVITY_ERROR",
|
|
570
|
+
CREDENTIAL_ERROR = "CREDENTIAL_ERROR",
|
|
571
|
+
OTHER_ERROR = "OTHER_ERROR",
|
|
572
|
+
PERMISSION_ERROR = "PERMISSION_ERROR",
|
|
573
|
+
}
|
|
574
|
+
export interface ServerError {
|
|
575
|
+
serverErrorCategory?: ServerErrorCategory | string;
|
|
478
576
|
}
|
|
479
577
|
export interface NetworkInfo {
|
|
480
578
|
interfaceName: string | undefined;
|
|
@@ -510,6 +608,7 @@ export interface ServerDetail {
|
|
|
510
608
|
antipatternReportStatusMessage?: string;
|
|
511
609
|
serverType?: string;
|
|
512
610
|
lastAnalyzedTimestamp?: Date;
|
|
611
|
+
serverError?: ServerError;
|
|
513
612
|
}
|
|
514
613
|
export interface GetServerDetailsResponse {
|
|
515
614
|
nextToken?: string;
|
|
@@ -569,6 +668,41 @@ export declare enum CollectorHealth {
|
|
|
569
668
|
COLLECTOR_HEALTHY = "COLLECTOR_HEALTHY",
|
|
570
669
|
COLLECTOR_UNHEALTHY = "COLLECTOR_UNHEALTHY",
|
|
571
670
|
}
|
|
671
|
+
export interface IPAddressBasedRemoteInfo {
|
|
672
|
+
ipAddressConfigurationTimeStamp?: string;
|
|
673
|
+
authType?: AuthType | string;
|
|
674
|
+
osType?: OSType | string;
|
|
675
|
+
}
|
|
676
|
+
export declare enum PipelineType {
|
|
677
|
+
AZURE_DEVOPS = "AZURE_DEVOPS",
|
|
678
|
+
}
|
|
679
|
+
export interface PipelineInfo {
|
|
680
|
+
pipelineType?: PipelineType | string;
|
|
681
|
+
pipelineConfigurationTimeStamp?: string;
|
|
682
|
+
}
|
|
683
|
+
export interface RemoteSourceCodeAnalysisServerInfo {
|
|
684
|
+
remoteSourceCodeAnalysisServerConfigurationTimestamp?: string;
|
|
685
|
+
}
|
|
686
|
+
export interface VcenterBasedRemoteInfo {
|
|
687
|
+
vcenterConfigurationTimeStamp?: string;
|
|
688
|
+
osType?: OSType | string;
|
|
689
|
+
}
|
|
690
|
+
export declare enum VersionControlType {
|
|
691
|
+
AZURE_DEVOPS_GIT = "AZURE_DEVOPS_GIT",
|
|
692
|
+
GITHUB = "GITHUB",
|
|
693
|
+
GITHUB_ENTERPRISE = "GITHUB_ENTERPRISE",
|
|
694
|
+
}
|
|
695
|
+
export interface VersionControlInfo {
|
|
696
|
+
versionControlType?: VersionControlType | string;
|
|
697
|
+
versionControlConfigurationTimeStamp?: string;
|
|
698
|
+
}
|
|
699
|
+
export interface ConfigurationSummary {
|
|
700
|
+
vcenterBasedRemoteInfoList?: VcenterBasedRemoteInfo[];
|
|
701
|
+
ipAddressBasedRemoteInfoList?: IPAddressBasedRemoteInfo[];
|
|
702
|
+
versionControlInfoList?: VersionControlInfo[];
|
|
703
|
+
pipelineInfoList?: PipelineInfo[];
|
|
704
|
+
remoteSourceCodeAnalysisServerInfo?: RemoteSourceCodeAnalysisServerInfo;
|
|
705
|
+
}
|
|
572
706
|
export interface Collector {
|
|
573
707
|
collectorId?: string;
|
|
574
708
|
ipAddress?: string;
|
|
@@ -577,6 +711,7 @@ export interface Collector {
|
|
|
577
711
|
collectorVersion?: string;
|
|
578
712
|
registeredTimeStamp?: string;
|
|
579
713
|
lastActivityTimeStamp?: string;
|
|
714
|
+
configurationSummary?: ConfigurationSummary;
|
|
580
715
|
}
|
|
581
716
|
export interface ListCollectorsResponse {
|
|
582
717
|
Collectors?: Collector[];
|
|
@@ -604,7 +739,9 @@ export interface ListImportFileTaskResponse {
|
|
|
604
739
|
nextToken?: string;
|
|
605
740
|
}
|
|
606
741
|
export declare enum ServerCriteria {
|
|
742
|
+
ANALYSIS_STATUS = "ANALYSIS_STATUS",
|
|
607
743
|
DESTINATION = "DESTINATION",
|
|
744
|
+
ERROR_CATEGORY = "ERROR_CATEGORY",
|
|
608
745
|
NOT_DEFINED = "NOT_DEFINED",
|
|
609
746
|
OS_NAME = "OS_NAME",
|
|
610
747
|
SERVER_ID = "SERVER_ID",
|
|
@@ -631,6 +768,7 @@ export interface PutPortfolioPreferencesRequest {
|
|
|
631
768
|
prioritizeBusinessGoals?: PrioritizeBusinessGoals;
|
|
632
769
|
applicationPreferences?: ApplicationPreferences;
|
|
633
770
|
databasePreferences?: DatabasePreferences;
|
|
771
|
+
applicationMode?: ApplicationMode | string;
|
|
634
772
|
}
|
|
635
773
|
export interface PutPortfolioPreferencesResponse {}
|
|
636
774
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
@@ -643,6 +781,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
643
781
|
export interface StartAssessmentRequest {
|
|
644
782
|
s3bucketForAnalysisData?: string;
|
|
645
783
|
s3bucketForReportData?: string;
|
|
784
|
+
assessmentTargets?: AssessmentTarget[];
|
|
646
785
|
}
|
|
647
786
|
export interface StartAssessmentResponse {
|
|
648
787
|
assessmentId?: string;
|
|
@@ -678,6 +817,7 @@ export interface StopAssessmentRequest {
|
|
|
678
817
|
}
|
|
679
818
|
export interface StopAssessmentResponse {}
|
|
680
819
|
export declare enum VersionControl {
|
|
820
|
+
AZURE_DEVOPS_GIT = "AZURE_DEVOPS_GIT",
|
|
681
821
|
GITHUB = "GITHUB",
|
|
682
822
|
GITHUB_ENTERPRISE = "GITHUB_ENTERPRISE",
|
|
683
823
|
}
|
|
@@ -685,6 +825,7 @@ export interface SourceCode {
|
|
|
685
825
|
versionControl?: VersionControl | string;
|
|
686
826
|
sourceVersion?: string;
|
|
687
827
|
location?: string;
|
|
828
|
+
projectName?: string;
|
|
688
829
|
}
|
|
689
830
|
export interface StrategyOption {
|
|
690
831
|
strategy?: Strategy | string;
|
|
@@ -698,6 +839,8 @@ export interface UpdateApplicationComponentConfigRequest {
|
|
|
698
839
|
strategyOption?: StrategyOption;
|
|
699
840
|
sourceCodeList?: SourceCode[];
|
|
700
841
|
secretsManagerKey?: string;
|
|
842
|
+
configureOnly?: boolean;
|
|
843
|
+
appType?: AppType | string;
|
|
701
844
|
}
|
|
702
845
|
export interface UpdateApplicationComponentConfigResponse {}
|
|
703
846
|
export interface UpdateServerConfigRequest {
|
|
@@ -709,6 +852,7 @@ export declare const AntipatternSeveritySummaryFilterSensitiveLog: (
|
|
|
709
852
|
obj: AntipatternSeveritySummary
|
|
710
853
|
) => any;
|
|
711
854
|
export declare const S3ObjectFilterSensitiveLog: (obj: S3Object) => any;
|
|
855
|
+
export declare const AppUnitErrorFilterSensitiveLog: (obj: AppUnitError) => any;
|
|
712
856
|
export declare const DatabaseConfigDetailFilterSensitiveLog: (
|
|
713
857
|
obj: DatabaseConfigDetail
|
|
714
858
|
) => any;
|
|
@@ -724,6 +868,9 @@ export declare const SourceCodeRepositoryFilterSensitiveLog: (
|
|
|
724
868
|
export declare const ApplicationComponentDetailFilterSensitiveLog: (
|
|
725
869
|
obj: ApplicationComponentDetail
|
|
726
870
|
) => any;
|
|
871
|
+
export declare const ApplicationComponentStatusSummaryFilterSensitiveLog: (
|
|
872
|
+
obj: ApplicationComponentStatusSummary
|
|
873
|
+
) => any;
|
|
727
874
|
export declare const ApplicationComponentStrategyFilterSensitiveLog: (
|
|
728
875
|
obj: ApplicationComponentStrategy
|
|
729
876
|
) => any;
|
|
@@ -748,12 +895,18 @@ export declare const ApplicationPreferencesFilterSensitiveLog: (
|
|
|
748
895
|
export declare const StrategySummaryFilterSensitiveLog: (
|
|
749
896
|
obj: StrategySummary
|
|
750
897
|
) => any;
|
|
898
|
+
export declare const ServerStatusSummaryFilterSensitiveLog: (
|
|
899
|
+
obj: ServerStatusSummary
|
|
900
|
+
) => any;
|
|
751
901
|
export declare const ServerSummaryFilterSensitiveLog: (
|
|
752
902
|
obj: ServerSummary
|
|
753
903
|
) => any;
|
|
754
904
|
export declare const AssessmentSummaryFilterSensitiveLog: (
|
|
755
905
|
obj: AssessmentSummary
|
|
756
906
|
) => any;
|
|
907
|
+
export declare const AssessmentTargetFilterSensitiveLog: (
|
|
908
|
+
obj: AssessmentTarget
|
|
909
|
+
) => any;
|
|
757
910
|
export declare const AssociatedApplicationFilterSensitiveLog: (
|
|
758
911
|
obj: AssociatedApplication
|
|
759
912
|
) => any;
|
|
@@ -784,6 +937,12 @@ export declare const GetImportFileTaskRequestFilterSensitiveLog: (
|
|
|
784
937
|
export declare const GetImportFileTaskResponseFilterSensitiveLog: (
|
|
785
938
|
obj: GetImportFileTaskResponse
|
|
786
939
|
) => any;
|
|
940
|
+
export declare const GetLatestAssessmentIdRequestFilterSensitiveLog: (
|
|
941
|
+
obj: GetLatestAssessmentIdRequest
|
|
942
|
+
) => any;
|
|
943
|
+
export declare const GetLatestAssessmentIdResponseFilterSensitiveLog: (
|
|
944
|
+
obj: GetLatestAssessmentIdResponse
|
|
945
|
+
) => any;
|
|
787
946
|
export declare const GetPortfolioPreferencesRequestFilterSensitiveLog: (
|
|
788
947
|
obj: GetPortfolioPreferencesRequest
|
|
789
948
|
) => any;
|
|
@@ -827,6 +986,7 @@ export declare const GetRecommendationReportDetailsResponseFilterSensitiveLog: (
|
|
|
827
986
|
export declare const GetServerDetailsRequestFilterSensitiveLog: (
|
|
828
987
|
obj: GetServerDetailsRequest
|
|
829
988
|
) => any;
|
|
989
|
+
export declare const ServerErrorFilterSensitiveLog: (obj: ServerError) => any;
|
|
830
990
|
export declare const NetworkInfoFilterSensitiveLog: (obj: NetworkInfo) => any;
|
|
831
991
|
export declare const OSInfoFilterSensitiveLog: (obj: OSInfo) => any;
|
|
832
992
|
export declare const SystemInfoFilterSensitiveLog: (obj: SystemInfo) => any;
|
|
@@ -853,6 +1013,22 @@ export declare const ListApplicationComponentsResponseFilterSensitiveLog: (
|
|
|
853
1013
|
export declare const ListCollectorsRequestFilterSensitiveLog: (
|
|
854
1014
|
obj: ListCollectorsRequest
|
|
855
1015
|
) => any;
|
|
1016
|
+
export declare const IPAddressBasedRemoteInfoFilterSensitiveLog: (
|
|
1017
|
+
obj: IPAddressBasedRemoteInfo
|
|
1018
|
+
) => any;
|
|
1019
|
+
export declare const PipelineInfoFilterSensitiveLog: (obj: PipelineInfo) => any;
|
|
1020
|
+
export declare const RemoteSourceCodeAnalysisServerInfoFilterSensitiveLog: (
|
|
1021
|
+
obj: RemoteSourceCodeAnalysisServerInfo
|
|
1022
|
+
) => any;
|
|
1023
|
+
export declare const VcenterBasedRemoteInfoFilterSensitiveLog: (
|
|
1024
|
+
obj: VcenterBasedRemoteInfo
|
|
1025
|
+
) => any;
|
|
1026
|
+
export declare const VersionControlInfoFilterSensitiveLog: (
|
|
1027
|
+
obj: VersionControlInfo
|
|
1028
|
+
) => any;
|
|
1029
|
+
export declare const ConfigurationSummaryFilterSensitiveLog: (
|
|
1030
|
+
obj: ConfigurationSummary
|
|
1031
|
+
) => any;
|
|
856
1032
|
export declare const CollectorFilterSensitiveLog: (obj: Collector) => any;
|
|
857
1033
|
export declare const ListCollectorsResponseFilterSensitiveLog: (
|
|
858
1034
|
obj: ListCollectorsResponse
|
|
@@ -19,6 +19,10 @@ import {
|
|
|
19
19
|
GetImportFileTaskCommandInput,
|
|
20
20
|
GetImportFileTaskCommandOutput,
|
|
21
21
|
} from "../commands/GetImportFileTaskCommand";
|
|
22
|
+
import {
|
|
23
|
+
GetLatestAssessmentIdCommandInput,
|
|
24
|
+
GetLatestAssessmentIdCommandOutput,
|
|
25
|
+
} from "../commands/GetLatestAssessmentIdCommand";
|
|
22
26
|
import {
|
|
23
27
|
GetPortfolioPreferencesCommandInput,
|
|
24
28
|
GetPortfolioPreferencesCommandOutput,
|
|
@@ -99,6 +103,10 @@ export declare const serializeAws_restJson1GetImportFileTaskCommand: (
|
|
|
99
103
|
input: GetImportFileTaskCommandInput,
|
|
100
104
|
context: __SerdeContext
|
|
101
105
|
) => Promise<__HttpRequest>;
|
|
106
|
+
export declare const serializeAws_restJson1GetLatestAssessmentIdCommand: (
|
|
107
|
+
input: GetLatestAssessmentIdCommandInput,
|
|
108
|
+
context: __SerdeContext
|
|
109
|
+
) => Promise<__HttpRequest>;
|
|
102
110
|
export declare const serializeAws_restJson1GetPortfolioPreferencesCommand: (
|
|
103
111
|
input: GetPortfolioPreferencesCommandInput,
|
|
104
112
|
context: __SerdeContext
|
|
@@ -179,6 +187,10 @@ export declare const deserializeAws_restJson1GetImportFileTaskCommand: (
|
|
|
179
187
|
output: __HttpResponse,
|
|
180
188
|
context: __SerdeContext
|
|
181
189
|
) => Promise<GetImportFileTaskCommandOutput>;
|
|
190
|
+
export declare const deserializeAws_restJson1GetLatestAssessmentIdCommand: (
|
|
191
|
+
output: __HttpResponse,
|
|
192
|
+
context: __SerdeContext
|
|
193
|
+
) => Promise<GetLatestAssessmentIdCommandOutput>;
|
|
182
194
|
export declare const deserializeAws_restJson1GetPortfolioPreferencesCommand: (
|
|
183
195
|
output: __HttpResponse,
|
|
184
196
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-migrationhubstrategy",
|
|
3
3
|
"description": "AWS SDK for JavaScript Migrationhubstrategy Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.227.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|