@aws-sdk/client-migrationhubstrategy 3.489.0 → 3.495.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/MigrationHubStrategy.js +1 -55
- package/dist-cjs/MigrationHubStrategyClient.js +1 -43
- package/dist-cjs/commands/GetApplicationComponentDetailsCommand.js +1 -28
- package/dist-cjs/commands/GetApplicationComponentStrategiesCommand.js +1 -28
- package/dist-cjs/commands/GetAssessmentCommand.js +1 -28
- package/dist-cjs/commands/GetImportFileTaskCommand.js +1 -28
- package/dist-cjs/commands/GetLatestAssessmentIdCommand.js +1 -28
- package/dist-cjs/commands/GetPortfolioPreferencesCommand.js +1 -28
- package/dist-cjs/commands/GetPortfolioSummaryCommand.js +1 -28
- package/dist-cjs/commands/GetRecommendationReportDetailsCommand.js +1 -28
- package/dist-cjs/commands/GetServerDetailsCommand.js +1 -28
- package/dist-cjs/commands/GetServerStrategiesCommand.js +1 -28
- package/dist-cjs/commands/ListAnalyzableServersCommand.js +1 -28
- package/dist-cjs/commands/ListApplicationComponentsCommand.js +1 -28
- package/dist-cjs/commands/ListCollectorsCommand.js +1 -28
- package/dist-cjs/commands/ListImportFileTaskCommand.js +1 -28
- package/dist-cjs/commands/ListServersCommand.js +1 -28
- package/dist-cjs/commands/PutPortfolioPreferencesCommand.js +1 -28
- package/dist-cjs/commands/StartAssessmentCommand.js +1 -28
- package/dist-cjs/commands/StartImportFileTaskCommand.js +1 -28
- package/dist-cjs/commands/StartRecommendationReportGenerationCommand.js +1 -28
- package/dist-cjs/commands/StopAssessmentCommand.js +1 -28
- package/dist-cjs/commands/UpdateApplicationComponentConfigCommand.js +1 -29
- package/dist-cjs/commands/UpdateServerConfigCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -25
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +2793 -11
- package/dist-cjs/models/MigrationHubStrategyServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -479
- package/dist-cjs/pagination/GetServerDetailsPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAnalyzableServersPaginator.js +1 -7
- package/dist-cjs/pagination/ListApplicationComponentsPaginator.js +1 -7
- package/dist-cjs/pagination/ListCollectorsPaginator.js +1 -7
- package/dist-cjs/pagination/ListImportFileTaskPaginator.js +1 -7
- package/dist-cjs/pagination/ListServersPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -10
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1575
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,2794 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
AnalysisStatusUnion: () => AnalysisStatusUnion,
|
|
26
|
+
AnalysisType: () => AnalysisType,
|
|
27
|
+
AnalyzerNameUnion: () => AnalyzerNameUnion,
|
|
28
|
+
AntipatternReportStatus: () => AntipatternReportStatus,
|
|
29
|
+
AppType: () => AppType,
|
|
30
|
+
AppUnitErrorCategory: () => AppUnitErrorCategory,
|
|
31
|
+
ApplicationComponentCriteria: () => ApplicationComponentCriteria,
|
|
32
|
+
ApplicationMode: () => ApplicationMode,
|
|
33
|
+
AssessmentDataSourceType: () => AssessmentDataSourceType,
|
|
34
|
+
AssessmentStatus: () => AssessmentStatus,
|
|
35
|
+
AuthType: () => AuthType,
|
|
36
|
+
AwsManagedTargetDestination: () => AwsManagedTargetDestination,
|
|
37
|
+
BinaryAnalyzerName: () => BinaryAnalyzerName,
|
|
38
|
+
CollectorHealth: () => CollectorHealth,
|
|
39
|
+
Condition: () => Condition,
|
|
40
|
+
ConflictException: () => ConflictException,
|
|
41
|
+
DataSourceType: () => DataSourceType,
|
|
42
|
+
DatabaseManagementPreference: () => DatabaseManagementPreference,
|
|
43
|
+
DatabaseMigrationPreference: () => DatabaseMigrationPreference,
|
|
44
|
+
DependencyException: () => DependencyException,
|
|
45
|
+
GetApplicationComponentDetailsCommand: () => GetApplicationComponentDetailsCommand,
|
|
46
|
+
GetApplicationComponentStrategiesCommand: () => GetApplicationComponentStrategiesCommand,
|
|
47
|
+
GetAssessmentCommand: () => GetAssessmentCommand,
|
|
48
|
+
GetImportFileTaskCommand: () => GetImportFileTaskCommand,
|
|
49
|
+
GetLatestAssessmentIdCommand: () => GetLatestAssessmentIdCommand,
|
|
50
|
+
GetPortfolioPreferencesCommand: () => GetPortfolioPreferencesCommand,
|
|
51
|
+
GetPortfolioSummaryCommand: () => GetPortfolioSummaryCommand,
|
|
52
|
+
GetRecommendationReportDetailsCommand: () => GetRecommendationReportDetailsCommand,
|
|
53
|
+
GetServerDetailsCommand: () => GetServerDetailsCommand,
|
|
54
|
+
GetServerStrategiesCommand: () => GetServerStrategiesCommand,
|
|
55
|
+
GroupName: () => GroupName,
|
|
56
|
+
HeterogeneousTargetDatabaseEngine: () => HeterogeneousTargetDatabaseEngine,
|
|
57
|
+
HomogeneousTargetDatabaseEngine: () => HomogeneousTargetDatabaseEngine,
|
|
58
|
+
ImportFileTaskStatus: () => ImportFileTaskStatus,
|
|
59
|
+
InclusionStatus: () => InclusionStatus,
|
|
60
|
+
InternalServerException: () => InternalServerException,
|
|
61
|
+
ListAnalyzableServersCommand: () => ListAnalyzableServersCommand,
|
|
62
|
+
ListApplicationComponentsCommand: () => ListApplicationComponentsCommand,
|
|
63
|
+
ListCollectorsCommand: () => ListCollectorsCommand,
|
|
64
|
+
ListImportFileTaskCommand: () => ListImportFileTaskCommand,
|
|
65
|
+
ListServersCommand: () => ListServersCommand,
|
|
66
|
+
ManagementPreference: () => ManagementPreference,
|
|
67
|
+
MigrationHubStrategy: () => MigrationHubStrategy,
|
|
68
|
+
MigrationHubStrategyClient: () => MigrationHubStrategyClient,
|
|
69
|
+
MigrationHubStrategyServiceException: () => MigrationHubStrategyServiceException,
|
|
70
|
+
NoPreferenceTargetDestination: () => NoPreferenceTargetDestination,
|
|
71
|
+
OSType: () => OSType,
|
|
72
|
+
OutputFormat: () => OutputFormat,
|
|
73
|
+
PipelineType: () => PipelineType,
|
|
74
|
+
PutPortfolioPreferencesCommand: () => PutPortfolioPreferencesCommand,
|
|
75
|
+
RecommendationReportStatus: () => RecommendationReportStatus,
|
|
76
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
77
|
+
ResourceSubType: () => ResourceSubType,
|
|
78
|
+
RunTimeAnalyzerName: () => RunTimeAnalyzerName,
|
|
79
|
+
RunTimeAssessmentStatus: () => RunTimeAssessmentStatus,
|
|
80
|
+
RuntimeAnalysisStatus: () => RuntimeAnalysisStatus,
|
|
81
|
+
SelfManageTargetDestination: () => SelfManageTargetDestination,
|
|
82
|
+
ServerCriteria: () => ServerCriteria,
|
|
83
|
+
ServerErrorCategory: () => ServerErrorCategory,
|
|
84
|
+
ServerOsType: () => ServerOsType,
|
|
85
|
+
ServiceLinkedRoleLockClientException: () => ServiceLinkedRoleLockClientException,
|
|
86
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
87
|
+
Severity: () => Severity,
|
|
88
|
+
SortOrder: () => SortOrder,
|
|
89
|
+
SourceCodeAnalyzerName: () => SourceCodeAnalyzerName,
|
|
90
|
+
SrcCodeOrDbAnalysisStatus: () => SrcCodeOrDbAnalysisStatus,
|
|
91
|
+
StartAssessmentCommand: () => StartAssessmentCommand,
|
|
92
|
+
StartImportFileTaskCommand: () => StartImportFileTaskCommand,
|
|
93
|
+
StartRecommendationReportGenerationCommand: () => StartRecommendationReportGenerationCommand,
|
|
94
|
+
StopAssessmentCommand: () => StopAssessmentCommand,
|
|
95
|
+
Strategy: () => Strategy,
|
|
96
|
+
StrategyRecommendation: () => StrategyRecommendation,
|
|
97
|
+
TargetDatabaseEngine: () => TargetDatabaseEngine,
|
|
98
|
+
TargetDestination: () => TargetDestination,
|
|
99
|
+
ThrottlingException: () => ThrottlingException,
|
|
100
|
+
TransformationToolName: () => TransformationToolName,
|
|
101
|
+
UpdateApplicationComponentConfigCommand: () => UpdateApplicationComponentConfigCommand,
|
|
102
|
+
UpdateApplicationComponentConfigRequestFilterSensitiveLog: () => UpdateApplicationComponentConfigRequestFilterSensitiveLog,
|
|
103
|
+
UpdateServerConfigCommand: () => UpdateServerConfigCommand,
|
|
104
|
+
ValidationException: () => ValidationException,
|
|
105
|
+
VersionControl: () => VersionControl,
|
|
106
|
+
VersionControlType: () => VersionControlType,
|
|
107
|
+
__Client: () => import_smithy_client.Client,
|
|
108
|
+
paginateGetServerDetails: () => paginateGetServerDetails,
|
|
109
|
+
paginateListAnalyzableServers: () => paginateListAnalyzableServers,
|
|
110
|
+
paginateListApplicationComponents: () => paginateListApplicationComponents,
|
|
111
|
+
paginateListCollectors: () => paginateListCollectors,
|
|
112
|
+
paginateListImportFileTask: () => paginateListImportFileTask,
|
|
113
|
+
paginateListServers: () => paginateListServers
|
|
114
|
+
});
|
|
115
|
+
module.exports = __toCommonJS(src_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_signing = require("@aws-sdk/middleware-signing");
|
|
122
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
123
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
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
|
+
|
|
128
|
+
|
|
129
|
+
// src/endpoint/EndpointParameters.ts
|
|
130
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
131
|
+
return {
|
|
132
|
+
...options,
|
|
133
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
134
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
135
|
+
defaultSigningName: "migrationhub-strategy"
|
|
136
|
+
};
|
|
137
|
+
}, "resolveClientEndpointParameters");
|
|
138
|
+
var commonParams = {
|
|
139
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
140
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
141
|
+
Region: { type: "builtInParams", name: "region" },
|
|
142
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
// src/MigrationHubStrategyClient.ts
|
|
146
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
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
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
153
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
154
|
+
const extensionConfiguration = {
|
|
155
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
156
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
157
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
158
|
+
};
|
|
159
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
160
|
+
return {
|
|
161
|
+
...runtimeConfig,
|
|
162
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
163
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
164
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
165
|
+
};
|
|
166
|
+
}, "resolveRuntimeExtensions");
|
|
167
|
+
|
|
168
|
+
// src/MigrationHubStrategyClient.ts
|
|
169
|
+
var _MigrationHubStrategyClient = class _MigrationHubStrategyClient extends import_smithy_client.Client {
|
|
170
|
+
constructor(...[configuration]) {
|
|
171
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
172
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
173
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
174
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
175
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
176
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
177
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
178
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
179
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
180
|
+
super(_config_8);
|
|
181
|
+
this.config = _config_8;
|
|
182
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
183
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
184
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
185
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
186
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
187
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
188
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
192
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
193
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
194
|
+
*/
|
|
195
|
+
destroy() {
|
|
196
|
+
super.destroy();
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
__name(_MigrationHubStrategyClient, "MigrationHubStrategyClient");
|
|
200
|
+
var MigrationHubStrategyClient = _MigrationHubStrategyClient;
|
|
201
|
+
|
|
202
|
+
// src/MigrationHubStrategy.ts
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
// src/commands/GetApplicationComponentDetailsCommand.ts
|
|
206
|
+
|
|
207
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
208
|
+
|
|
209
|
+
var import_types = require("@smithy/types");
|
|
210
|
+
|
|
211
|
+
// src/protocols/Aws_restJson1.ts
|
|
212
|
+
var import_core = require("@smithy/core");
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
// src/models/MigrationHubStrategyServiceException.ts
|
|
216
|
+
|
|
217
|
+
var _MigrationHubStrategyServiceException = class _MigrationHubStrategyServiceException extends import_smithy_client.ServiceException {
|
|
218
|
+
/**
|
|
219
|
+
* @internal
|
|
220
|
+
*/
|
|
221
|
+
constructor(options) {
|
|
222
|
+
super(options);
|
|
223
|
+
Object.setPrototypeOf(this, _MigrationHubStrategyServiceException.prototype);
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
__name(_MigrationHubStrategyServiceException, "MigrationHubStrategyServiceException");
|
|
227
|
+
var MigrationHubStrategyServiceException = _MigrationHubStrategyServiceException;
|
|
228
|
+
|
|
229
|
+
// src/models/models_0.ts
|
|
230
|
+
|
|
231
|
+
var _AccessDeniedException = class _AccessDeniedException extends MigrationHubStrategyServiceException {
|
|
232
|
+
/**
|
|
233
|
+
* @internal
|
|
234
|
+
*/
|
|
235
|
+
constructor(opts) {
|
|
236
|
+
super({
|
|
237
|
+
name: "AccessDeniedException",
|
|
238
|
+
$fault: "client",
|
|
239
|
+
...opts
|
|
240
|
+
});
|
|
241
|
+
this.name = "AccessDeniedException";
|
|
242
|
+
this.$fault = "client";
|
|
243
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
247
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
248
|
+
var RuntimeAnalysisStatus = {
|
|
249
|
+
ANALYSIS_FAILED: "ANALYSIS_FAILED",
|
|
250
|
+
ANALYSIS_STARTED: "ANALYSIS_STARTED",
|
|
251
|
+
ANALYSIS_SUCCESS: "ANALYSIS_SUCCESS",
|
|
252
|
+
ANALYSIS_TO_BE_SCHEDULED: "ANALYSIS_TO_BE_SCHEDULED"
|
|
253
|
+
};
|
|
254
|
+
var SrcCodeOrDbAnalysisStatus = {
|
|
255
|
+
ANALYSIS_FAILED: "ANALYSIS_FAILED",
|
|
256
|
+
ANALYSIS_PARTIAL_SUCCESS: "ANALYSIS_PARTIAL_SUCCESS",
|
|
257
|
+
ANALYSIS_STARTED: "ANALYSIS_STARTED",
|
|
258
|
+
ANALYSIS_SUCCESS: "ANALYSIS_SUCCESS",
|
|
259
|
+
ANALYSIS_TO_BE_SCHEDULED: "ANALYSIS_TO_BE_SCHEDULED",
|
|
260
|
+
CONFIGURED: "CONFIGURED",
|
|
261
|
+
UNCONFIGURED: "UNCONFIGURED"
|
|
262
|
+
};
|
|
263
|
+
var AnalysisStatusUnion;
|
|
264
|
+
((AnalysisStatusUnion2) => {
|
|
265
|
+
AnalysisStatusUnion2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
266
|
+
if (value.runtimeAnalysisStatus !== void 0)
|
|
267
|
+
return visitor.runtimeAnalysisStatus(value.runtimeAnalysisStatus);
|
|
268
|
+
if (value.srcCodeOrDbAnalysisStatus !== void 0)
|
|
269
|
+
return visitor.srcCodeOrDbAnalysisStatus(value.srcCodeOrDbAnalysisStatus);
|
|
270
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
271
|
+
}, "visit");
|
|
272
|
+
})(AnalysisStatusUnion || (AnalysisStatusUnion = {}));
|
|
273
|
+
var AnalysisType = {
|
|
274
|
+
BINARY_ANALYSIS: "BINARY_ANALYSIS",
|
|
275
|
+
DATABASE_ANALYSIS: "DATABASE_ANALYSIS",
|
|
276
|
+
RUNTIME_ANALYSIS: "RUNTIME_ANALYSIS",
|
|
277
|
+
SOURCE_CODE_ANALYSIS: "SOURCE_CODE_ANALYSIS"
|
|
278
|
+
};
|
|
279
|
+
var BinaryAnalyzerName = {
|
|
280
|
+
BYTECODE_ANALYZER: "BYTECODE_ANALYZER",
|
|
281
|
+
DLL_ANALYZER: "DLL_ANALYZER"
|
|
282
|
+
};
|
|
283
|
+
var RunTimeAnalyzerName = {
|
|
284
|
+
A2C_ANALYZER: "A2C_ANALYZER",
|
|
285
|
+
DATABASE_ANALYZER: "DATABASE_ANALYZER",
|
|
286
|
+
EMP_PA_ANALYZER: "EMP_PA_ANALYZER",
|
|
287
|
+
REHOST_ANALYZER: "REHOST_ANALYZER",
|
|
288
|
+
SCT_ANALYZER: "SCT_ANALYZER"
|
|
289
|
+
};
|
|
290
|
+
var SourceCodeAnalyzerName = {
|
|
291
|
+
BYTECODE_ANALYZER: "BYTECODE_ANALYZER",
|
|
292
|
+
CSHARP_ANALYZER: "CSHARP_ANALYZER",
|
|
293
|
+
JAVA_ANALYZER: "JAVA_ANALYZER",
|
|
294
|
+
PORTING_ASSISTANT: "PORTING_ASSISTANT"
|
|
295
|
+
};
|
|
296
|
+
var AnalyzerNameUnion;
|
|
297
|
+
((AnalyzerNameUnion2) => {
|
|
298
|
+
AnalyzerNameUnion2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
299
|
+
if (value.binaryAnalyzerName !== void 0)
|
|
300
|
+
return visitor.binaryAnalyzerName(value.binaryAnalyzerName);
|
|
301
|
+
if (value.runTimeAnalyzerName !== void 0)
|
|
302
|
+
return visitor.runTimeAnalyzerName(value.runTimeAnalyzerName);
|
|
303
|
+
if (value.sourceCodeAnalyzerName !== void 0)
|
|
304
|
+
return visitor.sourceCodeAnalyzerName(value.sourceCodeAnalyzerName);
|
|
305
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
306
|
+
}, "visit");
|
|
307
|
+
})(AnalyzerNameUnion || (AnalyzerNameUnion = {}));
|
|
308
|
+
var AntipatternReportStatus = {
|
|
309
|
+
FAILED: "FAILED",
|
|
310
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
311
|
+
SUCCESS: "SUCCESS"
|
|
312
|
+
};
|
|
313
|
+
var Severity = {
|
|
314
|
+
HIGH: "HIGH",
|
|
315
|
+
LOW: "LOW",
|
|
316
|
+
MEDIUM: "MEDIUM"
|
|
317
|
+
};
|
|
318
|
+
var ApplicationComponentCriteria = {
|
|
319
|
+
ANALYSIS_STATUS: "ANALYSIS_STATUS",
|
|
320
|
+
APP_NAME: "APP_NAME",
|
|
321
|
+
APP_TYPE: "APP_TYPE",
|
|
322
|
+
DESTINATION: "DESTINATION",
|
|
323
|
+
ERROR_CATEGORY: "ERROR_CATEGORY",
|
|
324
|
+
NOT_DEFINED: "NOT_DEFINED",
|
|
325
|
+
SERVER_ID: "SERVER_ID",
|
|
326
|
+
STRATEGY: "STRATEGY"
|
|
327
|
+
};
|
|
328
|
+
var AppType = {
|
|
329
|
+
IIS: "IIS",
|
|
330
|
+
cassandra: "Cassandra",
|
|
331
|
+
db2: "DB2",
|
|
332
|
+
dotNetFramework: "DotNetFramework",
|
|
333
|
+
dotnet: "Dotnet",
|
|
334
|
+
dotnetcore: "DotnetCore",
|
|
335
|
+
java: "Java",
|
|
336
|
+
jboss: "JBoss",
|
|
337
|
+
mariadb: "Maria DB",
|
|
338
|
+
mongodb: "Mongo DB",
|
|
339
|
+
mysql: "MySQL",
|
|
340
|
+
oracle: "Oracle",
|
|
341
|
+
other: "Other",
|
|
342
|
+
postgresqlserver: "PostgreSQLServer",
|
|
343
|
+
spring: "Spring",
|
|
344
|
+
sqlServer: "SQLServer",
|
|
345
|
+
sybase: "Sybase",
|
|
346
|
+
tomcat: "Tomcat",
|
|
347
|
+
unknown: "Unknown",
|
|
348
|
+
visualbasic: "Visual Basic",
|
|
349
|
+
weblogic: "Oracle WebLogic",
|
|
350
|
+
websphere: "IBM WebSphere"
|
|
351
|
+
};
|
|
352
|
+
var AppUnitErrorCategory = {
|
|
353
|
+
CONNECTIVITY_ERROR: "CONNECTIVITY_ERROR",
|
|
354
|
+
CREDENTIAL_ERROR: "CREDENTIAL_ERROR",
|
|
355
|
+
OTHER_ERROR: "OTHER_ERROR",
|
|
356
|
+
PERMISSION_ERROR: "PERMISSION_ERROR",
|
|
357
|
+
UNSUPPORTED_ERROR: "UNSUPPORTED_ERROR"
|
|
358
|
+
};
|
|
359
|
+
var InclusionStatus = {
|
|
360
|
+
EXCLUDE_FROM_RECOMMENDATION: "excludeFromAssessment",
|
|
361
|
+
INCLUDE_IN_RECOMMENDATION: "includeInAssessment"
|
|
362
|
+
};
|
|
363
|
+
var Strategy = {
|
|
364
|
+
REFACTOR: "Refactor",
|
|
365
|
+
REHOST: "Rehost",
|
|
366
|
+
RELOCATE: "Relocate",
|
|
367
|
+
REPLATFORM: "Replatform",
|
|
368
|
+
REPURCHASE: "Repurchase",
|
|
369
|
+
RETAIN: "Retain",
|
|
370
|
+
RETIREMENT: "Retirement"
|
|
371
|
+
};
|
|
372
|
+
var TargetDestination = {
|
|
373
|
+
AMAZON_DOCUMENTDB: "Amazon DocumentDB",
|
|
374
|
+
AMAZON_DYNAMODB: "Amazon DynamoDB",
|
|
375
|
+
AMAZON_ELASTIC_CLOUD_COMPUTE: "Amazon Elastic Cloud Compute (EC2)",
|
|
376
|
+
AMAZON_ELASTIC_CONTAINER_SERVICE: "Amazon Elastic Container Service (ECS)",
|
|
377
|
+
AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",
|
|
378
|
+
AMAZON_RDS: "Amazon Relational Database Service",
|
|
379
|
+
AMAZON_RDS_MYSQL: "Amazon Relational Database Service on MySQL",
|
|
380
|
+
AMAZON_RDS_POSTGRESQL: "Amazon Relational Database Service on PostgreSQL",
|
|
381
|
+
AURORA_MYSQL: "Aurora MySQL",
|
|
382
|
+
AURORA_POSTGRESQL: "Aurora PostgreSQL",
|
|
383
|
+
AWS_ELASTIC_BEANSTALK: "AWS Elastic BeanStalk",
|
|
384
|
+
AWS_FARGATE: "AWS Fargate",
|
|
385
|
+
BABELFISH_AURORA_POSTGRESQL: "Babelfish for Aurora PostgreSQL",
|
|
386
|
+
NONE_SPECIFIED: "None specified"
|
|
387
|
+
};
|
|
388
|
+
var TransformationToolName = {
|
|
389
|
+
APP2CONTAINER: "App2Container",
|
|
390
|
+
DMS: "Database Migration Service",
|
|
391
|
+
EMP: "End of Support Migration",
|
|
392
|
+
IN_PLACE_OS_UPGRADE: "In Place Operating System Upgrade",
|
|
393
|
+
MGN: "Application Migration Service",
|
|
394
|
+
NATIVE_SQL: "Native SQL Server Backup/Restore",
|
|
395
|
+
PORTING_ASSISTANT: "Porting Assistant For .NET",
|
|
396
|
+
SCT: "Schema Conversion Tool",
|
|
397
|
+
STRATEGY_RECOMMENDATION_SUPPORT: "Strategy Recommendation Support",
|
|
398
|
+
WWAMA: "Windows Web Application Migration Assistant"
|
|
399
|
+
};
|
|
400
|
+
var ResourceSubType = {
|
|
401
|
+
DATABASE: "Database",
|
|
402
|
+
DATABASE_PROCESS: "DatabaseProcess",
|
|
403
|
+
PROCESS: "Process"
|
|
404
|
+
};
|
|
405
|
+
var StrategyRecommendation = {
|
|
406
|
+
NOT_RECOMMENDED: "notRecommended",
|
|
407
|
+
POTENTIAL: "potential",
|
|
408
|
+
RECOMMENDED: "recommended",
|
|
409
|
+
VIABLE_OPTION: "viableOption"
|
|
410
|
+
};
|
|
411
|
+
var ApplicationMode = {
|
|
412
|
+
ALL: "ALL",
|
|
413
|
+
KNOWN: "KNOWN",
|
|
414
|
+
UNKNOWN: "UNKNOWN"
|
|
415
|
+
};
|
|
416
|
+
var AwsManagedTargetDestination = {
|
|
417
|
+
AWS_ELASTIC_BEANSTALK: "AWS Elastic BeanStalk",
|
|
418
|
+
AWS_FARGATE: "AWS Fargate",
|
|
419
|
+
NONE_SPECIFIED: "None specified"
|
|
420
|
+
};
|
|
421
|
+
var NoPreferenceTargetDestination = {
|
|
422
|
+
AMAZON_ELASTIC_CLOUD_COMPUTE: "Amazon Elastic Cloud Compute (EC2)",
|
|
423
|
+
AMAZON_ELASTIC_CONTAINER_SERVICE: "Amazon Elastic Container Service (ECS)",
|
|
424
|
+
AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",
|
|
425
|
+
AWS_ELASTIC_BEANSTALK: "AWS Elastic BeanStalk",
|
|
426
|
+
AWS_FARGATE: "AWS Fargate",
|
|
427
|
+
NONE_SPECIFIED: "None specified"
|
|
428
|
+
};
|
|
429
|
+
var SelfManageTargetDestination = {
|
|
430
|
+
AMAZON_ELASTIC_CLOUD_COMPUTE: "Amazon Elastic Cloud Compute (EC2)",
|
|
431
|
+
AMAZON_ELASTIC_CONTAINER_SERVICE: "Amazon Elastic Container Service (ECS)",
|
|
432
|
+
AMAZON_ELASTIC_KUBERNETES_SERVICE: "Amazon Elastic Kubernetes Service (EKS)",
|
|
433
|
+
NONE_SPECIFIED: "None specified"
|
|
434
|
+
};
|
|
435
|
+
var ManagementPreference;
|
|
436
|
+
((ManagementPreference3) => {
|
|
437
|
+
ManagementPreference3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
438
|
+
if (value.awsManagedResources !== void 0)
|
|
439
|
+
return visitor.awsManagedResources(value.awsManagedResources);
|
|
440
|
+
if (value.selfManageResources !== void 0)
|
|
441
|
+
return visitor.selfManageResources(value.selfManageResources);
|
|
442
|
+
if (value.noPreference !== void 0)
|
|
443
|
+
return visitor.noPreference(value.noPreference);
|
|
444
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
445
|
+
}, "visit");
|
|
446
|
+
})(ManagementPreference || (ManagementPreference = {}));
|
|
447
|
+
var AssessmentDataSourceType = {
|
|
448
|
+
ADS: "ApplicationDiscoveryService",
|
|
449
|
+
MANUAL_IMPORT: "ManualImport",
|
|
450
|
+
SR_COLLECTOR: "StrategyRecommendationsApplicationDataCollector"
|
|
451
|
+
};
|
|
452
|
+
var AssessmentStatus = {
|
|
453
|
+
COMPLETE: "COMPLETE",
|
|
454
|
+
FAILED: "FAILED",
|
|
455
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
456
|
+
STOPPED: "STOPPED"
|
|
457
|
+
};
|
|
458
|
+
var RunTimeAssessmentStatus = {
|
|
459
|
+
DC_FAILED: "dataCollectionTaskFailed",
|
|
460
|
+
DC_PARTIAL_SUCCESS: "dataCollectionTaskPartialSuccess",
|
|
461
|
+
DC_REQ_SENT: "dataCollectionTaskScheduled",
|
|
462
|
+
DC_STARTED: "dataCollectionTaskStarted",
|
|
463
|
+
DC_STOPPED: "dataCollectionTaskStopped",
|
|
464
|
+
DC_SUCCESS: "dataCollectionTaskSuccess",
|
|
465
|
+
DC_TO_BE_SCHEDULED: "dataCollectionTaskToBeScheduled"
|
|
466
|
+
};
|
|
467
|
+
var ServerOsType = {
|
|
468
|
+
amazonLinux: "AmazonLinux",
|
|
469
|
+
endOfSupportWindowsServer: "EndOfSupportWindowsServer",
|
|
470
|
+
other: "Other",
|
|
471
|
+
redhat: "Redhat",
|
|
472
|
+
windowsServer: "WindowsServer"
|
|
473
|
+
};
|
|
474
|
+
var Condition = {
|
|
475
|
+
CONTAINS: "CONTAINS",
|
|
476
|
+
EQUALS: "EQUALS",
|
|
477
|
+
NOT_CONTAINS: "NOT_CONTAINS",
|
|
478
|
+
NOT_EQUALS: "NOT_EQUALS"
|
|
479
|
+
};
|
|
480
|
+
var AuthType = {
|
|
481
|
+
CERT: "CERT",
|
|
482
|
+
NTLM: "NTLM",
|
|
483
|
+
SSH: "SSH"
|
|
484
|
+
};
|
|
485
|
+
var _InternalServerException = class _InternalServerException extends MigrationHubStrategyServiceException {
|
|
486
|
+
/**
|
|
487
|
+
* @internal
|
|
488
|
+
*/
|
|
489
|
+
constructor(opts) {
|
|
490
|
+
super({
|
|
491
|
+
name: "InternalServerException",
|
|
492
|
+
$fault: "server",
|
|
493
|
+
...opts
|
|
494
|
+
});
|
|
495
|
+
this.name = "InternalServerException";
|
|
496
|
+
this.$fault = "server";
|
|
497
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
__name(_InternalServerException, "InternalServerException");
|
|
501
|
+
var InternalServerException = _InternalServerException;
|
|
502
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends MigrationHubStrategyServiceException {
|
|
503
|
+
/**
|
|
504
|
+
* @internal
|
|
505
|
+
*/
|
|
506
|
+
constructor(opts) {
|
|
507
|
+
super({
|
|
508
|
+
name: "ResourceNotFoundException",
|
|
509
|
+
$fault: "client",
|
|
510
|
+
...opts
|
|
511
|
+
});
|
|
512
|
+
this.name = "ResourceNotFoundException";
|
|
513
|
+
this.$fault = "client";
|
|
514
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
518
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
519
|
+
var _ThrottlingException = class _ThrottlingException extends MigrationHubStrategyServiceException {
|
|
520
|
+
/**
|
|
521
|
+
* @internal
|
|
522
|
+
*/
|
|
523
|
+
constructor(opts) {
|
|
524
|
+
super({
|
|
525
|
+
name: "ThrottlingException",
|
|
526
|
+
$fault: "client",
|
|
527
|
+
...opts
|
|
528
|
+
});
|
|
529
|
+
this.name = "ThrottlingException";
|
|
530
|
+
this.$fault = "client";
|
|
531
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
532
|
+
}
|
|
533
|
+
};
|
|
534
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
535
|
+
var ThrottlingException = _ThrottlingException;
|
|
536
|
+
var ImportFileTaskStatus = {
|
|
537
|
+
DELETE_FAILED: "DeleteFailed",
|
|
538
|
+
DELETE_IN_PROGRESS: "DeleteInProgress",
|
|
539
|
+
DELETE_PARTIAL_SUCCESS: "DeletePartialSuccess",
|
|
540
|
+
DELETE_SUCCESS: "DeleteSuccess",
|
|
541
|
+
IMPORT_FAILED: "ImportFailed",
|
|
542
|
+
IMPORT_IN_PROGRESS: "ImportInProgress",
|
|
543
|
+
IMPORT_PARTIAL_SUCCESS: "ImportPartialSuccess",
|
|
544
|
+
IMPORT_SUCCESS: "ImportSuccess"
|
|
545
|
+
};
|
|
546
|
+
var _ValidationException = class _ValidationException extends MigrationHubStrategyServiceException {
|
|
547
|
+
/**
|
|
548
|
+
* @internal
|
|
549
|
+
*/
|
|
550
|
+
constructor(opts) {
|
|
551
|
+
super({
|
|
552
|
+
name: "ValidationException",
|
|
553
|
+
$fault: "client",
|
|
554
|
+
...opts
|
|
555
|
+
});
|
|
556
|
+
this.name = "ValidationException";
|
|
557
|
+
this.$fault = "client";
|
|
558
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
559
|
+
}
|
|
560
|
+
};
|
|
561
|
+
__name(_ValidationException, "ValidationException");
|
|
562
|
+
var ValidationException = _ValidationException;
|
|
563
|
+
var _DependencyException = class _DependencyException extends MigrationHubStrategyServiceException {
|
|
564
|
+
/**
|
|
565
|
+
* @internal
|
|
566
|
+
*/
|
|
567
|
+
constructor(opts) {
|
|
568
|
+
super({
|
|
569
|
+
name: "DependencyException",
|
|
570
|
+
$fault: "server",
|
|
571
|
+
...opts
|
|
572
|
+
});
|
|
573
|
+
this.name = "DependencyException";
|
|
574
|
+
this.$fault = "server";
|
|
575
|
+
Object.setPrototypeOf(this, _DependencyException.prototype);
|
|
576
|
+
}
|
|
577
|
+
};
|
|
578
|
+
__name(_DependencyException, "DependencyException");
|
|
579
|
+
var DependencyException = _DependencyException;
|
|
580
|
+
var DatabaseManagementPreference = {
|
|
581
|
+
AWS_MANAGED: "AWS-managed",
|
|
582
|
+
NO_PREFERENCE: "No preference",
|
|
583
|
+
SELF_MANAGE: "Self-manage"
|
|
584
|
+
};
|
|
585
|
+
var HeterogeneousTargetDatabaseEngine = {
|
|
586
|
+
AMAZON_AURORA: "Amazon Aurora",
|
|
587
|
+
AWS_POSTGRESQL: "AWS PostgreSQL",
|
|
588
|
+
DB2_LUW: "Db2 LUW",
|
|
589
|
+
MARIA_DB: "MariaDB",
|
|
590
|
+
MICROSOFT_SQL_SERVER: "Microsoft SQL Server",
|
|
591
|
+
MONGO_DB: "MongoDB",
|
|
592
|
+
MYSQL: "MySQL",
|
|
593
|
+
NONE_SPECIFIED: "None specified",
|
|
594
|
+
ORACLE_DATABASE: "Oracle Database",
|
|
595
|
+
SAP: "SAP"
|
|
596
|
+
};
|
|
597
|
+
var HomogeneousTargetDatabaseEngine = {
|
|
598
|
+
NONE_SPECIFIED: "None specified"
|
|
599
|
+
};
|
|
600
|
+
var TargetDatabaseEngine = {
|
|
601
|
+
AMAZON_AURORA: "Amazon Aurora",
|
|
602
|
+
AWS_POSTGRESQL: "AWS PostgreSQL",
|
|
603
|
+
DB2_LUW: "Db2 LUW",
|
|
604
|
+
MARIA_DB: "MariaDB",
|
|
605
|
+
MICROSOFT_SQL_SERVER: "Microsoft SQL Server",
|
|
606
|
+
MONGO_DB: "MongoDB",
|
|
607
|
+
MYSQL: "MySQL",
|
|
608
|
+
NONE_SPECIFIED: "None specified",
|
|
609
|
+
ORACLE_DATABASE: "Oracle Database",
|
|
610
|
+
SAP: "SAP"
|
|
611
|
+
};
|
|
612
|
+
var DatabaseMigrationPreference;
|
|
613
|
+
((DatabaseMigrationPreference3) => {
|
|
614
|
+
DatabaseMigrationPreference3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
615
|
+
if (value.heterogeneous !== void 0)
|
|
616
|
+
return visitor.heterogeneous(value.heterogeneous);
|
|
617
|
+
if (value.homogeneous !== void 0)
|
|
618
|
+
return visitor.homogeneous(value.homogeneous);
|
|
619
|
+
if (value.noPreference !== void 0)
|
|
620
|
+
return visitor.noPreference(value.noPreference);
|
|
621
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
622
|
+
}, "visit");
|
|
623
|
+
})(DatabaseMigrationPreference || (DatabaseMigrationPreference = {}));
|
|
624
|
+
var RecommendationReportStatus = {
|
|
625
|
+
FAILED: "FAILED",
|
|
626
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
627
|
+
SUCCESS: "SUCCESS"
|
|
628
|
+
};
|
|
629
|
+
var ServerErrorCategory = {
|
|
630
|
+
ARCHITECTURE_ERROR: "ARCHITECTURE_ERROR",
|
|
631
|
+
CONNECTIVITY_ERROR: "CONNECTIVITY_ERROR",
|
|
632
|
+
CREDENTIAL_ERROR: "CREDENTIAL_ERROR",
|
|
633
|
+
OTHER_ERROR: "OTHER_ERROR",
|
|
634
|
+
PERMISSION_ERROR: "PERMISSION_ERROR"
|
|
635
|
+
};
|
|
636
|
+
var OSType = {
|
|
637
|
+
LINUX: "LINUX",
|
|
638
|
+
WINDOWS: "WINDOWS"
|
|
639
|
+
};
|
|
640
|
+
var SortOrder = {
|
|
641
|
+
ASC: "ASC",
|
|
642
|
+
DESC: "DESC"
|
|
643
|
+
};
|
|
644
|
+
var GroupName = {
|
|
645
|
+
EXTERNAL_ID: "ExternalId",
|
|
646
|
+
EXTERNAL_SOURCE_TYPE: "ExternalSourceType"
|
|
647
|
+
};
|
|
648
|
+
var _ServiceLinkedRoleLockClientException = class _ServiceLinkedRoleLockClientException extends MigrationHubStrategyServiceException {
|
|
649
|
+
/**
|
|
650
|
+
* @internal
|
|
651
|
+
*/
|
|
652
|
+
constructor(opts) {
|
|
653
|
+
super({
|
|
654
|
+
name: "ServiceLinkedRoleLockClientException",
|
|
655
|
+
$fault: "client",
|
|
656
|
+
...opts
|
|
657
|
+
});
|
|
658
|
+
this.name = "ServiceLinkedRoleLockClientException";
|
|
659
|
+
this.$fault = "client";
|
|
660
|
+
Object.setPrototypeOf(this, _ServiceLinkedRoleLockClientException.prototype);
|
|
661
|
+
}
|
|
662
|
+
};
|
|
663
|
+
__name(_ServiceLinkedRoleLockClientException, "ServiceLinkedRoleLockClientException");
|
|
664
|
+
var ServiceLinkedRoleLockClientException = _ServiceLinkedRoleLockClientException;
|
|
665
|
+
var CollectorHealth = {
|
|
666
|
+
COLLECTOR_HEALTHY: "COLLECTOR_HEALTHY",
|
|
667
|
+
COLLECTOR_UNHEALTHY: "COLLECTOR_UNHEALTHY"
|
|
668
|
+
};
|
|
669
|
+
var PipelineType = {
|
|
670
|
+
AZURE_DEVOPS: "AZURE_DEVOPS"
|
|
671
|
+
};
|
|
672
|
+
var VersionControlType = {
|
|
673
|
+
AZURE_DEVOPS_GIT: "AZURE_DEVOPS_GIT",
|
|
674
|
+
GITHUB: "GITHUB",
|
|
675
|
+
GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE"
|
|
676
|
+
};
|
|
677
|
+
var ServerCriteria = {
|
|
678
|
+
ANALYSIS_STATUS: "ANALYSIS_STATUS",
|
|
679
|
+
DESTINATION: "DESTINATION",
|
|
680
|
+
ERROR_CATEGORY: "ERROR_CATEGORY",
|
|
681
|
+
NOT_DEFINED: "NOT_DEFINED",
|
|
682
|
+
OS_NAME: "OS_NAME",
|
|
683
|
+
SERVER_ID: "SERVER_ID",
|
|
684
|
+
STRATEGY: "STRATEGY"
|
|
685
|
+
};
|
|
686
|
+
var _ConflictException = class _ConflictException extends MigrationHubStrategyServiceException {
|
|
687
|
+
/**
|
|
688
|
+
* @internal
|
|
689
|
+
*/
|
|
690
|
+
constructor(opts) {
|
|
691
|
+
super({
|
|
692
|
+
name: "ConflictException",
|
|
693
|
+
$fault: "client",
|
|
694
|
+
...opts
|
|
695
|
+
});
|
|
696
|
+
this.name = "ConflictException";
|
|
697
|
+
this.$fault = "client";
|
|
698
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
699
|
+
}
|
|
700
|
+
};
|
|
701
|
+
__name(_ConflictException, "ConflictException");
|
|
702
|
+
var ConflictException = _ConflictException;
|
|
703
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends MigrationHubStrategyServiceException {
|
|
704
|
+
/**
|
|
705
|
+
* @internal
|
|
706
|
+
*/
|
|
707
|
+
constructor(opts) {
|
|
708
|
+
super({
|
|
709
|
+
name: "ServiceQuotaExceededException",
|
|
710
|
+
$fault: "client",
|
|
711
|
+
...opts
|
|
712
|
+
});
|
|
713
|
+
this.name = "ServiceQuotaExceededException";
|
|
714
|
+
this.$fault = "client";
|
|
715
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
716
|
+
}
|
|
717
|
+
};
|
|
718
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
719
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
720
|
+
var DataSourceType = {
|
|
721
|
+
ADS: "ApplicationDiscoveryService",
|
|
722
|
+
IMPORT: "Import",
|
|
723
|
+
MHSR_COLLECTOR: "StrategyRecommendationsApplicationDataCollector",
|
|
724
|
+
MPA: "MPA"
|
|
725
|
+
};
|
|
726
|
+
var OutputFormat = {
|
|
727
|
+
Excel: "Excel",
|
|
728
|
+
Json: "Json"
|
|
729
|
+
};
|
|
730
|
+
var VersionControl = {
|
|
731
|
+
AZURE_DEVOPS_GIT: "AZURE_DEVOPS_GIT",
|
|
732
|
+
GITHUB: "GITHUB",
|
|
733
|
+
GITHUB_ENTERPRISE: "GITHUB_ENTERPRISE"
|
|
734
|
+
};
|
|
735
|
+
var UpdateApplicationComponentConfigRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
736
|
+
...obj,
|
|
737
|
+
...obj.secretsManagerKey && { secretsManagerKey: import_smithy_client.SENSITIVE_STRING }
|
|
738
|
+
}), "UpdateApplicationComponentConfigRequestFilterSensitiveLog");
|
|
739
|
+
|
|
740
|
+
// src/protocols/Aws_restJson1.ts
|
|
741
|
+
var se_GetApplicationComponentDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
742
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
743
|
+
const headers = {};
|
|
744
|
+
b.bp("/get-applicationcomponent-details/{applicationComponentId}");
|
|
745
|
+
b.p("applicationComponentId", () => input.applicationComponentId, "{applicationComponentId}", false);
|
|
746
|
+
let body;
|
|
747
|
+
b.m("GET").h(headers).b(body);
|
|
748
|
+
return b.build();
|
|
749
|
+
}, "se_GetApplicationComponentDetailsCommand");
|
|
750
|
+
var se_GetApplicationComponentStrategiesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
751
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
752
|
+
const headers = {};
|
|
753
|
+
b.bp("/get-applicationcomponent-strategies/{applicationComponentId}");
|
|
754
|
+
b.p("applicationComponentId", () => input.applicationComponentId, "{applicationComponentId}", false);
|
|
755
|
+
let body;
|
|
756
|
+
b.m("GET").h(headers).b(body);
|
|
757
|
+
return b.build();
|
|
758
|
+
}, "se_GetApplicationComponentStrategiesCommand");
|
|
759
|
+
var se_GetAssessmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
760
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
761
|
+
const headers = {};
|
|
762
|
+
b.bp("/get-assessment/{id}");
|
|
763
|
+
b.p("id", () => input.id, "{id}", false);
|
|
764
|
+
let body;
|
|
765
|
+
b.m("GET").h(headers).b(body);
|
|
766
|
+
return b.build();
|
|
767
|
+
}, "se_GetAssessmentCommand");
|
|
768
|
+
var se_GetImportFileTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
769
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
770
|
+
const headers = {};
|
|
771
|
+
b.bp("/get-import-file-task/{id}");
|
|
772
|
+
b.p("id", () => input.id, "{id}", false);
|
|
773
|
+
let body;
|
|
774
|
+
b.m("GET").h(headers).b(body);
|
|
775
|
+
return b.build();
|
|
776
|
+
}, "se_GetImportFileTaskCommand");
|
|
777
|
+
var se_GetLatestAssessmentIdCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
778
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
779
|
+
const headers = {
|
|
780
|
+
"content-type": "application/json"
|
|
781
|
+
};
|
|
782
|
+
b.bp("/get-latest-assessment-id");
|
|
783
|
+
let body;
|
|
784
|
+
body = "";
|
|
785
|
+
b.m("GET").h(headers).b(body);
|
|
786
|
+
return b.build();
|
|
787
|
+
}, "se_GetLatestAssessmentIdCommand");
|
|
788
|
+
var se_GetPortfolioPreferencesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
789
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
790
|
+
const headers = {
|
|
791
|
+
"content-type": "application/json"
|
|
792
|
+
};
|
|
793
|
+
b.bp("/get-portfolio-preferences");
|
|
794
|
+
let body;
|
|
795
|
+
body = "";
|
|
796
|
+
b.m("GET").h(headers).b(body);
|
|
797
|
+
return b.build();
|
|
798
|
+
}, "se_GetPortfolioPreferencesCommand");
|
|
799
|
+
var se_GetPortfolioSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
800
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
801
|
+
const headers = {
|
|
802
|
+
"content-type": "application/json"
|
|
803
|
+
};
|
|
804
|
+
b.bp("/get-portfolio-summary");
|
|
805
|
+
let body;
|
|
806
|
+
body = "";
|
|
807
|
+
b.m("GET").h(headers).b(body);
|
|
808
|
+
return b.build();
|
|
809
|
+
}, "se_GetPortfolioSummaryCommand");
|
|
810
|
+
var se_GetRecommendationReportDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
811
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
812
|
+
const headers = {};
|
|
813
|
+
b.bp("/get-recommendation-report-details/{id}");
|
|
814
|
+
b.p("id", () => input.id, "{id}", false);
|
|
815
|
+
let body;
|
|
816
|
+
b.m("GET").h(headers).b(body);
|
|
817
|
+
return b.build();
|
|
818
|
+
}, "se_GetRecommendationReportDetailsCommand");
|
|
819
|
+
var se_GetServerDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
820
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
821
|
+
const headers = {};
|
|
822
|
+
b.bp("/get-server-details/{serverId}");
|
|
823
|
+
b.p("serverId", () => input.serverId, "{serverId}", false);
|
|
824
|
+
const query = (0, import_smithy_client.map)({
|
|
825
|
+
[_nT]: [, input[_nT]],
|
|
826
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
827
|
+
});
|
|
828
|
+
let body;
|
|
829
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
830
|
+
return b.build();
|
|
831
|
+
}, "se_GetServerDetailsCommand");
|
|
832
|
+
var se_GetServerStrategiesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
833
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
834
|
+
const headers = {};
|
|
835
|
+
b.bp("/get-server-strategies/{serverId}");
|
|
836
|
+
b.p("serverId", () => input.serverId, "{serverId}", false);
|
|
837
|
+
let body;
|
|
838
|
+
b.m("GET").h(headers).b(body);
|
|
839
|
+
return b.build();
|
|
840
|
+
}, "se_GetServerStrategiesCommand");
|
|
841
|
+
var se_ListAnalyzableServersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
842
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
843
|
+
const headers = {
|
|
844
|
+
"content-type": "application/json"
|
|
845
|
+
};
|
|
846
|
+
b.bp("/list-analyzable-servers");
|
|
847
|
+
let body;
|
|
848
|
+
body = JSON.stringify(
|
|
849
|
+
(0, import_smithy_client.take)(input, {
|
|
850
|
+
maxResults: [],
|
|
851
|
+
nextToken: [],
|
|
852
|
+
sort: []
|
|
853
|
+
})
|
|
854
|
+
);
|
|
855
|
+
b.m("POST").h(headers).b(body);
|
|
856
|
+
return b.build();
|
|
857
|
+
}, "se_ListAnalyzableServersCommand");
|
|
858
|
+
var se_ListApplicationComponentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
859
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
860
|
+
const headers = {
|
|
861
|
+
"content-type": "application/json"
|
|
862
|
+
};
|
|
863
|
+
b.bp("/list-applicationcomponents");
|
|
864
|
+
let body;
|
|
865
|
+
body = JSON.stringify(
|
|
866
|
+
(0, import_smithy_client.take)(input, {
|
|
867
|
+
applicationComponentCriteria: [],
|
|
868
|
+
filterValue: [],
|
|
869
|
+
groupIdFilter: (_) => (0, import_smithy_client._json)(_),
|
|
870
|
+
maxResults: [],
|
|
871
|
+
nextToken: [],
|
|
872
|
+
sort: []
|
|
873
|
+
})
|
|
874
|
+
);
|
|
875
|
+
b.m("POST").h(headers).b(body);
|
|
876
|
+
return b.build();
|
|
877
|
+
}, "se_ListApplicationComponentsCommand");
|
|
878
|
+
var se_ListCollectorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
879
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
880
|
+
const headers = {};
|
|
881
|
+
b.bp("/list-collectors");
|
|
882
|
+
const query = (0, import_smithy_client.map)({
|
|
883
|
+
[_nT]: [, input[_nT]],
|
|
884
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
885
|
+
});
|
|
886
|
+
let body;
|
|
887
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
888
|
+
return b.build();
|
|
889
|
+
}, "se_ListCollectorsCommand");
|
|
890
|
+
var se_ListImportFileTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
891
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
892
|
+
const headers = {};
|
|
893
|
+
b.bp("/list-import-file-task");
|
|
894
|
+
const query = (0, import_smithy_client.map)({
|
|
895
|
+
[_nT]: [, input[_nT]],
|
|
896
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
897
|
+
});
|
|
898
|
+
let body;
|
|
899
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
900
|
+
return b.build();
|
|
901
|
+
}, "se_ListImportFileTaskCommand");
|
|
902
|
+
var se_ListServersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
903
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
904
|
+
const headers = {
|
|
905
|
+
"content-type": "application/json"
|
|
906
|
+
};
|
|
907
|
+
b.bp("/list-servers");
|
|
908
|
+
let body;
|
|
909
|
+
body = JSON.stringify(
|
|
910
|
+
(0, import_smithy_client.take)(input, {
|
|
911
|
+
filterValue: [],
|
|
912
|
+
groupIdFilter: (_) => (0, import_smithy_client._json)(_),
|
|
913
|
+
maxResults: [],
|
|
914
|
+
nextToken: [],
|
|
915
|
+
serverCriteria: [],
|
|
916
|
+
sort: []
|
|
917
|
+
})
|
|
918
|
+
);
|
|
919
|
+
b.m("POST").h(headers).b(body);
|
|
920
|
+
return b.build();
|
|
921
|
+
}, "se_ListServersCommand");
|
|
922
|
+
var se_PutPortfolioPreferencesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
923
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
924
|
+
const headers = {
|
|
925
|
+
"content-type": "application/json"
|
|
926
|
+
};
|
|
927
|
+
b.bp("/put-portfolio-preferences");
|
|
928
|
+
let body;
|
|
929
|
+
body = JSON.stringify(
|
|
930
|
+
(0, import_smithy_client.take)(input, {
|
|
931
|
+
applicationMode: [],
|
|
932
|
+
applicationPreferences: (_) => (0, import_smithy_client._json)(_),
|
|
933
|
+
databasePreferences: (_) => (0, import_smithy_client._json)(_),
|
|
934
|
+
prioritizeBusinessGoals: (_) => (0, import_smithy_client._json)(_)
|
|
935
|
+
})
|
|
936
|
+
);
|
|
937
|
+
b.m("POST").h(headers).b(body);
|
|
938
|
+
return b.build();
|
|
939
|
+
}, "se_PutPortfolioPreferencesCommand");
|
|
940
|
+
var se_StartAssessmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
941
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
942
|
+
const headers = {
|
|
943
|
+
"content-type": "application/json"
|
|
944
|
+
};
|
|
945
|
+
b.bp("/start-assessment");
|
|
946
|
+
let body;
|
|
947
|
+
body = JSON.stringify(
|
|
948
|
+
(0, import_smithy_client.take)(input, {
|
|
949
|
+
assessmentDataSourceType: [],
|
|
950
|
+
assessmentTargets: (_) => (0, import_smithy_client._json)(_),
|
|
951
|
+
s3bucketForAnalysisData: [],
|
|
952
|
+
s3bucketForReportData: []
|
|
953
|
+
})
|
|
954
|
+
);
|
|
955
|
+
b.m("POST").h(headers).b(body);
|
|
956
|
+
return b.build();
|
|
957
|
+
}, "se_StartAssessmentCommand");
|
|
958
|
+
var se_StartImportFileTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
959
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
960
|
+
const headers = {
|
|
961
|
+
"content-type": "application/json"
|
|
962
|
+
};
|
|
963
|
+
b.bp("/start-import-file-task");
|
|
964
|
+
let body;
|
|
965
|
+
body = JSON.stringify(
|
|
966
|
+
(0, import_smithy_client.take)(input, {
|
|
967
|
+
S3Bucket: [],
|
|
968
|
+
dataSourceType: [],
|
|
969
|
+
groupId: (_) => (0, import_smithy_client._json)(_),
|
|
970
|
+
name: [],
|
|
971
|
+
s3bucketForReportData: [],
|
|
972
|
+
s3key: []
|
|
973
|
+
})
|
|
974
|
+
);
|
|
975
|
+
b.m("POST").h(headers).b(body);
|
|
976
|
+
return b.build();
|
|
977
|
+
}, "se_StartImportFileTaskCommand");
|
|
978
|
+
var se_StartRecommendationReportGenerationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
979
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
980
|
+
const headers = {
|
|
981
|
+
"content-type": "application/json"
|
|
982
|
+
};
|
|
983
|
+
b.bp("/start-recommendation-report-generation");
|
|
984
|
+
let body;
|
|
985
|
+
body = JSON.stringify(
|
|
986
|
+
(0, import_smithy_client.take)(input, {
|
|
987
|
+
groupIdFilter: (_) => (0, import_smithy_client._json)(_),
|
|
988
|
+
outputFormat: []
|
|
989
|
+
})
|
|
990
|
+
);
|
|
991
|
+
b.m("POST").h(headers).b(body);
|
|
992
|
+
return b.build();
|
|
993
|
+
}, "se_StartRecommendationReportGenerationCommand");
|
|
994
|
+
var se_StopAssessmentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
995
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
996
|
+
const headers = {
|
|
997
|
+
"content-type": "application/json"
|
|
998
|
+
};
|
|
999
|
+
b.bp("/stop-assessment");
|
|
1000
|
+
let body;
|
|
1001
|
+
body = JSON.stringify(
|
|
1002
|
+
(0, import_smithy_client.take)(input, {
|
|
1003
|
+
assessmentId: []
|
|
1004
|
+
})
|
|
1005
|
+
);
|
|
1006
|
+
b.m("POST").h(headers).b(body);
|
|
1007
|
+
return b.build();
|
|
1008
|
+
}, "se_StopAssessmentCommand");
|
|
1009
|
+
var se_UpdateApplicationComponentConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1010
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1011
|
+
const headers = {
|
|
1012
|
+
"content-type": "application/json"
|
|
1013
|
+
};
|
|
1014
|
+
b.bp("/update-applicationcomponent-config");
|
|
1015
|
+
let body;
|
|
1016
|
+
body = JSON.stringify(
|
|
1017
|
+
(0, import_smithy_client.take)(input, {
|
|
1018
|
+
appType: [],
|
|
1019
|
+
applicationComponentId: [],
|
|
1020
|
+
configureOnly: [],
|
|
1021
|
+
inclusionStatus: [],
|
|
1022
|
+
secretsManagerKey: [],
|
|
1023
|
+
sourceCodeList: (_) => (0, import_smithy_client._json)(_),
|
|
1024
|
+
strategyOption: (_) => (0, import_smithy_client._json)(_)
|
|
1025
|
+
})
|
|
1026
|
+
);
|
|
1027
|
+
b.m("POST").h(headers).b(body);
|
|
1028
|
+
return b.build();
|
|
1029
|
+
}, "se_UpdateApplicationComponentConfigCommand");
|
|
1030
|
+
var se_UpdateServerConfigCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1031
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1032
|
+
const headers = {
|
|
1033
|
+
"content-type": "application/json"
|
|
1034
|
+
};
|
|
1035
|
+
b.bp("/update-server-config");
|
|
1036
|
+
let body;
|
|
1037
|
+
body = JSON.stringify(
|
|
1038
|
+
(0, import_smithy_client.take)(input, {
|
|
1039
|
+
serverId: [],
|
|
1040
|
+
strategyOption: (_) => (0, import_smithy_client._json)(_)
|
|
1041
|
+
})
|
|
1042
|
+
);
|
|
1043
|
+
b.m("POST").h(headers).b(body);
|
|
1044
|
+
return b.build();
|
|
1045
|
+
}, "se_UpdateServerConfigCommand");
|
|
1046
|
+
var de_GetApplicationComponentDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1047
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1048
|
+
return de_GetApplicationComponentDetailsCommandError(output, context);
|
|
1049
|
+
}
|
|
1050
|
+
const contents = (0, import_smithy_client.map)({
|
|
1051
|
+
$metadata: deserializeMetadata(output)
|
|
1052
|
+
});
|
|
1053
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1054
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1055
|
+
applicationComponentDetail: (_) => de_ApplicationComponentDetail(_, context),
|
|
1056
|
+
associatedApplications: import_smithy_client._json,
|
|
1057
|
+
associatedServerIds: import_smithy_client._json,
|
|
1058
|
+
moreApplicationResource: import_smithy_client.expectBoolean
|
|
1059
|
+
});
|
|
1060
|
+
Object.assign(contents, doc);
|
|
1061
|
+
return contents;
|
|
1062
|
+
}, "de_GetApplicationComponentDetailsCommand");
|
|
1063
|
+
var de_GetApplicationComponentDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1064
|
+
const parsedOutput = {
|
|
1065
|
+
...output,
|
|
1066
|
+
body: await parseErrorBody(output.body, context)
|
|
1067
|
+
};
|
|
1068
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1069
|
+
switch (errorCode) {
|
|
1070
|
+
case "InternalServerException":
|
|
1071
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1072
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1073
|
+
case "ResourceNotFoundException":
|
|
1074
|
+
case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
|
|
1075
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1076
|
+
case "ThrottlingException":
|
|
1077
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1078
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1079
|
+
default:
|
|
1080
|
+
const parsedBody = parsedOutput.body;
|
|
1081
|
+
return throwDefaultError({
|
|
1082
|
+
output,
|
|
1083
|
+
parsedBody,
|
|
1084
|
+
errorCode
|
|
1085
|
+
});
|
|
1086
|
+
}
|
|
1087
|
+
}, "de_GetApplicationComponentDetailsCommandError");
|
|
1088
|
+
var de_GetApplicationComponentStrategiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1089
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1090
|
+
return de_GetApplicationComponentStrategiesCommandError(output, context);
|
|
1091
|
+
}
|
|
1092
|
+
const contents = (0, import_smithy_client.map)({
|
|
1093
|
+
$metadata: deserializeMetadata(output)
|
|
1094
|
+
});
|
|
1095
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1096
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1097
|
+
applicationComponentStrategies: import_smithy_client._json
|
|
1098
|
+
});
|
|
1099
|
+
Object.assign(contents, doc);
|
|
1100
|
+
return contents;
|
|
1101
|
+
}, "de_GetApplicationComponentStrategiesCommand");
|
|
1102
|
+
var de_GetApplicationComponentStrategiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1103
|
+
const parsedOutput = {
|
|
1104
|
+
...output,
|
|
1105
|
+
body: await parseErrorBody(output.body, context)
|
|
1106
|
+
};
|
|
1107
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1108
|
+
switch (errorCode) {
|
|
1109
|
+
case "InternalServerException":
|
|
1110
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1111
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1112
|
+
case "ResourceNotFoundException":
|
|
1113
|
+
case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
|
|
1114
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1115
|
+
case "ThrottlingException":
|
|
1116
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1117
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1118
|
+
default:
|
|
1119
|
+
const parsedBody = parsedOutput.body;
|
|
1120
|
+
return throwDefaultError({
|
|
1121
|
+
output,
|
|
1122
|
+
parsedBody,
|
|
1123
|
+
errorCode
|
|
1124
|
+
});
|
|
1125
|
+
}
|
|
1126
|
+
}, "de_GetApplicationComponentStrategiesCommandError");
|
|
1127
|
+
var de_GetAssessmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1128
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1129
|
+
return de_GetAssessmentCommandError(output, context);
|
|
1130
|
+
}
|
|
1131
|
+
const contents = (0, import_smithy_client.map)({
|
|
1132
|
+
$metadata: deserializeMetadata(output)
|
|
1133
|
+
});
|
|
1134
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1135
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1136
|
+
assessmentTargets: import_smithy_client._json,
|
|
1137
|
+
dataCollectionDetails: (_) => de_DataCollectionDetails(_, context),
|
|
1138
|
+
id: import_smithy_client.expectString
|
|
1139
|
+
});
|
|
1140
|
+
Object.assign(contents, doc);
|
|
1141
|
+
return contents;
|
|
1142
|
+
}, "de_GetAssessmentCommand");
|
|
1143
|
+
var de_GetAssessmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1144
|
+
const parsedOutput = {
|
|
1145
|
+
...output,
|
|
1146
|
+
body: await parseErrorBody(output.body, context)
|
|
1147
|
+
};
|
|
1148
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1149
|
+
switch (errorCode) {
|
|
1150
|
+
case "AccessDeniedException":
|
|
1151
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1152
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1153
|
+
case "InternalServerException":
|
|
1154
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1155
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1156
|
+
case "ResourceNotFoundException":
|
|
1157
|
+
case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
|
|
1158
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1159
|
+
case "ThrottlingException":
|
|
1160
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1161
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1162
|
+
default:
|
|
1163
|
+
const parsedBody = parsedOutput.body;
|
|
1164
|
+
return throwDefaultError({
|
|
1165
|
+
output,
|
|
1166
|
+
parsedBody,
|
|
1167
|
+
errorCode
|
|
1168
|
+
});
|
|
1169
|
+
}
|
|
1170
|
+
}, "de_GetAssessmentCommandError");
|
|
1171
|
+
var de_GetImportFileTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1172
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1173
|
+
return de_GetImportFileTaskCommandError(output, context);
|
|
1174
|
+
}
|
|
1175
|
+
const contents = (0, import_smithy_client.map)({
|
|
1176
|
+
$metadata: deserializeMetadata(output)
|
|
1177
|
+
});
|
|
1178
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1179
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1180
|
+
completionTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1181
|
+
id: import_smithy_client.expectString,
|
|
1182
|
+
importName: import_smithy_client.expectString,
|
|
1183
|
+
inputS3Bucket: import_smithy_client.expectString,
|
|
1184
|
+
inputS3Key: import_smithy_client.expectString,
|
|
1185
|
+
numberOfRecordsFailed: import_smithy_client.expectInt32,
|
|
1186
|
+
numberOfRecordsSuccess: import_smithy_client.expectInt32,
|
|
1187
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1188
|
+
status: import_smithy_client.expectString,
|
|
1189
|
+
statusReportS3Bucket: import_smithy_client.expectString,
|
|
1190
|
+
statusReportS3Key: import_smithy_client.expectString
|
|
1191
|
+
});
|
|
1192
|
+
Object.assign(contents, doc);
|
|
1193
|
+
return contents;
|
|
1194
|
+
}, "de_GetImportFileTaskCommand");
|
|
1195
|
+
var de_GetImportFileTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1196
|
+
const parsedOutput = {
|
|
1197
|
+
...output,
|
|
1198
|
+
body: await parseErrorBody(output.body, context)
|
|
1199
|
+
};
|
|
1200
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1201
|
+
switch (errorCode) {
|
|
1202
|
+
case "AccessDeniedException":
|
|
1203
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1204
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1205
|
+
case "InternalServerException":
|
|
1206
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1207
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1208
|
+
case "ResourceNotFoundException":
|
|
1209
|
+
case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
|
|
1210
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1211
|
+
case "ThrottlingException":
|
|
1212
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1213
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1214
|
+
case "ValidationException":
|
|
1215
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1216
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1217
|
+
default:
|
|
1218
|
+
const parsedBody = parsedOutput.body;
|
|
1219
|
+
return throwDefaultError({
|
|
1220
|
+
output,
|
|
1221
|
+
parsedBody,
|
|
1222
|
+
errorCode
|
|
1223
|
+
});
|
|
1224
|
+
}
|
|
1225
|
+
}, "de_GetImportFileTaskCommandError");
|
|
1226
|
+
var de_GetLatestAssessmentIdCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1227
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1228
|
+
return de_GetLatestAssessmentIdCommandError(output, context);
|
|
1229
|
+
}
|
|
1230
|
+
const contents = (0, import_smithy_client.map)({
|
|
1231
|
+
$metadata: deserializeMetadata(output)
|
|
1232
|
+
});
|
|
1233
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1234
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1235
|
+
id: import_smithy_client.expectString
|
|
1236
|
+
});
|
|
1237
|
+
Object.assign(contents, doc);
|
|
1238
|
+
return contents;
|
|
1239
|
+
}, "de_GetLatestAssessmentIdCommand");
|
|
1240
|
+
var de_GetLatestAssessmentIdCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1241
|
+
const parsedOutput = {
|
|
1242
|
+
...output,
|
|
1243
|
+
body: await parseErrorBody(output.body, context)
|
|
1244
|
+
};
|
|
1245
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1246
|
+
switch (errorCode) {
|
|
1247
|
+
case "AccessDeniedException":
|
|
1248
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1249
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1250
|
+
case "DependencyException":
|
|
1251
|
+
case "com.amazonaws.migrationhubstrategy#DependencyException":
|
|
1252
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1253
|
+
case "InternalServerException":
|
|
1254
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1255
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1256
|
+
case "ValidationException":
|
|
1257
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1258
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1259
|
+
default:
|
|
1260
|
+
const parsedBody = parsedOutput.body;
|
|
1261
|
+
return throwDefaultError({
|
|
1262
|
+
output,
|
|
1263
|
+
parsedBody,
|
|
1264
|
+
errorCode
|
|
1265
|
+
});
|
|
1266
|
+
}
|
|
1267
|
+
}, "de_GetLatestAssessmentIdCommandError");
|
|
1268
|
+
var de_GetPortfolioPreferencesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1269
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1270
|
+
return de_GetPortfolioPreferencesCommandError(output, context);
|
|
1271
|
+
}
|
|
1272
|
+
const contents = (0, import_smithy_client.map)({
|
|
1273
|
+
$metadata: deserializeMetadata(output)
|
|
1274
|
+
});
|
|
1275
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1276
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1277
|
+
applicationMode: import_smithy_client.expectString,
|
|
1278
|
+
applicationPreferences: import_smithy_client._json,
|
|
1279
|
+
databasePreferences: import_smithy_client._json,
|
|
1280
|
+
prioritizeBusinessGoals: import_smithy_client._json
|
|
1281
|
+
});
|
|
1282
|
+
Object.assign(contents, doc);
|
|
1283
|
+
return contents;
|
|
1284
|
+
}, "de_GetPortfolioPreferencesCommand");
|
|
1285
|
+
var de_GetPortfolioPreferencesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1286
|
+
const parsedOutput = {
|
|
1287
|
+
...output,
|
|
1288
|
+
body: await parseErrorBody(output.body, context)
|
|
1289
|
+
};
|
|
1290
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1291
|
+
switch (errorCode) {
|
|
1292
|
+
case "AccessDeniedException":
|
|
1293
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1294
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1295
|
+
case "InternalServerException":
|
|
1296
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1297
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1298
|
+
case "ResourceNotFoundException":
|
|
1299
|
+
case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
|
|
1300
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1301
|
+
case "ThrottlingException":
|
|
1302
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1303
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1304
|
+
default:
|
|
1305
|
+
const parsedBody = parsedOutput.body;
|
|
1306
|
+
return throwDefaultError({
|
|
1307
|
+
output,
|
|
1308
|
+
parsedBody,
|
|
1309
|
+
errorCode
|
|
1310
|
+
});
|
|
1311
|
+
}
|
|
1312
|
+
}, "de_GetPortfolioPreferencesCommandError");
|
|
1313
|
+
var de_GetPortfolioSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1314
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1315
|
+
return de_GetPortfolioSummaryCommandError(output, context);
|
|
1316
|
+
}
|
|
1317
|
+
const contents = (0, import_smithy_client.map)({
|
|
1318
|
+
$metadata: deserializeMetadata(output)
|
|
1319
|
+
});
|
|
1320
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1321
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1322
|
+
assessmentSummary: (_) => de_AssessmentSummary(_, context)
|
|
1323
|
+
});
|
|
1324
|
+
Object.assign(contents, doc);
|
|
1325
|
+
return contents;
|
|
1326
|
+
}, "de_GetPortfolioSummaryCommand");
|
|
1327
|
+
var de_GetPortfolioSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1328
|
+
const parsedOutput = {
|
|
1329
|
+
...output,
|
|
1330
|
+
body: await parseErrorBody(output.body, context)
|
|
1331
|
+
};
|
|
1332
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1333
|
+
switch (errorCode) {
|
|
1334
|
+
case "AccessDeniedException":
|
|
1335
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1336
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1337
|
+
case "InternalServerException":
|
|
1338
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1339
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1340
|
+
case "ThrottlingException":
|
|
1341
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1342
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1343
|
+
default:
|
|
1344
|
+
const parsedBody = parsedOutput.body;
|
|
1345
|
+
return throwDefaultError({
|
|
1346
|
+
output,
|
|
1347
|
+
parsedBody,
|
|
1348
|
+
errorCode
|
|
1349
|
+
});
|
|
1350
|
+
}
|
|
1351
|
+
}, "de_GetPortfolioSummaryCommandError");
|
|
1352
|
+
var de_GetRecommendationReportDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1353
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1354
|
+
return de_GetRecommendationReportDetailsCommandError(output, context);
|
|
1355
|
+
}
|
|
1356
|
+
const contents = (0, import_smithy_client.map)({
|
|
1357
|
+
$metadata: deserializeMetadata(output)
|
|
1358
|
+
});
|
|
1359
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1360
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1361
|
+
id: import_smithy_client.expectString,
|
|
1362
|
+
recommendationReportDetails: (_) => de_RecommendationReportDetails(_, context)
|
|
1363
|
+
});
|
|
1364
|
+
Object.assign(contents, doc);
|
|
1365
|
+
return contents;
|
|
1366
|
+
}, "de_GetRecommendationReportDetailsCommand");
|
|
1367
|
+
var de_GetRecommendationReportDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1368
|
+
const parsedOutput = {
|
|
1369
|
+
...output,
|
|
1370
|
+
body: await parseErrorBody(output.body, context)
|
|
1371
|
+
};
|
|
1372
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1373
|
+
switch (errorCode) {
|
|
1374
|
+
case "AccessDeniedException":
|
|
1375
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1376
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1377
|
+
case "InternalServerException":
|
|
1378
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1379
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1380
|
+
case "ResourceNotFoundException":
|
|
1381
|
+
case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
|
|
1382
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1383
|
+
case "ThrottlingException":
|
|
1384
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1385
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1386
|
+
case "ValidationException":
|
|
1387
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1388
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1389
|
+
default:
|
|
1390
|
+
const parsedBody = parsedOutput.body;
|
|
1391
|
+
return throwDefaultError({
|
|
1392
|
+
output,
|
|
1393
|
+
parsedBody,
|
|
1394
|
+
errorCode
|
|
1395
|
+
});
|
|
1396
|
+
}
|
|
1397
|
+
}, "de_GetRecommendationReportDetailsCommandError");
|
|
1398
|
+
var de_GetServerDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1399
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1400
|
+
return de_GetServerDetailsCommandError(output, context);
|
|
1401
|
+
}
|
|
1402
|
+
const contents = (0, import_smithy_client.map)({
|
|
1403
|
+
$metadata: deserializeMetadata(output)
|
|
1404
|
+
});
|
|
1405
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1406
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1407
|
+
associatedApplications: import_smithy_client._json,
|
|
1408
|
+
nextToken: import_smithy_client.expectString,
|
|
1409
|
+
serverDetail: (_) => de_ServerDetail(_, context)
|
|
1410
|
+
});
|
|
1411
|
+
Object.assign(contents, doc);
|
|
1412
|
+
return contents;
|
|
1413
|
+
}, "de_GetServerDetailsCommand");
|
|
1414
|
+
var de_GetServerDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1415
|
+
const parsedOutput = {
|
|
1416
|
+
...output,
|
|
1417
|
+
body: await parseErrorBody(output.body, context)
|
|
1418
|
+
};
|
|
1419
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1420
|
+
switch (errorCode) {
|
|
1421
|
+
case "AccessDeniedException":
|
|
1422
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1423
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1424
|
+
case "InternalServerException":
|
|
1425
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1426
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1427
|
+
case "ResourceNotFoundException":
|
|
1428
|
+
case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
|
|
1429
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1430
|
+
case "ThrottlingException":
|
|
1431
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1432
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1433
|
+
case "ValidationException":
|
|
1434
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1435
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1436
|
+
default:
|
|
1437
|
+
const parsedBody = parsedOutput.body;
|
|
1438
|
+
return throwDefaultError({
|
|
1439
|
+
output,
|
|
1440
|
+
parsedBody,
|
|
1441
|
+
errorCode
|
|
1442
|
+
});
|
|
1443
|
+
}
|
|
1444
|
+
}, "de_GetServerDetailsCommandError");
|
|
1445
|
+
var de_GetServerStrategiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1446
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1447
|
+
return de_GetServerStrategiesCommandError(output, context);
|
|
1448
|
+
}
|
|
1449
|
+
const contents = (0, import_smithy_client.map)({
|
|
1450
|
+
$metadata: deserializeMetadata(output)
|
|
1451
|
+
});
|
|
1452
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1453
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1454
|
+
serverStrategies: import_smithy_client._json
|
|
1455
|
+
});
|
|
1456
|
+
Object.assign(contents, doc);
|
|
1457
|
+
return contents;
|
|
1458
|
+
}, "de_GetServerStrategiesCommand");
|
|
1459
|
+
var de_GetServerStrategiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1460
|
+
const parsedOutput = {
|
|
1461
|
+
...output,
|
|
1462
|
+
body: await parseErrorBody(output.body, context)
|
|
1463
|
+
};
|
|
1464
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1465
|
+
switch (errorCode) {
|
|
1466
|
+
case "AccessDeniedException":
|
|
1467
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1468
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1469
|
+
case "InternalServerException":
|
|
1470
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1471
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1472
|
+
case "ResourceNotFoundException":
|
|
1473
|
+
case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
|
|
1474
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1475
|
+
case "ThrottlingException":
|
|
1476
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1477
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1478
|
+
case "ValidationException":
|
|
1479
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1480
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1481
|
+
default:
|
|
1482
|
+
const parsedBody = parsedOutput.body;
|
|
1483
|
+
return throwDefaultError({
|
|
1484
|
+
output,
|
|
1485
|
+
parsedBody,
|
|
1486
|
+
errorCode
|
|
1487
|
+
});
|
|
1488
|
+
}
|
|
1489
|
+
}, "de_GetServerStrategiesCommandError");
|
|
1490
|
+
var de_ListAnalyzableServersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1491
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1492
|
+
return de_ListAnalyzableServersCommandError(output, context);
|
|
1493
|
+
}
|
|
1494
|
+
const contents = (0, import_smithy_client.map)({
|
|
1495
|
+
$metadata: deserializeMetadata(output)
|
|
1496
|
+
});
|
|
1497
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1498
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1499
|
+
analyzableServers: import_smithy_client._json,
|
|
1500
|
+
nextToken: import_smithy_client.expectString
|
|
1501
|
+
});
|
|
1502
|
+
Object.assign(contents, doc);
|
|
1503
|
+
return contents;
|
|
1504
|
+
}, "de_ListAnalyzableServersCommand");
|
|
1505
|
+
var de_ListAnalyzableServersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1506
|
+
const parsedOutput = {
|
|
1507
|
+
...output,
|
|
1508
|
+
body: await parseErrorBody(output.body, context)
|
|
1509
|
+
};
|
|
1510
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1511
|
+
switch (errorCode) {
|
|
1512
|
+
case "AccessDeniedException":
|
|
1513
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1514
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1515
|
+
case "InternalServerException":
|
|
1516
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1517
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1518
|
+
case "ThrottlingException":
|
|
1519
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1520
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1521
|
+
case "ValidationException":
|
|
1522
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1523
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1524
|
+
default:
|
|
1525
|
+
const parsedBody = parsedOutput.body;
|
|
1526
|
+
return throwDefaultError({
|
|
1527
|
+
output,
|
|
1528
|
+
parsedBody,
|
|
1529
|
+
errorCode
|
|
1530
|
+
});
|
|
1531
|
+
}
|
|
1532
|
+
}, "de_ListAnalyzableServersCommandError");
|
|
1533
|
+
var de_ListApplicationComponentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1534
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1535
|
+
return de_ListApplicationComponentsCommandError(output, context);
|
|
1536
|
+
}
|
|
1537
|
+
const contents = (0, import_smithy_client.map)({
|
|
1538
|
+
$metadata: deserializeMetadata(output)
|
|
1539
|
+
});
|
|
1540
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1541
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1542
|
+
applicationComponentInfos: (_) => de_ApplicationComponentDetails(_, context),
|
|
1543
|
+
nextToken: import_smithy_client.expectString
|
|
1544
|
+
});
|
|
1545
|
+
Object.assign(contents, doc);
|
|
1546
|
+
return contents;
|
|
1547
|
+
}, "de_ListApplicationComponentsCommand");
|
|
1548
|
+
var de_ListApplicationComponentsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1549
|
+
const parsedOutput = {
|
|
1550
|
+
...output,
|
|
1551
|
+
body: await parseErrorBody(output.body, context)
|
|
1552
|
+
};
|
|
1553
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1554
|
+
switch (errorCode) {
|
|
1555
|
+
case "AccessDeniedException":
|
|
1556
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1557
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1558
|
+
case "InternalServerException":
|
|
1559
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1560
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1561
|
+
case "ServiceLinkedRoleLockClientException":
|
|
1562
|
+
case "com.amazonaws.migrationhubstrategy#ServiceLinkedRoleLockClientException":
|
|
1563
|
+
throw await de_ServiceLinkedRoleLockClientExceptionRes(parsedOutput, context);
|
|
1564
|
+
case "ValidationException":
|
|
1565
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1566
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1567
|
+
default:
|
|
1568
|
+
const parsedBody = parsedOutput.body;
|
|
1569
|
+
return throwDefaultError({
|
|
1570
|
+
output,
|
|
1571
|
+
parsedBody,
|
|
1572
|
+
errorCode
|
|
1573
|
+
});
|
|
1574
|
+
}
|
|
1575
|
+
}, "de_ListApplicationComponentsCommandError");
|
|
1576
|
+
var de_ListCollectorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1577
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1578
|
+
return de_ListCollectorsCommandError(output, context);
|
|
1579
|
+
}
|
|
1580
|
+
const contents = (0, import_smithy_client.map)({
|
|
1581
|
+
$metadata: deserializeMetadata(output)
|
|
1582
|
+
});
|
|
1583
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1584
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1585
|
+
Collectors: import_smithy_client._json,
|
|
1586
|
+
nextToken: import_smithy_client.expectString
|
|
1587
|
+
});
|
|
1588
|
+
Object.assign(contents, doc);
|
|
1589
|
+
return contents;
|
|
1590
|
+
}, "de_ListCollectorsCommand");
|
|
1591
|
+
var de_ListCollectorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1592
|
+
const parsedOutput = {
|
|
1593
|
+
...output,
|
|
1594
|
+
body: await parseErrorBody(output.body, context)
|
|
1595
|
+
};
|
|
1596
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1597
|
+
switch (errorCode) {
|
|
1598
|
+
case "AccessDeniedException":
|
|
1599
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1600
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1601
|
+
case "InternalServerException":
|
|
1602
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1603
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1604
|
+
case "ThrottlingException":
|
|
1605
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1606
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1607
|
+
case "ValidationException":
|
|
1608
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1609
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1610
|
+
default:
|
|
1611
|
+
const parsedBody = parsedOutput.body;
|
|
1612
|
+
return throwDefaultError({
|
|
1613
|
+
output,
|
|
1614
|
+
parsedBody,
|
|
1615
|
+
errorCode
|
|
1616
|
+
});
|
|
1617
|
+
}
|
|
1618
|
+
}, "de_ListCollectorsCommandError");
|
|
1619
|
+
var de_ListImportFileTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1620
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1621
|
+
return de_ListImportFileTaskCommandError(output, context);
|
|
1622
|
+
}
|
|
1623
|
+
const contents = (0, import_smithy_client.map)({
|
|
1624
|
+
$metadata: deserializeMetadata(output)
|
|
1625
|
+
});
|
|
1626
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1627
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1628
|
+
nextToken: import_smithy_client.expectString,
|
|
1629
|
+
taskInfos: (_) => de_ListImportFileTaskInformation(_, context)
|
|
1630
|
+
});
|
|
1631
|
+
Object.assign(contents, doc);
|
|
1632
|
+
return contents;
|
|
1633
|
+
}, "de_ListImportFileTaskCommand");
|
|
1634
|
+
var de_ListImportFileTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1635
|
+
const parsedOutput = {
|
|
1636
|
+
...output,
|
|
1637
|
+
body: await parseErrorBody(output.body, context)
|
|
1638
|
+
};
|
|
1639
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1640
|
+
switch (errorCode) {
|
|
1641
|
+
case "AccessDeniedException":
|
|
1642
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1643
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1644
|
+
case "InternalServerException":
|
|
1645
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1646
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1647
|
+
case "ThrottlingException":
|
|
1648
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1649
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1650
|
+
case "ValidationException":
|
|
1651
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1652
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1653
|
+
default:
|
|
1654
|
+
const parsedBody = parsedOutput.body;
|
|
1655
|
+
return throwDefaultError({
|
|
1656
|
+
output,
|
|
1657
|
+
parsedBody,
|
|
1658
|
+
errorCode
|
|
1659
|
+
});
|
|
1660
|
+
}
|
|
1661
|
+
}, "de_ListImportFileTaskCommandError");
|
|
1662
|
+
var de_ListServersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1663
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1664
|
+
return de_ListServersCommandError(output, context);
|
|
1665
|
+
}
|
|
1666
|
+
const contents = (0, import_smithy_client.map)({
|
|
1667
|
+
$metadata: deserializeMetadata(output)
|
|
1668
|
+
});
|
|
1669
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1670
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1671
|
+
nextToken: import_smithy_client.expectString,
|
|
1672
|
+
serverInfos: (_) => de_ServerDetails(_, context)
|
|
1673
|
+
});
|
|
1674
|
+
Object.assign(contents, doc);
|
|
1675
|
+
return contents;
|
|
1676
|
+
}, "de_ListServersCommand");
|
|
1677
|
+
var de_ListServersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1678
|
+
const parsedOutput = {
|
|
1679
|
+
...output,
|
|
1680
|
+
body: await parseErrorBody(output.body, context)
|
|
1681
|
+
};
|
|
1682
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1683
|
+
switch (errorCode) {
|
|
1684
|
+
case "AccessDeniedException":
|
|
1685
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1686
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1687
|
+
case "InternalServerException":
|
|
1688
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1689
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1690
|
+
case "ThrottlingException":
|
|
1691
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1692
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1693
|
+
case "ValidationException":
|
|
1694
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1695
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1696
|
+
default:
|
|
1697
|
+
const parsedBody = parsedOutput.body;
|
|
1698
|
+
return throwDefaultError({
|
|
1699
|
+
output,
|
|
1700
|
+
parsedBody,
|
|
1701
|
+
errorCode
|
|
1702
|
+
});
|
|
1703
|
+
}
|
|
1704
|
+
}, "de_ListServersCommandError");
|
|
1705
|
+
var de_PutPortfolioPreferencesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1706
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1707
|
+
return de_PutPortfolioPreferencesCommandError(output, context);
|
|
1708
|
+
}
|
|
1709
|
+
const contents = (0, import_smithy_client.map)({
|
|
1710
|
+
$metadata: deserializeMetadata(output)
|
|
1711
|
+
});
|
|
1712
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1713
|
+
return contents;
|
|
1714
|
+
}, "de_PutPortfolioPreferencesCommand");
|
|
1715
|
+
var de_PutPortfolioPreferencesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1716
|
+
const parsedOutput = {
|
|
1717
|
+
...output,
|
|
1718
|
+
body: await parseErrorBody(output.body, context)
|
|
1719
|
+
};
|
|
1720
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1721
|
+
switch (errorCode) {
|
|
1722
|
+
case "AccessDeniedException":
|
|
1723
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1724
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1725
|
+
case "ConflictException":
|
|
1726
|
+
case "com.amazonaws.migrationhubstrategy#ConflictException":
|
|
1727
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1728
|
+
case "InternalServerException":
|
|
1729
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1730
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1731
|
+
case "ThrottlingException":
|
|
1732
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1733
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1734
|
+
case "ValidationException":
|
|
1735
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1736
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1737
|
+
default:
|
|
1738
|
+
const parsedBody = parsedOutput.body;
|
|
1739
|
+
return throwDefaultError({
|
|
1740
|
+
output,
|
|
1741
|
+
parsedBody,
|
|
1742
|
+
errorCode
|
|
1743
|
+
});
|
|
1744
|
+
}
|
|
1745
|
+
}, "de_PutPortfolioPreferencesCommandError");
|
|
1746
|
+
var de_StartAssessmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1747
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1748
|
+
return de_StartAssessmentCommandError(output, context);
|
|
1749
|
+
}
|
|
1750
|
+
const contents = (0, import_smithy_client.map)({
|
|
1751
|
+
$metadata: deserializeMetadata(output)
|
|
1752
|
+
});
|
|
1753
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1754
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1755
|
+
assessmentId: import_smithy_client.expectString
|
|
1756
|
+
});
|
|
1757
|
+
Object.assign(contents, doc);
|
|
1758
|
+
return contents;
|
|
1759
|
+
}, "de_StartAssessmentCommand");
|
|
1760
|
+
var de_StartAssessmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1761
|
+
const parsedOutput = {
|
|
1762
|
+
...output,
|
|
1763
|
+
body: await parseErrorBody(output.body, context)
|
|
1764
|
+
};
|
|
1765
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1766
|
+
switch (errorCode) {
|
|
1767
|
+
case "AccessDeniedException":
|
|
1768
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1769
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1770
|
+
case "InternalServerException":
|
|
1771
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1772
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1773
|
+
case "ServiceQuotaExceededException":
|
|
1774
|
+
case "com.amazonaws.migrationhubstrategy#ServiceQuotaExceededException":
|
|
1775
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1776
|
+
case "ThrottlingException":
|
|
1777
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1778
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1779
|
+
default:
|
|
1780
|
+
const parsedBody = parsedOutput.body;
|
|
1781
|
+
return throwDefaultError({
|
|
1782
|
+
output,
|
|
1783
|
+
parsedBody,
|
|
1784
|
+
errorCode
|
|
1785
|
+
});
|
|
1786
|
+
}
|
|
1787
|
+
}, "de_StartAssessmentCommandError");
|
|
1788
|
+
var de_StartImportFileTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1789
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1790
|
+
return de_StartImportFileTaskCommandError(output, context);
|
|
1791
|
+
}
|
|
1792
|
+
const contents = (0, import_smithy_client.map)({
|
|
1793
|
+
$metadata: deserializeMetadata(output)
|
|
1794
|
+
});
|
|
1795
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1796
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1797
|
+
id: import_smithy_client.expectString
|
|
1798
|
+
});
|
|
1799
|
+
Object.assign(contents, doc);
|
|
1800
|
+
return contents;
|
|
1801
|
+
}, "de_StartImportFileTaskCommand");
|
|
1802
|
+
var de_StartImportFileTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1803
|
+
const parsedOutput = {
|
|
1804
|
+
...output,
|
|
1805
|
+
body: await parseErrorBody(output.body, context)
|
|
1806
|
+
};
|
|
1807
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1808
|
+
switch (errorCode) {
|
|
1809
|
+
case "AccessDeniedException":
|
|
1810
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1811
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1812
|
+
case "InternalServerException":
|
|
1813
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1814
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1815
|
+
case "ServiceQuotaExceededException":
|
|
1816
|
+
case "com.amazonaws.migrationhubstrategy#ServiceQuotaExceededException":
|
|
1817
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1818
|
+
case "ThrottlingException":
|
|
1819
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1820
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1821
|
+
case "ValidationException":
|
|
1822
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1823
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1824
|
+
default:
|
|
1825
|
+
const parsedBody = parsedOutput.body;
|
|
1826
|
+
return throwDefaultError({
|
|
1827
|
+
output,
|
|
1828
|
+
parsedBody,
|
|
1829
|
+
errorCode
|
|
1830
|
+
});
|
|
1831
|
+
}
|
|
1832
|
+
}, "de_StartImportFileTaskCommandError");
|
|
1833
|
+
var de_StartRecommendationReportGenerationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1834
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1835
|
+
return de_StartRecommendationReportGenerationCommandError(output, context);
|
|
1836
|
+
}
|
|
1837
|
+
const contents = (0, import_smithy_client.map)({
|
|
1838
|
+
$metadata: deserializeMetadata(output)
|
|
1839
|
+
});
|
|
1840
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1841
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1842
|
+
id: import_smithy_client.expectString
|
|
1843
|
+
});
|
|
1844
|
+
Object.assign(contents, doc);
|
|
1845
|
+
return contents;
|
|
1846
|
+
}, "de_StartRecommendationReportGenerationCommand");
|
|
1847
|
+
var de_StartRecommendationReportGenerationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1848
|
+
const parsedOutput = {
|
|
1849
|
+
...output,
|
|
1850
|
+
body: await parseErrorBody(output.body, context)
|
|
1851
|
+
};
|
|
1852
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1853
|
+
switch (errorCode) {
|
|
1854
|
+
case "AccessDeniedException":
|
|
1855
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1856
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1857
|
+
case "ConflictException":
|
|
1858
|
+
case "com.amazonaws.migrationhubstrategy#ConflictException":
|
|
1859
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1860
|
+
case "InternalServerException":
|
|
1861
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1862
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1863
|
+
case "ThrottlingException":
|
|
1864
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1865
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1866
|
+
case "ValidationException":
|
|
1867
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1868
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1869
|
+
default:
|
|
1870
|
+
const parsedBody = parsedOutput.body;
|
|
1871
|
+
return throwDefaultError({
|
|
1872
|
+
output,
|
|
1873
|
+
parsedBody,
|
|
1874
|
+
errorCode
|
|
1875
|
+
});
|
|
1876
|
+
}
|
|
1877
|
+
}, "de_StartRecommendationReportGenerationCommandError");
|
|
1878
|
+
var de_StopAssessmentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1879
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1880
|
+
return de_StopAssessmentCommandError(output, context);
|
|
1881
|
+
}
|
|
1882
|
+
const contents = (0, import_smithy_client.map)({
|
|
1883
|
+
$metadata: deserializeMetadata(output)
|
|
1884
|
+
});
|
|
1885
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1886
|
+
return contents;
|
|
1887
|
+
}, "de_StopAssessmentCommand");
|
|
1888
|
+
var de_StopAssessmentCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1889
|
+
const parsedOutput = {
|
|
1890
|
+
...output,
|
|
1891
|
+
body: await parseErrorBody(output.body, context)
|
|
1892
|
+
};
|
|
1893
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1894
|
+
switch (errorCode) {
|
|
1895
|
+
case "AccessDeniedException":
|
|
1896
|
+
case "com.amazonaws.migrationhubstrategy#AccessDeniedException":
|
|
1897
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1898
|
+
case "InternalServerException":
|
|
1899
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1900
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1901
|
+
case "ThrottlingException":
|
|
1902
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1903
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1904
|
+
case "ValidationException":
|
|
1905
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1906
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1907
|
+
default:
|
|
1908
|
+
const parsedBody = parsedOutput.body;
|
|
1909
|
+
return throwDefaultError({
|
|
1910
|
+
output,
|
|
1911
|
+
parsedBody,
|
|
1912
|
+
errorCode
|
|
1913
|
+
});
|
|
1914
|
+
}
|
|
1915
|
+
}, "de_StopAssessmentCommandError");
|
|
1916
|
+
var de_UpdateApplicationComponentConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1917
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1918
|
+
return de_UpdateApplicationComponentConfigCommandError(output, context);
|
|
1919
|
+
}
|
|
1920
|
+
const contents = (0, import_smithy_client.map)({
|
|
1921
|
+
$metadata: deserializeMetadata(output)
|
|
1922
|
+
});
|
|
1923
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1924
|
+
return contents;
|
|
1925
|
+
}, "de_UpdateApplicationComponentConfigCommand");
|
|
1926
|
+
var de_UpdateApplicationComponentConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1927
|
+
const parsedOutput = {
|
|
1928
|
+
...output,
|
|
1929
|
+
body: await parseErrorBody(output.body, context)
|
|
1930
|
+
};
|
|
1931
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1932
|
+
switch (errorCode) {
|
|
1933
|
+
case "InternalServerException":
|
|
1934
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1935
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1936
|
+
case "ResourceNotFoundException":
|
|
1937
|
+
case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
|
|
1938
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1939
|
+
case "ThrottlingException":
|
|
1940
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1941
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1942
|
+
case "ValidationException":
|
|
1943
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1944
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1945
|
+
default:
|
|
1946
|
+
const parsedBody = parsedOutput.body;
|
|
1947
|
+
return throwDefaultError({
|
|
1948
|
+
output,
|
|
1949
|
+
parsedBody,
|
|
1950
|
+
errorCode
|
|
1951
|
+
});
|
|
1952
|
+
}
|
|
1953
|
+
}, "de_UpdateApplicationComponentConfigCommandError");
|
|
1954
|
+
var de_UpdateServerConfigCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1955
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1956
|
+
return de_UpdateServerConfigCommandError(output, context);
|
|
1957
|
+
}
|
|
1958
|
+
const contents = (0, import_smithy_client.map)({
|
|
1959
|
+
$metadata: deserializeMetadata(output)
|
|
1960
|
+
});
|
|
1961
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1962
|
+
return contents;
|
|
1963
|
+
}, "de_UpdateServerConfigCommand");
|
|
1964
|
+
var de_UpdateServerConfigCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1965
|
+
const parsedOutput = {
|
|
1966
|
+
...output,
|
|
1967
|
+
body: await parseErrorBody(output.body, context)
|
|
1968
|
+
};
|
|
1969
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1970
|
+
switch (errorCode) {
|
|
1971
|
+
case "InternalServerException":
|
|
1972
|
+
case "com.amazonaws.migrationhubstrategy#InternalServerException":
|
|
1973
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1974
|
+
case "ResourceNotFoundException":
|
|
1975
|
+
case "com.amazonaws.migrationhubstrategy#ResourceNotFoundException":
|
|
1976
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1977
|
+
case "ThrottlingException":
|
|
1978
|
+
case "com.amazonaws.migrationhubstrategy#ThrottlingException":
|
|
1979
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1980
|
+
case "ValidationException":
|
|
1981
|
+
case "com.amazonaws.migrationhubstrategy#ValidationException":
|
|
1982
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1983
|
+
default:
|
|
1984
|
+
const parsedBody = parsedOutput.body;
|
|
1985
|
+
return throwDefaultError({
|
|
1986
|
+
output,
|
|
1987
|
+
parsedBody,
|
|
1988
|
+
errorCode
|
|
1989
|
+
});
|
|
1990
|
+
}
|
|
1991
|
+
}, "de_UpdateServerConfigCommandError");
|
|
1992
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(MigrationHubStrategyServiceException);
|
|
1993
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1994
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1995
|
+
const data = parsedOutput.body;
|
|
1996
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1997
|
+
message: import_smithy_client.expectString
|
|
1998
|
+
});
|
|
1999
|
+
Object.assign(contents, doc);
|
|
2000
|
+
const exception = new AccessDeniedException({
|
|
2001
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2002
|
+
...contents
|
|
2003
|
+
});
|
|
2004
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2005
|
+
}, "de_AccessDeniedExceptionRes");
|
|
2006
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2007
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2008
|
+
const data = parsedOutput.body;
|
|
2009
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2010
|
+
message: import_smithy_client.expectString
|
|
2011
|
+
});
|
|
2012
|
+
Object.assign(contents, doc);
|
|
2013
|
+
const exception = new ConflictException({
|
|
2014
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2015
|
+
...contents
|
|
2016
|
+
});
|
|
2017
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2018
|
+
}, "de_ConflictExceptionRes");
|
|
2019
|
+
var de_DependencyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2020
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2021
|
+
const data = parsedOutput.body;
|
|
2022
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2023
|
+
message: import_smithy_client.expectString
|
|
2024
|
+
});
|
|
2025
|
+
Object.assign(contents, doc);
|
|
2026
|
+
const exception = new DependencyException({
|
|
2027
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2028
|
+
...contents
|
|
2029
|
+
});
|
|
2030
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2031
|
+
}, "de_DependencyExceptionRes");
|
|
2032
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2033
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2034
|
+
const data = parsedOutput.body;
|
|
2035
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2036
|
+
message: import_smithy_client.expectString
|
|
2037
|
+
});
|
|
2038
|
+
Object.assign(contents, doc);
|
|
2039
|
+
const exception = new InternalServerException({
|
|
2040
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2041
|
+
...contents
|
|
2042
|
+
});
|
|
2043
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2044
|
+
}, "de_InternalServerExceptionRes");
|
|
2045
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2046
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2047
|
+
const data = parsedOutput.body;
|
|
2048
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2049
|
+
message: import_smithy_client.expectString
|
|
2050
|
+
});
|
|
2051
|
+
Object.assign(contents, doc);
|
|
2052
|
+
const exception = new ResourceNotFoundException({
|
|
2053
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2054
|
+
...contents
|
|
2055
|
+
});
|
|
2056
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2057
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2058
|
+
var de_ServiceLinkedRoleLockClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2059
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2060
|
+
const data = parsedOutput.body;
|
|
2061
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2062
|
+
message: import_smithy_client.expectString
|
|
2063
|
+
});
|
|
2064
|
+
Object.assign(contents, doc);
|
|
2065
|
+
const exception = new ServiceLinkedRoleLockClientException({
|
|
2066
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2067
|
+
...contents
|
|
2068
|
+
});
|
|
2069
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2070
|
+
}, "de_ServiceLinkedRoleLockClientExceptionRes");
|
|
2071
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2072
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2073
|
+
const data = parsedOutput.body;
|
|
2074
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2075
|
+
message: import_smithy_client.expectString
|
|
2076
|
+
});
|
|
2077
|
+
Object.assign(contents, doc);
|
|
2078
|
+
const exception = new ServiceQuotaExceededException({
|
|
2079
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2080
|
+
...contents
|
|
2081
|
+
});
|
|
2082
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2083
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
2084
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2085
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2086
|
+
const data = parsedOutput.body;
|
|
2087
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2088
|
+
message: import_smithy_client.expectString
|
|
2089
|
+
});
|
|
2090
|
+
Object.assign(contents, doc);
|
|
2091
|
+
const exception = new ThrottlingException({
|
|
2092
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2093
|
+
...contents
|
|
2094
|
+
});
|
|
2095
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2096
|
+
}, "de_ThrottlingExceptionRes");
|
|
2097
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2098
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2099
|
+
const data = parsedOutput.body;
|
|
2100
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2101
|
+
message: import_smithy_client.expectString
|
|
2102
|
+
});
|
|
2103
|
+
Object.assign(contents, doc);
|
|
2104
|
+
const exception = new ValidationException({
|
|
2105
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2106
|
+
...contents
|
|
2107
|
+
});
|
|
2108
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2109
|
+
}, "de_ValidationExceptionRes");
|
|
2110
|
+
var de_ApplicationComponentDetail = /* @__PURE__ */ __name((output, context) => {
|
|
2111
|
+
return (0, import_smithy_client.take)(output, {
|
|
2112
|
+
analysisStatus: import_smithy_client.expectString,
|
|
2113
|
+
antipatternReportS3Object: import_smithy_client._json,
|
|
2114
|
+
antipatternReportStatus: import_smithy_client.expectString,
|
|
2115
|
+
antipatternReportStatusMessage: import_smithy_client.expectString,
|
|
2116
|
+
appType: import_smithy_client.expectString,
|
|
2117
|
+
appUnitError: import_smithy_client._json,
|
|
2118
|
+
associatedServerId: import_smithy_client.expectString,
|
|
2119
|
+
databaseConfigDetail: import_smithy_client._json,
|
|
2120
|
+
id: import_smithy_client.expectString,
|
|
2121
|
+
inclusionStatus: import_smithy_client.expectString,
|
|
2122
|
+
lastAnalyzedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2123
|
+
listAntipatternSeveritySummary: import_smithy_client._json,
|
|
2124
|
+
moreServerAssociationExists: import_smithy_client.expectBoolean,
|
|
2125
|
+
name: import_smithy_client.expectString,
|
|
2126
|
+
osDriver: import_smithy_client.expectString,
|
|
2127
|
+
osVersion: import_smithy_client.expectString,
|
|
2128
|
+
recommendationSet: import_smithy_client._json,
|
|
2129
|
+
resourceSubType: import_smithy_client.expectString,
|
|
2130
|
+
resultList: import_smithy_client._json,
|
|
2131
|
+
runtimeStatus: import_smithy_client.expectString,
|
|
2132
|
+
runtimeStatusMessage: import_smithy_client.expectString,
|
|
2133
|
+
sourceCodeRepositories: import_smithy_client._json,
|
|
2134
|
+
statusMessage: import_smithy_client.expectString
|
|
2135
|
+
});
|
|
2136
|
+
}, "de_ApplicationComponentDetail");
|
|
2137
|
+
var de_ApplicationComponentDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2138
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2139
|
+
return de_ApplicationComponentDetail(entry, context);
|
|
2140
|
+
});
|
|
2141
|
+
return retVal;
|
|
2142
|
+
}, "de_ApplicationComponentDetails");
|
|
2143
|
+
var de_AssessmentSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2144
|
+
return (0, import_smithy_client.take)(output, {
|
|
2145
|
+
antipatternReportS3Object: import_smithy_client._json,
|
|
2146
|
+
antipatternReportStatus: import_smithy_client.expectString,
|
|
2147
|
+
antipatternReportStatusMessage: import_smithy_client.expectString,
|
|
2148
|
+
lastAnalyzedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2149
|
+
listAntipatternSeveritySummary: import_smithy_client._json,
|
|
2150
|
+
listApplicationComponentStatusSummary: import_smithy_client._json,
|
|
2151
|
+
listApplicationComponentStrategySummary: import_smithy_client._json,
|
|
2152
|
+
listApplicationComponentSummary: import_smithy_client._json,
|
|
2153
|
+
listServerStatusSummary: import_smithy_client._json,
|
|
2154
|
+
listServerStrategySummary: import_smithy_client._json,
|
|
2155
|
+
listServerSummary: import_smithy_client._json
|
|
2156
|
+
});
|
|
2157
|
+
}, "de_AssessmentSummary");
|
|
2158
|
+
var de_DataCollectionDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2159
|
+
return (0, import_smithy_client.take)(output, {
|
|
2160
|
+
completionTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2161
|
+
failed: import_smithy_client.expectInt32,
|
|
2162
|
+
inProgress: import_smithy_client.expectInt32,
|
|
2163
|
+
servers: import_smithy_client.expectInt32,
|
|
2164
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2165
|
+
status: import_smithy_client.expectString,
|
|
2166
|
+
statusMessage: import_smithy_client.expectString,
|
|
2167
|
+
success: import_smithy_client.expectInt32
|
|
2168
|
+
});
|
|
2169
|
+
}, "de_DataCollectionDetails");
|
|
2170
|
+
var de_ImportFileTaskInformation = /* @__PURE__ */ __name((output, context) => {
|
|
2171
|
+
return (0, import_smithy_client.take)(output, {
|
|
2172
|
+
completionTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2173
|
+
id: import_smithy_client.expectString,
|
|
2174
|
+
importName: import_smithy_client.expectString,
|
|
2175
|
+
inputS3Bucket: import_smithy_client.expectString,
|
|
2176
|
+
inputS3Key: import_smithy_client.expectString,
|
|
2177
|
+
numberOfRecordsFailed: import_smithy_client.expectInt32,
|
|
2178
|
+
numberOfRecordsSuccess: import_smithy_client.expectInt32,
|
|
2179
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2180
|
+
status: import_smithy_client.expectString,
|
|
2181
|
+
statusReportS3Bucket: import_smithy_client.expectString,
|
|
2182
|
+
statusReportS3Key: import_smithy_client.expectString
|
|
2183
|
+
});
|
|
2184
|
+
}, "de_ImportFileTaskInformation");
|
|
2185
|
+
var de_ListImportFileTaskInformation = /* @__PURE__ */ __name((output, context) => {
|
|
2186
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2187
|
+
return de_ImportFileTaskInformation(entry, context);
|
|
2188
|
+
});
|
|
2189
|
+
return retVal;
|
|
2190
|
+
}, "de_ListImportFileTaskInformation");
|
|
2191
|
+
var de_RecommendationReportDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2192
|
+
return (0, import_smithy_client.take)(output, {
|
|
2193
|
+
completionTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2194
|
+
s3Bucket: import_smithy_client.expectString,
|
|
2195
|
+
s3Keys: import_smithy_client._json,
|
|
2196
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2197
|
+
status: import_smithy_client.expectString,
|
|
2198
|
+
statusMessage: import_smithy_client.expectString
|
|
2199
|
+
});
|
|
2200
|
+
}, "de_RecommendationReportDetails");
|
|
2201
|
+
var de_ServerDetail = /* @__PURE__ */ __name((output, context) => {
|
|
2202
|
+
return (0, import_smithy_client.take)(output, {
|
|
2203
|
+
antipatternReportS3Object: import_smithy_client._json,
|
|
2204
|
+
antipatternReportStatus: import_smithy_client.expectString,
|
|
2205
|
+
antipatternReportStatusMessage: import_smithy_client.expectString,
|
|
2206
|
+
applicationComponentStrategySummary: import_smithy_client._json,
|
|
2207
|
+
dataCollectionStatus: import_smithy_client.expectString,
|
|
2208
|
+
id: import_smithy_client.expectString,
|
|
2209
|
+
lastAnalyzedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2210
|
+
listAntipatternSeveritySummary: import_smithy_client._json,
|
|
2211
|
+
name: import_smithy_client.expectString,
|
|
2212
|
+
recommendationSet: import_smithy_client._json,
|
|
2213
|
+
serverError: import_smithy_client._json,
|
|
2214
|
+
serverType: import_smithy_client.expectString,
|
|
2215
|
+
statusMessage: import_smithy_client.expectString,
|
|
2216
|
+
systemInfo: import_smithy_client._json
|
|
2217
|
+
});
|
|
2218
|
+
}, "de_ServerDetail");
|
|
2219
|
+
var de_ServerDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2220
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2221
|
+
return de_ServerDetail(entry, context);
|
|
2222
|
+
});
|
|
2223
|
+
return retVal;
|
|
2224
|
+
}, "de_ServerDetails");
|
|
2225
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2226
|
+
httpStatusCode: output.statusCode,
|
|
2227
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2228
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2229
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2230
|
+
}), "deserializeMetadata");
|
|
2231
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2232
|
+
var _mR = "maxResults";
|
|
2233
|
+
var _nT = "nextToken";
|
|
2234
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2235
|
+
if (encoded.length) {
|
|
2236
|
+
return JSON.parse(encoded);
|
|
2237
|
+
}
|
|
2238
|
+
return {};
|
|
2239
|
+
}), "parseBody");
|
|
2240
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2241
|
+
const value = await parseBody(errorBody, context);
|
|
2242
|
+
value.message = value.message ?? value.Message;
|
|
2243
|
+
return value;
|
|
2244
|
+
}, "parseErrorBody");
|
|
2245
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2246
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2247
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2248
|
+
let cleanValue = rawValue;
|
|
2249
|
+
if (typeof cleanValue === "number") {
|
|
2250
|
+
cleanValue = cleanValue.toString();
|
|
2251
|
+
}
|
|
2252
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2253
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2254
|
+
}
|
|
2255
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2256
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2257
|
+
}
|
|
2258
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2259
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2260
|
+
}
|
|
2261
|
+
return cleanValue;
|
|
2262
|
+
}, "sanitizeErrorCode");
|
|
2263
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2264
|
+
if (headerKey !== void 0) {
|
|
2265
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2266
|
+
}
|
|
2267
|
+
if (data.code !== void 0) {
|
|
2268
|
+
return sanitizeErrorCode(data.code);
|
|
2269
|
+
}
|
|
2270
|
+
if (data["__type"] !== void 0) {
|
|
2271
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2272
|
+
}
|
|
2273
|
+
}, "loadRestJsonErrorCode");
|
|
2274
|
+
|
|
2275
|
+
// src/commands/GetApplicationComponentDetailsCommand.ts
|
|
2276
|
+
var _GetApplicationComponentDetailsCommand = class _GetApplicationComponentDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2277
|
+
...commonParams
|
|
2278
|
+
}).m(function(Command, cs, config, o) {
|
|
2279
|
+
return [
|
|
2280
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2281
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2282
|
+
];
|
|
2283
|
+
}).s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentDetails", {}).n("MigrationHubStrategyClient", "GetApplicationComponentDetailsCommand").f(void 0, void 0).ser(se_GetApplicationComponentDetailsCommand).de(de_GetApplicationComponentDetailsCommand).build() {
|
|
2284
|
+
};
|
|
2285
|
+
__name(_GetApplicationComponentDetailsCommand, "GetApplicationComponentDetailsCommand");
|
|
2286
|
+
var GetApplicationComponentDetailsCommand = _GetApplicationComponentDetailsCommand;
|
|
2287
|
+
|
|
2288
|
+
// src/commands/GetApplicationComponentStrategiesCommand.ts
|
|
2289
|
+
|
|
2290
|
+
|
|
2291
|
+
|
|
2292
|
+
|
|
2293
|
+
var _GetApplicationComponentStrategiesCommand = class _GetApplicationComponentStrategiesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2294
|
+
...commonParams
|
|
2295
|
+
}).m(function(Command, cs, config, o) {
|
|
2296
|
+
return [
|
|
2297
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2298
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2299
|
+
];
|
|
2300
|
+
}).s("AWSMigrationHubStrategyRecommendation", "GetApplicationComponentStrategies", {}).n("MigrationHubStrategyClient", "GetApplicationComponentStrategiesCommand").f(void 0, void 0).ser(se_GetApplicationComponentStrategiesCommand).de(de_GetApplicationComponentStrategiesCommand).build() {
|
|
2301
|
+
};
|
|
2302
|
+
__name(_GetApplicationComponentStrategiesCommand, "GetApplicationComponentStrategiesCommand");
|
|
2303
|
+
var GetApplicationComponentStrategiesCommand = _GetApplicationComponentStrategiesCommand;
|
|
2304
|
+
|
|
2305
|
+
// src/commands/GetAssessmentCommand.ts
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
|
|
2309
|
+
|
|
2310
|
+
var _GetAssessmentCommand = class _GetAssessmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2311
|
+
...commonParams
|
|
2312
|
+
}).m(function(Command, cs, config, o) {
|
|
2313
|
+
return [
|
|
2314
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2315
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2316
|
+
];
|
|
2317
|
+
}).s("AWSMigrationHubStrategyRecommendation", "GetAssessment", {}).n("MigrationHubStrategyClient", "GetAssessmentCommand").f(void 0, void 0).ser(se_GetAssessmentCommand).de(de_GetAssessmentCommand).build() {
|
|
2318
|
+
};
|
|
2319
|
+
__name(_GetAssessmentCommand, "GetAssessmentCommand");
|
|
2320
|
+
var GetAssessmentCommand = _GetAssessmentCommand;
|
|
2321
|
+
|
|
2322
|
+
// src/commands/GetImportFileTaskCommand.ts
|
|
2323
|
+
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
|
|
2327
|
+
var _GetImportFileTaskCommand = class _GetImportFileTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2328
|
+
...commonParams
|
|
2329
|
+
}).m(function(Command, cs, config, o) {
|
|
2330
|
+
return [
|
|
2331
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2332
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2333
|
+
];
|
|
2334
|
+
}).s("AWSMigrationHubStrategyRecommendation", "GetImportFileTask", {}).n("MigrationHubStrategyClient", "GetImportFileTaskCommand").f(void 0, void 0).ser(se_GetImportFileTaskCommand).de(de_GetImportFileTaskCommand).build() {
|
|
2335
|
+
};
|
|
2336
|
+
__name(_GetImportFileTaskCommand, "GetImportFileTaskCommand");
|
|
2337
|
+
var GetImportFileTaskCommand = _GetImportFileTaskCommand;
|
|
2338
|
+
|
|
2339
|
+
// src/commands/GetLatestAssessmentIdCommand.ts
|
|
2340
|
+
|
|
2341
|
+
|
|
2342
|
+
|
|
2343
|
+
|
|
2344
|
+
var _GetLatestAssessmentIdCommand = class _GetLatestAssessmentIdCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2345
|
+
...commonParams
|
|
2346
|
+
}).m(function(Command, cs, config, o) {
|
|
2347
|
+
return [
|
|
2348
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2349
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2350
|
+
];
|
|
2351
|
+
}).s("AWSMigrationHubStrategyRecommendation", "GetLatestAssessmentId", {}).n("MigrationHubStrategyClient", "GetLatestAssessmentIdCommand").f(void 0, void 0).ser(se_GetLatestAssessmentIdCommand).de(de_GetLatestAssessmentIdCommand).build() {
|
|
2352
|
+
};
|
|
2353
|
+
__name(_GetLatestAssessmentIdCommand, "GetLatestAssessmentIdCommand");
|
|
2354
|
+
var GetLatestAssessmentIdCommand = _GetLatestAssessmentIdCommand;
|
|
2355
|
+
|
|
2356
|
+
// src/commands/GetPortfolioPreferencesCommand.ts
|
|
2357
|
+
|
|
2358
|
+
|
|
2359
|
+
|
|
2360
|
+
|
|
2361
|
+
var _GetPortfolioPreferencesCommand = class _GetPortfolioPreferencesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2362
|
+
...commonParams
|
|
2363
|
+
}).m(function(Command, cs, config, o) {
|
|
2364
|
+
return [
|
|
2365
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2366
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2367
|
+
];
|
|
2368
|
+
}).s("AWSMigrationHubStrategyRecommendation", "GetPortfolioPreferences", {}).n("MigrationHubStrategyClient", "GetPortfolioPreferencesCommand").f(void 0, void 0).ser(se_GetPortfolioPreferencesCommand).de(de_GetPortfolioPreferencesCommand).build() {
|
|
2369
|
+
};
|
|
2370
|
+
__name(_GetPortfolioPreferencesCommand, "GetPortfolioPreferencesCommand");
|
|
2371
|
+
var GetPortfolioPreferencesCommand = _GetPortfolioPreferencesCommand;
|
|
2372
|
+
|
|
2373
|
+
// src/commands/GetPortfolioSummaryCommand.ts
|
|
2374
|
+
|
|
2375
|
+
|
|
2376
|
+
|
|
2377
|
+
|
|
2378
|
+
var _GetPortfolioSummaryCommand = class _GetPortfolioSummaryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2379
|
+
...commonParams
|
|
2380
|
+
}).m(function(Command, cs, config, o) {
|
|
2381
|
+
return [
|
|
2382
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2383
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2384
|
+
];
|
|
2385
|
+
}).s("AWSMigrationHubStrategyRecommendation", "GetPortfolioSummary", {}).n("MigrationHubStrategyClient", "GetPortfolioSummaryCommand").f(void 0, void 0).ser(se_GetPortfolioSummaryCommand).de(de_GetPortfolioSummaryCommand).build() {
|
|
2386
|
+
};
|
|
2387
|
+
__name(_GetPortfolioSummaryCommand, "GetPortfolioSummaryCommand");
|
|
2388
|
+
var GetPortfolioSummaryCommand = _GetPortfolioSummaryCommand;
|
|
2389
|
+
|
|
2390
|
+
// src/commands/GetRecommendationReportDetailsCommand.ts
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
|
|
2394
|
+
|
|
2395
|
+
var _GetRecommendationReportDetailsCommand = class _GetRecommendationReportDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2396
|
+
...commonParams
|
|
2397
|
+
}).m(function(Command, cs, config, o) {
|
|
2398
|
+
return [
|
|
2399
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2400
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2401
|
+
];
|
|
2402
|
+
}).s("AWSMigrationHubStrategyRecommendation", "GetRecommendationReportDetails", {}).n("MigrationHubStrategyClient", "GetRecommendationReportDetailsCommand").f(void 0, void 0).ser(se_GetRecommendationReportDetailsCommand).de(de_GetRecommendationReportDetailsCommand).build() {
|
|
2403
|
+
};
|
|
2404
|
+
__name(_GetRecommendationReportDetailsCommand, "GetRecommendationReportDetailsCommand");
|
|
2405
|
+
var GetRecommendationReportDetailsCommand = _GetRecommendationReportDetailsCommand;
|
|
2406
|
+
|
|
2407
|
+
// src/commands/GetServerDetailsCommand.ts
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
|
|
2411
|
+
|
|
2412
|
+
var _GetServerDetailsCommand = class _GetServerDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2413
|
+
...commonParams
|
|
2414
|
+
}).m(function(Command, cs, config, o) {
|
|
2415
|
+
return [
|
|
2416
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2417
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2418
|
+
];
|
|
2419
|
+
}).s("AWSMigrationHubStrategyRecommendation", "GetServerDetails", {}).n("MigrationHubStrategyClient", "GetServerDetailsCommand").f(void 0, void 0).ser(se_GetServerDetailsCommand).de(de_GetServerDetailsCommand).build() {
|
|
2420
|
+
};
|
|
2421
|
+
__name(_GetServerDetailsCommand, "GetServerDetailsCommand");
|
|
2422
|
+
var GetServerDetailsCommand = _GetServerDetailsCommand;
|
|
2423
|
+
|
|
2424
|
+
// src/commands/GetServerStrategiesCommand.ts
|
|
2425
|
+
|
|
2426
|
+
|
|
2427
|
+
|
|
2428
|
+
|
|
2429
|
+
var _GetServerStrategiesCommand = class _GetServerStrategiesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2430
|
+
...commonParams
|
|
2431
|
+
}).m(function(Command, cs, config, o) {
|
|
2432
|
+
return [
|
|
2433
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2434
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2435
|
+
];
|
|
2436
|
+
}).s("AWSMigrationHubStrategyRecommendation", "GetServerStrategies", {}).n("MigrationHubStrategyClient", "GetServerStrategiesCommand").f(void 0, void 0).ser(se_GetServerStrategiesCommand).de(de_GetServerStrategiesCommand).build() {
|
|
2437
|
+
};
|
|
2438
|
+
__name(_GetServerStrategiesCommand, "GetServerStrategiesCommand");
|
|
2439
|
+
var GetServerStrategiesCommand = _GetServerStrategiesCommand;
|
|
2440
|
+
|
|
2441
|
+
// src/commands/ListAnalyzableServersCommand.ts
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
var _ListAnalyzableServersCommand = class _ListAnalyzableServersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2447
|
+
...commonParams
|
|
2448
|
+
}).m(function(Command, cs, config, o) {
|
|
2449
|
+
return [
|
|
2450
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2451
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2452
|
+
];
|
|
2453
|
+
}).s("AWSMigrationHubStrategyRecommendation", "ListAnalyzableServers", {}).n("MigrationHubStrategyClient", "ListAnalyzableServersCommand").f(void 0, void 0).ser(se_ListAnalyzableServersCommand).de(de_ListAnalyzableServersCommand).build() {
|
|
2454
|
+
};
|
|
2455
|
+
__name(_ListAnalyzableServersCommand, "ListAnalyzableServersCommand");
|
|
2456
|
+
var ListAnalyzableServersCommand = _ListAnalyzableServersCommand;
|
|
2457
|
+
|
|
2458
|
+
// src/commands/ListApplicationComponentsCommand.ts
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
var _ListApplicationComponentsCommand = class _ListApplicationComponentsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2464
|
+
...commonParams
|
|
2465
|
+
}).m(function(Command, cs, config, o) {
|
|
2466
|
+
return [
|
|
2467
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2468
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2469
|
+
];
|
|
2470
|
+
}).s("AWSMigrationHubStrategyRecommendation", "ListApplicationComponents", {}).n("MigrationHubStrategyClient", "ListApplicationComponentsCommand").f(void 0, void 0).ser(se_ListApplicationComponentsCommand).de(de_ListApplicationComponentsCommand).build() {
|
|
2471
|
+
};
|
|
2472
|
+
__name(_ListApplicationComponentsCommand, "ListApplicationComponentsCommand");
|
|
2473
|
+
var ListApplicationComponentsCommand = _ListApplicationComponentsCommand;
|
|
2474
|
+
|
|
2475
|
+
// src/commands/ListCollectorsCommand.ts
|
|
2476
|
+
|
|
2477
|
+
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
var _ListCollectorsCommand = class _ListCollectorsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2481
|
+
...commonParams
|
|
2482
|
+
}).m(function(Command, cs, config, o) {
|
|
2483
|
+
return [
|
|
2484
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2485
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2486
|
+
];
|
|
2487
|
+
}).s("AWSMigrationHubStrategyRecommendation", "ListCollectors", {}).n("MigrationHubStrategyClient", "ListCollectorsCommand").f(void 0, void 0).ser(se_ListCollectorsCommand).de(de_ListCollectorsCommand).build() {
|
|
2488
|
+
};
|
|
2489
|
+
__name(_ListCollectorsCommand, "ListCollectorsCommand");
|
|
2490
|
+
var ListCollectorsCommand = _ListCollectorsCommand;
|
|
2491
|
+
|
|
2492
|
+
// src/commands/ListImportFileTaskCommand.ts
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
|
|
2496
|
+
|
|
2497
|
+
var _ListImportFileTaskCommand = class _ListImportFileTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2498
|
+
...commonParams
|
|
2499
|
+
}).m(function(Command, cs, config, o) {
|
|
2500
|
+
return [
|
|
2501
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2502
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2503
|
+
];
|
|
2504
|
+
}).s("AWSMigrationHubStrategyRecommendation", "ListImportFileTask", {}).n("MigrationHubStrategyClient", "ListImportFileTaskCommand").f(void 0, void 0).ser(se_ListImportFileTaskCommand).de(de_ListImportFileTaskCommand).build() {
|
|
2505
|
+
};
|
|
2506
|
+
__name(_ListImportFileTaskCommand, "ListImportFileTaskCommand");
|
|
2507
|
+
var ListImportFileTaskCommand = _ListImportFileTaskCommand;
|
|
2508
|
+
|
|
2509
|
+
// src/commands/ListServersCommand.ts
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
|
|
2514
|
+
var _ListServersCommand = class _ListServersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2515
|
+
...commonParams
|
|
2516
|
+
}).m(function(Command, cs, config, o) {
|
|
2517
|
+
return [
|
|
2518
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2519
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2520
|
+
];
|
|
2521
|
+
}).s("AWSMigrationHubStrategyRecommendation", "ListServers", {}).n("MigrationHubStrategyClient", "ListServersCommand").f(void 0, void 0).ser(se_ListServersCommand).de(de_ListServersCommand).build() {
|
|
2522
|
+
};
|
|
2523
|
+
__name(_ListServersCommand, "ListServersCommand");
|
|
2524
|
+
var ListServersCommand = _ListServersCommand;
|
|
2525
|
+
|
|
2526
|
+
// src/commands/PutPortfolioPreferencesCommand.ts
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
var _PutPortfolioPreferencesCommand = class _PutPortfolioPreferencesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2532
|
+
...commonParams
|
|
2533
|
+
}).m(function(Command, cs, config, o) {
|
|
2534
|
+
return [
|
|
2535
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2536
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2537
|
+
];
|
|
2538
|
+
}).s("AWSMigrationHubStrategyRecommendation", "PutPortfolioPreferences", {}).n("MigrationHubStrategyClient", "PutPortfolioPreferencesCommand").f(void 0, void 0).ser(se_PutPortfolioPreferencesCommand).de(de_PutPortfolioPreferencesCommand).build() {
|
|
2539
|
+
};
|
|
2540
|
+
__name(_PutPortfolioPreferencesCommand, "PutPortfolioPreferencesCommand");
|
|
2541
|
+
var PutPortfolioPreferencesCommand = _PutPortfolioPreferencesCommand;
|
|
2542
|
+
|
|
2543
|
+
// src/commands/StartAssessmentCommand.ts
|
|
2544
|
+
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
|
|
2548
|
+
var _StartAssessmentCommand = class _StartAssessmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2549
|
+
...commonParams
|
|
2550
|
+
}).m(function(Command, cs, config, o) {
|
|
2551
|
+
return [
|
|
2552
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2553
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2554
|
+
];
|
|
2555
|
+
}).s("AWSMigrationHubStrategyRecommendation", "StartAssessment", {}).n("MigrationHubStrategyClient", "StartAssessmentCommand").f(void 0, void 0).ser(se_StartAssessmentCommand).de(de_StartAssessmentCommand).build() {
|
|
2556
|
+
};
|
|
2557
|
+
__name(_StartAssessmentCommand, "StartAssessmentCommand");
|
|
2558
|
+
var StartAssessmentCommand = _StartAssessmentCommand;
|
|
2559
|
+
|
|
2560
|
+
// src/commands/StartImportFileTaskCommand.ts
|
|
2561
|
+
|
|
2562
|
+
|
|
2563
|
+
|
|
2564
|
+
|
|
2565
|
+
var _StartImportFileTaskCommand = class _StartImportFileTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2566
|
+
...commonParams
|
|
2567
|
+
}).m(function(Command, cs, config, o) {
|
|
2568
|
+
return [
|
|
2569
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2570
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2571
|
+
];
|
|
2572
|
+
}).s("AWSMigrationHubStrategyRecommendation", "StartImportFileTask", {}).n("MigrationHubStrategyClient", "StartImportFileTaskCommand").f(void 0, void 0).ser(se_StartImportFileTaskCommand).de(de_StartImportFileTaskCommand).build() {
|
|
2573
|
+
};
|
|
2574
|
+
__name(_StartImportFileTaskCommand, "StartImportFileTaskCommand");
|
|
2575
|
+
var StartImportFileTaskCommand = _StartImportFileTaskCommand;
|
|
2576
|
+
|
|
2577
|
+
// src/commands/StartRecommendationReportGenerationCommand.ts
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
|
|
2582
|
+
var _StartRecommendationReportGenerationCommand = class _StartRecommendationReportGenerationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2583
|
+
...commonParams
|
|
2584
|
+
}).m(function(Command, cs, config, o) {
|
|
2585
|
+
return [
|
|
2586
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2587
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2588
|
+
];
|
|
2589
|
+
}).s("AWSMigrationHubStrategyRecommendation", "StartRecommendationReportGeneration", {}).n("MigrationHubStrategyClient", "StartRecommendationReportGenerationCommand").f(void 0, void 0).ser(se_StartRecommendationReportGenerationCommand).de(de_StartRecommendationReportGenerationCommand).build() {
|
|
2590
|
+
};
|
|
2591
|
+
__name(_StartRecommendationReportGenerationCommand, "StartRecommendationReportGenerationCommand");
|
|
2592
|
+
var StartRecommendationReportGenerationCommand = _StartRecommendationReportGenerationCommand;
|
|
2593
|
+
|
|
2594
|
+
// src/commands/StopAssessmentCommand.ts
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
|
|
2598
|
+
|
|
2599
|
+
var _StopAssessmentCommand = class _StopAssessmentCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2600
|
+
...commonParams
|
|
2601
|
+
}).m(function(Command, cs, config, o) {
|
|
2602
|
+
return [
|
|
2603
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2604
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2605
|
+
];
|
|
2606
|
+
}).s("AWSMigrationHubStrategyRecommendation", "StopAssessment", {}).n("MigrationHubStrategyClient", "StopAssessmentCommand").f(void 0, void 0).ser(se_StopAssessmentCommand).de(de_StopAssessmentCommand).build() {
|
|
2607
|
+
};
|
|
2608
|
+
__name(_StopAssessmentCommand, "StopAssessmentCommand");
|
|
2609
|
+
var StopAssessmentCommand = _StopAssessmentCommand;
|
|
2610
|
+
|
|
2611
|
+
// src/commands/UpdateApplicationComponentConfigCommand.ts
|
|
2612
|
+
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
|
|
2616
|
+
var _UpdateApplicationComponentConfigCommand = class _UpdateApplicationComponentConfigCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2617
|
+
...commonParams
|
|
2618
|
+
}).m(function(Command, cs, config, o) {
|
|
2619
|
+
return [
|
|
2620
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2621
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2622
|
+
];
|
|
2623
|
+
}).s("AWSMigrationHubStrategyRecommendation", "UpdateApplicationComponentConfig", {}).n("MigrationHubStrategyClient", "UpdateApplicationComponentConfigCommand").f(UpdateApplicationComponentConfigRequestFilterSensitiveLog, void 0).ser(se_UpdateApplicationComponentConfigCommand).de(de_UpdateApplicationComponentConfigCommand).build() {
|
|
2624
|
+
};
|
|
2625
|
+
__name(_UpdateApplicationComponentConfigCommand, "UpdateApplicationComponentConfigCommand");
|
|
2626
|
+
var UpdateApplicationComponentConfigCommand = _UpdateApplicationComponentConfigCommand;
|
|
2627
|
+
|
|
2628
|
+
// src/commands/UpdateServerConfigCommand.ts
|
|
2629
|
+
|
|
2630
|
+
|
|
2631
|
+
|
|
2632
|
+
|
|
2633
|
+
var _UpdateServerConfigCommand = class _UpdateServerConfigCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2634
|
+
...commonParams
|
|
2635
|
+
}).m(function(Command, cs, config, o) {
|
|
2636
|
+
return [
|
|
2637
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2638
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2639
|
+
];
|
|
2640
|
+
}).s("AWSMigrationHubStrategyRecommendation", "UpdateServerConfig", {}).n("MigrationHubStrategyClient", "UpdateServerConfigCommand").f(void 0, void 0).ser(se_UpdateServerConfigCommand).de(de_UpdateServerConfigCommand).build() {
|
|
2641
|
+
};
|
|
2642
|
+
__name(_UpdateServerConfigCommand, "UpdateServerConfigCommand");
|
|
2643
|
+
var UpdateServerConfigCommand = _UpdateServerConfigCommand;
|
|
2644
|
+
|
|
2645
|
+
// src/MigrationHubStrategy.ts
|
|
2646
|
+
var commands = {
|
|
2647
|
+
GetApplicationComponentDetailsCommand,
|
|
2648
|
+
GetApplicationComponentStrategiesCommand,
|
|
2649
|
+
GetAssessmentCommand,
|
|
2650
|
+
GetImportFileTaskCommand,
|
|
2651
|
+
GetLatestAssessmentIdCommand,
|
|
2652
|
+
GetPortfolioPreferencesCommand,
|
|
2653
|
+
GetPortfolioSummaryCommand,
|
|
2654
|
+
GetRecommendationReportDetailsCommand,
|
|
2655
|
+
GetServerDetailsCommand,
|
|
2656
|
+
GetServerStrategiesCommand,
|
|
2657
|
+
ListAnalyzableServersCommand,
|
|
2658
|
+
ListApplicationComponentsCommand,
|
|
2659
|
+
ListCollectorsCommand,
|
|
2660
|
+
ListImportFileTaskCommand,
|
|
2661
|
+
ListServersCommand,
|
|
2662
|
+
PutPortfolioPreferencesCommand,
|
|
2663
|
+
StartAssessmentCommand,
|
|
2664
|
+
StartImportFileTaskCommand,
|
|
2665
|
+
StartRecommendationReportGenerationCommand,
|
|
2666
|
+
StopAssessmentCommand,
|
|
2667
|
+
UpdateApplicationComponentConfigCommand,
|
|
2668
|
+
UpdateServerConfigCommand
|
|
2669
|
+
};
|
|
2670
|
+
var _MigrationHubStrategy = class _MigrationHubStrategy extends MigrationHubStrategyClient {
|
|
2671
|
+
};
|
|
2672
|
+
__name(_MigrationHubStrategy, "MigrationHubStrategy");
|
|
2673
|
+
var MigrationHubStrategy = _MigrationHubStrategy;
|
|
2674
|
+
(0, import_smithy_client.createAggregatedClient)(commands, MigrationHubStrategy);
|
|
2675
|
+
|
|
2676
|
+
// src/pagination/GetServerDetailsPaginator.ts
|
|
2677
|
+
|
|
2678
|
+
var paginateGetServerDetails = (0, import_core.createPaginator)(MigrationHubStrategyClient, GetServerDetailsCommand, "nextToken", "nextToken", "maxResults");
|
|
2679
|
+
|
|
2680
|
+
// src/pagination/ListAnalyzableServersPaginator.ts
|
|
2681
|
+
|
|
2682
|
+
var paginateListAnalyzableServers = (0, import_core.createPaginator)(MigrationHubStrategyClient, ListAnalyzableServersCommand, "nextToken", "nextToken", "maxResults");
|
|
2683
|
+
|
|
2684
|
+
// src/pagination/ListApplicationComponentsPaginator.ts
|
|
2685
|
+
|
|
2686
|
+
var paginateListApplicationComponents = (0, import_core.createPaginator)(MigrationHubStrategyClient, ListApplicationComponentsCommand, "nextToken", "nextToken", "maxResults");
|
|
2687
|
+
|
|
2688
|
+
// src/pagination/ListCollectorsPaginator.ts
|
|
2689
|
+
|
|
2690
|
+
var paginateListCollectors = (0, import_core.createPaginator)(MigrationHubStrategyClient, ListCollectorsCommand, "nextToken", "nextToken", "maxResults");
|
|
2691
|
+
|
|
2692
|
+
// src/pagination/ListImportFileTaskPaginator.ts
|
|
2693
|
+
|
|
2694
|
+
var paginateListImportFileTask = (0, import_core.createPaginator)(MigrationHubStrategyClient, ListImportFileTaskCommand, "nextToken", "nextToken", "maxResults");
|
|
2695
|
+
|
|
2696
|
+
// src/pagination/ListServersPaginator.ts
|
|
2697
|
+
|
|
2698
|
+
var paginateListServers = (0, import_core.createPaginator)(MigrationHubStrategyClient, ListServersCommand, "nextToken", "nextToken", "maxResults");
|
|
2699
|
+
|
|
2700
|
+
// src/index.ts
|
|
2701
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
2702
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2703
|
+
0 && (module.exports = {
|
|
2704
|
+
AccessDeniedException,
|
|
2705
|
+
AnalysisStatusUnion,
|
|
2706
|
+
AnalysisType,
|
|
2707
|
+
AnalyzerNameUnion,
|
|
2708
|
+
AntipatternReportStatus,
|
|
2709
|
+
AppType,
|
|
2710
|
+
AppUnitErrorCategory,
|
|
2711
|
+
ApplicationComponentCriteria,
|
|
2712
|
+
ApplicationMode,
|
|
2713
|
+
AssessmentDataSourceType,
|
|
2714
|
+
AssessmentStatus,
|
|
2715
|
+
AuthType,
|
|
2716
|
+
AwsManagedTargetDestination,
|
|
2717
|
+
BinaryAnalyzerName,
|
|
2718
|
+
CollectorHealth,
|
|
2719
|
+
Condition,
|
|
2720
|
+
ConflictException,
|
|
2721
|
+
DataSourceType,
|
|
2722
|
+
DatabaseManagementPreference,
|
|
2723
|
+
DatabaseMigrationPreference,
|
|
2724
|
+
DependencyException,
|
|
2725
|
+
GetApplicationComponentDetailsCommand,
|
|
2726
|
+
GetApplicationComponentStrategiesCommand,
|
|
2727
|
+
GetAssessmentCommand,
|
|
2728
|
+
GetImportFileTaskCommand,
|
|
2729
|
+
GetLatestAssessmentIdCommand,
|
|
2730
|
+
GetPortfolioPreferencesCommand,
|
|
2731
|
+
GetPortfolioSummaryCommand,
|
|
2732
|
+
GetRecommendationReportDetailsCommand,
|
|
2733
|
+
GetServerDetailsCommand,
|
|
2734
|
+
GetServerStrategiesCommand,
|
|
2735
|
+
GroupName,
|
|
2736
|
+
HeterogeneousTargetDatabaseEngine,
|
|
2737
|
+
HomogeneousTargetDatabaseEngine,
|
|
2738
|
+
ImportFileTaskStatus,
|
|
2739
|
+
InclusionStatus,
|
|
2740
|
+
InternalServerException,
|
|
2741
|
+
ListAnalyzableServersCommand,
|
|
2742
|
+
ListApplicationComponentsCommand,
|
|
2743
|
+
ListCollectorsCommand,
|
|
2744
|
+
ListImportFileTaskCommand,
|
|
2745
|
+
ListServersCommand,
|
|
2746
|
+
ManagementPreference,
|
|
2747
|
+
MigrationHubStrategy,
|
|
2748
|
+
MigrationHubStrategyClient,
|
|
2749
|
+
MigrationHubStrategyServiceException,
|
|
2750
|
+
NoPreferenceTargetDestination,
|
|
2751
|
+
OSType,
|
|
2752
|
+
OutputFormat,
|
|
2753
|
+
PipelineType,
|
|
2754
|
+
PutPortfolioPreferencesCommand,
|
|
2755
|
+
RecommendationReportStatus,
|
|
2756
|
+
ResourceNotFoundException,
|
|
2757
|
+
ResourceSubType,
|
|
2758
|
+
RunTimeAnalyzerName,
|
|
2759
|
+
RunTimeAssessmentStatus,
|
|
2760
|
+
RuntimeAnalysisStatus,
|
|
2761
|
+
SelfManageTargetDestination,
|
|
2762
|
+
ServerCriteria,
|
|
2763
|
+
ServerErrorCategory,
|
|
2764
|
+
ServerOsType,
|
|
2765
|
+
ServiceLinkedRoleLockClientException,
|
|
2766
|
+
ServiceQuotaExceededException,
|
|
2767
|
+
Severity,
|
|
2768
|
+
SortOrder,
|
|
2769
|
+
SourceCodeAnalyzerName,
|
|
2770
|
+
SrcCodeOrDbAnalysisStatus,
|
|
2771
|
+
StartAssessmentCommand,
|
|
2772
|
+
StartImportFileTaskCommand,
|
|
2773
|
+
StartRecommendationReportGenerationCommand,
|
|
2774
|
+
StopAssessmentCommand,
|
|
2775
|
+
Strategy,
|
|
2776
|
+
StrategyRecommendation,
|
|
2777
|
+
TargetDatabaseEngine,
|
|
2778
|
+
TargetDestination,
|
|
2779
|
+
ThrottlingException,
|
|
2780
|
+
TransformationToolName,
|
|
2781
|
+
UpdateApplicationComponentConfigCommand,
|
|
2782
|
+
UpdateApplicationComponentConfigRequestFilterSensitiveLog,
|
|
2783
|
+
UpdateServerConfigCommand,
|
|
2784
|
+
ValidationException,
|
|
2785
|
+
VersionControl,
|
|
2786
|
+
VersionControlType,
|
|
2787
|
+
__Client,
|
|
2788
|
+
paginateGetServerDetails,
|
|
2789
|
+
paginateListAnalyzableServers,
|
|
2790
|
+
paginateListApplicationComponents,
|
|
2791
|
+
paginateListCollectors,
|
|
2792
|
+
paginateListImportFileTask,
|
|
2793
|
+
paginateListServers
|
|
2794
|
+
});
|