@aws-sdk/client-migrationhubstrategy 3.290.0 → 3.293.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/GetAssessmentCommand.d.ts +2 -2
- package/dist-types/commands/GetImportFileTaskCommand.d.ts +2 -2
- package/dist-types/commands/GetLatestAssessmentIdCommand.d.ts +2 -2
- package/dist-types/commands/GetPortfolioPreferencesCommand.d.ts +2 -2
- package/dist-types/commands/GetPortfolioSummaryCommand.d.ts +2 -2
- package/dist-types/commands/GetRecommendationReportDetailsCommand.d.ts +2 -2
- package/dist-types/commands/GetServerDetailsCommand.d.ts +2 -2
- package/dist-types/commands/GetServerStrategiesCommand.d.ts +2 -2
- package/dist-types/commands/ListApplicationComponentsCommand.d.ts +2 -2
- package/dist-types/commands/ListCollectorsCommand.d.ts +2 -2
- package/dist-types/commands/ListImportFileTaskCommand.d.ts +2 -2
- package/dist-types/commands/ListServersCommand.d.ts +2 -2
- package/dist-types/commands/PutPortfolioPreferencesCommand.d.ts +2 -2
- package/dist-types/commands/StartAssessmentCommand.d.ts +2 -2
- package/dist-types/commands/StartImportFileTaskCommand.d.ts +2 -2
- package/dist-types/commands/StartRecommendationReportGenerationCommand.d.ts +2 -2
- package/dist-types/commands/StopAssessmentCommand.d.ts +2 -2
- 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
|
@@ -30,8 +30,8 @@ export interface GetServerStrategiesCommandOutput extends GetServerStrategiesRes
|
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
-
* <p> The
|
|
34
|
-
* AWS Identity and Access Management (IAM) policy associated with this
|
|
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
35
|
*
|
|
36
36
|
* @throws {@link InternalServerException} (server fault)
|
|
37
37
|
* <p> The server experienced an internal error. Try again. </p>
|
|
@@ -30,8 +30,8 @@ export interface ListApplicationComponentsCommandOutput extends ListApplicationC
|
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
-
* <p> The
|
|
34
|
-
* AWS Identity and Access Management (IAM) policy associated with this
|
|
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
35
|
*
|
|
36
36
|
* @throws {@link InternalServerException} (server fault)
|
|
37
37
|
* <p> The server experienced an internal error. Try again. </p>
|
|
@@ -30,8 +30,8 @@ export interface ListCollectorsCommandOutput extends ListCollectorsResponse, __M
|
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
-
* <p> The
|
|
34
|
-
* AWS Identity and Access Management (IAM) policy associated with this
|
|
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
35
|
*
|
|
36
36
|
* @throws {@link InternalServerException} (server fault)
|
|
37
37
|
* <p> The server experienced an internal error. Try again. </p>
|
|
@@ -30,8 +30,8 @@ export interface ListImportFileTaskCommandOutput extends ListImportFileTaskRespo
|
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
-
* <p> The
|
|
34
|
-
* AWS Identity and Access Management (IAM) policy associated with this
|
|
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
35
|
*
|
|
36
36
|
* @throws {@link InternalServerException} (server fault)
|
|
37
37
|
* <p> The server experienced an internal error. Try again. </p>
|
|
@@ -30,8 +30,8 @@ export interface ListServersCommandOutput extends ListServersResponse, __Metadat
|
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
-
* <p> The
|
|
34
|
-
* AWS Identity and Access Management (IAM) policy associated with this
|
|
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
35
|
*
|
|
36
36
|
* @throws {@link InternalServerException} (server fault)
|
|
37
37
|
* <p> The server experienced an internal error. Try again. </p>
|
|
@@ -30,8 +30,8 @@ export interface PutPortfolioPreferencesCommandOutput extends PutPortfolioPrefer
|
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
-
* <p> The
|
|
34
|
-
* AWS Identity and Access Management (IAM) policy associated with this
|
|
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
35
|
*
|
|
36
36
|
* @throws {@link ConflictException} (client fault)
|
|
37
37
|
* <p> Exception to indicate that there is an ongoing task when a new task is created. Return
|
|
@@ -30,8 +30,8 @@ export interface StartAssessmentCommandOutput extends StartAssessmentResponse, _
|
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
-
* <p> The
|
|
34
|
-
* AWS Identity and Access Management (IAM) policy associated with this
|
|
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
35
|
*
|
|
36
36
|
* @throws {@link InternalServerException} (server fault)
|
|
37
37
|
* <p> The server experienced an internal error. Try again. </p>
|
|
@@ -30,8 +30,8 @@ export interface StartImportFileTaskCommandOutput extends StartImportFileTaskRes
|
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
-
* <p> The
|
|
34
|
-
* AWS Identity and Access Management (IAM) policy associated with this
|
|
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
35
|
*
|
|
36
36
|
* @throws {@link InternalServerException} (server fault)
|
|
37
37
|
* <p> The server experienced an internal error. Try again. </p>
|
|
@@ -30,8 +30,8 @@ export interface StartRecommendationReportGenerationCommandOutput extends StartR
|
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
-
* <p> The
|
|
34
|
-
* AWS Identity and Access Management (IAM) policy associated with this
|
|
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
35
|
*
|
|
36
36
|
* @throws {@link ConflictException} (client fault)
|
|
37
37
|
* <p> Exception to indicate that there is an ongoing task when a new task is created. Return
|
|
@@ -30,8 +30,8 @@ export interface StopAssessmentCommandOutput extends StopAssessmentResponse, __M
|
|
|
30
30
|
* @see {@link MigrationHubStrategyClientResolvedConfig | config} for MigrationHubStrategyClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
-
* <p> The
|
|
34
|
-
* AWS Identity and Access Management (IAM) policy associated with this
|
|
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
35
|
*
|
|
36
36
|
* @throws {@link InternalServerException} (server fault)
|
|
37
37
|
* <p> The server experienced an internal error. Try again. </p>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { MigrationHubStrategyServiceException as __BaseException } from "./MigrationHubStrategyServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* <p> The
|
|
5
|
-
* AWS Identity and Access Management (IAM) policy associated with this
|
|
4
|
+
* <p> The user does not have permission to perform the action. Check the
|
|
5
|
+
* AWS Identity and Access Management (IAM) policy associated with this user.</p>
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
8
|
readonly name: "AccessDeniedException";
|
|
@@ -12,11 +12,162 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
12
12
|
*/
|
|
13
13
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
14
|
}
|
|
15
|
+
export declare enum RuntimeAnalysisStatus {
|
|
16
|
+
ANALYSIS_FAILED = "ANALYSIS_FAILED",
|
|
17
|
+
ANALYSIS_STARTED = "ANALYSIS_STARTED",
|
|
18
|
+
ANALYSIS_SUCCESS = "ANALYSIS_SUCCESS",
|
|
19
|
+
ANALYSIS_TO_BE_SCHEDULED = "ANALYSIS_TO_BE_SCHEDULED"
|
|
20
|
+
}
|
|
21
|
+
export declare enum SrcCodeOrDbAnalysisStatus {
|
|
22
|
+
ANALYSIS_FAILED = "ANALYSIS_FAILED",
|
|
23
|
+
ANALYSIS_PARTIAL_SUCCESS = "ANALYSIS_PARTIAL_SUCCESS",
|
|
24
|
+
ANALYSIS_STARTED = "ANALYSIS_STARTED",
|
|
25
|
+
ANALYSIS_SUCCESS = "ANALYSIS_SUCCESS",
|
|
26
|
+
ANALYSIS_TO_BE_SCHEDULED = "ANALYSIS_TO_BE_SCHEDULED",
|
|
27
|
+
CONFIGURED = "CONFIGURED",
|
|
28
|
+
UNCONFIGURED = "UNCONFIGURED"
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>A combination of existing analysis statuses.</p>
|
|
32
|
+
*/
|
|
33
|
+
export declare type AnalysisStatusUnion = AnalysisStatusUnion.RuntimeAnalysisStatusMember | AnalysisStatusUnion.SrcCodeOrDbAnalysisStatusMember | AnalysisStatusUnion.$UnknownMember;
|
|
34
|
+
export declare namespace AnalysisStatusUnion {
|
|
35
|
+
/**
|
|
36
|
+
* <p>The status of the analysis.</p>
|
|
37
|
+
*/
|
|
38
|
+
interface RuntimeAnalysisStatusMember {
|
|
39
|
+
runtimeAnalysisStatus: RuntimeAnalysisStatus | string;
|
|
40
|
+
srcCodeOrDbAnalysisStatus?: never;
|
|
41
|
+
$unknown?: never;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* <p>The status of the source code or database analysis.</p>
|
|
45
|
+
*/
|
|
46
|
+
interface SrcCodeOrDbAnalysisStatusMember {
|
|
47
|
+
runtimeAnalysisStatus?: never;
|
|
48
|
+
srcCodeOrDbAnalysisStatus: SrcCodeOrDbAnalysisStatus | string;
|
|
49
|
+
$unknown?: never;
|
|
50
|
+
}
|
|
51
|
+
interface $UnknownMember {
|
|
52
|
+
runtimeAnalysisStatus?: never;
|
|
53
|
+
srcCodeOrDbAnalysisStatus?: never;
|
|
54
|
+
$unknown: [string, any];
|
|
55
|
+
}
|
|
56
|
+
interface Visitor<T> {
|
|
57
|
+
runtimeAnalysisStatus: (value: RuntimeAnalysisStatus | string) => T;
|
|
58
|
+
srcCodeOrDbAnalysisStatus: (value: SrcCodeOrDbAnalysisStatus | string) => T;
|
|
59
|
+
_: (name: string, value: any) => T;
|
|
60
|
+
}
|
|
61
|
+
const visit: <T>(value: AnalysisStatusUnion, visitor: Visitor<T>) => T;
|
|
62
|
+
}
|
|
63
|
+
export declare enum AnalysisType {
|
|
64
|
+
BINARY_ANALYSIS = "BINARY_ANALYSIS",
|
|
65
|
+
DATABASE_ANALYSIS = "DATABASE_ANALYSIS",
|
|
66
|
+
RUNTIME_ANALYSIS = "RUNTIME_ANALYSIS",
|
|
67
|
+
SOURCE_CODE_ANALYSIS = "SOURCE_CODE_ANALYSIS"
|
|
68
|
+
}
|
|
69
|
+
export declare enum BinaryAnalyzerName {
|
|
70
|
+
BYTECODE_ANALYZER = "BYTECODE_ANALYZER",
|
|
71
|
+
DLL_ANALYZER = "DLL_ANALYZER"
|
|
72
|
+
}
|
|
73
|
+
export declare enum RunTimeAnalyzerName {
|
|
74
|
+
A2C_ANALYZER = "A2C_ANALYZER",
|
|
75
|
+
DATABASE_ANALYZER = "DATABASE_ANALYZER",
|
|
76
|
+
EMP_PA_ANALYZER = "EMP_PA_ANALYZER",
|
|
77
|
+
REHOST_ANALYZER = "REHOST_ANALYZER",
|
|
78
|
+
SCT_ANALYZER = "SCT_ANALYZER"
|
|
79
|
+
}
|
|
80
|
+
export declare enum SourceCodeAnalyzerName {
|
|
81
|
+
BYTECODE_ANALYZER = "BYTECODE_ANALYZER",
|
|
82
|
+
CSHARP_ANALYZER = "CSHARP_ANALYZER",
|
|
83
|
+
JAVA_ANALYZER = "JAVA_ANALYZER",
|
|
84
|
+
PORTING_ASSISTANT = "PORTING_ASSISTANT"
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* <p>The combination of the existing analyzers.</p>
|
|
88
|
+
*/
|
|
89
|
+
export declare type AnalyzerNameUnion = AnalyzerNameUnion.BinaryAnalyzerNameMember | AnalyzerNameUnion.RunTimeAnalyzerNameMember | AnalyzerNameUnion.SourceCodeAnalyzerNameMember | AnalyzerNameUnion.$UnknownMember;
|
|
90
|
+
export declare namespace AnalyzerNameUnion {
|
|
91
|
+
/**
|
|
92
|
+
* <p>The binary analyzer names.</p>
|
|
93
|
+
*/
|
|
94
|
+
interface BinaryAnalyzerNameMember {
|
|
95
|
+
binaryAnalyzerName: BinaryAnalyzerName | string;
|
|
96
|
+
runTimeAnalyzerName?: never;
|
|
97
|
+
sourceCodeAnalyzerName?: never;
|
|
98
|
+
$unknown?: never;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* <p>The assessment analyzer names.</p>
|
|
102
|
+
*/
|
|
103
|
+
interface RunTimeAnalyzerNameMember {
|
|
104
|
+
binaryAnalyzerName?: never;
|
|
105
|
+
runTimeAnalyzerName: RunTimeAnalyzerName | string;
|
|
106
|
+
sourceCodeAnalyzerName?: never;
|
|
107
|
+
$unknown?: never;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <p>The source code analyzer names.</p>
|
|
111
|
+
*/
|
|
112
|
+
interface SourceCodeAnalyzerNameMember {
|
|
113
|
+
binaryAnalyzerName?: never;
|
|
114
|
+
runTimeAnalyzerName?: never;
|
|
115
|
+
sourceCodeAnalyzerName: SourceCodeAnalyzerName | string;
|
|
116
|
+
$unknown?: never;
|
|
117
|
+
}
|
|
118
|
+
interface $UnknownMember {
|
|
119
|
+
binaryAnalyzerName?: never;
|
|
120
|
+
runTimeAnalyzerName?: never;
|
|
121
|
+
sourceCodeAnalyzerName?: never;
|
|
122
|
+
$unknown: [string, any];
|
|
123
|
+
}
|
|
124
|
+
interface Visitor<T> {
|
|
125
|
+
binaryAnalyzerName: (value: BinaryAnalyzerName | string) => T;
|
|
126
|
+
runTimeAnalyzerName: (value: RunTimeAnalyzerName | string) => T;
|
|
127
|
+
sourceCodeAnalyzerName: (value: SourceCodeAnalyzerName | string) => T;
|
|
128
|
+
_: (name: string, value: any) => T;
|
|
129
|
+
}
|
|
130
|
+
const visit: <T>(value: AnalyzerNameUnion, visitor: Visitor<T>) => T;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* <p> Contains the S3 bucket name and the Amazon S3 key name. </p>
|
|
134
|
+
*/
|
|
135
|
+
export interface S3Object {
|
|
136
|
+
/**
|
|
137
|
+
* <p> The S3 bucket name. </p>
|
|
138
|
+
*/
|
|
139
|
+
s3Bucket?: string;
|
|
140
|
+
/**
|
|
141
|
+
* <p> The Amazon S3 key name. </p>
|
|
142
|
+
*/
|
|
143
|
+
s3key?: string;
|
|
144
|
+
}
|
|
15
145
|
export declare enum AntipatternReportStatus {
|
|
16
146
|
FAILED = "FAILED",
|
|
17
147
|
IN_PROGRESS = "IN_PROGRESS",
|
|
18
148
|
SUCCESS = "SUCCESS"
|
|
19
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* <p>The anti-pattern report result.</p>
|
|
152
|
+
*/
|
|
153
|
+
export interface AntipatternReportResult {
|
|
154
|
+
/**
|
|
155
|
+
* <p>The analyzer name.</p>
|
|
156
|
+
*/
|
|
157
|
+
analyzerName?: AnalyzerNameUnion;
|
|
158
|
+
/**
|
|
159
|
+
* <p> Contains the S3 bucket name and the Amazon S3 key name. </p>
|
|
160
|
+
*/
|
|
161
|
+
antiPatternReportS3Object?: S3Object;
|
|
162
|
+
/**
|
|
163
|
+
* <p>The status of the anti-pattern report generation.</p>
|
|
164
|
+
*/
|
|
165
|
+
antipatternReportStatus?: AntipatternReportStatus | string;
|
|
166
|
+
/**
|
|
167
|
+
* <p>The status message for the anti-pattern.</p>
|
|
168
|
+
*/
|
|
169
|
+
antipatternReportStatusMessage?: string;
|
|
170
|
+
}
|
|
20
171
|
export declare enum Severity {
|
|
21
172
|
HIGH = "HIGH",
|
|
22
173
|
LOW = "LOW",
|
|
@@ -45,28 +196,6 @@ export declare enum ApplicationComponentCriteria {
|
|
|
45
196
|
SERVER_ID = "SERVER_ID",
|
|
46
197
|
STRATEGY = "STRATEGY"
|
|
47
198
|
}
|
|
48
|
-
export declare enum SrcCodeOrDbAnalysisStatus {
|
|
49
|
-
ANALYSIS_FAILED = "ANALYSIS_FAILED",
|
|
50
|
-
ANALYSIS_PARTIAL_SUCCESS = "ANALYSIS_PARTIAL_SUCCESS",
|
|
51
|
-
ANALYSIS_STARTED = "ANALYSIS_STARTED",
|
|
52
|
-
ANALYSIS_SUCCESS = "ANALYSIS_SUCCESS",
|
|
53
|
-
ANALYSIS_TO_BE_SCHEDULED = "ANALYSIS_TO_BE_SCHEDULED",
|
|
54
|
-
CONFIGURED = "CONFIGURED",
|
|
55
|
-
UNCONFIGURED = "UNCONFIGURED"
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* <p> Contains the S3 bucket name and the Amazon S3 key name. </p>
|
|
59
|
-
*/
|
|
60
|
-
export interface S3Object {
|
|
61
|
-
/**
|
|
62
|
-
* <p> The S3 bucket name. </p>
|
|
63
|
-
*/
|
|
64
|
-
s3Bucket?: string;
|
|
65
|
-
/**
|
|
66
|
-
* <p> The Amazon S3 key name. </p>
|
|
67
|
-
*/
|
|
68
|
-
s3key?: string;
|
|
69
|
-
}
|
|
70
199
|
export declare enum AppType {
|
|
71
200
|
IIS = "IIS",
|
|
72
201
|
cassandra = "Cassandra",
|
|
@@ -198,11 +327,26 @@ export declare enum ResourceSubType {
|
|
|
198
327
|
DATABASE_PROCESS = "DatabaseProcess",
|
|
199
328
|
PROCESS = "Process"
|
|
200
329
|
}
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
330
|
+
/**
|
|
331
|
+
* <p>The error in server analysis.</p>
|
|
332
|
+
*/
|
|
333
|
+
export interface Result {
|
|
334
|
+
/**
|
|
335
|
+
* <p>The error in server analysis.</p>
|
|
336
|
+
*/
|
|
337
|
+
analysisType?: AnalysisType | string;
|
|
338
|
+
/**
|
|
339
|
+
* <p>The error in server analysis.</p>
|
|
340
|
+
*/
|
|
341
|
+
analysisStatus?: AnalysisStatusUnion;
|
|
342
|
+
/**
|
|
343
|
+
* <p>The error in server analysis.</p>
|
|
344
|
+
*/
|
|
345
|
+
statusMessage?: string;
|
|
346
|
+
/**
|
|
347
|
+
* <p>The error in server analysis.</p>
|
|
348
|
+
*/
|
|
349
|
+
antipatternReportResultList?: AntipatternReportResult[];
|
|
206
350
|
}
|
|
207
351
|
/**
|
|
208
352
|
* <p> Object containing source code information that is linked to an application component.
|
|
@@ -321,6 +465,10 @@ export interface ApplicationComponentDetail {
|
|
|
321
465
|
* <p>The error in the analysis of the source code or database.</p>
|
|
322
466
|
*/
|
|
323
467
|
appUnitError?: AppUnitError;
|
|
468
|
+
/**
|
|
469
|
+
* <p>A list of the analysis results.</p>
|
|
470
|
+
*/
|
|
471
|
+
resultList?: Result[];
|
|
324
472
|
}
|
|
325
473
|
/**
|
|
326
474
|
* <p>Summary of the analysis status of the application component.</p>
|
|
@@ -1883,11 +2031,23 @@ export interface UpdateServerConfigResponse {
|
|
|
1883
2031
|
/**
|
|
1884
2032
|
* @internal
|
|
1885
2033
|
*/
|
|
1886
|
-
export declare const
|
|
2034
|
+
export declare const AnalysisStatusUnionFilterSensitiveLog: (obj: AnalysisStatusUnion) => any;
|
|
2035
|
+
/**
|
|
2036
|
+
* @internal
|
|
2037
|
+
*/
|
|
2038
|
+
export declare const AnalyzerNameUnionFilterSensitiveLog: (obj: AnalyzerNameUnion) => any;
|
|
1887
2039
|
/**
|
|
1888
2040
|
* @internal
|
|
1889
2041
|
*/
|
|
1890
2042
|
export declare const S3ObjectFilterSensitiveLog: (obj: S3Object) => any;
|
|
2043
|
+
/**
|
|
2044
|
+
* @internal
|
|
2045
|
+
*/
|
|
2046
|
+
export declare const AntipatternReportResultFilterSensitiveLog: (obj: AntipatternReportResult) => any;
|
|
2047
|
+
/**
|
|
2048
|
+
* @internal
|
|
2049
|
+
*/
|
|
2050
|
+
export declare const AntipatternSeveritySummaryFilterSensitiveLog: (obj: AntipatternSeveritySummary) => any;
|
|
1891
2051
|
/**
|
|
1892
2052
|
* @internal
|
|
1893
2053
|
*/
|
|
@@ -1904,6 +2064,10 @@ export declare const TransformationToolFilterSensitiveLog: (obj: TransformationT
|
|
|
1904
2064
|
* @internal
|
|
1905
2065
|
*/
|
|
1906
2066
|
export declare const RecommendationSetFilterSensitiveLog: (obj: RecommendationSet) => any;
|
|
2067
|
+
/**
|
|
2068
|
+
* @internal
|
|
2069
|
+
*/
|
|
2070
|
+
export declare const ResultFilterSensitiveLog: (obj: Result) => any;
|
|
1907
2071
|
/**
|
|
1908
2072
|
* @internal
|
|
1909
2073
|
*/
|
|
@@ -7,11 +7,124 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
+
export declare enum RuntimeAnalysisStatus {
|
|
11
|
+
ANALYSIS_FAILED = "ANALYSIS_FAILED",
|
|
12
|
+
ANALYSIS_STARTED = "ANALYSIS_STARTED",
|
|
13
|
+
ANALYSIS_SUCCESS = "ANALYSIS_SUCCESS",
|
|
14
|
+
ANALYSIS_TO_BE_SCHEDULED = "ANALYSIS_TO_BE_SCHEDULED",
|
|
15
|
+
}
|
|
16
|
+
export declare enum SrcCodeOrDbAnalysisStatus {
|
|
17
|
+
ANALYSIS_FAILED = "ANALYSIS_FAILED",
|
|
18
|
+
ANALYSIS_PARTIAL_SUCCESS = "ANALYSIS_PARTIAL_SUCCESS",
|
|
19
|
+
ANALYSIS_STARTED = "ANALYSIS_STARTED",
|
|
20
|
+
ANALYSIS_SUCCESS = "ANALYSIS_SUCCESS",
|
|
21
|
+
ANALYSIS_TO_BE_SCHEDULED = "ANALYSIS_TO_BE_SCHEDULED",
|
|
22
|
+
CONFIGURED = "CONFIGURED",
|
|
23
|
+
UNCONFIGURED = "UNCONFIGURED",
|
|
24
|
+
}
|
|
25
|
+
export declare type AnalysisStatusUnion =
|
|
26
|
+
| AnalysisStatusUnion.RuntimeAnalysisStatusMember
|
|
27
|
+
| AnalysisStatusUnion.SrcCodeOrDbAnalysisStatusMember
|
|
28
|
+
| AnalysisStatusUnion.$UnknownMember;
|
|
29
|
+
export declare namespace AnalysisStatusUnion {
|
|
30
|
+
interface RuntimeAnalysisStatusMember {
|
|
31
|
+
runtimeAnalysisStatus: RuntimeAnalysisStatus | string;
|
|
32
|
+
srcCodeOrDbAnalysisStatus?: never;
|
|
33
|
+
$unknown?: never;
|
|
34
|
+
}
|
|
35
|
+
interface SrcCodeOrDbAnalysisStatusMember {
|
|
36
|
+
runtimeAnalysisStatus?: never;
|
|
37
|
+
srcCodeOrDbAnalysisStatus: SrcCodeOrDbAnalysisStatus | string;
|
|
38
|
+
$unknown?: never;
|
|
39
|
+
}
|
|
40
|
+
interface $UnknownMember {
|
|
41
|
+
runtimeAnalysisStatus?: never;
|
|
42
|
+
srcCodeOrDbAnalysisStatus?: never;
|
|
43
|
+
$unknown: [string, any];
|
|
44
|
+
}
|
|
45
|
+
interface Visitor<T> {
|
|
46
|
+
runtimeAnalysisStatus: (value: RuntimeAnalysisStatus | string) => T;
|
|
47
|
+
srcCodeOrDbAnalysisStatus: (value: SrcCodeOrDbAnalysisStatus | string) => T;
|
|
48
|
+
_: (name: string, value: any) => T;
|
|
49
|
+
}
|
|
50
|
+
const visit: <T>(value: AnalysisStatusUnion, visitor: Visitor<T>) => T;
|
|
51
|
+
}
|
|
52
|
+
export declare enum AnalysisType {
|
|
53
|
+
BINARY_ANALYSIS = "BINARY_ANALYSIS",
|
|
54
|
+
DATABASE_ANALYSIS = "DATABASE_ANALYSIS",
|
|
55
|
+
RUNTIME_ANALYSIS = "RUNTIME_ANALYSIS",
|
|
56
|
+
SOURCE_CODE_ANALYSIS = "SOURCE_CODE_ANALYSIS",
|
|
57
|
+
}
|
|
58
|
+
export declare enum BinaryAnalyzerName {
|
|
59
|
+
BYTECODE_ANALYZER = "BYTECODE_ANALYZER",
|
|
60
|
+
DLL_ANALYZER = "DLL_ANALYZER",
|
|
61
|
+
}
|
|
62
|
+
export declare enum RunTimeAnalyzerName {
|
|
63
|
+
A2C_ANALYZER = "A2C_ANALYZER",
|
|
64
|
+
DATABASE_ANALYZER = "DATABASE_ANALYZER",
|
|
65
|
+
EMP_PA_ANALYZER = "EMP_PA_ANALYZER",
|
|
66
|
+
REHOST_ANALYZER = "REHOST_ANALYZER",
|
|
67
|
+
SCT_ANALYZER = "SCT_ANALYZER",
|
|
68
|
+
}
|
|
69
|
+
export declare enum SourceCodeAnalyzerName {
|
|
70
|
+
BYTECODE_ANALYZER = "BYTECODE_ANALYZER",
|
|
71
|
+
CSHARP_ANALYZER = "CSHARP_ANALYZER",
|
|
72
|
+
JAVA_ANALYZER = "JAVA_ANALYZER",
|
|
73
|
+
PORTING_ASSISTANT = "PORTING_ASSISTANT",
|
|
74
|
+
}
|
|
75
|
+
export declare type AnalyzerNameUnion =
|
|
76
|
+
| AnalyzerNameUnion.BinaryAnalyzerNameMember
|
|
77
|
+
| AnalyzerNameUnion.RunTimeAnalyzerNameMember
|
|
78
|
+
| AnalyzerNameUnion.SourceCodeAnalyzerNameMember
|
|
79
|
+
| AnalyzerNameUnion.$UnknownMember;
|
|
80
|
+
export declare namespace AnalyzerNameUnion {
|
|
81
|
+
interface BinaryAnalyzerNameMember {
|
|
82
|
+
binaryAnalyzerName: BinaryAnalyzerName | string;
|
|
83
|
+
runTimeAnalyzerName?: never;
|
|
84
|
+
sourceCodeAnalyzerName?: never;
|
|
85
|
+
$unknown?: never;
|
|
86
|
+
}
|
|
87
|
+
interface RunTimeAnalyzerNameMember {
|
|
88
|
+
binaryAnalyzerName?: never;
|
|
89
|
+
runTimeAnalyzerName: RunTimeAnalyzerName | string;
|
|
90
|
+
sourceCodeAnalyzerName?: never;
|
|
91
|
+
$unknown?: never;
|
|
92
|
+
}
|
|
93
|
+
interface SourceCodeAnalyzerNameMember {
|
|
94
|
+
binaryAnalyzerName?: never;
|
|
95
|
+
runTimeAnalyzerName?: never;
|
|
96
|
+
sourceCodeAnalyzerName: SourceCodeAnalyzerName | string;
|
|
97
|
+
$unknown?: never;
|
|
98
|
+
}
|
|
99
|
+
interface $UnknownMember {
|
|
100
|
+
binaryAnalyzerName?: never;
|
|
101
|
+
runTimeAnalyzerName?: never;
|
|
102
|
+
sourceCodeAnalyzerName?: never;
|
|
103
|
+
$unknown: [string, any];
|
|
104
|
+
}
|
|
105
|
+
interface Visitor<T> {
|
|
106
|
+
binaryAnalyzerName: (value: BinaryAnalyzerName | string) => T;
|
|
107
|
+
runTimeAnalyzerName: (value: RunTimeAnalyzerName | string) => T;
|
|
108
|
+
sourceCodeAnalyzerName: (value: SourceCodeAnalyzerName | string) => T;
|
|
109
|
+
_: (name: string, value: any) => T;
|
|
110
|
+
}
|
|
111
|
+
const visit: <T>(value: AnalyzerNameUnion, visitor: Visitor<T>) => T;
|
|
112
|
+
}
|
|
113
|
+
export interface S3Object {
|
|
114
|
+
s3Bucket?: string;
|
|
115
|
+
s3key?: string;
|
|
116
|
+
}
|
|
10
117
|
export declare enum AntipatternReportStatus {
|
|
11
118
|
FAILED = "FAILED",
|
|
12
119
|
IN_PROGRESS = "IN_PROGRESS",
|
|
13
120
|
SUCCESS = "SUCCESS",
|
|
14
121
|
}
|
|
122
|
+
export interface AntipatternReportResult {
|
|
123
|
+
analyzerName?: AnalyzerNameUnion;
|
|
124
|
+
antiPatternReportS3Object?: S3Object;
|
|
125
|
+
antipatternReportStatus?: AntipatternReportStatus | string;
|
|
126
|
+
antipatternReportStatusMessage?: string;
|
|
127
|
+
}
|
|
15
128
|
export declare enum Severity {
|
|
16
129
|
HIGH = "HIGH",
|
|
17
130
|
LOW = "LOW",
|
|
@@ -31,19 +144,6 @@ export declare enum ApplicationComponentCriteria {
|
|
|
31
144
|
SERVER_ID = "SERVER_ID",
|
|
32
145
|
STRATEGY = "STRATEGY",
|
|
33
146
|
}
|
|
34
|
-
export declare enum SrcCodeOrDbAnalysisStatus {
|
|
35
|
-
ANALYSIS_FAILED = "ANALYSIS_FAILED",
|
|
36
|
-
ANALYSIS_PARTIAL_SUCCESS = "ANALYSIS_PARTIAL_SUCCESS",
|
|
37
|
-
ANALYSIS_STARTED = "ANALYSIS_STARTED",
|
|
38
|
-
ANALYSIS_SUCCESS = "ANALYSIS_SUCCESS",
|
|
39
|
-
ANALYSIS_TO_BE_SCHEDULED = "ANALYSIS_TO_BE_SCHEDULED",
|
|
40
|
-
CONFIGURED = "CONFIGURED",
|
|
41
|
-
UNCONFIGURED = "UNCONFIGURED",
|
|
42
|
-
}
|
|
43
|
-
export interface S3Object {
|
|
44
|
-
s3Bucket?: string;
|
|
45
|
-
s3key?: string;
|
|
46
|
-
}
|
|
47
147
|
export declare enum AppType {
|
|
48
148
|
IIS = "IIS",
|
|
49
149
|
cassandra = "Cassandra",
|
|
@@ -137,11 +237,11 @@ export declare enum ResourceSubType {
|
|
|
137
237
|
DATABASE_PROCESS = "DatabaseProcess",
|
|
138
238
|
PROCESS = "Process",
|
|
139
239
|
}
|
|
140
|
-
export
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
240
|
+
export interface Result {
|
|
241
|
+
analysisType?: AnalysisType | string;
|
|
242
|
+
analysisStatus?: AnalysisStatusUnion;
|
|
243
|
+
statusMessage?: string;
|
|
244
|
+
antipatternReportResultList?: AntipatternReportResult[];
|
|
145
245
|
}
|
|
146
246
|
export interface SourceCodeRepository {
|
|
147
247
|
repository?: string;
|
|
@@ -172,6 +272,7 @@ export interface ApplicationComponentDetail {
|
|
|
172
272
|
runtimeStatus?: RuntimeAnalysisStatus | string;
|
|
173
273
|
runtimeStatusMessage?: string;
|
|
174
274
|
appUnitError?: AppUnitError;
|
|
275
|
+
resultList?: Result[];
|
|
175
276
|
}
|
|
176
277
|
export interface ApplicationComponentStatusSummary {
|
|
177
278
|
srcCodeOrDbAnalysisStatus?: SrcCodeOrDbAnalysisStatus | string;
|
|
@@ -850,10 +951,19 @@ export interface UpdateServerConfigRequest {
|
|
|
850
951
|
strategyOption?: StrategyOption;
|
|
851
952
|
}
|
|
852
953
|
export interface UpdateServerConfigResponse {}
|
|
954
|
+
export declare const AnalysisStatusUnionFilterSensitiveLog: (
|
|
955
|
+
obj: AnalysisStatusUnion
|
|
956
|
+
) => any;
|
|
957
|
+
export declare const AnalyzerNameUnionFilterSensitiveLog: (
|
|
958
|
+
obj: AnalyzerNameUnion
|
|
959
|
+
) => any;
|
|
960
|
+
export declare const S3ObjectFilterSensitiveLog: (obj: S3Object) => any;
|
|
961
|
+
export declare const AntipatternReportResultFilterSensitiveLog: (
|
|
962
|
+
obj: AntipatternReportResult
|
|
963
|
+
) => any;
|
|
853
964
|
export declare const AntipatternSeveritySummaryFilterSensitiveLog: (
|
|
854
965
|
obj: AntipatternSeveritySummary
|
|
855
966
|
) => any;
|
|
856
|
-
export declare const S3ObjectFilterSensitiveLog: (obj: S3Object) => any;
|
|
857
967
|
export declare const AppUnitErrorFilterSensitiveLog: (obj: AppUnitError) => any;
|
|
858
968
|
export declare const DatabaseConfigDetailFilterSensitiveLog: (
|
|
859
969
|
obj: DatabaseConfigDetail
|
|
@@ -864,6 +974,7 @@ export declare const TransformationToolFilterSensitiveLog: (
|
|
|
864
974
|
export declare const RecommendationSetFilterSensitiveLog: (
|
|
865
975
|
obj: RecommendationSet
|
|
866
976
|
) => any;
|
|
977
|
+
export declare const ResultFilterSensitiveLog: (obj: Result) => any;
|
|
867
978
|
export declare const SourceCodeRepositoryFilterSensitiveLog: (
|
|
868
979
|
obj: SourceCodeRepository
|
|
869
980
|
) => any;
|