@aws-sdk/client-migrationhubstrategy 3.315.0 → 3.319.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MigrationHubStrategy = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const GetApplicationComponentDetailsCommand_1 = require("./commands/GetApplicationComponentDetailsCommand");
|
|
5
6
|
const GetApplicationComponentStrategiesCommand_1 = require("./commands/GetApplicationComponentStrategiesCommand");
|
|
6
7
|
const GetAssessmentCommand_1 = require("./commands/GetAssessmentCommand");
|
|
@@ -23,300 +24,30 @@ const StopAssessmentCommand_1 = require("./commands/StopAssessmentCommand");
|
|
|
23
24
|
const UpdateApplicationComponentConfigCommand_1 = require("./commands/UpdateApplicationComponentConfigCommand");
|
|
24
25
|
const UpdateServerConfigCommand_1 = require("./commands/UpdateServerConfigCommand");
|
|
25
26
|
const MigrationHubStrategyClient_1 = require("./MigrationHubStrategyClient");
|
|
27
|
+
const commands = {
|
|
28
|
+
GetApplicationComponentDetailsCommand: GetApplicationComponentDetailsCommand_1.GetApplicationComponentDetailsCommand,
|
|
29
|
+
GetApplicationComponentStrategiesCommand: GetApplicationComponentStrategiesCommand_1.GetApplicationComponentStrategiesCommand,
|
|
30
|
+
GetAssessmentCommand: GetAssessmentCommand_1.GetAssessmentCommand,
|
|
31
|
+
GetImportFileTaskCommand: GetImportFileTaskCommand_1.GetImportFileTaskCommand,
|
|
32
|
+
GetLatestAssessmentIdCommand: GetLatestAssessmentIdCommand_1.GetLatestAssessmentIdCommand,
|
|
33
|
+
GetPortfolioPreferencesCommand: GetPortfolioPreferencesCommand_1.GetPortfolioPreferencesCommand,
|
|
34
|
+
GetPortfolioSummaryCommand: GetPortfolioSummaryCommand_1.GetPortfolioSummaryCommand,
|
|
35
|
+
GetRecommendationReportDetailsCommand: GetRecommendationReportDetailsCommand_1.GetRecommendationReportDetailsCommand,
|
|
36
|
+
GetServerDetailsCommand: GetServerDetailsCommand_1.GetServerDetailsCommand,
|
|
37
|
+
GetServerStrategiesCommand: GetServerStrategiesCommand_1.GetServerStrategiesCommand,
|
|
38
|
+
ListApplicationComponentsCommand: ListApplicationComponentsCommand_1.ListApplicationComponentsCommand,
|
|
39
|
+
ListCollectorsCommand: ListCollectorsCommand_1.ListCollectorsCommand,
|
|
40
|
+
ListImportFileTaskCommand: ListImportFileTaskCommand_1.ListImportFileTaskCommand,
|
|
41
|
+
ListServersCommand: ListServersCommand_1.ListServersCommand,
|
|
42
|
+
PutPortfolioPreferencesCommand: PutPortfolioPreferencesCommand_1.PutPortfolioPreferencesCommand,
|
|
43
|
+
StartAssessmentCommand: StartAssessmentCommand_1.StartAssessmentCommand,
|
|
44
|
+
StartImportFileTaskCommand: StartImportFileTaskCommand_1.StartImportFileTaskCommand,
|
|
45
|
+
StartRecommendationReportGenerationCommand: StartRecommendationReportGenerationCommand_1.StartRecommendationReportGenerationCommand,
|
|
46
|
+
StopAssessmentCommand: StopAssessmentCommand_1.StopAssessmentCommand,
|
|
47
|
+
UpdateApplicationComponentConfigCommand: UpdateApplicationComponentConfigCommand_1.UpdateApplicationComponentConfigCommand,
|
|
48
|
+
UpdateServerConfigCommand: UpdateServerConfigCommand_1.UpdateServerConfigCommand,
|
|
49
|
+
};
|
|
26
50
|
class MigrationHubStrategy extends MigrationHubStrategyClient_1.MigrationHubStrategyClient {
|
|
27
|
-
getApplicationComponentDetails(args, optionsOrCb, cb) {
|
|
28
|
-
const command = new GetApplicationComponentDetailsCommand_1.GetApplicationComponentDetailsCommand(args);
|
|
29
|
-
if (typeof optionsOrCb === "function") {
|
|
30
|
-
this.send(command, optionsOrCb);
|
|
31
|
-
}
|
|
32
|
-
else if (typeof cb === "function") {
|
|
33
|
-
if (typeof optionsOrCb !== "object")
|
|
34
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
35
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
return this.send(command, optionsOrCb);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
getApplicationComponentStrategies(args, optionsOrCb, cb) {
|
|
42
|
-
const command = new GetApplicationComponentStrategiesCommand_1.GetApplicationComponentStrategiesCommand(args);
|
|
43
|
-
if (typeof optionsOrCb === "function") {
|
|
44
|
-
this.send(command, optionsOrCb);
|
|
45
|
-
}
|
|
46
|
-
else if (typeof cb === "function") {
|
|
47
|
-
if (typeof optionsOrCb !== "object")
|
|
48
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
49
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
return this.send(command, optionsOrCb);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
getAssessment(args, optionsOrCb, cb) {
|
|
56
|
-
const command = new GetAssessmentCommand_1.GetAssessmentCommand(args);
|
|
57
|
-
if (typeof optionsOrCb === "function") {
|
|
58
|
-
this.send(command, optionsOrCb);
|
|
59
|
-
}
|
|
60
|
-
else if (typeof cb === "function") {
|
|
61
|
-
if (typeof optionsOrCb !== "object")
|
|
62
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
63
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
return this.send(command, optionsOrCb);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
getImportFileTask(args, optionsOrCb, cb) {
|
|
70
|
-
const command = new GetImportFileTaskCommand_1.GetImportFileTaskCommand(args);
|
|
71
|
-
if (typeof optionsOrCb === "function") {
|
|
72
|
-
this.send(command, optionsOrCb);
|
|
73
|
-
}
|
|
74
|
-
else if (typeof cb === "function") {
|
|
75
|
-
if (typeof optionsOrCb !== "object")
|
|
76
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
77
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
return this.send(command, optionsOrCb);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
getLatestAssessmentId(args, optionsOrCb, cb) {
|
|
84
|
-
const command = new GetLatestAssessmentIdCommand_1.GetLatestAssessmentIdCommand(args);
|
|
85
|
-
if (typeof optionsOrCb === "function") {
|
|
86
|
-
this.send(command, optionsOrCb);
|
|
87
|
-
}
|
|
88
|
-
else if (typeof cb === "function") {
|
|
89
|
-
if (typeof optionsOrCb !== "object")
|
|
90
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
91
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
return this.send(command, optionsOrCb);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
getPortfolioPreferences(args, optionsOrCb, cb) {
|
|
98
|
-
const command = new GetPortfolioPreferencesCommand_1.GetPortfolioPreferencesCommand(args);
|
|
99
|
-
if (typeof optionsOrCb === "function") {
|
|
100
|
-
this.send(command, optionsOrCb);
|
|
101
|
-
}
|
|
102
|
-
else if (typeof cb === "function") {
|
|
103
|
-
if (typeof optionsOrCb !== "object")
|
|
104
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
105
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
return this.send(command, optionsOrCb);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
getPortfolioSummary(args, optionsOrCb, cb) {
|
|
112
|
-
const command = new GetPortfolioSummaryCommand_1.GetPortfolioSummaryCommand(args);
|
|
113
|
-
if (typeof optionsOrCb === "function") {
|
|
114
|
-
this.send(command, optionsOrCb);
|
|
115
|
-
}
|
|
116
|
-
else if (typeof cb === "function") {
|
|
117
|
-
if (typeof optionsOrCb !== "object")
|
|
118
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
119
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
return this.send(command, optionsOrCb);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
getRecommendationReportDetails(args, optionsOrCb, cb) {
|
|
126
|
-
const command = new GetRecommendationReportDetailsCommand_1.GetRecommendationReportDetailsCommand(args);
|
|
127
|
-
if (typeof optionsOrCb === "function") {
|
|
128
|
-
this.send(command, optionsOrCb);
|
|
129
|
-
}
|
|
130
|
-
else if (typeof cb === "function") {
|
|
131
|
-
if (typeof optionsOrCb !== "object")
|
|
132
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
133
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
return this.send(command, optionsOrCb);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
getServerDetails(args, optionsOrCb, cb) {
|
|
140
|
-
const command = new GetServerDetailsCommand_1.GetServerDetailsCommand(args);
|
|
141
|
-
if (typeof optionsOrCb === "function") {
|
|
142
|
-
this.send(command, optionsOrCb);
|
|
143
|
-
}
|
|
144
|
-
else if (typeof cb === "function") {
|
|
145
|
-
if (typeof optionsOrCb !== "object")
|
|
146
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
147
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
return this.send(command, optionsOrCb);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
getServerStrategies(args, optionsOrCb, cb) {
|
|
154
|
-
const command = new GetServerStrategiesCommand_1.GetServerStrategiesCommand(args);
|
|
155
|
-
if (typeof optionsOrCb === "function") {
|
|
156
|
-
this.send(command, optionsOrCb);
|
|
157
|
-
}
|
|
158
|
-
else if (typeof cb === "function") {
|
|
159
|
-
if (typeof optionsOrCb !== "object")
|
|
160
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
161
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
162
|
-
}
|
|
163
|
-
else {
|
|
164
|
-
return this.send(command, optionsOrCb);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
listApplicationComponents(args, optionsOrCb, cb) {
|
|
168
|
-
const command = new ListApplicationComponentsCommand_1.ListApplicationComponentsCommand(args);
|
|
169
|
-
if (typeof optionsOrCb === "function") {
|
|
170
|
-
this.send(command, optionsOrCb);
|
|
171
|
-
}
|
|
172
|
-
else if (typeof cb === "function") {
|
|
173
|
-
if (typeof optionsOrCb !== "object")
|
|
174
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
175
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
176
|
-
}
|
|
177
|
-
else {
|
|
178
|
-
return this.send(command, optionsOrCb);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
listCollectors(args, optionsOrCb, cb) {
|
|
182
|
-
const command = new ListCollectorsCommand_1.ListCollectorsCommand(args);
|
|
183
|
-
if (typeof optionsOrCb === "function") {
|
|
184
|
-
this.send(command, optionsOrCb);
|
|
185
|
-
}
|
|
186
|
-
else if (typeof cb === "function") {
|
|
187
|
-
if (typeof optionsOrCb !== "object")
|
|
188
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
189
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
190
|
-
}
|
|
191
|
-
else {
|
|
192
|
-
return this.send(command, optionsOrCb);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
listImportFileTask(args, optionsOrCb, cb) {
|
|
196
|
-
const command = new ListImportFileTaskCommand_1.ListImportFileTaskCommand(args);
|
|
197
|
-
if (typeof optionsOrCb === "function") {
|
|
198
|
-
this.send(command, optionsOrCb);
|
|
199
|
-
}
|
|
200
|
-
else if (typeof cb === "function") {
|
|
201
|
-
if (typeof optionsOrCb !== "object")
|
|
202
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
203
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
204
|
-
}
|
|
205
|
-
else {
|
|
206
|
-
return this.send(command, optionsOrCb);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
listServers(args, optionsOrCb, cb) {
|
|
210
|
-
const command = new ListServersCommand_1.ListServersCommand(args);
|
|
211
|
-
if (typeof optionsOrCb === "function") {
|
|
212
|
-
this.send(command, optionsOrCb);
|
|
213
|
-
}
|
|
214
|
-
else if (typeof cb === "function") {
|
|
215
|
-
if (typeof optionsOrCb !== "object")
|
|
216
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
217
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
218
|
-
}
|
|
219
|
-
else {
|
|
220
|
-
return this.send(command, optionsOrCb);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
putPortfolioPreferences(args, optionsOrCb, cb) {
|
|
224
|
-
const command = new PutPortfolioPreferencesCommand_1.PutPortfolioPreferencesCommand(args);
|
|
225
|
-
if (typeof optionsOrCb === "function") {
|
|
226
|
-
this.send(command, optionsOrCb);
|
|
227
|
-
}
|
|
228
|
-
else if (typeof cb === "function") {
|
|
229
|
-
if (typeof optionsOrCb !== "object")
|
|
230
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
231
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
232
|
-
}
|
|
233
|
-
else {
|
|
234
|
-
return this.send(command, optionsOrCb);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
startAssessment(args, optionsOrCb, cb) {
|
|
238
|
-
const command = new StartAssessmentCommand_1.StartAssessmentCommand(args);
|
|
239
|
-
if (typeof optionsOrCb === "function") {
|
|
240
|
-
this.send(command, optionsOrCb);
|
|
241
|
-
}
|
|
242
|
-
else if (typeof cb === "function") {
|
|
243
|
-
if (typeof optionsOrCb !== "object")
|
|
244
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
245
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
246
|
-
}
|
|
247
|
-
else {
|
|
248
|
-
return this.send(command, optionsOrCb);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
startImportFileTask(args, optionsOrCb, cb) {
|
|
252
|
-
const command = new StartImportFileTaskCommand_1.StartImportFileTaskCommand(args);
|
|
253
|
-
if (typeof optionsOrCb === "function") {
|
|
254
|
-
this.send(command, optionsOrCb);
|
|
255
|
-
}
|
|
256
|
-
else if (typeof cb === "function") {
|
|
257
|
-
if (typeof optionsOrCb !== "object")
|
|
258
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
259
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
260
|
-
}
|
|
261
|
-
else {
|
|
262
|
-
return this.send(command, optionsOrCb);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
startRecommendationReportGeneration(args, optionsOrCb, cb) {
|
|
266
|
-
const command = new StartRecommendationReportGenerationCommand_1.StartRecommendationReportGenerationCommand(args);
|
|
267
|
-
if (typeof optionsOrCb === "function") {
|
|
268
|
-
this.send(command, optionsOrCb);
|
|
269
|
-
}
|
|
270
|
-
else if (typeof cb === "function") {
|
|
271
|
-
if (typeof optionsOrCb !== "object")
|
|
272
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
273
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
274
|
-
}
|
|
275
|
-
else {
|
|
276
|
-
return this.send(command, optionsOrCb);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
stopAssessment(args, optionsOrCb, cb) {
|
|
280
|
-
const command = new StopAssessmentCommand_1.StopAssessmentCommand(args);
|
|
281
|
-
if (typeof optionsOrCb === "function") {
|
|
282
|
-
this.send(command, optionsOrCb);
|
|
283
|
-
}
|
|
284
|
-
else if (typeof cb === "function") {
|
|
285
|
-
if (typeof optionsOrCb !== "object")
|
|
286
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
287
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
288
|
-
}
|
|
289
|
-
else {
|
|
290
|
-
return this.send(command, optionsOrCb);
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
updateApplicationComponentConfig(args, optionsOrCb, cb) {
|
|
294
|
-
const command = new UpdateApplicationComponentConfigCommand_1.UpdateApplicationComponentConfigCommand(args);
|
|
295
|
-
if (typeof optionsOrCb === "function") {
|
|
296
|
-
this.send(command, optionsOrCb);
|
|
297
|
-
}
|
|
298
|
-
else if (typeof cb === "function") {
|
|
299
|
-
if (typeof optionsOrCb !== "object")
|
|
300
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
301
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
302
|
-
}
|
|
303
|
-
else {
|
|
304
|
-
return this.send(command, optionsOrCb);
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
updateServerConfig(args, optionsOrCb, cb) {
|
|
308
|
-
const command = new UpdateServerConfigCommand_1.UpdateServerConfigCommand(args);
|
|
309
|
-
if (typeof optionsOrCb === "function") {
|
|
310
|
-
this.send(command, optionsOrCb);
|
|
311
|
-
}
|
|
312
|
-
else if (typeof cb === "function") {
|
|
313
|
-
if (typeof optionsOrCb !== "object")
|
|
314
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
315
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
316
|
-
}
|
|
317
|
-
else {
|
|
318
|
-
return this.send(command, optionsOrCb);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
51
|
}
|
|
322
52
|
exports.MigrationHubStrategy = MigrationHubStrategy;
|
|
53
|
+
(0, smithy_client_1.createAggregatedClient)(commands, MigrationHubStrategy);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { GetApplicationComponentDetailsCommand, } from "./commands/GetApplicationComponentDetailsCommand";
|
|
2
3
|
import { GetApplicationComponentStrategiesCommand, } from "./commands/GetApplicationComponentStrategiesCommand";
|
|
3
4
|
import { GetAssessmentCommand, } from "./commands/GetAssessmentCommand";
|
|
@@ -20,299 +21,29 @@ import { StopAssessmentCommand, } from "./commands/StopAssessmentCommand";
|
|
|
20
21
|
import { UpdateApplicationComponentConfigCommand, } from "./commands/UpdateApplicationComponentConfigCommand";
|
|
21
22
|
import { UpdateServerConfigCommand, } from "./commands/UpdateServerConfigCommand";
|
|
22
23
|
import { MigrationHubStrategyClient } from "./MigrationHubStrategyClient";
|
|
24
|
+
const commands = {
|
|
25
|
+
GetApplicationComponentDetailsCommand,
|
|
26
|
+
GetApplicationComponentStrategiesCommand,
|
|
27
|
+
GetAssessmentCommand,
|
|
28
|
+
GetImportFileTaskCommand,
|
|
29
|
+
GetLatestAssessmentIdCommand,
|
|
30
|
+
GetPortfolioPreferencesCommand,
|
|
31
|
+
GetPortfolioSummaryCommand,
|
|
32
|
+
GetRecommendationReportDetailsCommand,
|
|
33
|
+
GetServerDetailsCommand,
|
|
34
|
+
GetServerStrategiesCommand,
|
|
35
|
+
ListApplicationComponentsCommand,
|
|
36
|
+
ListCollectorsCommand,
|
|
37
|
+
ListImportFileTaskCommand,
|
|
38
|
+
ListServersCommand,
|
|
39
|
+
PutPortfolioPreferencesCommand,
|
|
40
|
+
StartAssessmentCommand,
|
|
41
|
+
StartImportFileTaskCommand,
|
|
42
|
+
StartRecommendationReportGenerationCommand,
|
|
43
|
+
StopAssessmentCommand,
|
|
44
|
+
UpdateApplicationComponentConfigCommand,
|
|
45
|
+
UpdateServerConfigCommand,
|
|
46
|
+
};
|
|
23
47
|
export class MigrationHubStrategy extends MigrationHubStrategyClient {
|
|
24
|
-
getApplicationComponentDetails(args, optionsOrCb, cb) {
|
|
25
|
-
const command = new GetApplicationComponentDetailsCommand(args);
|
|
26
|
-
if (typeof optionsOrCb === "function") {
|
|
27
|
-
this.send(command, optionsOrCb);
|
|
28
|
-
}
|
|
29
|
-
else if (typeof cb === "function") {
|
|
30
|
-
if (typeof optionsOrCb !== "object")
|
|
31
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
32
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
return this.send(command, optionsOrCb);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
getApplicationComponentStrategies(args, optionsOrCb, cb) {
|
|
39
|
-
const command = new GetApplicationComponentStrategiesCommand(args);
|
|
40
|
-
if (typeof optionsOrCb === "function") {
|
|
41
|
-
this.send(command, optionsOrCb);
|
|
42
|
-
}
|
|
43
|
-
else if (typeof cb === "function") {
|
|
44
|
-
if (typeof optionsOrCb !== "object")
|
|
45
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
46
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
return this.send(command, optionsOrCb);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
getAssessment(args, optionsOrCb, cb) {
|
|
53
|
-
const command = new GetAssessmentCommand(args);
|
|
54
|
-
if (typeof optionsOrCb === "function") {
|
|
55
|
-
this.send(command, optionsOrCb);
|
|
56
|
-
}
|
|
57
|
-
else if (typeof cb === "function") {
|
|
58
|
-
if (typeof optionsOrCb !== "object")
|
|
59
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
60
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
return this.send(command, optionsOrCb);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
getImportFileTask(args, optionsOrCb, cb) {
|
|
67
|
-
const command = new GetImportFileTaskCommand(args);
|
|
68
|
-
if (typeof optionsOrCb === "function") {
|
|
69
|
-
this.send(command, optionsOrCb);
|
|
70
|
-
}
|
|
71
|
-
else if (typeof cb === "function") {
|
|
72
|
-
if (typeof optionsOrCb !== "object")
|
|
73
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
74
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
return this.send(command, optionsOrCb);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
getLatestAssessmentId(args, optionsOrCb, cb) {
|
|
81
|
-
const command = new GetLatestAssessmentIdCommand(args);
|
|
82
|
-
if (typeof optionsOrCb === "function") {
|
|
83
|
-
this.send(command, optionsOrCb);
|
|
84
|
-
}
|
|
85
|
-
else if (typeof cb === "function") {
|
|
86
|
-
if (typeof optionsOrCb !== "object")
|
|
87
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
88
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
89
|
-
}
|
|
90
|
-
else {
|
|
91
|
-
return this.send(command, optionsOrCb);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
getPortfolioPreferences(args, optionsOrCb, cb) {
|
|
95
|
-
const command = new GetPortfolioPreferencesCommand(args);
|
|
96
|
-
if (typeof optionsOrCb === "function") {
|
|
97
|
-
this.send(command, optionsOrCb);
|
|
98
|
-
}
|
|
99
|
-
else if (typeof cb === "function") {
|
|
100
|
-
if (typeof optionsOrCb !== "object")
|
|
101
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
102
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
103
|
-
}
|
|
104
|
-
else {
|
|
105
|
-
return this.send(command, optionsOrCb);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
getPortfolioSummary(args, optionsOrCb, cb) {
|
|
109
|
-
const command = new GetPortfolioSummaryCommand(args);
|
|
110
|
-
if (typeof optionsOrCb === "function") {
|
|
111
|
-
this.send(command, optionsOrCb);
|
|
112
|
-
}
|
|
113
|
-
else if (typeof cb === "function") {
|
|
114
|
-
if (typeof optionsOrCb !== "object")
|
|
115
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
116
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
return this.send(command, optionsOrCb);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
getRecommendationReportDetails(args, optionsOrCb, cb) {
|
|
123
|
-
const command = new GetRecommendationReportDetailsCommand(args);
|
|
124
|
-
if (typeof optionsOrCb === "function") {
|
|
125
|
-
this.send(command, optionsOrCb);
|
|
126
|
-
}
|
|
127
|
-
else if (typeof cb === "function") {
|
|
128
|
-
if (typeof optionsOrCb !== "object")
|
|
129
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
130
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
131
|
-
}
|
|
132
|
-
else {
|
|
133
|
-
return this.send(command, optionsOrCb);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
getServerDetails(args, optionsOrCb, cb) {
|
|
137
|
-
const command = new GetServerDetailsCommand(args);
|
|
138
|
-
if (typeof optionsOrCb === "function") {
|
|
139
|
-
this.send(command, optionsOrCb);
|
|
140
|
-
}
|
|
141
|
-
else if (typeof cb === "function") {
|
|
142
|
-
if (typeof optionsOrCb !== "object")
|
|
143
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
144
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
145
|
-
}
|
|
146
|
-
else {
|
|
147
|
-
return this.send(command, optionsOrCb);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
getServerStrategies(args, optionsOrCb, cb) {
|
|
151
|
-
const command = new GetServerStrategiesCommand(args);
|
|
152
|
-
if (typeof optionsOrCb === "function") {
|
|
153
|
-
this.send(command, optionsOrCb);
|
|
154
|
-
}
|
|
155
|
-
else if (typeof cb === "function") {
|
|
156
|
-
if (typeof optionsOrCb !== "object")
|
|
157
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
158
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
159
|
-
}
|
|
160
|
-
else {
|
|
161
|
-
return this.send(command, optionsOrCb);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
listApplicationComponents(args, optionsOrCb, cb) {
|
|
165
|
-
const command = new ListApplicationComponentsCommand(args);
|
|
166
|
-
if (typeof optionsOrCb === "function") {
|
|
167
|
-
this.send(command, optionsOrCb);
|
|
168
|
-
}
|
|
169
|
-
else if (typeof cb === "function") {
|
|
170
|
-
if (typeof optionsOrCb !== "object")
|
|
171
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
172
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
173
|
-
}
|
|
174
|
-
else {
|
|
175
|
-
return this.send(command, optionsOrCb);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
listCollectors(args, optionsOrCb, cb) {
|
|
179
|
-
const command = new ListCollectorsCommand(args);
|
|
180
|
-
if (typeof optionsOrCb === "function") {
|
|
181
|
-
this.send(command, optionsOrCb);
|
|
182
|
-
}
|
|
183
|
-
else if (typeof cb === "function") {
|
|
184
|
-
if (typeof optionsOrCb !== "object")
|
|
185
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
186
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
187
|
-
}
|
|
188
|
-
else {
|
|
189
|
-
return this.send(command, optionsOrCb);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
listImportFileTask(args, optionsOrCb, cb) {
|
|
193
|
-
const command = new ListImportFileTaskCommand(args);
|
|
194
|
-
if (typeof optionsOrCb === "function") {
|
|
195
|
-
this.send(command, optionsOrCb);
|
|
196
|
-
}
|
|
197
|
-
else if (typeof cb === "function") {
|
|
198
|
-
if (typeof optionsOrCb !== "object")
|
|
199
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
200
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
201
|
-
}
|
|
202
|
-
else {
|
|
203
|
-
return this.send(command, optionsOrCb);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
listServers(args, optionsOrCb, cb) {
|
|
207
|
-
const command = new ListServersCommand(args);
|
|
208
|
-
if (typeof optionsOrCb === "function") {
|
|
209
|
-
this.send(command, optionsOrCb);
|
|
210
|
-
}
|
|
211
|
-
else if (typeof cb === "function") {
|
|
212
|
-
if (typeof optionsOrCb !== "object")
|
|
213
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
214
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
215
|
-
}
|
|
216
|
-
else {
|
|
217
|
-
return this.send(command, optionsOrCb);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
putPortfolioPreferences(args, optionsOrCb, cb) {
|
|
221
|
-
const command = new PutPortfolioPreferencesCommand(args);
|
|
222
|
-
if (typeof optionsOrCb === "function") {
|
|
223
|
-
this.send(command, optionsOrCb);
|
|
224
|
-
}
|
|
225
|
-
else if (typeof cb === "function") {
|
|
226
|
-
if (typeof optionsOrCb !== "object")
|
|
227
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
228
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
229
|
-
}
|
|
230
|
-
else {
|
|
231
|
-
return this.send(command, optionsOrCb);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
startAssessment(args, optionsOrCb, cb) {
|
|
235
|
-
const command = new StartAssessmentCommand(args);
|
|
236
|
-
if (typeof optionsOrCb === "function") {
|
|
237
|
-
this.send(command, optionsOrCb);
|
|
238
|
-
}
|
|
239
|
-
else if (typeof cb === "function") {
|
|
240
|
-
if (typeof optionsOrCb !== "object")
|
|
241
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
242
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
243
|
-
}
|
|
244
|
-
else {
|
|
245
|
-
return this.send(command, optionsOrCb);
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
startImportFileTask(args, optionsOrCb, cb) {
|
|
249
|
-
const command = new StartImportFileTaskCommand(args);
|
|
250
|
-
if (typeof optionsOrCb === "function") {
|
|
251
|
-
this.send(command, optionsOrCb);
|
|
252
|
-
}
|
|
253
|
-
else if (typeof cb === "function") {
|
|
254
|
-
if (typeof optionsOrCb !== "object")
|
|
255
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
256
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
257
|
-
}
|
|
258
|
-
else {
|
|
259
|
-
return this.send(command, optionsOrCb);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
startRecommendationReportGeneration(args, optionsOrCb, cb) {
|
|
263
|
-
const command = new StartRecommendationReportGenerationCommand(args);
|
|
264
|
-
if (typeof optionsOrCb === "function") {
|
|
265
|
-
this.send(command, optionsOrCb);
|
|
266
|
-
}
|
|
267
|
-
else if (typeof cb === "function") {
|
|
268
|
-
if (typeof optionsOrCb !== "object")
|
|
269
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
270
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
271
|
-
}
|
|
272
|
-
else {
|
|
273
|
-
return this.send(command, optionsOrCb);
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
stopAssessment(args, optionsOrCb, cb) {
|
|
277
|
-
const command = new StopAssessmentCommand(args);
|
|
278
|
-
if (typeof optionsOrCb === "function") {
|
|
279
|
-
this.send(command, optionsOrCb);
|
|
280
|
-
}
|
|
281
|
-
else if (typeof cb === "function") {
|
|
282
|
-
if (typeof optionsOrCb !== "object")
|
|
283
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
284
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
285
|
-
}
|
|
286
|
-
else {
|
|
287
|
-
return this.send(command, optionsOrCb);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
updateApplicationComponentConfig(args, optionsOrCb, cb) {
|
|
291
|
-
const command = new UpdateApplicationComponentConfigCommand(args);
|
|
292
|
-
if (typeof optionsOrCb === "function") {
|
|
293
|
-
this.send(command, optionsOrCb);
|
|
294
|
-
}
|
|
295
|
-
else if (typeof cb === "function") {
|
|
296
|
-
if (typeof optionsOrCb !== "object")
|
|
297
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
298
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
299
|
-
}
|
|
300
|
-
else {
|
|
301
|
-
return this.send(command, optionsOrCb);
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
updateServerConfig(args, optionsOrCb, cb) {
|
|
305
|
-
const command = new UpdateServerConfigCommand(args);
|
|
306
|
-
if (typeof optionsOrCb === "function") {
|
|
307
|
-
this.send(command, optionsOrCb);
|
|
308
|
-
}
|
|
309
|
-
else if (typeof cb === "function") {
|
|
310
|
-
if (typeof optionsOrCb !== "object")
|
|
311
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
312
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
313
|
-
}
|
|
314
|
-
else {
|
|
315
|
-
return this.send(command, optionsOrCb);
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
48
|
}
|
|
49
|
+
createAggregatedClient(commands, MigrationHubStrategy);
|
|
@@ -21,163 +21,142 @@ import { StopAssessmentCommandInput, StopAssessmentCommandOutput } from "./comma
|
|
|
21
21
|
import { UpdateApplicationComponentConfigCommandInput, UpdateApplicationComponentConfigCommandOutput } from "./commands/UpdateApplicationComponentConfigCommand";
|
|
22
22
|
import { UpdateServerConfigCommandInput, UpdateServerConfigCommandOutput } from "./commands/UpdateServerConfigCommand";
|
|
23
23
|
import { MigrationHubStrategyClient } from "./MigrationHubStrategyClient";
|
|
24
|
-
|
|
25
|
-
* @public
|
|
26
|
-
* <fullname>Migration Hub Strategy Recommendations</fullname>
|
|
27
|
-
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
28
|
-
* actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API
|
|
29
|
-
* request parameters and the response. Alternatively, you can use one of the AWS SDKs to
|
|
30
|
-
* access an API that is tailored to the programming language or platform that you're using. For
|
|
31
|
-
* more information, see <a href="http://aws.amazon.com/tools/#SDKs">AWS SDKs</a>.</p>
|
|
32
|
-
*/
|
|
33
|
-
export declare class MigrationHubStrategy extends MigrationHubStrategyClient {
|
|
24
|
+
export interface MigrationHubStrategy {
|
|
34
25
|
/**
|
|
35
|
-
* @
|
|
36
|
-
* <p> Retrieves details about an application component. </p>
|
|
26
|
+
* @see {@link GetApplicationComponentDetailsCommand}
|
|
37
27
|
*/
|
|
38
28
|
getApplicationComponentDetails(args: GetApplicationComponentDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationComponentDetailsCommandOutput>;
|
|
39
29
|
getApplicationComponentDetails(args: GetApplicationComponentDetailsCommandInput, cb: (err: any, data?: GetApplicationComponentDetailsCommandOutput) => void): void;
|
|
40
30
|
getApplicationComponentDetails(args: GetApplicationComponentDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationComponentDetailsCommandOutput) => void): void;
|
|
41
31
|
/**
|
|
42
|
-
* @
|
|
43
|
-
* <p> Retrieves a list of all the recommended strategies and tools for an application component
|
|
44
|
-
* running on a server. </p>
|
|
32
|
+
* @see {@link GetApplicationComponentStrategiesCommand}
|
|
45
33
|
*/
|
|
46
34
|
getApplicationComponentStrategies(args: GetApplicationComponentStrategiesCommandInput, options?: __HttpHandlerOptions): Promise<GetApplicationComponentStrategiesCommandOutput>;
|
|
47
35
|
getApplicationComponentStrategies(args: GetApplicationComponentStrategiesCommandInput, cb: (err: any, data?: GetApplicationComponentStrategiesCommandOutput) => void): void;
|
|
48
36
|
getApplicationComponentStrategies(args: GetApplicationComponentStrategiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApplicationComponentStrategiesCommandOutput) => void): void;
|
|
49
37
|
/**
|
|
50
|
-
* @
|
|
51
|
-
* <p> Retrieves the status of an on-going assessment. </p>
|
|
38
|
+
* @see {@link GetAssessmentCommand}
|
|
52
39
|
*/
|
|
53
40
|
getAssessment(args: GetAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<GetAssessmentCommandOutput>;
|
|
54
41
|
getAssessment(args: GetAssessmentCommandInput, cb: (err: any, data?: GetAssessmentCommandOutput) => void): void;
|
|
55
42
|
getAssessment(args: GetAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssessmentCommandOutput) => void): void;
|
|
56
43
|
/**
|
|
57
|
-
* @
|
|
58
|
-
* <p> Retrieves the details about a specific import task. </p>
|
|
44
|
+
* @see {@link GetImportFileTaskCommand}
|
|
59
45
|
*/
|
|
60
46
|
getImportFileTask(args: GetImportFileTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetImportFileTaskCommandOutput>;
|
|
61
47
|
getImportFileTask(args: GetImportFileTaskCommandInput, cb: (err: any, data?: GetImportFileTaskCommandOutput) => void): void;
|
|
62
48
|
getImportFileTask(args: GetImportFileTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetImportFileTaskCommandOutput) => void): void;
|
|
63
49
|
/**
|
|
64
|
-
* @
|
|
65
|
-
* <p>Retrieve the latest ID of a specific assessment task.</p>
|
|
50
|
+
* @see {@link GetLatestAssessmentIdCommand}
|
|
66
51
|
*/
|
|
67
52
|
getLatestAssessmentId(args: GetLatestAssessmentIdCommandInput, options?: __HttpHandlerOptions): Promise<GetLatestAssessmentIdCommandOutput>;
|
|
68
53
|
getLatestAssessmentId(args: GetLatestAssessmentIdCommandInput, cb: (err: any, data?: GetLatestAssessmentIdCommandOutput) => void): void;
|
|
69
54
|
getLatestAssessmentId(args: GetLatestAssessmentIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLatestAssessmentIdCommandOutput) => void): void;
|
|
70
55
|
/**
|
|
71
|
-
* @
|
|
72
|
-
* <p> Retrieves your migration and modernization preferences. </p>
|
|
56
|
+
* @see {@link GetPortfolioPreferencesCommand}
|
|
73
57
|
*/
|
|
74
58
|
getPortfolioPreferences(args: GetPortfolioPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<GetPortfolioPreferencesCommandOutput>;
|
|
75
59
|
getPortfolioPreferences(args: GetPortfolioPreferencesCommandInput, cb: (err: any, data?: GetPortfolioPreferencesCommandOutput) => void): void;
|
|
76
60
|
getPortfolioPreferences(args: GetPortfolioPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPortfolioPreferencesCommandOutput) => void): void;
|
|
77
61
|
/**
|
|
78
|
-
* @
|
|
79
|
-
* <p> Retrieves overall summary including the number of servers to rehost and the overall
|
|
80
|
-
* number of anti-patterns. </p>
|
|
62
|
+
* @see {@link GetPortfolioSummaryCommand}
|
|
81
63
|
*/
|
|
82
64
|
getPortfolioSummary(args: GetPortfolioSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetPortfolioSummaryCommandOutput>;
|
|
83
65
|
getPortfolioSummary(args: GetPortfolioSummaryCommandInput, cb: (err: any, data?: GetPortfolioSummaryCommandOutput) => void): void;
|
|
84
66
|
getPortfolioSummary(args: GetPortfolioSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPortfolioSummaryCommandOutput) => void): void;
|
|
85
67
|
/**
|
|
86
|
-
* @
|
|
87
|
-
* <p> Retrieves detailed information about the specified recommendation report. </p>
|
|
68
|
+
* @see {@link GetRecommendationReportDetailsCommand}
|
|
88
69
|
*/
|
|
89
70
|
getRecommendationReportDetails(args: GetRecommendationReportDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetRecommendationReportDetailsCommandOutput>;
|
|
90
71
|
getRecommendationReportDetails(args: GetRecommendationReportDetailsCommandInput, cb: (err: any, data?: GetRecommendationReportDetailsCommandOutput) => void): void;
|
|
91
72
|
getRecommendationReportDetails(args: GetRecommendationReportDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecommendationReportDetailsCommandOutput) => void): void;
|
|
92
73
|
/**
|
|
93
|
-
* @
|
|
94
|
-
* <p> Retrieves detailed information about a specified server. </p>
|
|
74
|
+
* @see {@link GetServerDetailsCommand}
|
|
95
75
|
*/
|
|
96
76
|
getServerDetails(args: GetServerDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetServerDetailsCommandOutput>;
|
|
97
77
|
getServerDetails(args: GetServerDetailsCommandInput, cb: (err: any, data?: GetServerDetailsCommandOutput) => void): void;
|
|
98
78
|
getServerDetails(args: GetServerDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServerDetailsCommandOutput) => void): void;
|
|
99
79
|
/**
|
|
100
|
-
* @
|
|
101
|
-
* <p> Retrieves recommended strategies and tools for the specified server. </p>
|
|
80
|
+
* @see {@link GetServerStrategiesCommand}
|
|
102
81
|
*/
|
|
103
82
|
getServerStrategies(args: GetServerStrategiesCommandInput, options?: __HttpHandlerOptions): Promise<GetServerStrategiesCommandOutput>;
|
|
104
83
|
getServerStrategies(args: GetServerStrategiesCommandInput, cb: (err: any, data?: GetServerStrategiesCommandOutput) => void): void;
|
|
105
84
|
getServerStrategies(args: GetServerStrategiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServerStrategiesCommandOutput) => void): void;
|
|
106
85
|
/**
|
|
107
|
-
* @
|
|
108
|
-
* <p> Retrieves a list of all the application components (processes). </p>
|
|
86
|
+
* @see {@link ListApplicationComponentsCommand}
|
|
109
87
|
*/
|
|
110
88
|
listApplicationComponents(args: ListApplicationComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationComponentsCommandOutput>;
|
|
111
89
|
listApplicationComponents(args: ListApplicationComponentsCommandInput, cb: (err: any, data?: ListApplicationComponentsCommandOutput) => void): void;
|
|
112
90
|
listApplicationComponents(args: ListApplicationComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationComponentsCommandOutput) => void): void;
|
|
113
91
|
/**
|
|
114
|
-
* @
|
|
115
|
-
* <p> Retrieves a list of all the installed collectors. </p>
|
|
92
|
+
* @see {@link ListCollectorsCommand}
|
|
116
93
|
*/
|
|
117
94
|
listCollectors(args: ListCollectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListCollectorsCommandOutput>;
|
|
118
95
|
listCollectors(args: ListCollectorsCommandInput, cb: (err: any, data?: ListCollectorsCommandOutput) => void): void;
|
|
119
96
|
listCollectors(args: ListCollectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCollectorsCommandOutput) => void): void;
|
|
120
97
|
/**
|
|
121
|
-
* @
|
|
122
|
-
* <p> Retrieves a list of all the imports performed. </p>
|
|
98
|
+
* @see {@link ListImportFileTaskCommand}
|
|
123
99
|
*/
|
|
124
100
|
listImportFileTask(args: ListImportFileTaskCommandInput, options?: __HttpHandlerOptions): Promise<ListImportFileTaskCommandOutput>;
|
|
125
101
|
listImportFileTask(args: ListImportFileTaskCommandInput, cb: (err: any, data?: ListImportFileTaskCommandOutput) => void): void;
|
|
126
102
|
listImportFileTask(args: ListImportFileTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportFileTaskCommandOutput) => void): void;
|
|
127
103
|
/**
|
|
128
|
-
* @
|
|
129
|
-
* <p> Returns a list of all the servers. </p>
|
|
104
|
+
* @see {@link ListServersCommand}
|
|
130
105
|
*/
|
|
131
106
|
listServers(args: ListServersCommandInput, options?: __HttpHandlerOptions): Promise<ListServersCommandOutput>;
|
|
132
107
|
listServers(args: ListServersCommandInput, cb: (err: any, data?: ListServersCommandOutput) => void): void;
|
|
133
108
|
listServers(args: ListServersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServersCommandOutput) => void): void;
|
|
134
109
|
/**
|
|
135
|
-
* @
|
|
136
|
-
* <p> Saves the specified migration and modernization preferences. </p>
|
|
110
|
+
* @see {@link PutPortfolioPreferencesCommand}
|
|
137
111
|
*/
|
|
138
112
|
putPortfolioPreferences(args: PutPortfolioPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<PutPortfolioPreferencesCommandOutput>;
|
|
139
113
|
putPortfolioPreferences(args: PutPortfolioPreferencesCommandInput, cb: (err: any, data?: PutPortfolioPreferencesCommandOutput) => void): void;
|
|
140
114
|
putPortfolioPreferences(args: PutPortfolioPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPortfolioPreferencesCommandOutput) => void): void;
|
|
141
115
|
/**
|
|
142
|
-
* @
|
|
143
|
-
* <p> Starts the assessment of an on-premises environment. </p>
|
|
116
|
+
* @see {@link StartAssessmentCommand}
|
|
144
117
|
*/
|
|
145
118
|
startAssessment(args: StartAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<StartAssessmentCommandOutput>;
|
|
146
119
|
startAssessment(args: StartAssessmentCommandInput, cb: (err: any, data?: StartAssessmentCommandOutput) => void): void;
|
|
147
120
|
startAssessment(args: StartAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAssessmentCommandOutput) => void): void;
|
|
148
121
|
/**
|
|
149
|
-
* @
|
|
150
|
-
* <p> Starts a file import. </p>
|
|
122
|
+
* @see {@link StartImportFileTaskCommand}
|
|
151
123
|
*/
|
|
152
124
|
startImportFileTask(args: StartImportFileTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartImportFileTaskCommandOutput>;
|
|
153
125
|
startImportFileTask(args: StartImportFileTaskCommandInput, cb: (err: any, data?: StartImportFileTaskCommandOutput) => void): void;
|
|
154
126
|
startImportFileTask(args: StartImportFileTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImportFileTaskCommandOutput) => void): void;
|
|
155
127
|
/**
|
|
156
|
-
* @
|
|
157
|
-
* <p> Starts generating a recommendation report. </p>
|
|
128
|
+
* @see {@link StartRecommendationReportGenerationCommand}
|
|
158
129
|
*/
|
|
159
130
|
startRecommendationReportGeneration(args: StartRecommendationReportGenerationCommandInput, options?: __HttpHandlerOptions): Promise<StartRecommendationReportGenerationCommandOutput>;
|
|
160
131
|
startRecommendationReportGeneration(args: StartRecommendationReportGenerationCommandInput, cb: (err: any, data?: StartRecommendationReportGenerationCommandOutput) => void): void;
|
|
161
132
|
startRecommendationReportGeneration(args: StartRecommendationReportGenerationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRecommendationReportGenerationCommandOutput) => void): void;
|
|
162
133
|
/**
|
|
163
|
-
* @
|
|
164
|
-
* <p> Stops the assessment of an on-premises environment. </p>
|
|
134
|
+
* @see {@link StopAssessmentCommand}
|
|
165
135
|
*/
|
|
166
136
|
stopAssessment(args: StopAssessmentCommandInput, options?: __HttpHandlerOptions): Promise<StopAssessmentCommandOutput>;
|
|
167
137
|
stopAssessment(args: StopAssessmentCommandInput, cb: (err: any, data?: StopAssessmentCommandOutput) => void): void;
|
|
168
138
|
stopAssessment(args: StopAssessmentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAssessmentCommandOutput) => void): void;
|
|
169
139
|
/**
|
|
170
|
-
* @
|
|
171
|
-
* <p> Updates the configuration of an application component. </p>
|
|
140
|
+
* @see {@link UpdateApplicationComponentConfigCommand}
|
|
172
141
|
*/
|
|
173
142
|
updateApplicationComponentConfig(args: UpdateApplicationComponentConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApplicationComponentConfigCommandOutput>;
|
|
174
143
|
updateApplicationComponentConfig(args: UpdateApplicationComponentConfigCommandInput, cb: (err: any, data?: UpdateApplicationComponentConfigCommandOutput) => void): void;
|
|
175
144
|
updateApplicationComponentConfig(args: UpdateApplicationComponentConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApplicationComponentConfigCommandOutput) => void): void;
|
|
176
145
|
/**
|
|
177
|
-
* @
|
|
178
|
-
* <p> Updates the configuration of the specified server. </p>
|
|
146
|
+
* @see {@link UpdateServerConfigCommand}
|
|
179
147
|
*/
|
|
180
148
|
updateServerConfig(args: UpdateServerConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServerConfigCommandOutput>;
|
|
181
149
|
updateServerConfig(args: UpdateServerConfigCommandInput, cb: (err: any, data?: UpdateServerConfigCommandOutput) => void): void;
|
|
182
150
|
updateServerConfig(args: UpdateServerConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServerConfigCommandOutput) => void): void;
|
|
183
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
* <fullname>Migration Hub Strategy Recommendations</fullname>
|
|
155
|
+
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
156
|
+
* actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API
|
|
157
|
+
* request parameters and the response. Alternatively, you can use one of the AWS SDKs to
|
|
158
|
+
* access an API that is tailored to the programming language or platform that you're using. For
|
|
159
|
+
* more information, see <a href="http://aws.amazon.com/tools/#SDKs">AWS SDKs</a>.</p>
|
|
160
|
+
*/
|
|
161
|
+
export declare class MigrationHubStrategy extends MigrationHubStrategyClient implements MigrationHubStrategy {
|
|
162
|
+
}
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
UpdateServerConfigCommandOutput,
|
|
85
85
|
} from "./commands/UpdateServerConfigCommand";
|
|
86
86
|
import { MigrationHubStrategyClient } from "./MigrationHubStrategyClient";
|
|
87
|
-
export
|
|
87
|
+
export interface MigrationHubStrategy {
|
|
88
88
|
getApplicationComponentDetails(
|
|
89
89
|
args: GetApplicationComponentDetailsCommandInput,
|
|
90
90
|
options?: __HttpHandlerOptions
|
|
@@ -371,3 +371,6 @@ export declare class MigrationHubStrategy extends MigrationHubStrategyClient {
|
|
|
371
371
|
cb: (err: any, data?: UpdateServerConfigCommandOutput) => void
|
|
372
372
|
): void;
|
|
373
373
|
}
|
|
374
|
+
export declare class MigrationHubStrategy
|
|
375
|
+
extends MigrationHubStrategyClient
|
|
376
|
+
implements MigrationHubStrategy {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-migrationhubstrategy",
|
|
3
3
|
"description": "AWS SDK for JavaScript Migrationhubstrategy Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.319.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|