@aws-sdk/client-migrationhubstrategy 3.901.0 → 3.907.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1945 -2143
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,2173 +1,1975 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "migrationhub-strategy",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
class MigrationHubStrategyClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultMigrationHubStrategyHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
107
|
+
}
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
20
112
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
class MigrationHubStrategyServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, MigrationHubStrategyServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class AccessDeniedException extends MigrationHubStrategyServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "AccessDeniedException",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts,
|
|
128
|
+
});
|
|
129
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
const RuntimeAnalysisStatus = {
|
|
133
|
+
ANALYSIS_FAILED: "ANALYSIS_FAILED",
|
|
134
|
+
ANALYSIS_STARTED: "ANALYSIS_STARTED",
|
|
135
|
+
ANALYSIS_SUCCESS: "ANALYSIS_SUCCESS",
|
|
136
|
+
ANALYSIS_TO_BE_SCHEDULED: "ANALYSIS_TO_BE_SCHEDULED",
|
|
137
|
+
};
|
|
138
|
+
const SrcCodeOrDbAnalysisStatus = {
|
|
139
|
+
ANALYSIS_FAILED: "ANALYSIS_FAILED",
|
|
140
|
+
ANALYSIS_PARTIAL_SUCCESS: "ANALYSIS_PARTIAL_SUCCESS",
|
|
141
|
+
ANALYSIS_STARTED: "ANALYSIS_STARTED",
|
|
142
|
+
ANALYSIS_SUCCESS: "ANALYSIS_SUCCESS",
|
|
143
|
+
ANALYSIS_TO_BE_SCHEDULED: "ANALYSIS_TO_BE_SCHEDULED",
|
|
144
|
+
CONFIGURED: "CONFIGURED",
|
|
145
|
+
UNCONFIGURED: "UNCONFIGURED",
|
|
146
|
+
};
|
|
147
|
+
exports.AnalysisStatusUnion = void 0;
|
|
148
|
+
(function (AnalysisStatusUnion) {
|
|
149
|
+
AnalysisStatusUnion.visit = (value, visitor) => {
|
|
150
|
+
if (value.runtimeAnalysisStatus !== undefined)
|
|
151
|
+
return visitor.runtimeAnalysisStatus(value.runtimeAnalysisStatus);
|
|
152
|
+
if (value.srcCodeOrDbAnalysisStatus !== undefined)
|
|
153
|
+
return visitor.srcCodeOrDbAnalysisStatus(value.srcCodeOrDbAnalysisStatus);
|
|
154
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
155
|
+
};
|
|
156
|
+
})(exports.AnalysisStatusUnion || (exports.AnalysisStatusUnion = {}));
|
|
157
|
+
const AnalysisType = {
|
|
158
|
+
BINARY_ANALYSIS: "BINARY_ANALYSIS",
|
|
159
|
+
DATABASE_ANALYSIS: "DATABASE_ANALYSIS",
|
|
160
|
+
RUNTIME_ANALYSIS: "RUNTIME_ANALYSIS",
|
|
161
|
+
SOURCE_CODE_ANALYSIS: "SOURCE_CODE_ANALYSIS",
|
|
162
|
+
};
|
|
163
|
+
const BinaryAnalyzerName = {
|
|
164
|
+
BYTECODE_ANALYZER: "BYTECODE_ANALYZER",
|
|
165
|
+
DLL_ANALYZER: "DLL_ANALYZER",
|
|
166
|
+
};
|
|
167
|
+
const RunTimeAnalyzerName = {
|
|
168
|
+
A2C_ANALYZER: "A2C_ANALYZER",
|
|
169
|
+
DATABASE_ANALYZER: "DATABASE_ANALYZER",
|
|
170
|
+
EMP_PA_ANALYZER: "EMP_PA_ANALYZER",
|
|
171
|
+
REHOST_ANALYZER: "REHOST_ANALYZER",
|
|
172
|
+
SCT_ANALYZER: "SCT_ANALYZER",
|
|
173
|
+
};
|
|
174
|
+
const SourceCodeAnalyzerName = {
|
|
175
|
+
BYTECODE_ANALYZER: "BYTECODE_ANALYZER",
|
|
176
|
+
CSHARP_ANALYZER: "CSHARP_ANALYZER",
|
|
177
|
+
JAVA_ANALYZER: "JAVA_ANALYZER",
|
|
178
|
+
PORTING_ASSISTANT: "PORTING_ASSISTANT",
|
|
179
|
+
};
|
|
180
|
+
exports.AnalyzerNameUnion = void 0;
|
|
181
|
+
(function (AnalyzerNameUnion) {
|
|
182
|
+
AnalyzerNameUnion.visit = (value, visitor) => {
|
|
183
|
+
if (value.binaryAnalyzerName !== undefined)
|
|
184
|
+
return visitor.binaryAnalyzerName(value.binaryAnalyzerName);
|
|
185
|
+
if (value.runTimeAnalyzerName !== undefined)
|
|
186
|
+
return visitor.runTimeAnalyzerName(value.runTimeAnalyzerName);
|
|
187
|
+
if (value.sourceCodeAnalyzerName !== undefined)
|
|
188
|
+
return visitor.sourceCodeAnalyzerName(value.sourceCodeAnalyzerName);
|
|
189
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
190
|
+
};
|
|
191
|
+
})(exports.AnalyzerNameUnion || (exports.AnalyzerNameUnion = {}));
|
|
192
|
+
const AntipatternReportStatus = {
|
|
193
|
+
FAILED: "FAILED",
|
|
194
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
195
|
+
SUCCESS: "SUCCESS",
|
|
196
|
+
};
|
|
197
|
+
const Severity = {
|
|
198
|
+
HIGH: "HIGH",
|
|
199
|
+
LOW: "LOW",
|
|
200
|
+
MEDIUM: "MEDIUM",
|
|
201
|
+
};
|
|
202
|
+
const ApplicationComponentCriteria = {
|
|
203
|
+
ANALYSIS_STATUS: "ANALYSIS_STATUS",
|
|
204
|
+
APP_NAME: "APP_NAME",
|
|
205
|
+
APP_TYPE: "APP_TYPE",
|
|
206
|
+
DESTINATION: "DESTINATION",
|
|
207
|
+
ERROR_CATEGORY: "ERROR_CATEGORY",
|
|
208
|
+
NOT_DEFINED: "NOT_DEFINED",
|
|
209
|
+
SERVER_ID: "SERVER_ID",
|
|
210
|
+
STRATEGY: "STRATEGY",
|
|
211
|
+
};
|
|
212
|
+
const AppType = {
|
|
213
|
+
IIS: "IIS",
|
|
214
|
+
cassandra: "Cassandra",
|
|
215
|
+
db2: "DB2",
|
|
216
|
+
dotNetFramework: "DotNetFramework",
|
|
217
|
+
dotnet: "Dotnet",
|
|
218
|
+
dotnetcore: "DotnetCore",
|
|
219
|
+
java: "Java",
|
|
220
|
+
jboss: "JBoss",
|
|
221
|
+
mariadb: "Maria DB",
|
|
222
|
+
mongodb: "Mongo DB",
|
|
223
|
+
mysql: "MySQL",
|
|
224
|
+
oracle: "Oracle",
|
|
225
|
+
other: "Other",
|
|
226
|
+
postgresqlserver: "PostgreSQLServer",
|
|
227
|
+
spring: "Spring",
|
|
228
|
+
sqlServer: "SQLServer",
|
|
229
|
+
sybase: "Sybase",
|
|
230
|
+
tomcat: "Tomcat",
|
|
231
|
+
unknown: "Unknown",
|
|
232
|
+
visualbasic: "Visual Basic",
|
|
233
|
+
weblogic: "Oracle WebLogic",
|
|
234
|
+
websphere: "IBM WebSphere",
|
|
235
|
+
};
|
|
236
|
+
const AppUnitErrorCategory = {
|
|
237
|
+
CONNECTIVITY_ERROR: "CONNECTIVITY_ERROR",
|
|
238
|
+
CREDENTIAL_ERROR: "CREDENTIAL_ERROR",
|
|
239
|
+
OTHER_ERROR: "OTHER_ERROR",
|
|
240
|
+
PERMISSION_ERROR: "PERMISSION_ERROR",
|
|
241
|
+
UNSUPPORTED_ERROR: "UNSUPPORTED_ERROR",
|
|
242
|
+
};
|
|
243
|
+
const InclusionStatus = {
|
|
244
|
+
EXCLUDE_FROM_RECOMMENDATION: "excludeFromAssessment",
|
|
245
|
+
INCLUDE_IN_RECOMMENDATION: "includeInAssessment",
|
|
246
|
+
};
|
|
247
|
+
const Strategy = {
|
|
248
|
+
REFACTOR: "Refactor",
|
|
249
|
+
REHOST: "Rehost",
|
|
250
|
+
RELOCATE: "Relocate",
|
|
251
|
+
REPLATFORM: "Replatform",
|
|
252
|
+
REPURCHASE: "Repurchase",
|
|
253
|
+
RETAIN: "Retain",
|
|
254
|
+
RETIREMENT: "Retirement",
|
|
255
|
+
};
|
|
256
|
+
const TargetDestination = {
|
|
257
|
+
AMAZON_DOCUMENTDB: "Amazon DocumentDB",
|
|
258
|
+
AMAZON_DYNAMODB: "Amazon DynamoDB",
|
|
259
|
+
AMAZON_ELASTIC_CLOUD_COMPUTE: "Amazon Elastic Cloud Compute (EC2)",
|
|
260
|
+
AMAZON_ELASTIC_CONTAINER_SERVICE: "Amazon Elastic Container Service (ECS)",
|
|
261
|
+
AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",
|
|
262
|
+
AMAZON_RDS: "Amazon Relational Database Service",
|
|
263
|
+
AMAZON_RDS_MYSQL: "Amazon Relational Database Service on MySQL",
|
|
264
|
+
AMAZON_RDS_POSTGRESQL: "Amazon Relational Database Service on PostgreSQL",
|
|
265
|
+
AURORA_MYSQL: "Aurora MySQL",
|
|
266
|
+
AURORA_POSTGRESQL: "Aurora PostgreSQL",
|
|
267
|
+
AWS_ELASTIC_BEANSTALK: "AWS Elastic BeanStalk",
|
|
268
|
+
AWS_FARGATE: "AWS Fargate",
|
|
269
|
+
BABELFISH_AURORA_POSTGRESQL: "Babelfish for Aurora PostgreSQL",
|
|
270
|
+
NONE_SPECIFIED: "None specified",
|
|
271
|
+
};
|
|
272
|
+
const TransformationToolName = {
|
|
273
|
+
APP2CONTAINER: "App2Container",
|
|
274
|
+
DMS: "Database Migration Service",
|
|
275
|
+
EMP: "End of Support Migration",
|
|
276
|
+
IN_PLACE_OS_UPGRADE: "In Place Operating System Upgrade",
|
|
277
|
+
MGN: "Application Migration Service",
|
|
278
|
+
NATIVE_SQL: "Native SQL Server Backup/Restore",
|
|
279
|
+
PORTING_ASSISTANT: "Porting Assistant For .NET",
|
|
280
|
+
SCT: "Schema Conversion Tool",
|
|
281
|
+
STRATEGY_RECOMMENDATION_SUPPORT: "Strategy Recommendation Support",
|
|
282
|
+
WWAMA: "Windows Web Application Migration Assistant",
|
|
283
|
+
};
|
|
284
|
+
const ResourceSubType = {
|
|
285
|
+
DATABASE: "Database",
|
|
286
|
+
DATABASE_PROCESS: "DatabaseProcess",
|
|
287
|
+
PROCESS: "Process",
|
|
288
|
+
};
|
|
289
|
+
const StrategyRecommendation = {
|
|
290
|
+
NOT_RECOMMENDED: "notRecommended",
|
|
291
|
+
POTENTIAL: "potential",
|
|
292
|
+
RECOMMENDED: "recommended",
|
|
293
|
+
VIABLE_OPTION: "viableOption",
|
|
294
|
+
};
|
|
295
|
+
const ApplicationMode = {
|
|
296
|
+
ALL: "ALL",
|
|
297
|
+
KNOWN: "KNOWN",
|
|
298
|
+
UNKNOWN: "UNKNOWN",
|
|
299
|
+
};
|
|
300
|
+
const AwsManagedTargetDestination = {
|
|
301
|
+
AWS_ELASTIC_BEANSTALK: "AWS Elastic BeanStalk",
|
|
302
|
+
AWS_FARGATE: "AWS Fargate",
|
|
303
|
+
NONE_SPECIFIED: "None specified",
|
|
304
|
+
};
|
|
305
|
+
const NoPreferenceTargetDestination = {
|
|
306
|
+
AMAZON_ELASTIC_CLOUD_COMPUTE: "Amazon Elastic Cloud Compute (EC2)",
|
|
307
|
+
AMAZON_ELASTIC_CONTAINER_SERVICE: "Amazon Elastic Container Service (ECS)",
|
|
308
|
+
AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",
|
|
309
|
+
AWS_ELASTIC_BEANSTALK: "AWS Elastic BeanStalk",
|
|
310
|
+
AWS_FARGATE: "AWS Fargate",
|
|
311
|
+
NONE_SPECIFIED: "None specified",
|
|
312
|
+
};
|
|
313
|
+
const SelfManageTargetDestination = {
|
|
314
|
+
AMAZON_ELASTIC_CLOUD_COMPUTE: "Amazon Elastic Cloud Compute (EC2)",
|
|
315
|
+
AMAZON_ELASTIC_CONTAINER_SERVICE: "Amazon Elastic Container Service (ECS)",
|
|
316
|
+
AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",
|
|
317
|
+
NONE_SPECIFIED: "None specified",
|
|
318
|
+
};
|
|
319
|
+
exports.ManagementPreference = void 0;
|
|
320
|
+
(function (ManagementPreference) {
|
|
321
|
+
ManagementPreference.visit = (value, visitor) => {
|
|
322
|
+
if (value.awsManagedResources !== undefined)
|
|
323
|
+
return visitor.awsManagedResources(value.awsManagedResources);
|
|
324
|
+
if (value.selfManageResources !== undefined)
|
|
325
|
+
return visitor.selfManageResources(value.selfManageResources);
|
|
326
|
+
if (value.noPreference !== undefined)
|
|
327
|
+
return visitor.noPreference(value.noPreference);
|
|
328
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
329
|
+
};
|
|
330
|
+
})(exports.ManagementPreference || (exports.ManagementPreference = {}));
|
|
331
|
+
const AssessmentDataSourceType = {
|
|
332
|
+
ADS: "ApplicationDiscoveryService",
|
|
333
|
+
MANUAL_IMPORT: "ManualImport",
|
|
334
|
+
SR_COLLECTOR: "StrategyRecommendationsApplicationDataCollector",
|
|
335
|
+
};
|
|
336
|
+
const AssessmentStatus = {
|
|
337
|
+
COMPLETE: "COMPLETE",
|
|
338
|
+
FAILED: "FAILED",
|
|
339
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
340
|
+
STOPPED: "STOPPED",
|
|
341
|
+
};
|
|
342
|
+
const RunTimeAssessmentStatus = {
|
|
343
|
+
DC_FAILED: "dataCollectionTaskFailed",
|
|
344
|
+
DC_PARTIAL_SUCCESS: "dataCollectionTaskPartialSuccess",
|
|
345
|
+
DC_REQ_SENT: "dataCollectionTaskScheduled",
|
|
346
|
+
DC_STARTED: "dataCollectionTaskStarted",
|
|
347
|
+
DC_STOPPED: "dataCollectionTaskStopped",
|
|
348
|
+
DC_SUCCESS: "dataCollectionTaskSuccess",
|
|
349
|
+
DC_TO_BE_SCHEDULED: "dataCollectionTaskToBeScheduled",
|
|
350
|
+
};
|
|
351
|
+
const ServerOsType = {
|
|
352
|
+
amazonLinux: "AmazonLinux",
|
|
353
|
+
endOfSupportWindowsServer: "EndOfSupportWindowsServer",
|
|
354
|
+
other: "Other",
|
|
355
|
+
redhat: "Redhat",
|
|
356
|
+
windowsServer: "WindowsServer",
|
|
357
|
+
};
|
|
358
|
+
const Condition = {
|
|
359
|
+
CONTAINS: "CONTAINS",
|
|
360
|
+
EQUALS: "EQUALS",
|
|
361
|
+
NOT_CONTAINS: "NOT_CONTAINS",
|
|
362
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
363
|
+
};
|
|
364
|
+
const AuthType = {
|
|
365
|
+
CERT: "CERT",
|
|
366
|
+
NTLM: "NTLM",
|
|
367
|
+
SSH: "SSH",
|
|
368
|
+
};
|
|
369
|
+
class InternalServerException extends MigrationHubStrategyServiceException {
|
|
370
|
+
name = "InternalServerException";
|
|
371
|
+
$fault = "server";
|
|
372
|
+
constructor(opts) {
|
|
373
|
+
super({
|
|
374
|
+
name: "InternalServerException",
|
|
375
|
+
$fault: "server",
|
|
376
|
+
...opts,
|
|
377
|
+
});
|
|
378
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
class ResourceNotFoundException extends MigrationHubStrategyServiceException {
|
|
382
|
+
name = "ResourceNotFoundException";
|
|
383
|
+
$fault = "client";
|
|
384
|
+
constructor(opts) {
|
|
385
|
+
super({
|
|
386
|
+
name: "ResourceNotFoundException",
|
|
387
|
+
$fault: "client",
|
|
388
|
+
...opts,
|
|
389
|
+
});
|
|
390
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
class ThrottlingException extends MigrationHubStrategyServiceException {
|
|
394
|
+
name = "ThrottlingException";
|
|
395
|
+
$fault = "client";
|
|
396
|
+
constructor(opts) {
|
|
397
|
+
super({
|
|
398
|
+
name: "ThrottlingException",
|
|
399
|
+
$fault: "client",
|
|
400
|
+
...opts,
|
|
401
|
+
});
|
|
402
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
const ImportFileTaskStatus = {
|
|
406
|
+
DELETE_FAILED: "DeleteFailed",
|
|
407
|
+
DELETE_IN_PROGRESS: "DeleteInProgress",
|
|
408
|
+
DELETE_PARTIAL_SUCCESS: "DeletePartialSuccess",
|
|
409
|
+
DELETE_SUCCESS: "DeleteSuccess",
|
|
410
|
+
IMPORT_FAILED: "ImportFailed",
|
|
411
|
+
IMPORT_IN_PROGRESS: "ImportInProgress",
|
|
412
|
+
IMPORT_PARTIAL_SUCCESS: "ImportPartialSuccess",
|
|
413
|
+
IMPORT_SUCCESS: "ImportSuccess",
|
|
414
|
+
};
|
|
415
|
+
class ValidationException extends MigrationHubStrategyServiceException {
|
|
416
|
+
name = "ValidationException";
|
|
417
|
+
$fault = "client";
|
|
418
|
+
constructor(opts) {
|
|
419
|
+
super({
|
|
420
|
+
name: "ValidationException",
|
|
421
|
+
$fault: "client",
|
|
422
|
+
...opts,
|
|
423
|
+
});
|
|
424
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
class DependencyException extends MigrationHubStrategyServiceException {
|
|
428
|
+
name = "DependencyException";
|
|
429
|
+
$fault = "server";
|
|
430
|
+
constructor(opts) {
|
|
431
|
+
super({
|
|
432
|
+
name: "DependencyException",
|
|
433
|
+
$fault: "server",
|
|
434
|
+
...opts,
|
|
435
|
+
});
|
|
436
|
+
Object.setPrototypeOf(this, DependencyException.prototype);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
const DatabaseManagementPreference = {
|
|
440
|
+
AWS_MANAGED: "AWS-managed",
|
|
441
|
+
NO_PREFERENCE: "No preference",
|
|
442
|
+
SELF_MANAGE: "Self-manage",
|
|
443
|
+
};
|
|
444
|
+
const HeterogeneousTargetDatabaseEngine = {
|
|
445
|
+
AMAZON_AURORA: "Amazon Aurora",
|
|
446
|
+
AWS_POSTGRESQL: "AWS PostgreSQL",
|
|
447
|
+
DB2_LUW: "Db2 LUW",
|
|
448
|
+
MARIA_DB: "MariaDB",
|
|
449
|
+
MICROSOFT_SQL_SERVER: "Microsoft SQL Server",
|
|
450
|
+
MONGO_DB: "MongoDB",
|
|
451
|
+
MYSQL: "MySQL",
|
|
452
|
+
NONE_SPECIFIED: "None specified",
|
|
453
|
+
ORACLE_DATABASE: "Oracle Database",
|
|
454
|
+
SAP: "SAP",
|
|
455
|
+
};
|
|
456
|
+
const HomogeneousTargetDatabaseEngine = {
|
|
457
|
+
NONE_SPECIFIED: "None specified",
|
|
458
|
+
};
|
|
459
|
+
const TargetDatabaseEngine = {
|
|
460
|
+
AMAZON_AURORA: "Amazon Aurora",
|
|
461
|
+
AWS_POSTGRESQL: "AWS PostgreSQL",
|
|
462
|
+
DB2_LUW: "Db2 LUW",
|
|
463
|
+
MARIA_DB: "MariaDB",
|
|
464
|
+
MICROSOFT_SQL_SERVER: "Microsoft SQL Server",
|
|
465
|
+
MONGO_DB: "MongoDB",
|
|
466
|
+
MYSQL: "MySQL",
|
|
467
|
+
NONE_SPECIFIED: "None specified",
|
|
468
|
+
ORACLE_DATABASE: "Oracle Database",
|
|
469
|
+
SAP: "SAP",
|
|
470
|
+
};
|
|
471
|
+
exports.DatabaseMigrationPreference = void 0;
|
|
472
|
+
(function (DatabaseMigrationPreference) {
|
|
473
|
+
DatabaseMigrationPreference.visit = (value, visitor) => {
|
|
474
|
+
if (value.heterogeneous !== undefined)
|
|
475
|
+
return visitor.heterogeneous(value.heterogeneous);
|
|
476
|
+
if (value.homogeneous !== undefined)
|
|
477
|
+
return visitor.homogeneous(value.homogeneous);
|
|
478
|
+
if (value.noPreference !== undefined)
|
|
479
|
+
return visitor.noPreference(value.noPreference);
|
|
480
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
481
|
+
};
|
|
482
|
+
})(exports.DatabaseMigrationPreference || (exports.DatabaseMigrationPreference = {}));
|
|
483
|
+
const RecommendationReportStatus = {
|
|
484
|
+
FAILED: "FAILED",
|
|
485
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
486
|
+
SUCCESS: "SUCCESS",
|
|
487
|
+
};
|
|
488
|
+
const ServerErrorCategory = {
|
|
489
|
+
ARCHITECTURE_ERROR: "ARCHITECTURE_ERROR",
|
|
490
|
+
CONNECTIVITY_ERROR: "CONNECTIVITY_ERROR",
|
|
491
|
+
CREDENTIAL_ERROR: "CREDENTIAL_ERROR",
|
|
492
|
+
OTHER_ERROR: "OTHER_ERROR",
|
|
493
|
+
PERMISSION_ERROR: "PERMISSION_ERROR",
|
|
494
|
+
};
|
|
495
|
+
const OSType = {
|
|
496
|
+
LINUX: "LINUX",
|
|
497
|
+
WINDOWS: "WINDOWS",
|
|
498
|
+
};
|
|
499
|
+
const SortOrder = {
|
|
500
|
+
ASC: "ASC",
|
|
501
|
+
DESC: "DESC",
|
|
502
|
+
};
|
|
503
|
+
const GroupName = {
|
|
504
|
+
EXTERNAL_ID: "ExternalId",
|
|
505
|
+
EXTERNAL_SOURCE_TYPE: "ExternalSourceType",
|
|
506
|
+
};
|
|
507
|
+
class ServiceLinkedRoleLockClientException extends MigrationHubStrategyServiceException {
|
|
508
|
+
name = "ServiceLinkedRoleLockClientException";
|
|
509
|
+
$fault = "client";
|
|
510
|
+
constructor(opts) {
|
|
511
|
+
super({
|
|
512
|
+
name: "ServiceLinkedRoleLockClientException",
|
|
513
|
+
$fault: "client",
|
|
514
|
+
...opts,
|
|
515
|
+
});
|
|
516
|
+
Object.setPrototypeOf(this, ServiceLinkedRoleLockClientException.prototype);
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
const CollectorHealth = {
|
|
520
|
+
COLLECTOR_HEALTHY: "COLLECTOR_HEALTHY",
|
|
521
|
+
COLLECTOR_UNHEALTHY: "COLLECTOR_UNHEALTHY",
|
|
522
|
+
};
|
|
523
|
+
const PipelineType = {
|
|
524
|
+
AZURE_DEVOPS: "AZURE_DEVOPS",
|
|
525
|
+
};
|
|
526
|
+
const VersionControlType = {
|
|
527
|
+
AZURE_DEVOPS_GIT: "AZURE_DEVOPS_GIT",
|
|
528
|
+
GITHUB: "GITHUB",
|
|
529
|
+
GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE",
|
|
530
|
+
};
|
|
531
|
+
const ServerCriteria = {
|
|
532
|
+
ANALYSIS_STATUS: "ANALYSIS_STATUS",
|
|
533
|
+
DESTINATION: "DESTINATION",
|
|
534
|
+
ERROR_CATEGORY: "ERROR_CATEGORY",
|
|
535
|
+
NOT_DEFINED: "NOT_DEFINED",
|
|
536
|
+
OS_NAME: "OS_NAME",
|
|
537
|
+
SERVER_ID: "SERVER_ID",
|
|
538
|
+
STRATEGY: "STRATEGY",
|
|
539
|
+
};
|
|
540
|
+
class ConflictException extends MigrationHubStrategyServiceException {
|
|
541
|
+
name = "ConflictException";
|
|
542
|
+
$fault = "client";
|
|
543
|
+
constructor(opts) {
|
|
544
|
+
super({
|
|
545
|
+
name: "ConflictException",
|
|
546
|
+
$fault: "client",
|
|
547
|
+
...opts,
|
|
548
|
+
});
|
|
549
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
class ServiceQuotaExceededException extends MigrationHubStrategyServiceException {
|
|
553
|
+
name = "ServiceQuotaExceededException";
|
|
554
|
+
$fault = "client";
|
|
555
|
+
constructor(opts) {
|
|
556
|
+
super({
|
|
557
|
+
name: "ServiceQuotaExceededException",
|
|
558
|
+
$fault: "client",
|
|
559
|
+
...opts,
|
|
560
|
+
});
|
|
561
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
const DataSourceType = {
|
|
565
|
+
ADS: "ApplicationDiscoveryService",
|
|
566
|
+
IMPORT: "Import",
|
|
567
|
+
MHSR_COLLECTOR: "StrategyRecommendationsApplicationDataCollector",
|
|
568
|
+
MPA: "MPA",
|
|
569
|
+
};
|
|
570
|
+
const OutputFormat = {
|
|
571
|
+
Excel: "Excel",
|
|
572
|
+
Json: "Json",
|
|
573
|
+
};
|
|
574
|
+
const VersionControl = {
|
|
575
|
+
AZURE_DEVOPS_GIT: "AZURE_DEVOPS_GIT",
|
|
576
|
+
GITHUB: "GITHUB",
|
|
577
|
+
GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE",
|
|
578
|
+
};
|
|
579
|
+
const UpdateApplicationComponentConfigRequestFilterSensitiveLog = (obj) => ({
|
|
580
|
+
...obj,
|
|
581
|
+
...(obj.secretsManagerKey && { secretsManagerKey: smithyClient.SENSITIVE_STRING }),
|
|
114
582
|
});
|
|
115
|
-
module.exports = __toCommonJS(index_exports);
|
|
116
|
-
|
|
117
|
-
// src/MigrationHubStrategyClient.ts
|
|
118
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
119
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
120
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
121
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
122
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
123
|
-
var import_core = require("@smithy/core");
|
|
124
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
125
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
126
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
127
583
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
584
|
+
const se_GetApplicationComponentDetailsCommand = async (input, context) => {
|
|
585
|
+
const b = core.requestBuilder(input, context);
|
|
586
|
+
const headers = {};
|
|
587
|
+
b.bp("/get-applicationcomponent-details/{applicationComponentId}");
|
|
588
|
+
b.p("applicationComponentId", () => input.applicationComponentId, "{applicationComponentId}", false);
|
|
589
|
+
let body;
|
|
590
|
+
b.m("GET").h(headers).b(body);
|
|
591
|
+
return b.build();
|
|
592
|
+
};
|
|
593
|
+
const se_GetApplicationComponentStrategiesCommand = async (input, context) => {
|
|
594
|
+
const b = core.requestBuilder(input, context);
|
|
595
|
+
const headers = {};
|
|
596
|
+
b.bp("/get-applicationcomponent-strategies/{applicationComponentId}");
|
|
597
|
+
b.p("applicationComponentId", () => input.applicationComponentId, "{applicationComponentId}", false);
|
|
598
|
+
let body;
|
|
599
|
+
b.m("GET").h(headers).b(body);
|
|
600
|
+
return b.build();
|
|
601
|
+
};
|
|
602
|
+
const se_GetAssessmentCommand = async (input, context) => {
|
|
603
|
+
const b = core.requestBuilder(input, context);
|
|
604
|
+
const headers = {};
|
|
605
|
+
b.bp("/get-assessment/{id}");
|
|
606
|
+
b.p("id", () => input.id, "{id}", false);
|
|
607
|
+
let body;
|
|
608
|
+
b.m("GET").h(headers).b(body);
|
|
609
|
+
return b.build();
|
|
610
|
+
};
|
|
611
|
+
const se_GetImportFileTaskCommand = async (input, context) => {
|
|
612
|
+
const b = core.requestBuilder(input, context);
|
|
613
|
+
const headers = {};
|
|
614
|
+
b.bp("/get-import-file-task/{id}");
|
|
615
|
+
b.p("id", () => input.id, "{id}", false);
|
|
616
|
+
let body;
|
|
617
|
+
b.m("GET").h(headers).b(body);
|
|
618
|
+
return b.build();
|
|
619
|
+
};
|
|
620
|
+
const se_GetLatestAssessmentIdCommand = async (input, context) => {
|
|
621
|
+
const b = core.requestBuilder(input, context);
|
|
622
|
+
const headers = {};
|
|
623
|
+
b.bp("/get-latest-assessment-id");
|
|
624
|
+
let body;
|
|
625
|
+
b.m("GET").h(headers).b(body);
|
|
626
|
+
return b.build();
|
|
627
|
+
};
|
|
628
|
+
const se_GetPortfolioPreferencesCommand = async (input, context) => {
|
|
629
|
+
const b = core.requestBuilder(input, context);
|
|
630
|
+
const headers = {};
|
|
631
|
+
b.bp("/get-portfolio-preferences");
|
|
632
|
+
let body;
|
|
633
|
+
b.m("GET").h(headers).b(body);
|
|
634
|
+
return b.build();
|
|
635
|
+
};
|
|
636
|
+
const se_GetPortfolioSummaryCommand = async (input, context) => {
|
|
637
|
+
const b = core.requestBuilder(input, context);
|
|
638
|
+
const headers = {};
|
|
639
|
+
b.bp("/get-portfolio-summary");
|
|
640
|
+
let body;
|
|
641
|
+
b.m("GET").h(headers).b(body);
|
|
642
|
+
return b.build();
|
|
643
|
+
};
|
|
644
|
+
const se_GetRecommendationReportDetailsCommand = async (input, context) => {
|
|
645
|
+
const b = core.requestBuilder(input, context);
|
|
646
|
+
const headers = {};
|
|
647
|
+
b.bp("/get-recommendation-report-details/{id}");
|
|
648
|
+
b.p("id", () => input.id, "{id}", false);
|
|
649
|
+
let body;
|
|
650
|
+
b.m("GET").h(headers).b(body);
|
|
651
|
+
return b.build();
|
|
652
|
+
};
|
|
653
|
+
const se_GetServerDetailsCommand = async (input, context) => {
|
|
654
|
+
const b = core.requestBuilder(input, context);
|
|
655
|
+
const headers = {};
|
|
656
|
+
b.bp("/get-server-details/{serverId}");
|
|
657
|
+
b.p("serverId", () => input.serverId, "{serverId}", false);
|
|
658
|
+
const query = smithyClient.map({
|
|
659
|
+
[_nT]: [, input[_nT]],
|
|
660
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
661
|
+
});
|
|
662
|
+
let body;
|
|
663
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
664
|
+
return b.build();
|
|
665
|
+
};
|
|
666
|
+
const se_GetServerStrategiesCommand = async (input, context) => {
|
|
667
|
+
const b = core.requestBuilder(input, context);
|
|
668
|
+
const headers = {};
|
|
669
|
+
b.bp("/get-server-strategies/{serverId}");
|
|
670
|
+
b.p("serverId", () => input.serverId, "{serverId}", false);
|
|
671
|
+
let body;
|
|
672
|
+
b.m("GET").h(headers).b(body);
|
|
673
|
+
return b.build();
|
|
674
|
+
};
|
|
675
|
+
const se_ListAnalyzableServersCommand = async (input, context) => {
|
|
676
|
+
const b = core.requestBuilder(input, context);
|
|
677
|
+
const headers = {
|
|
678
|
+
"content-type": "application/json",
|
|
679
|
+
};
|
|
680
|
+
b.bp("/list-analyzable-servers");
|
|
681
|
+
let body;
|
|
682
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
683
|
+
maxResults: [],
|
|
684
|
+
nextToken: [],
|
|
685
|
+
sort: [],
|
|
686
|
+
}));
|
|
687
|
+
b.m("POST").h(headers).b(body);
|
|
688
|
+
return b.build();
|
|
689
|
+
};
|
|
690
|
+
const se_ListApplicationComponentsCommand = async (input, context) => {
|
|
691
|
+
const b = core.requestBuilder(input, context);
|
|
692
|
+
const headers = {
|
|
693
|
+
"content-type": "application/json",
|
|
694
|
+
};
|
|
695
|
+
b.bp("/list-applicationcomponents");
|
|
696
|
+
let body;
|
|
697
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
698
|
+
applicationComponentCriteria: [],
|
|
699
|
+
filterValue: [],
|
|
700
|
+
groupIdFilter: (_) => smithyClient._json(_),
|
|
701
|
+
maxResults: [],
|
|
702
|
+
nextToken: [],
|
|
703
|
+
sort: [],
|
|
704
|
+
}));
|
|
705
|
+
b.m("POST").h(headers).b(body);
|
|
706
|
+
return b.build();
|
|
707
|
+
};
|
|
708
|
+
const se_ListCollectorsCommand = async (input, context) => {
|
|
709
|
+
const b = core.requestBuilder(input, context);
|
|
710
|
+
const headers = {};
|
|
711
|
+
b.bp("/list-collectors");
|
|
712
|
+
const query = smithyClient.map({
|
|
713
|
+
[_nT]: [, input[_nT]],
|
|
714
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
715
|
+
});
|
|
716
|
+
let body;
|
|
717
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
718
|
+
return b.build();
|
|
719
|
+
};
|
|
720
|
+
const se_ListImportFileTaskCommand = async (input, context) => {
|
|
721
|
+
const b = core.requestBuilder(input, context);
|
|
722
|
+
const headers = {};
|
|
723
|
+
b.bp("/list-import-file-task");
|
|
724
|
+
const query = smithyClient.map({
|
|
725
|
+
[_nT]: [, input[_nT]],
|
|
726
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
727
|
+
});
|
|
728
|
+
let body;
|
|
729
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
730
|
+
return b.build();
|
|
731
|
+
};
|
|
732
|
+
const se_ListServersCommand = async (input, context) => {
|
|
733
|
+
const b = core.requestBuilder(input, context);
|
|
734
|
+
const headers = {
|
|
735
|
+
"content-type": "application/json",
|
|
736
|
+
};
|
|
737
|
+
b.bp("/list-servers");
|
|
738
|
+
let body;
|
|
739
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
740
|
+
filterValue: [],
|
|
741
|
+
groupIdFilter: (_) => smithyClient._json(_),
|
|
742
|
+
maxResults: [],
|
|
743
|
+
nextToken: [],
|
|
744
|
+
serverCriteria: [],
|
|
745
|
+
sort: [],
|
|
746
|
+
}));
|
|
747
|
+
b.m("POST").h(headers).b(body);
|
|
748
|
+
return b.build();
|
|
749
|
+
};
|
|
750
|
+
const se_PutPortfolioPreferencesCommand = async (input, context) => {
|
|
751
|
+
const b = core.requestBuilder(input, context);
|
|
752
|
+
const headers = {
|
|
753
|
+
"content-type": "application/json",
|
|
754
|
+
};
|
|
755
|
+
b.bp("/put-portfolio-preferences");
|
|
756
|
+
let body;
|
|
757
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
758
|
+
applicationMode: [],
|
|
759
|
+
applicationPreferences: (_) => smithyClient._json(_),
|
|
760
|
+
databasePreferences: (_) => smithyClient._json(_),
|
|
761
|
+
prioritizeBusinessGoals: (_) => smithyClient._json(_),
|
|
762
|
+
}));
|
|
763
|
+
b.m("POST").h(headers).b(body);
|
|
764
|
+
return b.build();
|
|
765
|
+
};
|
|
766
|
+
const se_StartAssessmentCommand = async (input, context) => {
|
|
767
|
+
const b = core.requestBuilder(input, context);
|
|
768
|
+
const headers = {
|
|
769
|
+
"content-type": "application/json",
|
|
770
|
+
};
|
|
771
|
+
b.bp("/start-assessment");
|
|
772
|
+
let body;
|
|
773
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
774
|
+
assessmentDataSourceType: [],
|
|
775
|
+
assessmentTargets: (_) => smithyClient._json(_),
|
|
776
|
+
s3bucketForAnalysisData: [],
|
|
777
|
+
s3bucketForReportData: [],
|
|
778
|
+
}));
|
|
779
|
+
b.m("POST").h(headers).b(body);
|
|
780
|
+
return b.build();
|
|
781
|
+
};
|
|
782
|
+
const se_StartImportFileTaskCommand = async (input, context) => {
|
|
783
|
+
const b = core.requestBuilder(input, context);
|
|
784
|
+
const headers = {
|
|
785
|
+
"content-type": "application/json",
|
|
786
|
+
};
|
|
787
|
+
b.bp("/start-import-file-task");
|
|
788
|
+
let body;
|
|
789
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
790
|
+
S3Bucket: [],
|
|
791
|
+
dataSourceType: [],
|
|
792
|
+
groupId: (_) => smithyClient._json(_),
|
|
793
|
+
name: [],
|
|
794
|
+
s3bucketForReportData: [],
|
|
795
|
+
s3key: [],
|
|
796
|
+
}));
|
|
797
|
+
b.m("POST").h(headers).b(body);
|
|
798
|
+
return b.build();
|
|
799
|
+
};
|
|
800
|
+
const se_StartRecommendationReportGenerationCommand = async (input, context) => {
|
|
801
|
+
const b = core.requestBuilder(input, context);
|
|
802
|
+
const headers = {
|
|
803
|
+
"content-type": "application/json",
|
|
804
|
+
};
|
|
805
|
+
b.bp("/start-recommendation-report-generation");
|
|
806
|
+
let body;
|
|
807
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
808
|
+
groupIdFilter: (_) => smithyClient._json(_),
|
|
809
|
+
outputFormat: [],
|
|
810
|
+
}));
|
|
811
|
+
b.m("POST").h(headers).b(body);
|
|
812
|
+
return b.build();
|
|
813
|
+
};
|
|
814
|
+
const se_StopAssessmentCommand = async (input, context) => {
|
|
815
|
+
const b = core.requestBuilder(input, context);
|
|
816
|
+
const headers = {
|
|
817
|
+
"content-type": "application/json",
|
|
818
|
+
};
|
|
819
|
+
b.bp("/stop-assessment");
|
|
820
|
+
let body;
|
|
821
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
822
|
+
assessmentId: [],
|
|
823
|
+
}));
|
|
824
|
+
b.m("POST").h(headers).b(body);
|
|
825
|
+
return b.build();
|
|
826
|
+
};
|
|
827
|
+
const se_UpdateApplicationComponentConfigCommand = async (input, context) => {
|
|
828
|
+
const b = core.requestBuilder(input, context);
|
|
829
|
+
const headers = {
|
|
830
|
+
"content-type": "application/json",
|
|
831
|
+
};
|
|
832
|
+
b.bp("/update-applicationcomponent-config");
|
|
833
|
+
let body;
|
|
834
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
835
|
+
appType: [],
|
|
836
|
+
applicationComponentId: [],
|
|
837
|
+
configureOnly: [],
|
|
838
|
+
inclusionStatus: [],
|
|
839
|
+
secretsManagerKey: [],
|
|
840
|
+
sourceCodeList: (_) => smithyClient._json(_),
|
|
841
|
+
strategyOption: (_) => smithyClient._json(_),
|
|
842
|
+
}));
|
|
843
|
+
b.m("POST").h(headers).b(body);
|
|
844
|
+
return b.build();
|
|
845
|
+
};
|
|
846
|
+
const se_UpdateServerConfigCommand = async (input, context) => {
|
|
847
|
+
const b = core.requestBuilder(input, context);
|
|
848
|
+
const headers = {
|
|
849
|
+
"content-type": "application/json",
|
|
850
|
+
};
|
|
851
|
+
b.bp("/update-server-config");
|
|
852
|
+
let body;
|
|
853
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
854
|
+
serverId: [],
|
|
855
|
+
strategyOption: (_) => smithyClient._json(_),
|
|
856
|
+
}));
|
|
857
|
+
b.m("POST").h(headers).b(body);
|
|
858
|
+
return b.build();
|
|
859
|
+
};
|
|
860
|
+
const de_GetApplicationComponentDetailsCommand = async (output, context) => {
|
|
861
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
862
|
+
return de_CommandError(output, context);
|
|
863
|
+
}
|
|
864
|
+
const contents = smithyClient.map({
|
|
865
|
+
$metadata: deserializeMetadata(output),
|
|
866
|
+
});
|
|
867
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
868
|
+
const doc = smithyClient.take(data, {
|
|
869
|
+
applicationComponentDetail: (_) => de_ApplicationComponentDetail(_),
|
|
870
|
+
associatedApplications: smithyClient._json,
|
|
871
|
+
associatedServerIds: smithyClient._json,
|
|
872
|
+
moreApplicationResource: smithyClient.expectBoolean,
|
|
873
|
+
});
|
|
874
|
+
Object.assign(contents, doc);
|
|
875
|
+
return contents;
|
|
143
876
|
};
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
// src/runtimeExtensions.ts
|
|
149
|
-
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
150
|
-
var import_protocol_http = require("@smithy/protocol-http");
|
|
151
|
-
var import_smithy_client = require("@smithy/smithy-client");
|
|
152
|
-
|
|
153
|
-
// src/auth/httpAuthExtensionConfiguration.ts
|
|
154
|
-
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
155
|
-
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
156
|
-
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
157
|
-
let _credentials = runtimeConfig.credentials;
|
|
158
|
-
return {
|
|
159
|
-
setHttpAuthScheme(httpAuthScheme) {
|
|
160
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
161
|
-
if (index === -1) {
|
|
162
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
|
163
|
-
} else {
|
|
164
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
httpAuthSchemes() {
|
|
168
|
-
return _httpAuthSchemes;
|
|
169
|
-
},
|
|
170
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
171
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
172
|
-
},
|
|
173
|
-
httpAuthSchemeProvider() {
|
|
174
|
-
return _httpAuthSchemeProvider;
|
|
175
|
-
},
|
|
176
|
-
setCredentials(credentials) {
|
|
177
|
-
_credentials = credentials;
|
|
178
|
-
},
|
|
179
|
-
credentials() {
|
|
180
|
-
return _credentials;
|
|
877
|
+
const de_GetApplicationComponentStrategiesCommand = async (output, context) => {
|
|
878
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
879
|
+
return de_CommandError(output, context);
|
|
181
880
|
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
// src/runtimeExtensions.ts
|
|
193
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
194
|
-
const extensionConfiguration = Object.assign(
|
|
195
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
196
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
197
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
198
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
199
|
-
);
|
|
200
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
201
|
-
return Object.assign(
|
|
202
|
-
runtimeConfig,
|
|
203
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
204
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
205
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
206
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
207
|
-
);
|
|
208
|
-
}, "resolveRuntimeExtensions");
|
|
209
|
-
|
|
210
|
-
// src/MigrationHubStrategyClient.ts
|
|
211
|
-
var MigrationHubStrategyClient = class extends import_smithy_client.Client {
|
|
212
|
-
static {
|
|
213
|
-
__name(this, "MigrationHubStrategyClient");
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* The resolved configuration of MigrationHubStrategyClient class. This is resolved and normalized from the {@link MigrationHubStrategyClientConfig | constructor configuration interface}.
|
|
217
|
-
*/
|
|
218
|
-
config;
|
|
219
|
-
constructor(...[configuration]) {
|
|
220
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
221
|
-
super(_config_0);
|
|
222
|
-
this.initConfig = _config_0;
|
|
223
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
224
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
225
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
226
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
227
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
228
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
229
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
230
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
231
|
-
this.config = _config_8;
|
|
232
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
233
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
234
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
235
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
236
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
237
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
238
|
-
this.middlewareStack.use(
|
|
239
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
240
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultMigrationHubStrategyHttpAuthSchemeParametersProvider,
|
|
241
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
242
|
-
"aws.auth#sigv4": config.credentials
|
|
243
|
-
}), "identityProviderConfigProvider")
|
|
244
|
-
})
|
|
245
|
-
);
|
|
246
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
250
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
251
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
252
|
-
*/
|
|
253
|
-
destroy() {
|
|
254
|
-
super.destroy();
|
|
255
|
-
}
|
|
881
|
+
const contents = smithyClient.map({
|
|
882
|
+
$metadata: deserializeMetadata(output),
|
|
883
|
+
});
|
|
884
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
885
|
+
const doc = smithyClient.take(data, {
|
|
886
|
+
applicationComponentStrategies: smithyClient._json,
|
|
887
|
+
});
|
|
888
|
+
Object.assign(contents, doc);
|
|
889
|
+
return contents;
|
|
256
890
|
};
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
var MigrationHubStrategyServiceException = class _MigrationHubStrategyServiceException extends import_smithy_client.ServiceException {
|
|
274
|
-
static {
|
|
275
|
-
__name(this, "MigrationHubStrategyServiceException");
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* @internal
|
|
279
|
-
*/
|
|
280
|
-
constructor(options) {
|
|
281
|
-
super(options);
|
|
282
|
-
Object.setPrototypeOf(this, _MigrationHubStrategyServiceException.prototype);
|
|
283
|
-
}
|
|
891
|
+
const de_GetAssessmentCommand = async (output, context) => {
|
|
892
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
893
|
+
return de_CommandError(output, context);
|
|
894
|
+
}
|
|
895
|
+
const contents = smithyClient.map({
|
|
896
|
+
$metadata: deserializeMetadata(output),
|
|
897
|
+
});
|
|
898
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
899
|
+
const doc = smithyClient.take(data, {
|
|
900
|
+
assessmentTargets: smithyClient._json,
|
|
901
|
+
dataCollectionDetails: (_) => de_DataCollectionDetails(_),
|
|
902
|
+
id: smithyClient.expectString,
|
|
903
|
+
});
|
|
904
|
+
Object.assign(contents, doc);
|
|
905
|
+
return contents;
|
|
284
906
|
};
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
};
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
ANALYSIS_STARTED: "ANALYSIS_STARTED",
|
|
309
|
-
ANALYSIS_SUCCESS: "ANALYSIS_SUCCESS",
|
|
310
|
-
ANALYSIS_TO_BE_SCHEDULED: "ANALYSIS_TO_BE_SCHEDULED"
|
|
311
|
-
};
|
|
312
|
-
var SrcCodeOrDbAnalysisStatus = {
|
|
313
|
-
ANALYSIS_FAILED: "ANALYSIS_FAILED",
|
|
314
|
-
ANALYSIS_PARTIAL_SUCCESS: "ANALYSIS_PARTIAL_SUCCESS",
|
|
315
|
-
ANALYSIS_STARTED: "ANALYSIS_STARTED",
|
|
316
|
-
ANALYSIS_SUCCESS: "ANALYSIS_SUCCESS",
|
|
317
|
-
ANALYSIS_TO_BE_SCHEDULED: "ANALYSIS_TO_BE_SCHEDULED",
|
|
318
|
-
CONFIGURED: "CONFIGURED",
|
|
319
|
-
UNCONFIGURED: "UNCONFIGURED"
|
|
320
|
-
};
|
|
321
|
-
var AnalysisStatusUnion;
|
|
322
|
-
((AnalysisStatusUnion2) => {
|
|
323
|
-
AnalysisStatusUnion2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
324
|
-
if (value.runtimeAnalysisStatus !== void 0) return visitor.runtimeAnalysisStatus(value.runtimeAnalysisStatus);
|
|
325
|
-
if (value.srcCodeOrDbAnalysisStatus !== void 0)
|
|
326
|
-
return visitor.srcCodeOrDbAnalysisStatus(value.srcCodeOrDbAnalysisStatus);
|
|
327
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
328
|
-
}, "visit");
|
|
329
|
-
})(AnalysisStatusUnion || (AnalysisStatusUnion = {}));
|
|
330
|
-
var AnalysisType = {
|
|
331
|
-
BINARY_ANALYSIS: "BINARY_ANALYSIS",
|
|
332
|
-
DATABASE_ANALYSIS: "DATABASE_ANALYSIS",
|
|
333
|
-
RUNTIME_ANALYSIS: "RUNTIME_ANALYSIS",
|
|
334
|
-
SOURCE_CODE_ANALYSIS: "SOURCE_CODE_ANALYSIS"
|
|
335
|
-
};
|
|
336
|
-
var BinaryAnalyzerName = {
|
|
337
|
-
BYTECODE_ANALYZER: "BYTECODE_ANALYZER",
|
|
338
|
-
DLL_ANALYZER: "DLL_ANALYZER"
|
|
339
|
-
};
|
|
340
|
-
var RunTimeAnalyzerName = {
|
|
341
|
-
A2C_ANALYZER: "A2C_ANALYZER",
|
|
342
|
-
DATABASE_ANALYZER: "DATABASE_ANALYZER",
|
|
343
|
-
EMP_PA_ANALYZER: "EMP_PA_ANALYZER",
|
|
344
|
-
REHOST_ANALYZER: "REHOST_ANALYZER",
|
|
345
|
-
SCT_ANALYZER: "SCT_ANALYZER"
|
|
346
|
-
};
|
|
347
|
-
var SourceCodeAnalyzerName = {
|
|
348
|
-
BYTECODE_ANALYZER: "BYTECODE_ANALYZER",
|
|
349
|
-
CSHARP_ANALYZER: "CSHARP_ANALYZER",
|
|
350
|
-
JAVA_ANALYZER: "JAVA_ANALYZER",
|
|
351
|
-
PORTING_ASSISTANT: "PORTING_ASSISTANT"
|
|
352
|
-
};
|
|
353
|
-
var AnalyzerNameUnion;
|
|
354
|
-
((AnalyzerNameUnion2) => {
|
|
355
|
-
AnalyzerNameUnion2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
356
|
-
if (value.binaryAnalyzerName !== void 0) return visitor.binaryAnalyzerName(value.binaryAnalyzerName);
|
|
357
|
-
if (value.runTimeAnalyzerName !== void 0) return visitor.runTimeAnalyzerName(value.runTimeAnalyzerName);
|
|
358
|
-
if (value.sourceCodeAnalyzerName !== void 0) return visitor.sourceCodeAnalyzerName(value.sourceCodeAnalyzerName);
|
|
359
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
360
|
-
}, "visit");
|
|
361
|
-
})(AnalyzerNameUnion || (AnalyzerNameUnion = {}));
|
|
362
|
-
var AntipatternReportStatus = {
|
|
363
|
-
FAILED: "FAILED",
|
|
364
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
365
|
-
SUCCESS: "SUCCESS"
|
|
366
|
-
};
|
|
367
|
-
var Severity = {
|
|
368
|
-
HIGH: "HIGH",
|
|
369
|
-
LOW: "LOW",
|
|
370
|
-
MEDIUM: "MEDIUM"
|
|
371
|
-
};
|
|
372
|
-
var ApplicationComponentCriteria = {
|
|
373
|
-
ANALYSIS_STATUS: "ANALYSIS_STATUS",
|
|
374
|
-
APP_NAME: "APP_NAME",
|
|
375
|
-
APP_TYPE: "APP_TYPE",
|
|
376
|
-
DESTINATION: "DESTINATION",
|
|
377
|
-
ERROR_CATEGORY: "ERROR_CATEGORY",
|
|
378
|
-
NOT_DEFINED: "NOT_DEFINED",
|
|
379
|
-
SERVER_ID: "SERVER_ID",
|
|
380
|
-
STRATEGY: "STRATEGY"
|
|
381
|
-
};
|
|
382
|
-
var AppType = {
|
|
383
|
-
IIS: "IIS",
|
|
384
|
-
cassandra: "Cassandra",
|
|
385
|
-
db2: "DB2",
|
|
386
|
-
dotNetFramework: "DotNetFramework",
|
|
387
|
-
dotnet: "Dotnet",
|
|
388
|
-
dotnetcore: "DotnetCore",
|
|
389
|
-
java: "Java",
|
|
390
|
-
jboss: "JBoss",
|
|
391
|
-
mariadb: "Maria DB",
|
|
392
|
-
mongodb: "Mongo DB",
|
|
393
|
-
mysql: "MySQL",
|
|
394
|
-
oracle: "Oracle",
|
|
395
|
-
other: "Other",
|
|
396
|
-
postgresqlserver: "PostgreSQLServer",
|
|
397
|
-
spring: "Spring",
|
|
398
|
-
sqlServer: "SQLServer",
|
|
399
|
-
sybase: "Sybase",
|
|
400
|
-
tomcat: "Tomcat",
|
|
401
|
-
unknown: "Unknown",
|
|
402
|
-
visualbasic: "Visual Basic",
|
|
403
|
-
weblogic: "Oracle WebLogic",
|
|
404
|
-
websphere: "IBM WebSphere"
|
|
405
|
-
};
|
|
406
|
-
var AppUnitErrorCategory = {
|
|
407
|
-
CONNECTIVITY_ERROR: "CONNECTIVITY_ERROR",
|
|
408
|
-
CREDENTIAL_ERROR: "CREDENTIAL_ERROR",
|
|
409
|
-
OTHER_ERROR: "OTHER_ERROR",
|
|
410
|
-
PERMISSION_ERROR: "PERMISSION_ERROR",
|
|
411
|
-
UNSUPPORTED_ERROR: "UNSUPPORTED_ERROR"
|
|
412
|
-
};
|
|
413
|
-
var InclusionStatus = {
|
|
414
|
-
EXCLUDE_FROM_RECOMMENDATION: "excludeFromAssessment",
|
|
415
|
-
INCLUDE_IN_RECOMMENDATION: "includeInAssessment"
|
|
416
|
-
};
|
|
417
|
-
var Strategy = {
|
|
418
|
-
REFACTOR: "Refactor",
|
|
419
|
-
REHOST: "Rehost",
|
|
420
|
-
RELOCATE: "Relocate",
|
|
421
|
-
REPLATFORM: "Replatform",
|
|
422
|
-
REPURCHASE: "Repurchase",
|
|
423
|
-
RETAIN: "Retain",
|
|
424
|
-
RETIREMENT: "Retirement"
|
|
425
|
-
};
|
|
426
|
-
var TargetDestination = {
|
|
427
|
-
AMAZON_DOCUMENTDB: "Amazon DocumentDB",
|
|
428
|
-
AMAZON_DYNAMODB: "Amazon DynamoDB",
|
|
429
|
-
AMAZON_ELASTIC_CLOUD_COMPUTE: "Amazon Elastic Cloud Compute (EC2)",
|
|
430
|
-
AMAZON_ELASTIC_CONTAINER_SERVICE: "Amazon Elastic Container Service (ECS)",
|
|
431
|
-
AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",
|
|
432
|
-
AMAZON_RDS: "Amazon Relational Database Service",
|
|
433
|
-
AMAZON_RDS_MYSQL: "Amazon Relational Database Service on MySQL",
|
|
434
|
-
AMAZON_RDS_POSTGRESQL: "Amazon Relational Database Service on PostgreSQL",
|
|
435
|
-
AURORA_MYSQL: "Aurora MySQL",
|
|
436
|
-
AURORA_POSTGRESQL: "Aurora PostgreSQL",
|
|
437
|
-
AWS_ELASTIC_BEANSTALK: "AWS Elastic BeanStalk",
|
|
438
|
-
AWS_FARGATE: "AWS Fargate",
|
|
439
|
-
BABELFISH_AURORA_POSTGRESQL: "Babelfish for Aurora PostgreSQL",
|
|
440
|
-
NONE_SPECIFIED: "None specified"
|
|
441
|
-
};
|
|
442
|
-
var TransformationToolName = {
|
|
443
|
-
APP2CONTAINER: "App2Container",
|
|
444
|
-
DMS: "Database Migration Service",
|
|
445
|
-
EMP: "End of Support Migration",
|
|
446
|
-
IN_PLACE_OS_UPGRADE: "In Place Operating System Upgrade",
|
|
447
|
-
MGN: "Application Migration Service",
|
|
448
|
-
NATIVE_SQL: "Native SQL Server Backup/Restore",
|
|
449
|
-
PORTING_ASSISTANT: "Porting Assistant For .NET",
|
|
450
|
-
SCT: "Schema Conversion Tool",
|
|
451
|
-
STRATEGY_RECOMMENDATION_SUPPORT: "Strategy Recommendation Support",
|
|
452
|
-
WWAMA: "Windows Web Application Migration Assistant"
|
|
453
|
-
};
|
|
454
|
-
var ResourceSubType = {
|
|
455
|
-
DATABASE: "Database",
|
|
456
|
-
DATABASE_PROCESS: "DatabaseProcess",
|
|
457
|
-
PROCESS: "Process"
|
|
458
|
-
};
|
|
459
|
-
var StrategyRecommendation = {
|
|
460
|
-
NOT_RECOMMENDED: "notRecommended",
|
|
461
|
-
POTENTIAL: "potential",
|
|
462
|
-
RECOMMENDED: "recommended",
|
|
463
|
-
VIABLE_OPTION: "viableOption"
|
|
464
|
-
};
|
|
465
|
-
var ApplicationMode = {
|
|
466
|
-
ALL: "ALL",
|
|
467
|
-
KNOWN: "KNOWN",
|
|
468
|
-
UNKNOWN: "UNKNOWN"
|
|
469
|
-
};
|
|
470
|
-
var AwsManagedTargetDestination = {
|
|
471
|
-
AWS_ELASTIC_BEANSTALK: "AWS Elastic BeanStalk",
|
|
472
|
-
AWS_FARGATE: "AWS Fargate",
|
|
473
|
-
NONE_SPECIFIED: "None specified"
|
|
474
|
-
};
|
|
475
|
-
var NoPreferenceTargetDestination = {
|
|
476
|
-
AMAZON_ELASTIC_CLOUD_COMPUTE: "Amazon Elastic Cloud Compute (EC2)",
|
|
477
|
-
AMAZON_ELASTIC_CONTAINER_SERVICE: "Amazon Elastic Container Service (ECS)",
|
|
478
|
-
AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",
|
|
479
|
-
AWS_ELASTIC_BEANSTALK: "AWS Elastic BeanStalk",
|
|
480
|
-
AWS_FARGATE: "AWS Fargate",
|
|
481
|
-
NONE_SPECIFIED: "None specified"
|
|
482
|
-
};
|
|
483
|
-
var SelfManageTargetDestination = {
|
|
484
|
-
AMAZON_ELASTIC_CLOUD_COMPUTE: "Amazon Elastic Cloud Compute (EC2)",
|
|
485
|
-
AMAZON_ELASTIC_CONTAINER_SERVICE: "Amazon Elastic Container Service (ECS)",
|
|
486
|
-
AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",
|
|
487
|
-
NONE_SPECIFIED: "None specified"
|
|
488
|
-
};
|
|
489
|
-
var ManagementPreference;
|
|
490
|
-
((ManagementPreference3) => {
|
|
491
|
-
ManagementPreference3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
492
|
-
if (value.awsManagedResources !== void 0) return visitor.awsManagedResources(value.awsManagedResources);
|
|
493
|
-
if (value.selfManageResources !== void 0) return visitor.selfManageResources(value.selfManageResources);
|
|
494
|
-
if (value.noPreference !== void 0) return visitor.noPreference(value.noPreference);
|
|
495
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
496
|
-
}, "visit");
|
|
497
|
-
})(ManagementPreference || (ManagementPreference = {}));
|
|
498
|
-
var AssessmentDataSourceType = {
|
|
499
|
-
ADS: "ApplicationDiscoveryService",
|
|
500
|
-
MANUAL_IMPORT: "ManualImport",
|
|
501
|
-
SR_COLLECTOR: "StrategyRecommendationsApplicationDataCollector"
|
|
502
|
-
};
|
|
503
|
-
var AssessmentStatus = {
|
|
504
|
-
COMPLETE: "COMPLETE",
|
|
505
|
-
FAILED: "FAILED",
|
|
506
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
507
|
-
STOPPED: "STOPPED"
|
|
508
|
-
};
|
|
509
|
-
var RunTimeAssessmentStatus = {
|
|
510
|
-
DC_FAILED: "dataCollectionTaskFailed",
|
|
511
|
-
DC_PARTIAL_SUCCESS: "dataCollectionTaskPartialSuccess",
|
|
512
|
-
DC_REQ_SENT: "dataCollectionTaskScheduled",
|
|
513
|
-
DC_STARTED: "dataCollectionTaskStarted",
|
|
514
|
-
DC_STOPPED: "dataCollectionTaskStopped",
|
|
515
|
-
DC_SUCCESS: "dataCollectionTaskSuccess",
|
|
516
|
-
DC_TO_BE_SCHEDULED: "dataCollectionTaskToBeScheduled"
|
|
517
|
-
};
|
|
518
|
-
var ServerOsType = {
|
|
519
|
-
amazonLinux: "AmazonLinux",
|
|
520
|
-
endOfSupportWindowsServer: "EndOfSupportWindowsServer",
|
|
521
|
-
other: "Other",
|
|
522
|
-
redhat: "Redhat",
|
|
523
|
-
windowsServer: "WindowsServer"
|
|
524
|
-
};
|
|
525
|
-
var Condition = {
|
|
526
|
-
CONTAINS: "CONTAINS",
|
|
527
|
-
EQUALS: "EQUALS",
|
|
528
|
-
NOT_CONTAINS: "NOT_CONTAINS",
|
|
529
|
-
NOT_EQUALS: "NOT_EQUALS"
|
|
530
|
-
};
|
|
531
|
-
var AuthType = {
|
|
532
|
-
CERT: "CERT",
|
|
533
|
-
NTLM: "NTLM",
|
|
534
|
-
SSH: "SSH"
|
|
535
|
-
};
|
|
536
|
-
var InternalServerException = class _InternalServerException extends MigrationHubStrategyServiceException {
|
|
537
|
-
static {
|
|
538
|
-
__name(this, "InternalServerException");
|
|
539
|
-
}
|
|
540
|
-
name = "InternalServerException";
|
|
541
|
-
$fault = "server";
|
|
542
|
-
/**
|
|
543
|
-
* @internal
|
|
544
|
-
*/
|
|
545
|
-
constructor(opts) {
|
|
546
|
-
super({
|
|
547
|
-
name: "InternalServerException",
|
|
548
|
-
$fault: "server",
|
|
549
|
-
...opts
|
|
550
|
-
});
|
|
551
|
-
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
552
|
-
}
|
|
553
|
-
};
|
|
554
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends MigrationHubStrategyServiceException {
|
|
555
|
-
static {
|
|
556
|
-
__name(this, "ResourceNotFoundException");
|
|
557
|
-
}
|
|
558
|
-
name = "ResourceNotFoundException";
|
|
559
|
-
$fault = "client";
|
|
560
|
-
/**
|
|
561
|
-
* @internal
|
|
562
|
-
*/
|
|
563
|
-
constructor(opts) {
|
|
564
|
-
super({
|
|
565
|
-
name: "ResourceNotFoundException",
|
|
566
|
-
$fault: "client",
|
|
567
|
-
...opts
|
|
568
|
-
});
|
|
569
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
570
|
-
}
|
|
571
|
-
};
|
|
572
|
-
var ThrottlingException = class _ThrottlingException extends MigrationHubStrategyServiceException {
|
|
573
|
-
static {
|
|
574
|
-
__name(this, "ThrottlingException");
|
|
575
|
-
}
|
|
576
|
-
name = "ThrottlingException";
|
|
577
|
-
$fault = "client";
|
|
578
|
-
/**
|
|
579
|
-
* @internal
|
|
580
|
-
*/
|
|
581
|
-
constructor(opts) {
|
|
582
|
-
super({
|
|
583
|
-
name: "ThrottlingException",
|
|
584
|
-
$fault: "client",
|
|
585
|
-
...opts
|
|
586
|
-
});
|
|
587
|
-
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
588
|
-
}
|
|
589
|
-
};
|
|
590
|
-
var ImportFileTaskStatus = {
|
|
591
|
-
DELETE_FAILED: "DeleteFailed",
|
|
592
|
-
DELETE_IN_PROGRESS: "DeleteInProgress",
|
|
593
|
-
DELETE_PARTIAL_SUCCESS: "DeletePartialSuccess",
|
|
594
|
-
DELETE_SUCCESS: "DeleteSuccess",
|
|
595
|
-
IMPORT_FAILED: "ImportFailed",
|
|
596
|
-
IMPORT_IN_PROGRESS: "ImportInProgress",
|
|
597
|
-
IMPORT_PARTIAL_SUCCESS: "ImportPartialSuccess",
|
|
598
|
-
IMPORT_SUCCESS: "ImportSuccess"
|
|
599
|
-
};
|
|
600
|
-
var ValidationException = class _ValidationException extends MigrationHubStrategyServiceException {
|
|
601
|
-
static {
|
|
602
|
-
__name(this, "ValidationException");
|
|
603
|
-
}
|
|
604
|
-
name = "ValidationException";
|
|
605
|
-
$fault = "client";
|
|
606
|
-
/**
|
|
607
|
-
* @internal
|
|
608
|
-
*/
|
|
609
|
-
constructor(opts) {
|
|
610
|
-
super({
|
|
611
|
-
name: "ValidationException",
|
|
612
|
-
$fault: "client",
|
|
613
|
-
...opts
|
|
614
|
-
});
|
|
615
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
616
|
-
}
|
|
617
|
-
};
|
|
618
|
-
var DependencyException = class _DependencyException extends MigrationHubStrategyServiceException {
|
|
619
|
-
static {
|
|
620
|
-
__name(this, "DependencyException");
|
|
621
|
-
}
|
|
622
|
-
name = "DependencyException";
|
|
623
|
-
$fault = "server";
|
|
624
|
-
/**
|
|
625
|
-
* @internal
|
|
626
|
-
*/
|
|
627
|
-
constructor(opts) {
|
|
628
|
-
super({
|
|
629
|
-
name: "DependencyException",
|
|
630
|
-
$fault: "server",
|
|
631
|
-
...opts
|
|
632
|
-
});
|
|
633
|
-
Object.setPrototypeOf(this, _DependencyException.prototype);
|
|
634
|
-
}
|
|
635
|
-
};
|
|
636
|
-
var DatabaseManagementPreference = {
|
|
637
|
-
AWS_MANAGED: "AWS-managed",
|
|
638
|
-
NO_PREFERENCE: "No preference",
|
|
639
|
-
SELF_MANAGE: "Self-manage"
|
|
640
|
-
};
|
|
641
|
-
var HeterogeneousTargetDatabaseEngine = {
|
|
642
|
-
AMAZON_AURORA: "Amazon Aurora",
|
|
643
|
-
AWS_POSTGRESQL: "AWS PostgreSQL",
|
|
644
|
-
DB2_LUW: "Db2 LUW",
|
|
645
|
-
MARIA_DB: "MariaDB",
|
|
646
|
-
MICROSOFT_SQL_SERVER: "Microsoft SQL Server",
|
|
647
|
-
MONGO_DB: "MongoDB",
|
|
648
|
-
MYSQL: "MySQL",
|
|
649
|
-
NONE_SPECIFIED: "None specified",
|
|
650
|
-
ORACLE_DATABASE: "Oracle Database",
|
|
651
|
-
SAP: "SAP"
|
|
652
|
-
};
|
|
653
|
-
var HomogeneousTargetDatabaseEngine = {
|
|
654
|
-
NONE_SPECIFIED: "None specified"
|
|
655
|
-
};
|
|
656
|
-
var TargetDatabaseEngine = {
|
|
657
|
-
AMAZON_AURORA: "Amazon Aurora",
|
|
658
|
-
AWS_POSTGRESQL: "AWS PostgreSQL",
|
|
659
|
-
DB2_LUW: "Db2 LUW",
|
|
660
|
-
MARIA_DB: "MariaDB",
|
|
661
|
-
MICROSOFT_SQL_SERVER: "Microsoft SQL Server",
|
|
662
|
-
MONGO_DB: "MongoDB",
|
|
663
|
-
MYSQL: "MySQL",
|
|
664
|
-
NONE_SPECIFIED: "None specified",
|
|
665
|
-
ORACLE_DATABASE: "Oracle Database",
|
|
666
|
-
SAP: "SAP"
|
|
667
|
-
};
|
|
668
|
-
var DatabaseMigrationPreference;
|
|
669
|
-
((DatabaseMigrationPreference3) => {
|
|
670
|
-
DatabaseMigrationPreference3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
671
|
-
if (value.heterogeneous !== void 0) return visitor.heterogeneous(value.heterogeneous);
|
|
672
|
-
if (value.homogeneous !== void 0) return visitor.homogeneous(value.homogeneous);
|
|
673
|
-
if (value.noPreference !== void 0) return visitor.noPreference(value.noPreference);
|
|
674
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
675
|
-
}, "visit");
|
|
676
|
-
})(DatabaseMigrationPreference || (DatabaseMigrationPreference = {}));
|
|
677
|
-
var RecommendationReportStatus = {
|
|
678
|
-
FAILED: "FAILED",
|
|
679
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
680
|
-
SUCCESS: "SUCCESS"
|
|
681
|
-
};
|
|
682
|
-
var ServerErrorCategory = {
|
|
683
|
-
ARCHITECTURE_ERROR: "ARCHITECTURE_ERROR",
|
|
684
|
-
CONNECTIVITY_ERROR: "CONNECTIVITY_ERROR",
|
|
685
|
-
CREDENTIAL_ERROR: "CREDENTIAL_ERROR",
|
|
686
|
-
OTHER_ERROR: "OTHER_ERROR",
|
|
687
|
-
PERMISSION_ERROR: "PERMISSION_ERROR"
|
|
688
|
-
};
|
|
689
|
-
var OSType = {
|
|
690
|
-
LINUX: "LINUX",
|
|
691
|
-
WINDOWS: "WINDOWS"
|
|
692
|
-
};
|
|
693
|
-
var SortOrder = {
|
|
694
|
-
ASC: "ASC",
|
|
695
|
-
DESC: "DESC"
|
|
696
|
-
};
|
|
697
|
-
var GroupName = {
|
|
698
|
-
EXTERNAL_ID: "ExternalId",
|
|
699
|
-
EXTERNAL_SOURCE_TYPE: "ExternalSourceType"
|
|
700
|
-
};
|
|
701
|
-
var ServiceLinkedRoleLockClientException = class _ServiceLinkedRoleLockClientException extends MigrationHubStrategyServiceException {
|
|
702
|
-
static {
|
|
703
|
-
__name(this, "ServiceLinkedRoleLockClientException");
|
|
704
|
-
}
|
|
705
|
-
name = "ServiceLinkedRoleLockClientException";
|
|
706
|
-
$fault = "client";
|
|
707
|
-
/**
|
|
708
|
-
* @internal
|
|
709
|
-
*/
|
|
710
|
-
constructor(opts) {
|
|
711
|
-
super({
|
|
712
|
-
name: "ServiceLinkedRoleLockClientException",
|
|
713
|
-
$fault: "client",
|
|
714
|
-
...opts
|
|
715
|
-
});
|
|
716
|
-
Object.setPrototypeOf(this, _ServiceLinkedRoleLockClientException.prototype);
|
|
717
|
-
}
|
|
718
|
-
};
|
|
719
|
-
var CollectorHealth = {
|
|
720
|
-
COLLECTOR_HEALTHY: "COLLECTOR_HEALTHY",
|
|
721
|
-
COLLECTOR_UNHEALTHY: "COLLECTOR_UNHEALTHY"
|
|
722
|
-
};
|
|
723
|
-
var PipelineType = {
|
|
724
|
-
AZURE_DEVOPS: "AZURE_DEVOPS"
|
|
725
|
-
};
|
|
726
|
-
var VersionControlType = {
|
|
727
|
-
AZURE_DEVOPS_GIT: "AZURE_DEVOPS_GIT",
|
|
728
|
-
GITHUB: "GITHUB",
|
|
729
|
-
GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE"
|
|
730
|
-
};
|
|
731
|
-
var ServerCriteria = {
|
|
732
|
-
ANALYSIS_STATUS: "ANALYSIS_STATUS",
|
|
733
|
-
DESTINATION: "DESTINATION",
|
|
734
|
-
ERROR_CATEGORY: "ERROR_CATEGORY",
|
|
735
|
-
NOT_DEFINED: "NOT_DEFINED",
|
|
736
|
-
OS_NAME: "OS_NAME",
|
|
737
|
-
SERVER_ID: "SERVER_ID",
|
|
738
|
-
STRATEGY: "STRATEGY"
|
|
739
|
-
};
|
|
740
|
-
var ConflictException = class _ConflictException extends MigrationHubStrategyServiceException {
|
|
741
|
-
static {
|
|
742
|
-
__name(this, "ConflictException");
|
|
743
|
-
}
|
|
744
|
-
name = "ConflictException";
|
|
745
|
-
$fault = "client";
|
|
746
|
-
/**
|
|
747
|
-
* @internal
|
|
748
|
-
*/
|
|
749
|
-
constructor(opts) {
|
|
750
|
-
super({
|
|
751
|
-
name: "ConflictException",
|
|
752
|
-
$fault: "client",
|
|
753
|
-
...opts
|
|
754
|
-
});
|
|
755
|
-
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
756
|
-
}
|
|
757
|
-
};
|
|
758
|
-
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends MigrationHubStrategyServiceException {
|
|
759
|
-
static {
|
|
760
|
-
__name(this, "ServiceQuotaExceededException");
|
|
761
|
-
}
|
|
762
|
-
name = "ServiceQuotaExceededException";
|
|
763
|
-
$fault = "client";
|
|
764
|
-
/**
|
|
765
|
-
* @internal
|
|
766
|
-
*/
|
|
767
|
-
constructor(opts) {
|
|
768
|
-
super({
|
|
769
|
-
name: "ServiceQuotaExceededException",
|
|
770
|
-
$fault: "client",
|
|
771
|
-
...opts
|
|
772
|
-
});
|
|
773
|
-
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
774
|
-
}
|
|
775
|
-
};
|
|
776
|
-
var DataSourceType = {
|
|
777
|
-
ADS: "ApplicationDiscoveryService",
|
|
778
|
-
IMPORT: "Import",
|
|
779
|
-
MHSR_COLLECTOR: "StrategyRecommendationsApplicationDataCollector",
|
|
780
|
-
MPA: "MPA"
|
|
781
|
-
};
|
|
782
|
-
var OutputFormat = {
|
|
783
|
-
Excel: "Excel",
|
|
784
|
-
Json: "Json"
|
|
785
|
-
};
|
|
786
|
-
var VersionControl = {
|
|
787
|
-
AZURE_DEVOPS_GIT: "AZURE_DEVOPS_GIT",
|
|
788
|
-
GITHUB: "GITHUB",
|
|
789
|
-
GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE"
|
|
790
|
-
};
|
|
791
|
-
var UpdateApplicationComponentConfigRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
792
|
-
...obj,
|
|
793
|
-
...obj.secretsManagerKey && { secretsManagerKey: import_smithy_client.SENSITIVE_STRING }
|
|
794
|
-
}), "UpdateApplicationComponentConfigRequestFilterSensitiveLog");
|
|
795
|
-
|
|
796
|
-
// src/protocols/Aws_restJson1.ts
|
|
797
|
-
var se_GetApplicationComponentDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
798
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
799
|
-
const headers = {};
|
|
800
|
-
b.bp("/get-applicationcomponent-details/{applicationComponentId}");
|
|
801
|
-
b.p("applicationComponentId", () => input.applicationComponentId, "{applicationComponentId}", false);
|
|
802
|
-
let body;
|
|
803
|
-
b.m("GET").h(headers).b(body);
|
|
804
|
-
return b.build();
|
|
805
|
-
}, "se_GetApplicationComponentDetailsCommand");
|
|
806
|
-
var se_GetApplicationComponentStrategiesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
807
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
808
|
-
const headers = {};
|
|
809
|
-
b.bp("/get-applicationcomponent-strategies/{applicationComponentId}");
|
|
810
|
-
b.p("applicationComponentId", () => input.applicationComponentId, "{applicationComponentId}", false);
|
|
811
|
-
let body;
|
|
812
|
-
b.m("GET").h(headers).b(body);
|
|
813
|
-
return b.build();
|
|
814
|
-
}, "se_GetApplicationComponentStrategiesCommand");
|
|
815
|
-
var se_GetAssessmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
816
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
817
|
-
const headers = {};
|
|
818
|
-
b.bp("/get-assessment/{id}");
|
|
819
|
-
b.p("id", () => input.id, "{id}", false);
|
|
820
|
-
let body;
|
|
821
|
-
b.m("GET").h(headers).b(body);
|
|
822
|
-
return b.build();
|
|
823
|
-
}, "se_GetAssessmentCommand");
|
|
824
|
-
var se_GetImportFileTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
825
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
826
|
-
const headers = {};
|
|
827
|
-
b.bp("/get-import-file-task/{id}");
|
|
828
|
-
b.p("id", () => input.id, "{id}", false);
|
|
829
|
-
let body;
|
|
830
|
-
b.m("GET").h(headers).b(body);
|
|
831
|
-
return b.build();
|
|
832
|
-
}, "se_GetImportFileTaskCommand");
|
|
833
|
-
var se_GetLatestAssessmentIdCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
834
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
835
|
-
const headers = {};
|
|
836
|
-
b.bp("/get-latest-assessment-id");
|
|
837
|
-
let body;
|
|
838
|
-
b.m("GET").h(headers).b(body);
|
|
839
|
-
return b.build();
|
|
840
|
-
}, "se_GetLatestAssessmentIdCommand");
|
|
841
|
-
var se_GetPortfolioPreferencesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
842
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
843
|
-
const headers = {};
|
|
844
|
-
b.bp("/get-portfolio-preferences");
|
|
845
|
-
let body;
|
|
846
|
-
b.m("GET").h(headers).b(body);
|
|
847
|
-
return b.build();
|
|
848
|
-
}, "se_GetPortfolioPreferencesCommand");
|
|
849
|
-
var se_GetPortfolioSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
850
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
851
|
-
const headers = {};
|
|
852
|
-
b.bp("/get-portfolio-summary");
|
|
853
|
-
let body;
|
|
854
|
-
b.m("GET").h(headers).b(body);
|
|
855
|
-
return b.build();
|
|
856
|
-
}, "se_GetPortfolioSummaryCommand");
|
|
857
|
-
var se_GetRecommendationReportDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
858
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
859
|
-
const headers = {};
|
|
860
|
-
b.bp("/get-recommendation-report-details/{id}");
|
|
861
|
-
b.p("id", () => input.id, "{id}", false);
|
|
862
|
-
let body;
|
|
863
|
-
b.m("GET").h(headers).b(body);
|
|
864
|
-
return b.build();
|
|
865
|
-
}, "se_GetRecommendationReportDetailsCommand");
|
|
866
|
-
var se_GetServerDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
867
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
868
|
-
const headers = {};
|
|
869
|
-
b.bp("/get-server-details/{serverId}");
|
|
870
|
-
b.p("serverId", () => input.serverId, "{serverId}", false);
|
|
871
|
-
const query = (0, import_smithy_client.map)({
|
|
872
|
-
[_nT]: [, input[_nT]],
|
|
873
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
874
|
-
});
|
|
875
|
-
let body;
|
|
876
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
877
|
-
return b.build();
|
|
878
|
-
}, "se_GetServerDetailsCommand");
|
|
879
|
-
var se_GetServerStrategiesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
880
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
881
|
-
const headers = {};
|
|
882
|
-
b.bp("/get-server-strategies/{serverId}");
|
|
883
|
-
b.p("serverId", () => input.serverId, "{serverId}", false);
|
|
884
|
-
let body;
|
|
885
|
-
b.m("GET").h(headers).b(body);
|
|
886
|
-
return b.build();
|
|
887
|
-
}, "se_GetServerStrategiesCommand");
|
|
888
|
-
var se_ListAnalyzableServersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
889
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
890
|
-
const headers = {
|
|
891
|
-
"content-type": "application/json"
|
|
892
|
-
};
|
|
893
|
-
b.bp("/list-analyzable-servers");
|
|
894
|
-
let body;
|
|
895
|
-
body = JSON.stringify(
|
|
896
|
-
(0, import_smithy_client.take)(input, {
|
|
897
|
-
maxResults: [],
|
|
898
|
-
nextToken: [],
|
|
899
|
-
sort: []
|
|
900
|
-
})
|
|
901
|
-
);
|
|
902
|
-
b.m("POST").h(headers).b(body);
|
|
903
|
-
return b.build();
|
|
904
|
-
}, "se_ListAnalyzableServersCommand");
|
|
905
|
-
var se_ListApplicationComponentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
906
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
907
|
-
const headers = {
|
|
908
|
-
"content-type": "application/json"
|
|
909
|
-
};
|
|
910
|
-
b.bp("/list-applicationcomponents");
|
|
911
|
-
let body;
|
|
912
|
-
body = JSON.stringify(
|
|
913
|
-
(0, import_smithy_client.take)(input, {
|
|
914
|
-
applicationComponentCriteria: [],
|
|
915
|
-
filterValue: [],
|
|
916
|
-
groupIdFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "groupIdFilter"),
|
|
917
|
-
maxResults: [],
|
|
918
|
-
nextToken: [],
|
|
919
|
-
sort: []
|
|
920
|
-
})
|
|
921
|
-
);
|
|
922
|
-
b.m("POST").h(headers).b(body);
|
|
923
|
-
return b.build();
|
|
924
|
-
}, "se_ListApplicationComponentsCommand");
|
|
925
|
-
var se_ListCollectorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
926
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
927
|
-
const headers = {};
|
|
928
|
-
b.bp("/list-collectors");
|
|
929
|
-
const query = (0, import_smithy_client.map)({
|
|
930
|
-
[_nT]: [, input[_nT]],
|
|
931
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
932
|
-
});
|
|
933
|
-
let body;
|
|
934
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
935
|
-
return b.build();
|
|
936
|
-
}, "se_ListCollectorsCommand");
|
|
937
|
-
var se_ListImportFileTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
938
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
939
|
-
const headers = {};
|
|
940
|
-
b.bp("/list-import-file-task");
|
|
941
|
-
const query = (0, import_smithy_client.map)({
|
|
942
|
-
[_nT]: [, input[_nT]],
|
|
943
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
944
|
-
});
|
|
945
|
-
let body;
|
|
946
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
947
|
-
return b.build();
|
|
948
|
-
}, "se_ListImportFileTaskCommand");
|
|
949
|
-
var se_ListServersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
950
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
951
|
-
const headers = {
|
|
952
|
-
"content-type": "application/json"
|
|
953
|
-
};
|
|
954
|
-
b.bp("/list-servers");
|
|
955
|
-
let body;
|
|
956
|
-
body = JSON.stringify(
|
|
957
|
-
(0, import_smithy_client.take)(input, {
|
|
958
|
-
filterValue: [],
|
|
959
|
-
groupIdFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "groupIdFilter"),
|
|
960
|
-
maxResults: [],
|
|
961
|
-
nextToken: [],
|
|
962
|
-
serverCriteria: [],
|
|
963
|
-
sort: []
|
|
964
|
-
})
|
|
965
|
-
);
|
|
966
|
-
b.m("POST").h(headers).b(body);
|
|
967
|
-
return b.build();
|
|
968
|
-
}, "se_ListServersCommand");
|
|
969
|
-
var se_PutPortfolioPreferencesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
970
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
971
|
-
const headers = {
|
|
972
|
-
"content-type": "application/json"
|
|
973
|
-
};
|
|
974
|
-
b.bp("/put-portfolio-preferences");
|
|
975
|
-
let body;
|
|
976
|
-
body = JSON.stringify(
|
|
977
|
-
(0, import_smithy_client.take)(input, {
|
|
978
|
-
applicationMode: [],
|
|
979
|
-
applicationPreferences: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "applicationPreferences"),
|
|
980
|
-
databasePreferences: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "databasePreferences"),
|
|
981
|
-
prioritizeBusinessGoals: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "prioritizeBusinessGoals")
|
|
982
|
-
})
|
|
983
|
-
);
|
|
984
|
-
b.m("POST").h(headers).b(body);
|
|
985
|
-
return b.build();
|
|
986
|
-
}, "se_PutPortfolioPreferencesCommand");
|
|
987
|
-
var se_StartAssessmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
988
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
989
|
-
const headers = {
|
|
990
|
-
"content-type": "application/json"
|
|
991
|
-
};
|
|
992
|
-
b.bp("/start-assessment");
|
|
993
|
-
let body;
|
|
994
|
-
body = JSON.stringify(
|
|
995
|
-
(0, import_smithy_client.take)(input, {
|
|
996
|
-
assessmentDataSourceType: [],
|
|
997
|
-
assessmentTargets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "assessmentTargets"),
|
|
998
|
-
s3bucketForAnalysisData: [],
|
|
999
|
-
s3bucketForReportData: []
|
|
1000
|
-
})
|
|
1001
|
-
);
|
|
1002
|
-
b.m("POST").h(headers).b(body);
|
|
1003
|
-
return b.build();
|
|
1004
|
-
}, "se_StartAssessmentCommand");
|
|
1005
|
-
var se_StartImportFileTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1006
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1007
|
-
const headers = {
|
|
1008
|
-
"content-type": "application/json"
|
|
1009
|
-
};
|
|
1010
|
-
b.bp("/start-import-file-task");
|
|
1011
|
-
let body;
|
|
1012
|
-
body = JSON.stringify(
|
|
1013
|
-
(0, import_smithy_client.take)(input, {
|
|
1014
|
-
S3Bucket: [],
|
|
1015
|
-
dataSourceType: [],
|
|
1016
|
-
groupId: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "groupId"),
|
|
1017
|
-
name: [],
|
|
1018
|
-
s3bucketForReportData: [],
|
|
1019
|
-
s3key: []
|
|
1020
|
-
})
|
|
1021
|
-
);
|
|
1022
|
-
b.m("POST").h(headers).b(body);
|
|
1023
|
-
return b.build();
|
|
1024
|
-
}, "se_StartImportFileTaskCommand");
|
|
1025
|
-
var se_StartRecommendationReportGenerationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1026
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1027
|
-
const headers = {
|
|
1028
|
-
"content-type": "application/json"
|
|
1029
|
-
};
|
|
1030
|
-
b.bp("/start-recommendation-report-generation");
|
|
1031
|
-
let body;
|
|
1032
|
-
body = JSON.stringify(
|
|
1033
|
-
(0, import_smithy_client.take)(input, {
|
|
1034
|
-
groupIdFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "groupIdFilter"),
|
|
1035
|
-
outputFormat: []
|
|
1036
|
-
})
|
|
1037
|
-
);
|
|
1038
|
-
b.m("POST").h(headers).b(body);
|
|
1039
|
-
return b.build();
|
|
1040
|
-
}, "se_StartRecommendationReportGenerationCommand");
|
|
1041
|
-
var se_StopAssessmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1042
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1043
|
-
const headers = {
|
|
1044
|
-
"content-type": "application/json"
|
|
1045
|
-
};
|
|
1046
|
-
b.bp("/stop-assessment");
|
|
1047
|
-
let body;
|
|
1048
|
-
body = JSON.stringify(
|
|
1049
|
-
(0, import_smithy_client.take)(input, {
|
|
1050
|
-
assessmentId: []
|
|
1051
|
-
})
|
|
1052
|
-
);
|
|
1053
|
-
b.m("POST").h(headers).b(body);
|
|
1054
|
-
return b.build();
|
|
1055
|
-
}, "se_StopAssessmentCommand");
|
|
1056
|
-
var se_UpdateApplicationComponentConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1057
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1058
|
-
const headers = {
|
|
1059
|
-
"content-type": "application/json"
|
|
1060
|
-
};
|
|
1061
|
-
b.bp("/update-applicationcomponent-config");
|
|
1062
|
-
let body;
|
|
1063
|
-
body = JSON.stringify(
|
|
1064
|
-
(0, import_smithy_client.take)(input, {
|
|
1065
|
-
appType: [],
|
|
1066
|
-
applicationComponentId: [],
|
|
1067
|
-
configureOnly: [],
|
|
1068
|
-
inclusionStatus: [],
|
|
1069
|
-
secretsManagerKey: [],
|
|
1070
|
-
sourceCodeList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sourceCodeList"),
|
|
1071
|
-
strategyOption: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "strategyOption")
|
|
1072
|
-
})
|
|
1073
|
-
);
|
|
1074
|
-
b.m("POST").h(headers).b(body);
|
|
1075
|
-
return b.build();
|
|
1076
|
-
}, "se_UpdateApplicationComponentConfigCommand");
|
|
1077
|
-
var se_UpdateServerConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1078
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1079
|
-
const headers = {
|
|
1080
|
-
"content-type": "application/json"
|
|
1081
|
-
};
|
|
1082
|
-
b.bp("/update-server-config");
|
|
1083
|
-
let body;
|
|
1084
|
-
body = JSON.stringify(
|
|
1085
|
-
(0, import_smithy_client.take)(input, {
|
|
1086
|
-
serverId: [],
|
|
1087
|
-
strategyOption: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "strategyOption")
|
|
1088
|
-
})
|
|
1089
|
-
);
|
|
1090
|
-
b.m("POST").h(headers).b(body);
|
|
1091
|
-
return b.build();
|
|
1092
|
-
}, "se_UpdateServerConfigCommand");
|
|
1093
|
-
var de_GetApplicationComponentDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1094
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1095
|
-
return de_CommandError(output, context);
|
|
1096
|
-
}
|
|
1097
|
-
const contents = (0, import_smithy_client.map)({
|
|
1098
|
-
$metadata: deserializeMetadata(output)
|
|
1099
|
-
});
|
|
1100
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1101
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1102
|
-
applicationComponentDetail: /* @__PURE__ */ __name((_) => de_ApplicationComponentDetail(_, context), "applicationComponentDetail"),
|
|
1103
|
-
associatedApplications: import_smithy_client._json,
|
|
1104
|
-
associatedServerIds: import_smithy_client._json,
|
|
1105
|
-
moreApplicationResource: import_smithy_client.expectBoolean
|
|
1106
|
-
});
|
|
1107
|
-
Object.assign(contents, doc);
|
|
1108
|
-
return contents;
|
|
1109
|
-
}, "de_GetApplicationComponentDetailsCommand");
|
|
1110
|
-
var de_GetApplicationComponentStrategiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1111
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1112
|
-
return de_CommandError(output, context);
|
|
1113
|
-
}
|
|
1114
|
-
const contents = (0, import_smithy_client.map)({
|
|
1115
|
-
$metadata: deserializeMetadata(output)
|
|
1116
|
-
});
|
|
1117
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1118
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1119
|
-
applicationComponentStrategies: import_smithy_client._json
|
|
1120
|
-
});
|
|
1121
|
-
Object.assign(contents, doc);
|
|
1122
|
-
return contents;
|
|
1123
|
-
}, "de_GetApplicationComponentStrategiesCommand");
|
|
1124
|
-
var de_GetAssessmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1125
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1126
|
-
return de_CommandError(output, context);
|
|
1127
|
-
}
|
|
1128
|
-
const contents = (0, import_smithy_client.map)({
|
|
1129
|
-
$metadata: deserializeMetadata(output)
|
|
1130
|
-
});
|
|
1131
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1132
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1133
|
-
assessmentTargets: import_smithy_client._json,
|
|
1134
|
-
dataCollectionDetails: /* @__PURE__ */ __name((_) => de_DataCollectionDetails(_, context), "dataCollectionDetails"),
|
|
1135
|
-
id: import_smithy_client.expectString
|
|
1136
|
-
});
|
|
1137
|
-
Object.assign(contents, doc);
|
|
1138
|
-
return contents;
|
|
1139
|
-
}, "de_GetAssessmentCommand");
|
|
1140
|
-
var de_GetImportFileTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1141
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1142
|
-
return de_CommandError(output, context);
|
|
1143
|
-
}
|
|
1144
|
-
const contents = (0, import_smithy_client.map)({
|
|
1145
|
-
$metadata: deserializeMetadata(output)
|
|
1146
|
-
});
|
|
1147
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1148
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1149
|
-
completionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "completionTime"),
|
|
1150
|
-
id: import_smithy_client.expectString,
|
|
1151
|
-
importName: import_smithy_client.expectString,
|
|
1152
|
-
inputS3Bucket: import_smithy_client.expectString,
|
|
1153
|
-
inputS3Key: import_smithy_client.expectString,
|
|
1154
|
-
numberOfRecordsFailed: import_smithy_client.expectInt32,
|
|
1155
|
-
numberOfRecordsSuccess: import_smithy_client.expectInt32,
|
|
1156
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
|
|
1157
|
-
status: import_smithy_client.expectString,
|
|
1158
|
-
statusReportS3Bucket: import_smithy_client.expectString,
|
|
1159
|
-
statusReportS3Key: import_smithy_client.expectString
|
|
1160
|
-
});
|
|
1161
|
-
Object.assign(contents, doc);
|
|
1162
|
-
return contents;
|
|
1163
|
-
}, "de_GetImportFileTaskCommand");
|
|
1164
|
-
var de_GetLatestAssessmentIdCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1165
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1166
|
-
return de_CommandError(output, context);
|
|
1167
|
-
}
|
|
1168
|
-
const contents = (0, import_smithy_client.map)({
|
|
1169
|
-
$metadata: deserializeMetadata(output)
|
|
1170
|
-
});
|
|
1171
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1172
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1173
|
-
id: import_smithy_client.expectString
|
|
1174
|
-
});
|
|
1175
|
-
Object.assign(contents, doc);
|
|
1176
|
-
return contents;
|
|
1177
|
-
}, "de_GetLatestAssessmentIdCommand");
|
|
1178
|
-
var de_GetPortfolioPreferencesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1179
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1180
|
-
return de_CommandError(output, context);
|
|
1181
|
-
}
|
|
1182
|
-
const contents = (0, import_smithy_client.map)({
|
|
1183
|
-
$metadata: deserializeMetadata(output)
|
|
1184
|
-
});
|
|
1185
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1186
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1187
|
-
applicationMode: import_smithy_client.expectString,
|
|
1188
|
-
applicationPreferences: import_smithy_client._json,
|
|
1189
|
-
databasePreferences: import_smithy_client._json,
|
|
1190
|
-
prioritizeBusinessGoals: import_smithy_client._json
|
|
1191
|
-
});
|
|
1192
|
-
Object.assign(contents, doc);
|
|
1193
|
-
return contents;
|
|
1194
|
-
}, "de_GetPortfolioPreferencesCommand");
|
|
1195
|
-
var de_GetPortfolioSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1196
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1197
|
-
return de_CommandError(output, context);
|
|
1198
|
-
}
|
|
1199
|
-
const contents = (0, import_smithy_client.map)({
|
|
1200
|
-
$metadata: deserializeMetadata(output)
|
|
1201
|
-
});
|
|
1202
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1203
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1204
|
-
assessmentSummary: /* @__PURE__ */ __name((_) => de_AssessmentSummary(_, context), "assessmentSummary")
|
|
1205
|
-
});
|
|
1206
|
-
Object.assign(contents, doc);
|
|
1207
|
-
return contents;
|
|
1208
|
-
}, "de_GetPortfolioSummaryCommand");
|
|
1209
|
-
var de_GetRecommendationReportDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1210
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1211
|
-
return de_CommandError(output, context);
|
|
1212
|
-
}
|
|
1213
|
-
const contents = (0, import_smithy_client.map)({
|
|
1214
|
-
$metadata: deserializeMetadata(output)
|
|
1215
|
-
});
|
|
1216
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1217
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1218
|
-
id: import_smithy_client.expectString,
|
|
1219
|
-
recommendationReportDetails: /* @__PURE__ */ __name((_) => de_RecommendationReportDetails(_, context), "recommendationReportDetails")
|
|
1220
|
-
});
|
|
1221
|
-
Object.assign(contents, doc);
|
|
1222
|
-
return contents;
|
|
1223
|
-
}, "de_GetRecommendationReportDetailsCommand");
|
|
1224
|
-
var de_GetServerDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1225
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1226
|
-
return de_CommandError(output, context);
|
|
1227
|
-
}
|
|
1228
|
-
const contents = (0, import_smithy_client.map)({
|
|
1229
|
-
$metadata: deserializeMetadata(output)
|
|
1230
|
-
});
|
|
1231
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1232
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1233
|
-
associatedApplications: import_smithy_client._json,
|
|
1234
|
-
nextToken: import_smithy_client.expectString,
|
|
1235
|
-
serverDetail: /* @__PURE__ */ __name((_) => de_ServerDetail(_, context), "serverDetail")
|
|
1236
|
-
});
|
|
1237
|
-
Object.assign(contents, doc);
|
|
1238
|
-
return contents;
|
|
1239
|
-
}, "de_GetServerDetailsCommand");
|
|
1240
|
-
var de_GetServerStrategiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1241
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1242
|
-
return de_CommandError(output, context);
|
|
1243
|
-
}
|
|
1244
|
-
const contents = (0, import_smithy_client.map)({
|
|
1245
|
-
$metadata: deserializeMetadata(output)
|
|
1246
|
-
});
|
|
1247
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1248
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1249
|
-
serverStrategies: import_smithy_client._json
|
|
1250
|
-
});
|
|
1251
|
-
Object.assign(contents, doc);
|
|
1252
|
-
return contents;
|
|
1253
|
-
}, "de_GetServerStrategiesCommand");
|
|
1254
|
-
var de_ListAnalyzableServersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1255
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1256
|
-
return de_CommandError(output, context);
|
|
1257
|
-
}
|
|
1258
|
-
const contents = (0, import_smithy_client.map)({
|
|
1259
|
-
$metadata: deserializeMetadata(output)
|
|
1260
|
-
});
|
|
1261
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1262
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1263
|
-
analyzableServers: import_smithy_client._json,
|
|
1264
|
-
nextToken: import_smithy_client.expectString
|
|
1265
|
-
});
|
|
1266
|
-
Object.assign(contents, doc);
|
|
1267
|
-
return contents;
|
|
1268
|
-
}, "de_ListAnalyzableServersCommand");
|
|
1269
|
-
var de_ListApplicationComponentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1270
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1271
|
-
return de_CommandError(output, context);
|
|
1272
|
-
}
|
|
1273
|
-
const contents = (0, import_smithy_client.map)({
|
|
1274
|
-
$metadata: deserializeMetadata(output)
|
|
1275
|
-
});
|
|
1276
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1277
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1278
|
-
applicationComponentInfos: /* @__PURE__ */ __name((_) => de_ApplicationComponentDetails(_, context), "applicationComponentInfos"),
|
|
1279
|
-
nextToken: import_smithy_client.expectString
|
|
1280
|
-
});
|
|
1281
|
-
Object.assign(contents, doc);
|
|
1282
|
-
return contents;
|
|
1283
|
-
}, "de_ListApplicationComponentsCommand");
|
|
1284
|
-
var de_ListCollectorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1285
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1286
|
-
return de_CommandError(output, context);
|
|
1287
|
-
}
|
|
1288
|
-
const contents = (0, import_smithy_client.map)({
|
|
1289
|
-
$metadata: deserializeMetadata(output)
|
|
1290
|
-
});
|
|
1291
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1292
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1293
|
-
Collectors: import_smithy_client._json,
|
|
1294
|
-
nextToken: import_smithy_client.expectString
|
|
1295
|
-
});
|
|
1296
|
-
Object.assign(contents, doc);
|
|
1297
|
-
return contents;
|
|
1298
|
-
}, "de_ListCollectorsCommand");
|
|
1299
|
-
var de_ListImportFileTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1300
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1301
|
-
return de_CommandError(output, context);
|
|
1302
|
-
}
|
|
1303
|
-
const contents = (0, import_smithy_client.map)({
|
|
1304
|
-
$metadata: deserializeMetadata(output)
|
|
1305
|
-
});
|
|
1306
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1307
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1308
|
-
nextToken: import_smithy_client.expectString,
|
|
1309
|
-
taskInfos: /* @__PURE__ */ __name((_) => de_ListImportFileTaskInformation(_, context), "taskInfos")
|
|
1310
|
-
});
|
|
1311
|
-
Object.assign(contents, doc);
|
|
1312
|
-
return contents;
|
|
1313
|
-
}, "de_ListImportFileTaskCommand");
|
|
1314
|
-
var de_ListServersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1315
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1316
|
-
return de_CommandError(output, context);
|
|
1317
|
-
}
|
|
1318
|
-
const contents = (0, import_smithy_client.map)({
|
|
1319
|
-
$metadata: deserializeMetadata(output)
|
|
1320
|
-
});
|
|
1321
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1322
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1323
|
-
nextToken: import_smithy_client.expectString,
|
|
1324
|
-
serverInfos: /* @__PURE__ */ __name((_) => de_ServerDetails(_, context), "serverInfos")
|
|
1325
|
-
});
|
|
1326
|
-
Object.assign(contents, doc);
|
|
1327
|
-
return contents;
|
|
1328
|
-
}, "de_ListServersCommand");
|
|
1329
|
-
var de_PutPortfolioPreferencesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1330
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1331
|
-
return de_CommandError(output, context);
|
|
1332
|
-
}
|
|
1333
|
-
const contents = (0, import_smithy_client.map)({
|
|
1334
|
-
$metadata: deserializeMetadata(output)
|
|
1335
|
-
});
|
|
1336
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1337
|
-
return contents;
|
|
1338
|
-
}, "de_PutPortfolioPreferencesCommand");
|
|
1339
|
-
var de_StartAssessmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1340
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1341
|
-
return de_CommandError(output, context);
|
|
1342
|
-
}
|
|
1343
|
-
const contents = (0, import_smithy_client.map)({
|
|
1344
|
-
$metadata: deserializeMetadata(output)
|
|
1345
|
-
});
|
|
1346
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1347
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1348
|
-
assessmentId: import_smithy_client.expectString
|
|
1349
|
-
});
|
|
1350
|
-
Object.assign(contents, doc);
|
|
1351
|
-
return contents;
|
|
1352
|
-
}, "de_StartAssessmentCommand");
|
|
1353
|
-
var de_StartImportFileTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1354
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1355
|
-
return de_CommandError(output, context);
|
|
1356
|
-
}
|
|
1357
|
-
const contents = (0, import_smithy_client.map)({
|
|
1358
|
-
$metadata: deserializeMetadata(output)
|
|
1359
|
-
});
|
|
1360
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1361
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1362
|
-
id: import_smithy_client.expectString
|
|
1363
|
-
});
|
|
1364
|
-
Object.assign(contents, doc);
|
|
1365
|
-
return contents;
|
|
1366
|
-
}, "de_StartImportFileTaskCommand");
|
|
1367
|
-
var de_StartRecommendationReportGenerationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1368
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1369
|
-
return de_CommandError(output, context);
|
|
1370
|
-
}
|
|
1371
|
-
const contents = (0, import_smithy_client.map)({
|
|
1372
|
-
$metadata: deserializeMetadata(output)
|
|
1373
|
-
});
|
|
1374
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1375
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1376
|
-
id: import_smithy_client.expectString
|
|
1377
|
-
});
|
|
1378
|
-
Object.assign(contents, doc);
|
|
1379
|
-
return contents;
|
|
1380
|
-
}, "de_StartRecommendationReportGenerationCommand");
|
|
1381
|
-
var de_StopAssessmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1382
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1383
|
-
return de_CommandError(output, context);
|
|
1384
|
-
}
|
|
1385
|
-
const contents = (0, import_smithy_client.map)({
|
|
1386
|
-
$metadata: deserializeMetadata(output)
|
|
1387
|
-
});
|
|
1388
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1389
|
-
return contents;
|
|
1390
|
-
}, "de_StopAssessmentCommand");
|
|
1391
|
-
var de_UpdateApplicationComponentConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1392
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1393
|
-
return de_CommandError(output, context);
|
|
1394
|
-
}
|
|
1395
|
-
const contents = (0, import_smithy_client.map)({
|
|
1396
|
-
$metadata: deserializeMetadata(output)
|
|
1397
|
-
});
|
|
1398
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1399
|
-
return contents;
|
|
1400
|
-
}, "de_UpdateApplicationComponentConfigCommand");
|
|
1401
|
-
var de_UpdateServerConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1402
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1403
|
-
return de_CommandError(output, context);
|
|
1404
|
-
}
|
|
1405
|
-
const contents = (0, import_smithy_client.map)({
|
|
1406
|
-
$metadata: deserializeMetadata(output)
|
|
1407
|
-
});
|
|
1408
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1409
|
-
return contents;
|
|
1410
|
-
}, "de_UpdateServerConfigCommand");
|
|
1411
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1412
|
-
const parsedOutput = {
|
|
1413
|
-
...output,
|
|
1414
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1415
|
-
};
|
|
1416
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1417
|
-
switch (errorCode) {
|
|
1418
|
-
case "InternalServerException":
|
|
1419
|
-
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1420
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1421
|
-
case "ResourceNotFoundException":
|
|
1422
|
-
case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
|
|
1423
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1424
|
-
case "ThrottlingException":
|
|
1425
|
-
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1426
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1427
|
-
case "AccessDeniedException":
|
|
1428
|
-
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1429
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1430
|
-
case "ValidationException":
|
|
1431
|
-
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1432
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1433
|
-
case "DependencyException":
|
|
1434
|
-
case "com.amazonaws.migrationhubstrategy#DependencyException":
|
|
1435
|
-
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1436
|
-
case "ServiceLinkedRoleLockClientException":
|
|
1437
|
-
case "com.amazonaws.migrationhubstrategy#ServiceLinkedRoleLockClientException":
|
|
1438
|
-
throw await de_ServiceLinkedRoleLockClientExceptionRes(parsedOutput, context);
|
|
1439
|
-
case "ConflictException":
|
|
1440
|
-
case "com.amazonaws.migrationhubstrategy#ConflictException":
|
|
1441
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1442
|
-
case "ServiceQuotaExceededException":
|
|
1443
|
-
case "com.amazonaws.migrationhubstrategy#ServiceQuotaExceededException":
|
|
1444
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1445
|
-
default:
|
|
1446
|
-
const parsedBody = parsedOutput.body;
|
|
1447
|
-
return throwDefaultError({
|
|
1448
|
-
output,
|
|
1449
|
-
parsedBody,
|
|
1450
|
-
errorCode
|
|
1451
|
-
});
|
|
1452
|
-
}
|
|
1453
|
-
}, "de_CommandError");
|
|
1454
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(MigrationHubStrategyServiceException);
|
|
1455
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1456
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1457
|
-
const data = parsedOutput.body;
|
|
1458
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1459
|
-
message: import_smithy_client.expectString
|
|
1460
|
-
});
|
|
1461
|
-
Object.assign(contents, doc);
|
|
1462
|
-
const exception = new AccessDeniedException({
|
|
1463
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1464
|
-
...contents
|
|
1465
|
-
});
|
|
1466
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1467
|
-
}, "de_AccessDeniedExceptionRes");
|
|
1468
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1469
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1470
|
-
const data = parsedOutput.body;
|
|
1471
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1472
|
-
message: import_smithy_client.expectString
|
|
1473
|
-
});
|
|
1474
|
-
Object.assign(contents, doc);
|
|
1475
|
-
const exception = new ConflictException({
|
|
1476
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1477
|
-
...contents
|
|
1478
|
-
});
|
|
1479
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1480
|
-
}, "de_ConflictExceptionRes");
|
|
1481
|
-
var de_DependencyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1482
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1483
|
-
const data = parsedOutput.body;
|
|
1484
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1485
|
-
message: import_smithy_client.expectString
|
|
1486
|
-
});
|
|
1487
|
-
Object.assign(contents, doc);
|
|
1488
|
-
const exception = new DependencyException({
|
|
1489
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1490
|
-
...contents
|
|
1491
|
-
});
|
|
1492
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1493
|
-
}, "de_DependencyExceptionRes");
|
|
1494
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1495
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1496
|
-
const data = parsedOutput.body;
|
|
1497
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1498
|
-
message: import_smithy_client.expectString
|
|
1499
|
-
});
|
|
1500
|
-
Object.assign(contents, doc);
|
|
1501
|
-
const exception = new InternalServerException({
|
|
1502
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1503
|
-
...contents
|
|
1504
|
-
});
|
|
1505
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1506
|
-
}, "de_InternalServerExceptionRes");
|
|
1507
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1508
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1509
|
-
const data = parsedOutput.body;
|
|
1510
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1511
|
-
message: import_smithy_client.expectString
|
|
1512
|
-
});
|
|
1513
|
-
Object.assign(contents, doc);
|
|
1514
|
-
const exception = new ResourceNotFoundException({
|
|
1515
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1516
|
-
...contents
|
|
1517
|
-
});
|
|
1518
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1519
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1520
|
-
var de_ServiceLinkedRoleLockClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1521
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1522
|
-
const data = parsedOutput.body;
|
|
1523
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1524
|
-
message: import_smithy_client.expectString
|
|
1525
|
-
});
|
|
1526
|
-
Object.assign(contents, doc);
|
|
1527
|
-
const exception = new ServiceLinkedRoleLockClientException({
|
|
1528
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1529
|
-
...contents
|
|
1530
|
-
});
|
|
1531
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1532
|
-
}, "de_ServiceLinkedRoleLockClientExceptionRes");
|
|
1533
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1534
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1535
|
-
const data = parsedOutput.body;
|
|
1536
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1537
|
-
message: import_smithy_client.expectString
|
|
1538
|
-
});
|
|
1539
|
-
Object.assign(contents, doc);
|
|
1540
|
-
const exception = new ServiceQuotaExceededException({
|
|
1541
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1542
|
-
...contents
|
|
1543
|
-
});
|
|
1544
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1545
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1546
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1547
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1548
|
-
const data = parsedOutput.body;
|
|
1549
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1550
|
-
message: import_smithy_client.expectString
|
|
1551
|
-
});
|
|
1552
|
-
Object.assign(contents, doc);
|
|
1553
|
-
const exception = new ThrottlingException({
|
|
1554
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1555
|
-
...contents
|
|
1556
|
-
});
|
|
1557
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1558
|
-
}, "de_ThrottlingExceptionRes");
|
|
1559
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1560
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1561
|
-
const data = parsedOutput.body;
|
|
1562
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1563
|
-
message: import_smithy_client.expectString
|
|
1564
|
-
});
|
|
1565
|
-
Object.assign(contents, doc);
|
|
1566
|
-
const exception = new ValidationException({
|
|
1567
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1568
|
-
...contents
|
|
1569
|
-
});
|
|
1570
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1571
|
-
}, "de_ValidationExceptionRes");
|
|
1572
|
-
var de_ApplicationComponentDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1573
|
-
return (0, import_smithy_client.take)(output, {
|
|
1574
|
-
analysisStatus: import_smithy_client.expectString,
|
|
1575
|
-
antipatternReportS3Object: import_smithy_client._json,
|
|
1576
|
-
antipatternReportStatus: import_smithy_client.expectString,
|
|
1577
|
-
antipatternReportStatusMessage: import_smithy_client.expectString,
|
|
1578
|
-
appType: import_smithy_client.expectString,
|
|
1579
|
-
appUnitError: import_smithy_client._json,
|
|
1580
|
-
associatedServerId: import_smithy_client.expectString,
|
|
1581
|
-
databaseConfigDetail: import_smithy_client._json,
|
|
1582
|
-
id: import_smithy_client.expectString,
|
|
1583
|
-
inclusionStatus: import_smithy_client.expectString,
|
|
1584
|
-
lastAnalyzedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastAnalyzedTimestamp"),
|
|
1585
|
-
listAntipatternSeveritySummary: import_smithy_client._json,
|
|
1586
|
-
moreServerAssociationExists: import_smithy_client.expectBoolean,
|
|
1587
|
-
name: import_smithy_client.expectString,
|
|
1588
|
-
osDriver: import_smithy_client.expectString,
|
|
1589
|
-
osVersion: import_smithy_client.expectString,
|
|
1590
|
-
recommendationSet: import_smithy_client._json,
|
|
1591
|
-
resourceSubType: import_smithy_client.expectString,
|
|
1592
|
-
resultList: import_smithy_client._json,
|
|
1593
|
-
runtimeStatus: import_smithy_client.expectString,
|
|
1594
|
-
runtimeStatusMessage: import_smithy_client.expectString,
|
|
1595
|
-
sourceCodeRepositories: import_smithy_client._json,
|
|
1596
|
-
statusMessage: import_smithy_client.expectString
|
|
1597
|
-
});
|
|
1598
|
-
}, "de_ApplicationComponentDetail");
|
|
1599
|
-
var de_ApplicationComponentDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1600
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1601
|
-
return de_ApplicationComponentDetail(entry, context);
|
|
1602
|
-
});
|
|
1603
|
-
return retVal;
|
|
1604
|
-
}, "de_ApplicationComponentDetails");
|
|
1605
|
-
var de_AssessmentSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1606
|
-
return (0, import_smithy_client.take)(output, {
|
|
1607
|
-
antipatternReportS3Object: import_smithy_client._json,
|
|
1608
|
-
antipatternReportStatus: import_smithy_client.expectString,
|
|
1609
|
-
antipatternReportStatusMessage: import_smithy_client.expectString,
|
|
1610
|
-
lastAnalyzedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastAnalyzedTimestamp"),
|
|
1611
|
-
listAntipatternSeveritySummary: import_smithy_client._json,
|
|
1612
|
-
listApplicationComponentStatusSummary: import_smithy_client._json,
|
|
1613
|
-
listApplicationComponentStrategySummary: import_smithy_client._json,
|
|
1614
|
-
listApplicationComponentSummary: import_smithy_client._json,
|
|
1615
|
-
listServerStatusSummary: import_smithy_client._json,
|
|
1616
|
-
listServerStrategySummary: import_smithy_client._json,
|
|
1617
|
-
listServerSummary: import_smithy_client._json
|
|
1618
|
-
});
|
|
1619
|
-
}, "de_AssessmentSummary");
|
|
1620
|
-
var de_DataCollectionDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1621
|
-
return (0, import_smithy_client.take)(output, {
|
|
1622
|
-
completionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "completionTime"),
|
|
1623
|
-
failed: import_smithy_client.expectInt32,
|
|
1624
|
-
inProgress: import_smithy_client.expectInt32,
|
|
1625
|
-
servers: import_smithy_client.expectInt32,
|
|
1626
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
|
|
1627
|
-
status: import_smithy_client.expectString,
|
|
1628
|
-
statusMessage: import_smithy_client.expectString,
|
|
1629
|
-
success: import_smithy_client.expectInt32
|
|
1630
|
-
});
|
|
1631
|
-
}, "de_DataCollectionDetails");
|
|
1632
|
-
var de_ImportFileTaskInformation = /* @__PURE__ */ __name((output, context) => {
|
|
1633
|
-
return (0, import_smithy_client.take)(output, {
|
|
1634
|
-
completionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "completionTime"),
|
|
1635
|
-
id: import_smithy_client.expectString,
|
|
1636
|
-
importName: import_smithy_client.expectString,
|
|
1637
|
-
inputS3Bucket: import_smithy_client.expectString,
|
|
1638
|
-
inputS3Key: import_smithy_client.expectString,
|
|
1639
|
-
numberOfRecordsFailed: import_smithy_client.expectInt32,
|
|
1640
|
-
numberOfRecordsSuccess: import_smithy_client.expectInt32,
|
|
1641
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
|
|
1642
|
-
status: import_smithy_client.expectString,
|
|
1643
|
-
statusReportS3Bucket: import_smithy_client.expectString,
|
|
1644
|
-
statusReportS3Key: import_smithy_client.expectString
|
|
1645
|
-
});
|
|
1646
|
-
}, "de_ImportFileTaskInformation");
|
|
1647
|
-
var de_ListImportFileTaskInformation = /* @__PURE__ */ __name((output, context) => {
|
|
1648
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1649
|
-
return de_ImportFileTaskInformation(entry, context);
|
|
1650
|
-
});
|
|
1651
|
-
return retVal;
|
|
1652
|
-
}, "de_ListImportFileTaskInformation");
|
|
1653
|
-
var de_RecommendationReportDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1654
|
-
return (0, import_smithy_client.take)(output, {
|
|
1655
|
-
completionTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "completionTime"),
|
|
1656
|
-
s3Bucket: import_smithy_client.expectString,
|
|
1657
|
-
s3Keys: import_smithy_client._json,
|
|
1658
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime"),
|
|
1659
|
-
status: import_smithy_client.expectString,
|
|
1660
|
-
statusMessage: import_smithy_client.expectString
|
|
1661
|
-
});
|
|
1662
|
-
}, "de_RecommendationReportDetails");
|
|
1663
|
-
var de_ServerDetail = /* @__PURE__ */ __name((output, context) => {
|
|
1664
|
-
return (0, import_smithy_client.take)(output, {
|
|
1665
|
-
antipatternReportS3Object: import_smithy_client._json,
|
|
1666
|
-
antipatternReportStatus: import_smithy_client.expectString,
|
|
1667
|
-
antipatternReportStatusMessage: import_smithy_client.expectString,
|
|
1668
|
-
applicationComponentStrategySummary: import_smithy_client._json,
|
|
1669
|
-
dataCollectionStatus: import_smithy_client.expectString,
|
|
1670
|
-
id: import_smithy_client.expectString,
|
|
1671
|
-
lastAnalyzedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastAnalyzedTimestamp"),
|
|
1672
|
-
listAntipatternSeveritySummary: import_smithy_client._json,
|
|
1673
|
-
name: import_smithy_client.expectString,
|
|
1674
|
-
recommendationSet: import_smithy_client._json,
|
|
1675
|
-
serverError: import_smithy_client._json,
|
|
1676
|
-
serverType: import_smithy_client.expectString,
|
|
1677
|
-
statusMessage: import_smithy_client.expectString,
|
|
1678
|
-
systemInfo: import_smithy_client._json
|
|
1679
|
-
});
|
|
1680
|
-
}, "de_ServerDetail");
|
|
1681
|
-
var de_ServerDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1682
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1683
|
-
return de_ServerDetail(entry, context);
|
|
1684
|
-
});
|
|
1685
|
-
return retVal;
|
|
1686
|
-
}, "de_ServerDetails");
|
|
1687
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1688
|
-
httpStatusCode: output.statusCode,
|
|
1689
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1690
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1691
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1692
|
-
}), "deserializeMetadata");
|
|
1693
|
-
var _mR = "maxResults";
|
|
1694
|
-
var _nT = "nextToken";
|
|
1695
|
-
|
|
1696
|
-
// src/commands/GetApplicationComponentDetailsCommand.ts
|
|
1697
|
-
var GetApplicationComponentDetailsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1698
|
-
return [
|
|
1699
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1700
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1701
|
-
];
|
|
1702
|
-
}).s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentDetails", {}).n("MigrationHubStrategyClient", "GetApplicationComponentDetailsCommand").f(void 0, void 0).ser(se_GetApplicationComponentDetailsCommand).de(de_GetApplicationComponentDetailsCommand).build() {
|
|
1703
|
-
static {
|
|
1704
|
-
__name(this, "GetApplicationComponentDetailsCommand");
|
|
1705
|
-
}
|
|
907
|
+
const de_GetImportFileTaskCommand = async (output, context) => {
|
|
908
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
909
|
+
return de_CommandError(output, context);
|
|
910
|
+
}
|
|
911
|
+
const contents = smithyClient.map({
|
|
912
|
+
$metadata: deserializeMetadata(output),
|
|
913
|
+
});
|
|
914
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
915
|
+
const doc = smithyClient.take(data, {
|
|
916
|
+
completionTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
917
|
+
id: smithyClient.expectString,
|
|
918
|
+
importName: smithyClient.expectString,
|
|
919
|
+
inputS3Bucket: smithyClient.expectString,
|
|
920
|
+
inputS3Key: smithyClient.expectString,
|
|
921
|
+
numberOfRecordsFailed: smithyClient.expectInt32,
|
|
922
|
+
numberOfRecordsSuccess: smithyClient.expectInt32,
|
|
923
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
924
|
+
status: smithyClient.expectString,
|
|
925
|
+
statusReportS3Bucket: smithyClient.expectString,
|
|
926
|
+
statusReportS3Key: smithyClient.expectString,
|
|
927
|
+
});
|
|
928
|
+
Object.assign(contents, doc);
|
|
929
|
+
return contents;
|
|
1706
930
|
};
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
(
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
})
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
}
|
|
931
|
+
const de_GetLatestAssessmentIdCommand = async (output, context) => {
|
|
932
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
933
|
+
return de_CommandError(output, context);
|
|
934
|
+
}
|
|
935
|
+
const contents = smithyClient.map({
|
|
936
|
+
$metadata: deserializeMetadata(output),
|
|
937
|
+
});
|
|
938
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
939
|
+
const doc = smithyClient.take(data, {
|
|
940
|
+
id: smithyClient.expectString,
|
|
941
|
+
});
|
|
942
|
+
Object.assign(contents, doc);
|
|
943
|
+
return contents;
|
|
1721
944
|
};
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
(
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
945
|
+
const de_GetPortfolioPreferencesCommand = async (output, context) => {
|
|
946
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
947
|
+
return de_CommandError(output, context);
|
|
948
|
+
}
|
|
949
|
+
const contents = smithyClient.map({
|
|
950
|
+
$metadata: deserializeMetadata(output),
|
|
951
|
+
});
|
|
952
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
953
|
+
const doc = smithyClient.take(data, {
|
|
954
|
+
applicationMode: smithyClient.expectString,
|
|
955
|
+
applicationPreferences: smithyClient._json,
|
|
956
|
+
databasePreferences: smithyClient._json,
|
|
957
|
+
prioritizeBusinessGoals: smithyClient._json,
|
|
958
|
+
});
|
|
959
|
+
Object.assign(contents, doc);
|
|
960
|
+
return contents;
|
|
1736
961
|
};
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
(
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
})
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
}
|
|
962
|
+
const de_GetPortfolioSummaryCommand = async (output, context) => {
|
|
963
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
964
|
+
return de_CommandError(output, context);
|
|
965
|
+
}
|
|
966
|
+
const contents = smithyClient.map({
|
|
967
|
+
$metadata: deserializeMetadata(output),
|
|
968
|
+
});
|
|
969
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
970
|
+
const doc = smithyClient.take(data, {
|
|
971
|
+
assessmentSummary: (_) => de_AssessmentSummary(_),
|
|
972
|
+
});
|
|
973
|
+
Object.assign(contents, doc);
|
|
974
|
+
return contents;
|
|
1751
975
|
};
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
(
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
976
|
+
const de_GetRecommendationReportDetailsCommand = async (output, context) => {
|
|
977
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
978
|
+
return de_CommandError(output, context);
|
|
979
|
+
}
|
|
980
|
+
const contents = smithyClient.map({
|
|
981
|
+
$metadata: deserializeMetadata(output),
|
|
982
|
+
});
|
|
983
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
984
|
+
const doc = smithyClient.take(data, {
|
|
985
|
+
id: smithyClient.expectString,
|
|
986
|
+
recommendationReportDetails: (_) => de_RecommendationReportDetails(_),
|
|
987
|
+
});
|
|
988
|
+
Object.assign(contents, doc);
|
|
989
|
+
return contents;
|
|
1766
990
|
};
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
(
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
991
|
+
const de_GetServerDetailsCommand = async (output, context) => {
|
|
992
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
993
|
+
return de_CommandError(output, context);
|
|
994
|
+
}
|
|
995
|
+
const contents = smithyClient.map({
|
|
996
|
+
$metadata: deserializeMetadata(output),
|
|
997
|
+
});
|
|
998
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
999
|
+
const doc = smithyClient.take(data, {
|
|
1000
|
+
associatedApplications: smithyClient._json,
|
|
1001
|
+
nextToken: smithyClient.expectString,
|
|
1002
|
+
serverDetail: (_) => de_ServerDetail(_),
|
|
1003
|
+
});
|
|
1004
|
+
Object.assign(contents, doc);
|
|
1005
|
+
return contents;
|
|
1781
1006
|
};
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
(
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
})
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
}
|
|
1007
|
+
const de_GetServerStrategiesCommand = async (output, context) => {
|
|
1008
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1009
|
+
return de_CommandError(output, context);
|
|
1010
|
+
}
|
|
1011
|
+
const contents = smithyClient.map({
|
|
1012
|
+
$metadata: deserializeMetadata(output),
|
|
1013
|
+
});
|
|
1014
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1015
|
+
const doc = smithyClient.take(data, {
|
|
1016
|
+
serverStrategies: smithyClient._json,
|
|
1017
|
+
});
|
|
1018
|
+
Object.assign(contents, doc);
|
|
1019
|
+
return contents;
|
|
1796
1020
|
};
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
(
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1021
|
+
const de_ListAnalyzableServersCommand = async (output, context) => {
|
|
1022
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1023
|
+
return de_CommandError(output, context);
|
|
1024
|
+
}
|
|
1025
|
+
const contents = smithyClient.map({
|
|
1026
|
+
$metadata: deserializeMetadata(output),
|
|
1027
|
+
});
|
|
1028
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1029
|
+
const doc = smithyClient.take(data, {
|
|
1030
|
+
analyzableServers: smithyClient._json,
|
|
1031
|
+
nextToken: smithyClient.expectString,
|
|
1032
|
+
});
|
|
1033
|
+
Object.assign(contents, doc);
|
|
1034
|
+
return contents;
|
|
1811
1035
|
};
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
(
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1036
|
+
const de_ListApplicationComponentsCommand = async (output, context) => {
|
|
1037
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1038
|
+
return de_CommandError(output, context);
|
|
1039
|
+
}
|
|
1040
|
+
const contents = smithyClient.map({
|
|
1041
|
+
$metadata: deserializeMetadata(output),
|
|
1042
|
+
});
|
|
1043
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1044
|
+
const doc = smithyClient.take(data, {
|
|
1045
|
+
applicationComponentInfos: (_) => de_ApplicationComponentDetails(_),
|
|
1046
|
+
nextToken: smithyClient.expectString,
|
|
1047
|
+
});
|
|
1048
|
+
Object.assign(contents, doc);
|
|
1049
|
+
return contents;
|
|
1826
1050
|
};
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
(
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1051
|
+
const de_ListCollectorsCommand = async (output, context) => {
|
|
1052
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1053
|
+
return de_CommandError(output, context);
|
|
1054
|
+
}
|
|
1055
|
+
const contents = smithyClient.map({
|
|
1056
|
+
$metadata: deserializeMetadata(output),
|
|
1057
|
+
});
|
|
1058
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1059
|
+
const doc = smithyClient.take(data, {
|
|
1060
|
+
Collectors: smithyClient._json,
|
|
1061
|
+
nextToken: smithyClient.expectString,
|
|
1062
|
+
});
|
|
1063
|
+
Object.assign(contents, doc);
|
|
1064
|
+
return contents;
|
|
1841
1065
|
};
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
(
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1066
|
+
const de_ListImportFileTaskCommand = async (output, context) => {
|
|
1067
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1068
|
+
return de_CommandError(output, context);
|
|
1069
|
+
}
|
|
1070
|
+
const contents = smithyClient.map({
|
|
1071
|
+
$metadata: deserializeMetadata(output),
|
|
1072
|
+
});
|
|
1073
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1074
|
+
const doc = smithyClient.take(data, {
|
|
1075
|
+
nextToken: smithyClient.expectString,
|
|
1076
|
+
taskInfos: (_) => de_ListImportFileTaskInformation(_),
|
|
1077
|
+
});
|
|
1078
|
+
Object.assign(contents, doc);
|
|
1079
|
+
return contents;
|
|
1856
1080
|
};
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
(
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1081
|
+
const de_ListServersCommand = async (output, context) => {
|
|
1082
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1083
|
+
return de_CommandError(output, context);
|
|
1084
|
+
}
|
|
1085
|
+
const contents = smithyClient.map({
|
|
1086
|
+
$metadata: deserializeMetadata(output),
|
|
1087
|
+
});
|
|
1088
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1089
|
+
const doc = smithyClient.take(data, {
|
|
1090
|
+
nextToken: smithyClient.expectString,
|
|
1091
|
+
serverInfos: (_) => de_ServerDetails(_),
|
|
1092
|
+
});
|
|
1093
|
+
Object.assign(contents, doc);
|
|
1094
|
+
return contents;
|
|
1871
1095
|
};
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
];
|
|
1882
|
-
}).s("AWSMigrationHubStrategyRecommendation", "ListCollectors", {}).n("MigrationHubStrategyClient", "ListCollectorsCommand").f(void 0, void 0).ser(se_ListCollectorsCommand).de(de_ListCollectorsCommand).build() {
|
|
1883
|
-
static {
|
|
1884
|
-
__name(this, "ListCollectorsCommand");
|
|
1885
|
-
}
|
|
1096
|
+
const de_PutPortfolioPreferencesCommand = async (output, context) => {
|
|
1097
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1098
|
+
return de_CommandError(output, context);
|
|
1099
|
+
}
|
|
1100
|
+
const contents = smithyClient.map({
|
|
1101
|
+
$metadata: deserializeMetadata(output),
|
|
1102
|
+
});
|
|
1103
|
+
await smithyClient.collectBody(output.body, context);
|
|
1104
|
+
return contents;
|
|
1886
1105
|
};
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
(
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
})
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
}
|
|
1106
|
+
const de_StartAssessmentCommand = async (output, context) => {
|
|
1107
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1108
|
+
return de_CommandError(output, context);
|
|
1109
|
+
}
|
|
1110
|
+
const contents = smithyClient.map({
|
|
1111
|
+
$metadata: deserializeMetadata(output),
|
|
1112
|
+
});
|
|
1113
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1114
|
+
const doc = smithyClient.take(data, {
|
|
1115
|
+
assessmentId: smithyClient.expectString,
|
|
1116
|
+
});
|
|
1117
|
+
Object.assign(contents, doc);
|
|
1118
|
+
return contents;
|
|
1901
1119
|
};
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
(
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
})
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
}
|
|
1120
|
+
const de_StartImportFileTaskCommand = async (output, context) => {
|
|
1121
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1122
|
+
return de_CommandError(output, context);
|
|
1123
|
+
}
|
|
1124
|
+
const contents = smithyClient.map({
|
|
1125
|
+
$metadata: deserializeMetadata(output),
|
|
1126
|
+
});
|
|
1127
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1128
|
+
const doc = smithyClient.take(data, {
|
|
1129
|
+
id: smithyClient.expectString,
|
|
1130
|
+
});
|
|
1131
|
+
Object.assign(contents, doc);
|
|
1132
|
+
return contents;
|
|
1916
1133
|
};
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
(
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
})
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
}
|
|
1134
|
+
const de_StartRecommendationReportGenerationCommand = async (output, context) => {
|
|
1135
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1136
|
+
return de_CommandError(output, context);
|
|
1137
|
+
}
|
|
1138
|
+
const contents = smithyClient.map({
|
|
1139
|
+
$metadata: deserializeMetadata(output),
|
|
1140
|
+
});
|
|
1141
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1142
|
+
const doc = smithyClient.take(data, {
|
|
1143
|
+
id: smithyClient.expectString,
|
|
1144
|
+
});
|
|
1145
|
+
Object.assign(contents, doc);
|
|
1146
|
+
return contents;
|
|
1931
1147
|
};
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
];
|
|
1942
|
-
}).s("AWSMigrationHubStrategyRecommendation", "StartAssessment", {}).n("MigrationHubStrategyClient", "StartAssessmentCommand").f(void 0, void 0).ser(se_StartAssessmentCommand).de(de_StartAssessmentCommand).build() {
|
|
1943
|
-
static {
|
|
1944
|
-
__name(this, "StartAssessmentCommand");
|
|
1945
|
-
}
|
|
1148
|
+
const de_StopAssessmentCommand = async (output, context) => {
|
|
1149
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1150
|
+
return de_CommandError(output, context);
|
|
1151
|
+
}
|
|
1152
|
+
const contents = smithyClient.map({
|
|
1153
|
+
$metadata: deserializeMetadata(output),
|
|
1154
|
+
});
|
|
1155
|
+
await smithyClient.collectBody(output.body, context);
|
|
1156
|
+
return contents;
|
|
1946
1157
|
};
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
];
|
|
1957
|
-
}).s("AWSMigrationHubStrategyRecommendation", "StartImportFileTask", {}).n("MigrationHubStrategyClient", "StartImportFileTaskCommand").f(void 0, void 0).ser(se_StartImportFileTaskCommand).de(de_StartImportFileTaskCommand).build() {
|
|
1958
|
-
static {
|
|
1959
|
-
__name(this, "StartImportFileTaskCommand");
|
|
1960
|
-
}
|
|
1158
|
+
const de_UpdateApplicationComponentConfigCommand = async (output, context) => {
|
|
1159
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1160
|
+
return de_CommandError(output, context);
|
|
1161
|
+
}
|
|
1162
|
+
const contents = smithyClient.map({
|
|
1163
|
+
$metadata: deserializeMetadata(output),
|
|
1164
|
+
});
|
|
1165
|
+
await smithyClient.collectBody(output.body, context);
|
|
1166
|
+
return contents;
|
|
1961
1167
|
};
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1168
|
+
const de_UpdateServerConfigCommand = async (output, context) => {
|
|
1169
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1170
|
+
return de_CommandError(output, context);
|
|
1171
|
+
}
|
|
1172
|
+
const contents = smithyClient.map({
|
|
1173
|
+
$metadata: deserializeMetadata(output),
|
|
1174
|
+
});
|
|
1175
|
+
await smithyClient.collectBody(output.body, context);
|
|
1176
|
+
return contents;
|
|
1177
|
+
};
|
|
1178
|
+
const de_CommandError = async (output, context) => {
|
|
1179
|
+
const parsedOutput = {
|
|
1180
|
+
...output,
|
|
1181
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1182
|
+
};
|
|
1183
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1184
|
+
switch (errorCode) {
|
|
1185
|
+
case "InternalServerException":
|
|
1186
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1187
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1188
|
+
case "ResourceNotFoundException":
|
|
1189
|
+
case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
|
|
1190
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1191
|
+
case "ThrottlingException":
|
|
1192
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1193
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1194
|
+
case "AccessDeniedException":
|
|
1195
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1196
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1197
|
+
case "ValidationException":
|
|
1198
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1199
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1200
|
+
case "DependencyException":
|
|
1201
|
+
case "com.amazonaws.migrationhubstrategy#DependencyException":
|
|
1202
|
+
throw await de_DependencyExceptionRes(parsedOutput);
|
|
1203
|
+
case "ServiceLinkedRoleLockClientException":
|
|
1204
|
+
case "com.amazonaws.migrationhubstrategy#ServiceLinkedRoleLockClientException":
|
|
1205
|
+
throw await de_ServiceLinkedRoleLockClientExceptionRes(parsedOutput);
|
|
1206
|
+
case "ConflictException":
|
|
1207
|
+
case "com.amazonaws.migrationhubstrategy#ConflictException":
|
|
1208
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1209
|
+
case "ServiceQuotaExceededException":
|
|
1210
|
+
case "com.amazonaws.migrationhubstrategy#ServiceQuotaExceededException":
|
|
1211
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1212
|
+
default:
|
|
1213
|
+
const parsedBody = parsedOutput.body;
|
|
1214
|
+
return throwDefaultError({
|
|
1215
|
+
output,
|
|
1216
|
+
parsedBody,
|
|
1217
|
+
errorCode,
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1976
1220
|
};
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
}
|
|
1221
|
+
const throwDefaultError = smithyClient.withBaseException(MigrationHubStrategyServiceException);
|
|
1222
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1223
|
+
const contents = smithyClient.map({});
|
|
1224
|
+
const data = parsedOutput.body;
|
|
1225
|
+
const doc = smithyClient.take(data, {
|
|
1226
|
+
message: smithyClient.expectString,
|
|
1227
|
+
});
|
|
1228
|
+
Object.assign(contents, doc);
|
|
1229
|
+
const exception = new AccessDeniedException({
|
|
1230
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1231
|
+
...contents,
|
|
1232
|
+
});
|
|
1233
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1991
1234
|
};
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
})
|
|
2003
|
-
|
|
2004
|
-
__name(this, "UpdateApplicationComponentConfigCommand");
|
|
2005
|
-
}
|
|
1235
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1236
|
+
const contents = smithyClient.map({});
|
|
1237
|
+
const data = parsedOutput.body;
|
|
1238
|
+
const doc = smithyClient.take(data, {
|
|
1239
|
+
message: smithyClient.expectString,
|
|
1240
|
+
});
|
|
1241
|
+
Object.assign(contents, doc);
|
|
1242
|
+
const exception = new ConflictException({
|
|
1243
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1244
|
+
...contents,
|
|
1245
|
+
});
|
|
1246
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2006
1247
|
};
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
})
|
|
2018
|
-
|
|
2019
|
-
__name(this, "UpdateServerConfigCommand");
|
|
2020
|
-
}
|
|
1248
|
+
const de_DependencyExceptionRes = async (parsedOutput, context) => {
|
|
1249
|
+
const contents = smithyClient.map({});
|
|
1250
|
+
const data = parsedOutput.body;
|
|
1251
|
+
const doc = smithyClient.take(data, {
|
|
1252
|
+
message: smithyClient.expectString,
|
|
1253
|
+
});
|
|
1254
|
+
Object.assign(contents, doc);
|
|
1255
|
+
const exception = new DependencyException({
|
|
1256
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1257
|
+
...contents,
|
|
1258
|
+
});
|
|
1259
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2021
1260
|
};
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
};
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
1261
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1262
|
+
const contents = smithyClient.map({});
|
|
1263
|
+
const data = parsedOutput.body;
|
|
1264
|
+
const doc = smithyClient.take(data, {
|
|
1265
|
+
message: smithyClient.expectString,
|
|
1266
|
+
});
|
|
1267
|
+
Object.assign(contents, doc);
|
|
1268
|
+
const exception = new InternalServerException({
|
|
1269
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1270
|
+
...contents,
|
|
1271
|
+
});
|
|
1272
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1273
|
+
};
|
|
1274
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1275
|
+
const contents = smithyClient.map({});
|
|
1276
|
+
const data = parsedOutput.body;
|
|
1277
|
+
const doc = smithyClient.take(data, {
|
|
1278
|
+
message: smithyClient.expectString,
|
|
1279
|
+
});
|
|
1280
|
+
Object.assign(contents, doc);
|
|
1281
|
+
const exception = new ResourceNotFoundException({
|
|
1282
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1283
|
+
...contents,
|
|
1284
|
+
});
|
|
1285
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1286
|
+
};
|
|
1287
|
+
const de_ServiceLinkedRoleLockClientExceptionRes = async (parsedOutput, context) => {
|
|
1288
|
+
const contents = smithyClient.map({});
|
|
1289
|
+
const data = parsedOutput.body;
|
|
1290
|
+
const doc = smithyClient.take(data, {
|
|
1291
|
+
message: smithyClient.expectString,
|
|
1292
|
+
});
|
|
1293
|
+
Object.assign(contents, doc);
|
|
1294
|
+
const exception = new ServiceLinkedRoleLockClientException({
|
|
1295
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1296
|
+
...contents,
|
|
1297
|
+
});
|
|
1298
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1299
|
+
};
|
|
1300
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1301
|
+
const contents = smithyClient.map({});
|
|
1302
|
+
const data = parsedOutput.body;
|
|
1303
|
+
const doc = smithyClient.take(data, {
|
|
1304
|
+
message: smithyClient.expectString,
|
|
1305
|
+
});
|
|
1306
|
+
Object.assign(contents, doc);
|
|
1307
|
+
const exception = new ServiceQuotaExceededException({
|
|
1308
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1309
|
+
...contents,
|
|
1310
|
+
});
|
|
1311
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1312
|
+
};
|
|
1313
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1314
|
+
const contents = smithyClient.map({});
|
|
1315
|
+
const data = parsedOutput.body;
|
|
1316
|
+
const doc = smithyClient.take(data, {
|
|
1317
|
+
message: smithyClient.expectString,
|
|
1318
|
+
});
|
|
1319
|
+
Object.assign(contents, doc);
|
|
1320
|
+
const exception = new ThrottlingException({
|
|
1321
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1322
|
+
...contents,
|
|
1323
|
+
});
|
|
1324
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1325
|
+
};
|
|
1326
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1327
|
+
const contents = smithyClient.map({});
|
|
1328
|
+
const data = parsedOutput.body;
|
|
1329
|
+
const doc = smithyClient.take(data, {
|
|
1330
|
+
message: smithyClient.expectString,
|
|
1331
|
+
});
|
|
1332
|
+
Object.assign(contents, doc);
|
|
1333
|
+
const exception = new ValidationException({
|
|
1334
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1335
|
+
...contents,
|
|
1336
|
+
});
|
|
1337
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1338
|
+
};
|
|
1339
|
+
const de_ApplicationComponentDetail = (output, context) => {
|
|
1340
|
+
return smithyClient.take(output, {
|
|
1341
|
+
analysisStatus: smithyClient.expectString,
|
|
1342
|
+
antipatternReportS3Object: smithyClient._json,
|
|
1343
|
+
antipatternReportStatus: smithyClient.expectString,
|
|
1344
|
+
antipatternReportStatusMessage: smithyClient.expectString,
|
|
1345
|
+
appType: smithyClient.expectString,
|
|
1346
|
+
appUnitError: smithyClient._json,
|
|
1347
|
+
associatedServerId: smithyClient.expectString,
|
|
1348
|
+
databaseConfigDetail: smithyClient._json,
|
|
1349
|
+
id: smithyClient.expectString,
|
|
1350
|
+
inclusionStatus: smithyClient.expectString,
|
|
1351
|
+
lastAnalyzedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1352
|
+
listAntipatternSeveritySummary: smithyClient._json,
|
|
1353
|
+
moreServerAssociationExists: smithyClient.expectBoolean,
|
|
1354
|
+
name: smithyClient.expectString,
|
|
1355
|
+
osDriver: smithyClient.expectString,
|
|
1356
|
+
osVersion: smithyClient.expectString,
|
|
1357
|
+
recommendationSet: smithyClient._json,
|
|
1358
|
+
resourceSubType: smithyClient.expectString,
|
|
1359
|
+
resultList: smithyClient._json,
|
|
1360
|
+
runtimeStatus: smithyClient.expectString,
|
|
1361
|
+
runtimeStatusMessage: smithyClient.expectString,
|
|
1362
|
+
sourceCodeRepositories: smithyClient._json,
|
|
1363
|
+
statusMessage: smithyClient.expectString,
|
|
1364
|
+
});
|
|
1365
|
+
};
|
|
1366
|
+
const de_ApplicationComponentDetails = (output, context) => {
|
|
1367
|
+
const retVal = (output || [])
|
|
1368
|
+
.filter((e) => e != null)
|
|
1369
|
+
.map((entry) => {
|
|
1370
|
+
return de_ApplicationComponentDetail(entry);
|
|
1371
|
+
});
|
|
1372
|
+
return retVal;
|
|
1373
|
+
};
|
|
1374
|
+
const de_AssessmentSummary = (output, context) => {
|
|
1375
|
+
return smithyClient.take(output, {
|
|
1376
|
+
antipatternReportS3Object: smithyClient._json,
|
|
1377
|
+
antipatternReportStatus: smithyClient.expectString,
|
|
1378
|
+
antipatternReportStatusMessage: smithyClient.expectString,
|
|
1379
|
+
lastAnalyzedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1380
|
+
listAntipatternSeveritySummary: smithyClient._json,
|
|
1381
|
+
listApplicationComponentStatusSummary: smithyClient._json,
|
|
1382
|
+
listApplicationComponentStrategySummary: smithyClient._json,
|
|
1383
|
+
listApplicationComponentSummary: smithyClient._json,
|
|
1384
|
+
listServerStatusSummary: smithyClient._json,
|
|
1385
|
+
listServerStrategySummary: smithyClient._json,
|
|
1386
|
+
listServerSummary: smithyClient._json,
|
|
1387
|
+
});
|
|
1388
|
+
};
|
|
1389
|
+
const de_DataCollectionDetails = (output, context) => {
|
|
1390
|
+
return smithyClient.take(output, {
|
|
1391
|
+
completionTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1392
|
+
failed: smithyClient.expectInt32,
|
|
1393
|
+
inProgress: smithyClient.expectInt32,
|
|
1394
|
+
servers: smithyClient.expectInt32,
|
|
1395
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1396
|
+
status: smithyClient.expectString,
|
|
1397
|
+
statusMessage: smithyClient.expectString,
|
|
1398
|
+
success: smithyClient.expectInt32,
|
|
1399
|
+
});
|
|
1400
|
+
};
|
|
1401
|
+
const de_ImportFileTaskInformation = (output, context) => {
|
|
1402
|
+
return smithyClient.take(output, {
|
|
1403
|
+
completionTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1404
|
+
id: smithyClient.expectString,
|
|
1405
|
+
importName: smithyClient.expectString,
|
|
1406
|
+
inputS3Bucket: smithyClient.expectString,
|
|
1407
|
+
inputS3Key: smithyClient.expectString,
|
|
1408
|
+
numberOfRecordsFailed: smithyClient.expectInt32,
|
|
1409
|
+
numberOfRecordsSuccess: smithyClient.expectInt32,
|
|
1410
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1411
|
+
status: smithyClient.expectString,
|
|
1412
|
+
statusReportS3Bucket: smithyClient.expectString,
|
|
1413
|
+
statusReportS3Key: smithyClient.expectString,
|
|
1414
|
+
});
|
|
1415
|
+
};
|
|
1416
|
+
const de_ListImportFileTaskInformation = (output, context) => {
|
|
1417
|
+
const retVal = (output || [])
|
|
1418
|
+
.filter((e) => e != null)
|
|
1419
|
+
.map((entry) => {
|
|
1420
|
+
return de_ImportFileTaskInformation(entry);
|
|
1421
|
+
});
|
|
1422
|
+
return retVal;
|
|
1423
|
+
};
|
|
1424
|
+
const de_RecommendationReportDetails = (output, context) => {
|
|
1425
|
+
return smithyClient.take(output, {
|
|
1426
|
+
completionTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1427
|
+
s3Bucket: smithyClient.expectString,
|
|
1428
|
+
s3Keys: smithyClient._json,
|
|
1429
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1430
|
+
status: smithyClient.expectString,
|
|
1431
|
+
statusMessage: smithyClient.expectString,
|
|
1432
|
+
});
|
|
1433
|
+
};
|
|
1434
|
+
const de_ServerDetail = (output, context) => {
|
|
1435
|
+
return smithyClient.take(output, {
|
|
1436
|
+
antipatternReportS3Object: smithyClient._json,
|
|
1437
|
+
antipatternReportStatus: smithyClient.expectString,
|
|
1438
|
+
antipatternReportStatusMessage: smithyClient.expectString,
|
|
1439
|
+
applicationComponentStrategySummary: smithyClient._json,
|
|
1440
|
+
dataCollectionStatus: smithyClient.expectString,
|
|
1441
|
+
id: smithyClient.expectString,
|
|
1442
|
+
lastAnalyzedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1443
|
+
listAntipatternSeveritySummary: smithyClient._json,
|
|
1444
|
+
name: smithyClient.expectString,
|
|
1445
|
+
recommendationSet: smithyClient._json,
|
|
1446
|
+
serverError: smithyClient._json,
|
|
1447
|
+
serverType: smithyClient.expectString,
|
|
1448
|
+
statusMessage: smithyClient.expectString,
|
|
1449
|
+
systemInfo: smithyClient._json,
|
|
1450
|
+
});
|
|
1451
|
+
};
|
|
1452
|
+
const de_ServerDetails = (output, context) => {
|
|
1453
|
+
const retVal = (output || [])
|
|
1454
|
+
.filter((e) => e != null)
|
|
1455
|
+
.map((entry) => {
|
|
1456
|
+
return de_ServerDetail(entry);
|
|
1457
|
+
});
|
|
1458
|
+
return retVal;
|
|
1459
|
+
};
|
|
1460
|
+
const deserializeMetadata = (output) => ({
|
|
1461
|
+
httpStatusCode: output.statusCode,
|
|
1462
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1463
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1464
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
2172
1465
|
});
|
|
2173
|
-
|
|
1466
|
+
const _mR = "maxResults";
|
|
1467
|
+
const _nT = "nextToken";
|
|
1468
|
+
|
|
1469
|
+
class GetApplicationComponentDetailsCommand extends smithyClient.Command
|
|
1470
|
+
.classBuilder()
|
|
1471
|
+
.ep(commonParams)
|
|
1472
|
+
.m(function (Command, cs, config, o) {
|
|
1473
|
+
return [
|
|
1474
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1475
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1476
|
+
];
|
|
1477
|
+
})
|
|
1478
|
+
.s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentDetails", {})
|
|
1479
|
+
.n("MigrationHubStrategyClient", "GetApplicationComponentDetailsCommand")
|
|
1480
|
+
.f(void 0, void 0)
|
|
1481
|
+
.ser(se_GetApplicationComponentDetailsCommand)
|
|
1482
|
+
.de(de_GetApplicationComponentDetailsCommand)
|
|
1483
|
+
.build() {
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
class GetApplicationComponentStrategiesCommand extends smithyClient.Command
|
|
1487
|
+
.classBuilder()
|
|
1488
|
+
.ep(commonParams)
|
|
1489
|
+
.m(function (Command, cs, config, o) {
|
|
1490
|
+
return [
|
|
1491
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1492
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1493
|
+
];
|
|
1494
|
+
})
|
|
1495
|
+
.s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentStrategies", {})
|
|
1496
|
+
.n("MigrationHubStrategyClient", "GetApplicationComponentStrategiesCommand")
|
|
1497
|
+
.f(void 0, void 0)
|
|
1498
|
+
.ser(se_GetApplicationComponentStrategiesCommand)
|
|
1499
|
+
.de(de_GetApplicationComponentStrategiesCommand)
|
|
1500
|
+
.build() {
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
class GetAssessmentCommand extends smithyClient.Command
|
|
1504
|
+
.classBuilder()
|
|
1505
|
+
.ep(commonParams)
|
|
1506
|
+
.m(function (Command, cs, config, o) {
|
|
1507
|
+
return [
|
|
1508
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1509
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1510
|
+
];
|
|
1511
|
+
})
|
|
1512
|
+
.s("AWSMigrationHubStrategyRecommendation", "GetAssessment", {})
|
|
1513
|
+
.n("MigrationHubStrategyClient", "GetAssessmentCommand")
|
|
1514
|
+
.f(void 0, void 0)
|
|
1515
|
+
.ser(se_GetAssessmentCommand)
|
|
1516
|
+
.de(de_GetAssessmentCommand)
|
|
1517
|
+
.build() {
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
class GetImportFileTaskCommand extends smithyClient.Command
|
|
1521
|
+
.classBuilder()
|
|
1522
|
+
.ep(commonParams)
|
|
1523
|
+
.m(function (Command, cs, config, o) {
|
|
1524
|
+
return [
|
|
1525
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1526
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1527
|
+
];
|
|
1528
|
+
})
|
|
1529
|
+
.s("AWSMigrationHubStrategyRecommendation", "GetImportFileTask", {})
|
|
1530
|
+
.n("MigrationHubStrategyClient", "GetImportFileTaskCommand")
|
|
1531
|
+
.f(void 0, void 0)
|
|
1532
|
+
.ser(se_GetImportFileTaskCommand)
|
|
1533
|
+
.de(de_GetImportFileTaskCommand)
|
|
1534
|
+
.build() {
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
class GetLatestAssessmentIdCommand extends smithyClient.Command
|
|
1538
|
+
.classBuilder()
|
|
1539
|
+
.ep(commonParams)
|
|
1540
|
+
.m(function (Command, cs, config, o) {
|
|
1541
|
+
return [
|
|
1542
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1543
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1544
|
+
];
|
|
1545
|
+
})
|
|
1546
|
+
.s("AWSMigrationHubStrategyRecommendation", "GetLatestAssessmentId", {})
|
|
1547
|
+
.n("MigrationHubStrategyClient", "GetLatestAssessmentIdCommand")
|
|
1548
|
+
.f(void 0, void 0)
|
|
1549
|
+
.ser(se_GetLatestAssessmentIdCommand)
|
|
1550
|
+
.de(de_GetLatestAssessmentIdCommand)
|
|
1551
|
+
.build() {
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
class GetPortfolioPreferencesCommand extends smithyClient.Command
|
|
1555
|
+
.classBuilder()
|
|
1556
|
+
.ep(commonParams)
|
|
1557
|
+
.m(function (Command, cs, config, o) {
|
|
1558
|
+
return [
|
|
1559
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1560
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1561
|
+
];
|
|
1562
|
+
})
|
|
1563
|
+
.s("AWSMigrationHubStrategyRecommendation", "GetPortfolioPreferences", {})
|
|
1564
|
+
.n("MigrationHubStrategyClient", "GetPortfolioPreferencesCommand")
|
|
1565
|
+
.f(void 0, void 0)
|
|
1566
|
+
.ser(se_GetPortfolioPreferencesCommand)
|
|
1567
|
+
.de(de_GetPortfolioPreferencesCommand)
|
|
1568
|
+
.build() {
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
class GetPortfolioSummaryCommand extends smithyClient.Command
|
|
1572
|
+
.classBuilder()
|
|
1573
|
+
.ep(commonParams)
|
|
1574
|
+
.m(function (Command, cs, config, o) {
|
|
1575
|
+
return [
|
|
1576
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1577
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1578
|
+
];
|
|
1579
|
+
})
|
|
1580
|
+
.s("AWSMigrationHubStrategyRecommendation", "GetPortfolioSummary", {})
|
|
1581
|
+
.n("MigrationHubStrategyClient", "GetPortfolioSummaryCommand")
|
|
1582
|
+
.f(void 0, void 0)
|
|
1583
|
+
.ser(se_GetPortfolioSummaryCommand)
|
|
1584
|
+
.de(de_GetPortfolioSummaryCommand)
|
|
1585
|
+
.build() {
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
class GetRecommendationReportDetailsCommand extends smithyClient.Command
|
|
1589
|
+
.classBuilder()
|
|
1590
|
+
.ep(commonParams)
|
|
1591
|
+
.m(function (Command, cs, config, o) {
|
|
1592
|
+
return [
|
|
1593
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1594
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1595
|
+
];
|
|
1596
|
+
})
|
|
1597
|
+
.s("AWSMigrationHubStrategyRecommendation", "GetRecommendationReportDetails", {})
|
|
1598
|
+
.n("MigrationHubStrategyClient", "GetRecommendationReportDetailsCommand")
|
|
1599
|
+
.f(void 0, void 0)
|
|
1600
|
+
.ser(se_GetRecommendationReportDetailsCommand)
|
|
1601
|
+
.de(de_GetRecommendationReportDetailsCommand)
|
|
1602
|
+
.build() {
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
class GetServerDetailsCommand extends smithyClient.Command
|
|
1606
|
+
.classBuilder()
|
|
1607
|
+
.ep(commonParams)
|
|
1608
|
+
.m(function (Command, cs, config, o) {
|
|
1609
|
+
return [
|
|
1610
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1611
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1612
|
+
];
|
|
1613
|
+
})
|
|
1614
|
+
.s("AWSMigrationHubStrategyRecommendation", "GetServerDetails", {})
|
|
1615
|
+
.n("MigrationHubStrategyClient", "GetServerDetailsCommand")
|
|
1616
|
+
.f(void 0, void 0)
|
|
1617
|
+
.ser(se_GetServerDetailsCommand)
|
|
1618
|
+
.de(de_GetServerDetailsCommand)
|
|
1619
|
+
.build() {
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
class GetServerStrategiesCommand extends smithyClient.Command
|
|
1623
|
+
.classBuilder()
|
|
1624
|
+
.ep(commonParams)
|
|
1625
|
+
.m(function (Command, cs, config, o) {
|
|
1626
|
+
return [
|
|
1627
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1628
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1629
|
+
];
|
|
1630
|
+
})
|
|
1631
|
+
.s("AWSMigrationHubStrategyRecommendation", "GetServerStrategies", {})
|
|
1632
|
+
.n("MigrationHubStrategyClient", "GetServerStrategiesCommand")
|
|
1633
|
+
.f(void 0, void 0)
|
|
1634
|
+
.ser(se_GetServerStrategiesCommand)
|
|
1635
|
+
.de(de_GetServerStrategiesCommand)
|
|
1636
|
+
.build() {
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
class ListAnalyzableServersCommand extends smithyClient.Command
|
|
1640
|
+
.classBuilder()
|
|
1641
|
+
.ep(commonParams)
|
|
1642
|
+
.m(function (Command, cs, config, o) {
|
|
1643
|
+
return [
|
|
1644
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1645
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1646
|
+
];
|
|
1647
|
+
})
|
|
1648
|
+
.s("AWSMigrationHubStrategyRecommendation", "ListAnalyzableServers", {})
|
|
1649
|
+
.n("MigrationHubStrategyClient", "ListAnalyzableServersCommand")
|
|
1650
|
+
.f(void 0, void 0)
|
|
1651
|
+
.ser(se_ListAnalyzableServersCommand)
|
|
1652
|
+
.de(de_ListAnalyzableServersCommand)
|
|
1653
|
+
.build() {
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
class ListApplicationComponentsCommand extends smithyClient.Command
|
|
1657
|
+
.classBuilder()
|
|
1658
|
+
.ep(commonParams)
|
|
1659
|
+
.m(function (Command, cs, config, o) {
|
|
1660
|
+
return [
|
|
1661
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1662
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1663
|
+
];
|
|
1664
|
+
})
|
|
1665
|
+
.s("AWSMigrationHubStrategyRecommendation", "ListApplicationComponents", {})
|
|
1666
|
+
.n("MigrationHubStrategyClient", "ListApplicationComponentsCommand")
|
|
1667
|
+
.f(void 0, void 0)
|
|
1668
|
+
.ser(se_ListApplicationComponentsCommand)
|
|
1669
|
+
.de(de_ListApplicationComponentsCommand)
|
|
1670
|
+
.build() {
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
class ListCollectorsCommand extends smithyClient.Command
|
|
1674
|
+
.classBuilder()
|
|
1675
|
+
.ep(commonParams)
|
|
1676
|
+
.m(function (Command, cs, config, o) {
|
|
1677
|
+
return [
|
|
1678
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1679
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1680
|
+
];
|
|
1681
|
+
})
|
|
1682
|
+
.s("AWSMigrationHubStrategyRecommendation", "ListCollectors", {})
|
|
1683
|
+
.n("MigrationHubStrategyClient", "ListCollectorsCommand")
|
|
1684
|
+
.f(void 0, void 0)
|
|
1685
|
+
.ser(se_ListCollectorsCommand)
|
|
1686
|
+
.de(de_ListCollectorsCommand)
|
|
1687
|
+
.build() {
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
class ListImportFileTaskCommand extends smithyClient.Command
|
|
1691
|
+
.classBuilder()
|
|
1692
|
+
.ep(commonParams)
|
|
1693
|
+
.m(function (Command, cs, config, o) {
|
|
1694
|
+
return [
|
|
1695
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1696
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1697
|
+
];
|
|
1698
|
+
})
|
|
1699
|
+
.s("AWSMigrationHubStrategyRecommendation", "ListImportFileTask", {})
|
|
1700
|
+
.n("MigrationHubStrategyClient", "ListImportFileTaskCommand")
|
|
1701
|
+
.f(void 0, void 0)
|
|
1702
|
+
.ser(se_ListImportFileTaskCommand)
|
|
1703
|
+
.de(de_ListImportFileTaskCommand)
|
|
1704
|
+
.build() {
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
class ListServersCommand extends smithyClient.Command
|
|
1708
|
+
.classBuilder()
|
|
1709
|
+
.ep(commonParams)
|
|
1710
|
+
.m(function (Command, cs, config, o) {
|
|
1711
|
+
return [
|
|
1712
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1713
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1714
|
+
];
|
|
1715
|
+
})
|
|
1716
|
+
.s("AWSMigrationHubStrategyRecommendation", "ListServers", {})
|
|
1717
|
+
.n("MigrationHubStrategyClient", "ListServersCommand")
|
|
1718
|
+
.f(void 0, void 0)
|
|
1719
|
+
.ser(se_ListServersCommand)
|
|
1720
|
+
.de(de_ListServersCommand)
|
|
1721
|
+
.build() {
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
class PutPortfolioPreferencesCommand extends smithyClient.Command
|
|
1725
|
+
.classBuilder()
|
|
1726
|
+
.ep(commonParams)
|
|
1727
|
+
.m(function (Command, cs, config, o) {
|
|
1728
|
+
return [
|
|
1729
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1730
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1731
|
+
];
|
|
1732
|
+
})
|
|
1733
|
+
.s("AWSMigrationHubStrategyRecommendation", "PutPortfolioPreferences", {})
|
|
1734
|
+
.n("MigrationHubStrategyClient", "PutPortfolioPreferencesCommand")
|
|
1735
|
+
.f(void 0, void 0)
|
|
1736
|
+
.ser(se_PutPortfolioPreferencesCommand)
|
|
1737
|
+
.de(de_PutPortfolioPreferencesCommand)
|
|
1738
|
+
.build() {
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
class StartAssessmentCommand extends smithyClient.Command
|
|
1742
|
+
.classBuilder()
|
|
1743
|
+
.ep(commonParams)
|
|
1744
|
+
.m(function (Command, cs, config, o) {
|
|
1745
|
+
return [
|
|
1746
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1747
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1748
|
+
];
|
|
1749
|
+
})
|
|
1750
|
+
.s("AWSMigrationHubStrategyRecommendation", "StartAssessment", {})
|
|
1751
|
+
.n("MigrationHubStrategyClient", "StartAssessmentCommand")
|
|
1752
|
+
.f(void 0, void 0)
|
|
1753
|
+
.ser(se_StartAssessmentCommand)
|
|
1754
|
+
.de(de_StartAssessmentCommand)
|
|
1755
|
+
.build() {
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
class StartImportFileTaskCommand extends smithyClient.Command
|
|
1759
|
+
.classBuilder()
|
|
1760
|
+
.ep(commonParams)
|
|
1761
|
+
.m(function (Command, cs, config, o) {
|
|
1762
|
+
return [
|
|
1763
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1764
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1765
|
+
];
|
|
1766
|
+
})
|
|
1767
|
+
.s("AWSMigrationHubStrategyRecommendation", "StartImportFileTask", {})
|
|
1768
|
+
.n("MigrationHubStrategyClient", "StartImportFileTaskCommand")
|
|
1769
|
+
.f(void 0, void 0)
|
|
1770
|
+
.ser(se_StartImportFileTaskCommand)
|
|
1771
|
+
.de(de_StartImportFileTaskCommand)
|
|
1772
|
+
.build() {
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
class StartRecommendationReportGenerationCommand extends smithyClient.Command
|
|
1776
|
+
.classBuilder()
|
|
1777
|
+
.ep(commonParams)
|
|
1778
|
+
.m(function (Command, cs, config, o) {
|
|
1779
|
+
return [
|
|
1780
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1781
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1782
|
+
];
|
|
1783
|
+
})
|
|
1784
|
+
.s("AWSMigrationHubStrategyRecommendation", "StartRecommendationReportGeneration", {})
|
|
1785
|
+
.n("MigrationHubStrategyClient", "StartRecommendationReportGenerationCommand")
|
|
1786
|
+
.f(void 0, void 0)
|
|
1787
|
+
.ser(se_StartRecommendationReportGenerationCommand)
|
|
1788
|
+
.de(de_StartRecommendationReportGenerationCommand)
|
|
1789
|
+
.build() {
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
class StopAssessmentCommand extends smithyClient.Command
|
|
1793
|
+
.classBuilder()
|
|
1794
|
+
.ep(commonParams)
|
|
1795
|
+
.m(function (Command, cs, config, o) {
|
|
1796
|
+
return [
|
|
1797
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1798
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1799
|
+
];
|
|
1800
|
+
})
|
|
1801
|
+
.s("AWSMigrationHubStrategyRecommendation", "StopAssessment", {})
|
|
1802
|
+
.n("MigrationHubStrategyClient", "StopAssessmentCommand")
|
|
1803
|
+
.f(void 0, void 0)
|
|
1804
|
+
.ser(se_StopAssessmentCommand)
|
|
1805
|
+
.de(de_StopAssessmentCommand)
|
|
1806
|
+
.build() {
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
class UpdateApplicationComponentConfigCommand extends smithyClient.Command
|
|
1810
|
+
.classBuilder()
|
|
1811
|
+
.ep(commonParams)
|
|
1812
|
+
.m(function (Command, cs, config, o) {
|
|
1813
|
+
return [
|
|
1814
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1815
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1816
|
+
];
|
|
1817
|
+
})
|
|
1818
|
+
.s("AWSMigrationHubStrategyRecommendation", "UpdateApplicationComponentConfig", {})
|
|
1819
|
+
.n("MigrationHubStrategyClient", "UpdateApplicationComponentConfigCommand")
|
|
1820
|
+
.f(UpdateApplicationComponentConfigRequestFilterSensitiveLog, void 0)
|
|
1821
|
+
.ser(se_UpdateApplicationComponentConfigCommand)
|
|
1822
|
+
.de(de_UpdateApplicationComponentConfigCommand)
|
|
1823
|
+
.build() {
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
class UpdateServerConfigCommand extends smithyClient.Command
|
|
1827
|
+
.classBuilder()
|
|
1828
|
+
.ep(commonParams)
|
|
1829
|
+
.m(function (Command, cs, config, o) {
|
|
1830
|
+
return [
|
|
1831
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1832
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1833
|
+
];
|
|
1834
|
+
})
|
|
1835
|
+
.s("AWSMigrationHubStrategyRecommendation", "UpdateServerConfig", {})
|
|
1836
|
+
.n("MigrationHubStrategyClient", "UpdateServerConfigCommand")
|
|
1837
|
+
.f(void 0, void 0)
|
|
1838
|
+
.ser(se_UpdateServerConfigCommand)
|
|
1839
|
+
.de(de_UpdateServerConfigCommand)
|
|
1840
|
+
.build() {
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
const commands = {
|
|
1844
|
+
GetApplicationComponentDetailsCommand,
|
|
1845
|
+
GetApplicationComponentStrategiesCommand,
|
|
1846
|
+
GetAssessmentCommand,
|
|
1847
|
+
GetImportFileTaskCommand,
|
|
1848
|
+
GetLatestAssessmentIdCommand,
|
|
1849
|
+
GetPortfolioPreferencesCommand,
|
|
1850
|
+
GetPortfolioSummaryCommand,
|
|
1851
|
+
GetRecommendationReportDetailsCommand,
|
|
1852
|
+
GetServerDetailsCommand,
|
|
1853
|
+
GetServerStrategiesCommand,
|
|
1854
|
+
ListAnalyzableServersCommand,
|
|
1855
|
+
ListApplicationComponentsCommand,
|
|
1856
|
+
ListCollectorsCommand,
|
|
1857
|
+
ListImportFileTaskCommand,
|
|
1858
|
+
ListServersCommand,
|
|
1859
|
+
PutPortfolioPreferencesCommand,
|
|
1860
|
+
StartAssessmentCommand,
|
|
1861
|
+
StartImportFileTaskCommand,
|
|
1862
|
+
StartRecommendationReportGenerationCommand,
|
|
1863
|
+
StopAssessmentCommand,
|
|
1864
|
+
UpdateApplicationComponentConfigCommand,
|
|
1865
|
+
UpdateServerConfigCommand,
|
|
1866
|
+
};
|
|
1867
|
+
class MigrationHubStrategy extends MigrationHubStrategyClient {
|
|
1868
|
+
}
|
|
1869
|
+
smithyClient.createAggregatedClient(commands, MigrationHubStrategy);
|
|
1870
|
+
|
|
1871
|
+
const paginateGetServerDetails = core.createPaginator(MigrationHubStrategyClient, GetServerDetailsCommand, "nextToken", "nextToken", "maxResults");
|
|
1872
|
+
|
|
1873
|
+
const paginateListAnalyzableServers = core.createPaginator(MigrationHubStrategyClient, ListAnalyzableServersCommand, "nextToken", "nextToken", "maxResults");
|
|
1874
|
+
|
|
1875
|
+
const paginateListApplicationComponents = core.createPaginator(MigrationHubStrategyClient, ListApplicationComponentsCommand, "nextToken", "nextToken", "maxResults");
|
|
1876
|
+
|
|
1877
|
+
const paginateListCollectors = core.createPaginator(MigrationHubStrategyClient, ListCollectorsCommand, "nextToken", "nextToken", "maxResults");
|
|
1878
|
+
|
|
1879
|
+
const paginateListImportFileTask = core.createPaginator(MigrationHubStrategyClient, ListImportFileTaskCommand, "nextToken", "nextToken", "maxResults");
|
|
1880
|
+
|
|
1881
|
+
const paginateListServers = core.createPaginator(MigrationHubStrategyClient, ListServersCommand, "nextToken", "nextToken", "maxResults");
|
|
1882
|
+
|
|
1883
|
+
Object.defineProperty(exports, "$Command", {
|
|
1884
|
+
enumerable: true,
|
|
1885
|
+
get: function () { return smithyClient.Command; }
|
|
1886
|
+
});
|
|
1887
|
+
Object.defineProperty(exports, "__Client", {
|
|
1888
|
+
enumerable: true,
|
|
1889
|
+
get: function () { return smithyClient.Client; }
|
|
1890
|
+
});
|
|
1891
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1892
|
+
exports.AnalysisType = AnalysisType;
|
|
1893
|
+
exports.AntipatternReportStatus = AntipatternReportStatus;
|
|
1894
|
+
exports.AppType = AppType;
|
|
1895
|
+
exports.AppUnitErrorCategory = AppUnitErrorCategory;
|
|
1896
|
+
exports.ApplicationComponentCriteria = ApplicationComponentCriteria;
|
|
1897
|
+
exports.ApplicationMode = ApplicationMode;
|
|
1898
|
+
exports.AssessmentDataSourceType = AssessmentDataSourceType;
|
|
1899
|
+
exports.AssessmentStatus = AssessmentStatus;
|
|
1900
|
+
exports.AuthType = AuthType;
|
|
1901
|
+
exports.AwsManagedTargetDestination = AwsManagedTargetDestination;
|
|
1902
|
+
exports.BinaryAnalyzerName = BinaryAnalyzerName;
|
|
1903
|
+
exports.CollectorHealth = CollectorHealth;
|
|
1904
|
+
exports.Condition = Condition;
|
|
1905
|
+
exports.ConflictException = ConflictException;
|
|
1906
|
+
exports.DataSourceType = DataSourceType;
|
|
1907
|
+
exports.DatabaseManagementPreference = DatabaseManagementPreference;
|
|
1908
|
+
exports.DependencyException = DependencyException;
|
|
1909
|
+
exports.GetApplicationComponentDetailsCommand = GetApplicationComponentDetailsCommand;
|
|
1910
|
+
exports.GetApplicationComponentStrategiesCommand = GetApplicationComponentStrategiesCommand;
|
|
1911
|
+
exports.GetAssessmentCommand = GetAssessmentCommand;
|
|
1912
|
+
exports.GetImportFileTaskCommand = GetImportFileTaskCommand;
|
|
1913
|
+
exports.GetLatestAssessmentIdCommand = GetLatestAssessmentIdCommand;
|
|
1914
|
+
exports.GetPortfolioPreferencesCommand = GetPortfolioPreferencesCommand;
|
|
1915
|
+
exports.GetPortfolioSummaryCommand = GetPortfolioSummaryCommand;
|
|
1916
|
+
exports.GetRecommendationReportDetailsCommand = GetRecommendationReportDetailsCommand;
|
|
1917
|
+
exports.GetServerDetailsCommand = GetServerDetailsCommand;
|
|
1918
|
+
exports.GetServerStrategiesCommand = GetServerStrategiesCommand;
|
|
1919
|
+
exports.GroupName = GroupName;
|
|
1920
|
+
exports.HeterogeneousTargetDatabaseEngine = HeterogeneousTargetDatabaseEngine;
|
|
1921
|
+
exports.HomogeneousTargetDatabaseEngine = HomogeneousTargetDatabaseEngine;
|
|
1922
|
+
exports.ImportFileTaskStatus = ImportFileTaskStatus;
|
|
1923
|
+
exports.InclusionStatus = InclusionStatus;
|
|
1924
|
+
exports.InternalServerException = InternalServerException;
|
|
1925
|
+
exports.ListAnalyzableServersCommand = ListAnalyzableServersCommand;
|
|
1926
|
+
exports.ListApplicationComponentsCommand = ListApplicationComponentsCommand;
|
|
1927
|
+
exports.ListCollectorsCommand = ListCollectorsCommand;
|
|
1928
|
+
exports.ListImportFileTaskCommand = ListImportFileTaskCommand;
|
|
1929
|
+
exports.ListServersCommand = ListServersCommand;
|
|
1930
|
+
exports.MigrationHubStrategy = MigrationHubStrategy;
|
|
1931
|
+
exports.MigrationHubStrategyClient = MigrationHubStrategyClient;
|
|
1932
|
+
exports.MigrationHubStrategyServiceException = MigrationHubStrategyServiceException;
|
|
1933
|
+
exports.NoPreferenceTargetDestination = NoPreferenceTargetDestination;
|
|
1934
|
+
exports.OSType = OSType;
|
|
1935
|
+
exports.OutputFormat = OutputFormat;
|
|
1936
|
+
exports.PipelineType = PipelineType;
|
|
1937
|
+
exports.PutPortfolioPreferencesCommand = PutPortfolioPreferencesCommand;
|
|
1938
|
+
exports.RecommendationReportStatus = RecommendationReportStatus;
|
|
1939
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1940
|
+
exports.ResourceSubType = ResourceSubType;
|
|
1941
|
+
exports.RunTimeAnalyzerName = RunTimeAnalyzerName;
|
|
1942
|
+
exports.RunTimeAssessmentStatus = RunTimeAssessmentStatus;
|
|
1943
|
+
exports.RuntimeAnalysisStatus = RuntimeAnalysisStatus;
|
|
1944
|
+
exports.SelfManageTargetDestination = SelfManageTargetDestination;
|
|
1945
|
+
exports.ServerCriteria = ServerCriteria;
|
|
1946
|
+
exports.ServerErrorCategory = ServerErrorCategory;
|
|
1947
|
+
exports.ServerOsType = ServerOsType;
|
|
1948
|
+
exports.ServiceLinkedRoleLockClientException = ServiceLinkedRoleLockClientException;
|
|
1949
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1950
|
+
exports.Severity = Severity;
|
|
1951
|
+
exports.SortOrder = SortOrder;
|
|
1952
|
+
exports.SourceCodeAnalyzerName = SourceCodeAnalyzerName;
|
|
1953
|
+
exports.SrcCodeOrDbAnalysisStatus = SrcCodeOrDbAnalysisStatus;
|
|
1954
|
+
exports.StartAssessmentCommand = StartAssessmentCommand;
|
|
1955
|
+
exports.StartImportFileTaskCommand = StartImportFileTaskCommand;
|
|
1956
|
+
exports.StartRecommendationReportGenerationCommand = StartRecommendationReportGenerationCommand;
|
|
1957
|
+
exports.StopAssessmentCommand = StopAssessmentCommand;
|
|
1958
|
+
exports.Strategy = Strategy;
|
|
1959
|
+
exports.StrategyRecommendation = StrategyRecommendation;
|
|
1960
|
+
exports.TargetDatabaseEngine = TargetDatabaseEngine;
|
|
1961
|
+
exports.TargetDestination = TargetDestination;
|
|
1962
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1963
|
+
exports.TransformationToolName = TransformationToolName;
|
|
1964
|
+
exports.UpdateApplicationComponentConfigCommand = UpdateApplicationComponentConfigCommand;
|
|
1965
|
+
exports.UpdateApplicationComponentConfigRequestFilterSensitiveLog = UpdateApplicationComponentConfigRequestFilterSensitiveLog;
|
|
1966
|
+
exports.UpdateServerConfigCommand = UpdateServerConfigCommand;
|
|
1967
|
+
exports.ValidationException = ValidationException;
|
|
1968
|
+
exports.VersionControl = VersionControl;
|
|
1969
|
+
exports.VersionControlType = VersionControlType;
|
|
1970
|
+
exports.paginateGetServerDetails = paginateGetServerDetails;
|
|
1971
|
+
exports.paginateListAnalyzableServers = paginateListAnalyzableServers;
|
|
1972
|
+
exports.paginateListApplicationComponents = paginateListApplicationComponents;
|
|
1973
|
+
exports.paginateListCollectors = paginateListCollectors;
|
|
1974
|
+
exports.paginateListImportFileTask = paginateListImportFileTask;
|
|
1975
|
+
exports.paginateListServers = paginateListServers;
|