@aws-sdk/client-migrationhuborchestrator 3.315.0 → 3.316.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.MigrationHubOrchestrator = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CreateWorkflowCommand_1 = require("./commands/CreateWorkflowCommand");
|
|
5
6
|
const CreateWorkflowStepCommand_1 = require("./commands/CreateWorkflowStepCommand");
|
|
6
7
|
const CreateWorkflowStepGroupCommand_1 = require("./commands/CreateWorkflowStepGroupCommand");
|
|
@@ -30,398 +31,37 @@ const UpdateWorkflowCommand_1 = require("./commands/UpdateWorkflowCommand");
|
|
|
30
31
|
const UpdateWorkflowStepCommand_1 = require("./commands/UpdateWorkflowStepCommand");
|
|
31
32
|
const UpdateWorkflowStepGroupCommand_1 = require("./commands/UpdateWorkflowStepGroupCommand");
|
|
32
33
|
const MigrationHubOrchestratorClient_1 = require("./MigrationHubOrchestratorClient");
|
|
34
|
+
const commands = {
|
|
35
|
+
CreateWorkflowCommand: CreateWorkflowCommand_1.CreateWorkflowCommand,
|
|
36
|
+
CreateWorkflowStepCommand: CreateWorkflowStepCommand_1.CreateWorkflowStepCommand,
|
|
37
|
+
CreateWorkflowStepGroupCommand: CreateWorkflowStepGroupCommand_1.CreateWorkflowStepGroupCommand,
|
|
38
|
+
DeleteWorkflowCommand: DeleteWorkflowCommand_1.DeleteWorkflowCommand,
|
|
39
|
+
DeleteWorkflowStepCommand: DeleteWorkflowStepCommand_1.DeleteWorkflowStepCommand,
|
|
40
|
+
DeleteWorkflowStepGroupCommand: DeleteWorkflowStepGroupCommand_1.DeleteWorkflowStepGroupCommand,
|
|
41
|
+
GetTemplateCommand: GetTemplateCommand_1.GetTemplateCommand,
|
|
42
|
+
GetTemplateStepCommand: GetTemplateStepCommand_1.GetTemplateStepCommand,
|
|
43
|
+
GetTemplateStepGroupCommand: GetTemplateStepGroupCommand_1.GetTemplateStepGroupCommand,
|
|
44
|
+
GetWorkflowCommand: GetWorkflowCommand_1.GetWorkflowCommand,
|
|
45
|
+
GetWorkflowStepCommand: GetWorkflowStepCommand_1.GetWorkflowStepCommand,
|
|
46
|
+
GetWorkflowStepGroupCommand: GetWorkflowStepGroupCommand_1.GetWorkflowStepGroupCommand,
|
|
47
|
+
ListPluginsCommand: ListPluginsCommand_1.ListPluginsCommand,
|
|
48
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
49
|
+
ListTemplatesCommand: ListTemplatesCommand_1.ListTemplatesCommand,
|
|
50
|
+
ListTemplateStepGroupsCommand: ListTemplateStepGroupsCommand_1.ListTemplateStepGroupsCommand,
|
|
51
|
+
ListTemplateStepsCommand: ListTemplateStepsCommand_1.ListTemplateStepsCommand,
|
|
52
|
+
ListWorkflowsCommand: ListWorkflowsCommand_1.ListWorkflowsCommand,
|
|
53
|
+
ListWorkflowStepGroupsCommand: ListWorkflowStepGroupsCommand_1.ListWorkflowStepGroupsCommand,
|
|
54
|
+
ListWorkflowStepsCommand: ListWorkflowStepsCommand_1.ListWorkflowStepsCommand,
|
|
55
|
+
RetryWorkflowStepCommand: RetryWorkflowStepCommand_1.RetryWorkflowStepCommand,
|
|
56
|
+
StartWorkflowCommand: StartWorkflowCommand_1.StartWorkflowCommand,
|
|
57
|
+
StopWorkflowCommand: StopWorkflowCommand_1.StopWorkflowCommand,
|
|
58
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
59
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
60
|
+
UpdateWorkflowCommand: UpdateWorkflowCommand_1.UpdateWorkflowCommand,
|
|
61
|
+
UpdateWorkflowStepCommand: UpdateWorkflowStepCommand_1.UpdateWorkflowStepCommand,
|
|
62
|
+
UpdateWorkflowStepGroupCommand: UpdateWorkflowStepGroupCommand_1.UpdateWorkflowStepGroupCommand,
|
|
63
|
+
};
|
|
33
64
|
class MigrationHubOrchestrator extends MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient {
|
|
34
|
-
createWorkflow(args, optionsOrCb, cb) {
|
|
35
|
-
const command = new CreateWorkflowCommand_1.CreateWorkflowCommand(args);
|
|
36
|
-
if (typeof optionsOrCb === "function") {
|
|
37
|
-
this.send(command, optionsOrCb);
|
|
38
|
-
}
|
|
39
|
-
else if (typeof cb === "function") {
|
|
40
|
-
if (typeof optionsOrCb !== "object")
|
|
41
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
42
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
return this.send(command, optionsOrCb);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
createWorkflowStep(args, optionsOrCb, cb) {
|
|
49
|
-
const command = new CreateWorkflowStepCommand_1.CreateWorkflowStepCommand(args);
|
|
50
|
-
if (typeof optionsOrCb === "function") {
|
|
51
|
-
this.send(command, optionsOrCb);
|
|
52
|
-
}
|
|
53
|
-
else if (typeof cb === "function") {
|
|
54
|
-
if (typeof optionsOrCb !== "object")
|
|
55
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
56
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
return this.send(command, optionsOrCb);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
createWorkflowStepGroup(args, optionsOrCb, cb) {
|
|
63
|
-
const command = new CreateWorkflowStepGroupCommand_1.CreateWorkflowStepGroupCommand(args);
|
|
64
|
-
if (typeof optionsOrCb === "function") {
|
|
65
|
-
this.send(command, optionsOrCb);
|
|
66
|
-
}
|
|
67
|
-
else if (typeof cb === "function") {
|
|
68
|
-
if (typeof optionsOrCb !== "object")
|
|
69
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
70
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
return this.send(command, optionsOrCb);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
deleteWorkflow(args, optionsOrCb, cb) {
|
|
77
|
-
const command = new DeleteWorkflowCommand_1.DeleteWorkflowCommand(args);
|
|
78
|
-
if (typeof optionsOrCb === "function") {
|
|
79
|
-
this.send(command, optionsOrCb);
|
|
80
|
-
}
|
|
81
|
-
else if (typeof cb === "function") {
|
|
82
|
-
if (typeof optionsOrCb !== "object")
|
|
83
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
84
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
87
|
-
return this.send(command, optionsOrCb);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
deleteWorkflowStep(args, optionsOrCb, cb) {
|
|
91
|
-
const command = new DeleteWorkflowStepCommand_1.DeleteWorkflowStepCommand(args);
|
|
92
|
-
if (typeof optionsOrCb === "function") {
|
|
93
|
-
this.send(command, optionsOrCb);
|
|
94
|
-
}
|
|
95
|
-
else if (typeof cb === "function") {
|
|
96
|
-
if (typeof optionsOrCb !== "object")
|
|
97
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
98
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
99
|
-
}
|
|
100
|
-
else {
|
|
101
|
-
return this.send(command, optionsOrCb);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
deleteWorkflowStepGroup(args, optionsOrCb, cb) {
|
|
105
|
-
const command = new DeleteWorkflowStepGroupCommand_1.DeleteWorkflowStepGroupCommand(args);
|
|
106
|
-
if (typeof optionsOrCb === "function") {
|
|
107
|
-
this.send(command, optionsOrCb);
|
|
108
|
-
}
|
|
109
|
-
else if (typeof cb === "function") {
|
|
110
|
-
if (typeof optionsOrCb !== "object")
|
|
111
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
112
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
113
|
-
}
|
|
114
|
-
else {
|
|
115
|
-
return this.send(command, optionsOrCb);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
getTemplate(args, optionsOrCb, cb) {
|
|
119
|
-
const command = new GetTemplateCommand_1.GetTemplateCommand(args);
|
|
120
|
-
if (typeof optionsOrCb === "function") {
|
|
121
|
-
this.send(command, optionsOrCb);
|
|
122
|
-
}
|
|
123
|
-
else if (typeof cb === "function") {
|
|
124
|
-
if (typeof optionsOrCb !== "object")
|
|
125
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
126
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
127
|
-
}
|
|
128
|
-
else {
|
|
129
|
-
return this.send(command, optionsOrCb);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
getTemplateStep(args, optionsOrCb, cb) {
|
|
133
|
-
const command = new GetTemplateStepCommand_1.GetTemplateStepCommand(args);
|
|
134
|
-
if (typeof optionsOrCb === "function") {
|
|
135
|
-
this.send(command, optionsOrCb);
|
|
136
|
-
}
|
|
137
|
-
else if (typeof cb === "function") {
|
|
138
|
-
if (typeof optionsOrCb !== "object")
|
|
139
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
140
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
141
|
-
}
|
|
142
|
-
else {
|
|
143
|
-
return this.send(command, optionsOrCb);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
getTemplateStepGroup(args, optionsOrCb, cb) {
|
|
147
|
-
const command = new GetTemplateStepGroupCommand_1.GetTemplateStepGroupCommand(args);
|
|
148
|
-
if (typeof optionsOrCb === "function") {
|
|
149
|
-
this.send(command, optionsOrCb);
|
|
150
|
-
}
|
|
151
|
-
else if (typeof cb === "function") {
|
|
152
|
-
if (typeof optionsOrCb !== "object")
|
|
153
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
154
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
155
|
-
}
|
|
156
|
-
else {
|
|
157
|
-
return this.send(command, optionsOrCb);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
getWorkflow(args, optionsOrCb, cb) {
|
|
161
|
-
const command = new GetWorkflowCommand_1.GetWorkflowCommand(args);
|
|
162
|
-
if (typeof optionsOrCb === "function") {
|
|
163
|
-
this.send(command, optionsOrCb);
|
|
164
|
-
}
|
|
165
|
-
else if (typeof cb === "function") {
|
|
166
|
-
if (typeof optionsOrCb !== "object")
|
|
167
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
168
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
169
|
-
}
|
|
170
|
-
else {
|
|
171
|
-
return this.send(command, optionsOrCb);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
getWorkflowStep(args, optionsOrCb, cb) {
|
|
175
|
-
const command = new GetWorkflowStepCommand_1.GetWorkflowStepCommand(args);
|
|
176
|
-
if (typeof optionsOrCb === "function") {
|
|
177
|
-
this.send(command, optionsOrCb);
|
|
178
|
-
}
|
|
179
|
-
else if (typeof cb === "function") {
|
|
180
|
-
if (typeof optionsOrCb !== "object")
|
|
181
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
182
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
183
|
-
}
|
|
184
|
-
else {
|
|
185
|
-
return this.send(command, optionsOrCb);
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
getWorkflowStepGroup(args, optionsOrCb, cb) {
|
|
189
|
-
const command = new GetWorkflowStepGroupCommand_1.GetWorkflowStepGroupCommand(args);
|
|
190
|
-
if (typeof optionsOrCb === "function") {
|
|
191
|
-
this.send(command, optionsOrCb);
|
|
192
|
-
}
|
|
193
|
-
else if (typeof cb === "function") {
|
|
194
|
-
if (typeof optionsOrCb !== "object")
|
|
195
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
196
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
197
|
-
}
|
|
198
|
-
else {
|
|
199
|
-
return this.send(command, optionsOrCb);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
listPlugins(args, optionsOrCb, cb) {
|
|
203
|
-
const command = new ListPluginsCommand_1.ListPluginsCommand(args);
|
|
204
|
-
if (typeof optionsOrCb === "function") {
|
|
205
|
-
this.send(command, optionsOrCb);
|
|
206
|
-
}
|
|
207
|
-
else if (typeof cb === "function") {
|
|
208
|
-
if (typeof optionsOrCb !== "object")
|
|
209
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
210
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
211
|
-
}
|
|
212
|
-
else {
|
|
213
|
-
return this.send(command, optionsOrCb);
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
217
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
218
|
-
if (typeof optionsOrCb === "function") {
|
|
219
|
-
this.send(command, optionsOrCb);
|
|
220
|
-
}
|
|
221
|
-
else if (typeof cb === "function") {
|
|
222
|
-
if (typeof optionsOrCb !== "object")
|
|
223
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
224
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
225
|
-
}
|
|
226
|
-
else {
|
|
227
|
-
return this.send(command, optionsOrCb);
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
listTemplates(args, optionsOrCb, cb) {
|
|
231
|
-
const command = new ListTemplatesCommand_1.ListTemplatesCommand(args);
|
|
232
|
-
if (typeof optionsOrCb === "function") {
|
|
233
|
-
this.send(command, optionsOrCb);
|
|
234
|
-
}
|
|
235
|
-
else if (typeof cb === "function") {
|
|
236
|
-
if (typeof optionsOrCb !== "object")
|
|
237
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
238
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
239
|
-
}
|
|
240
|
-
else {
|
|
241
|
-
return this.send(command, optionsOrCb);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
listTemplateStepGroups(args, optionsOrCb, cb) {
|
|
245
|
-
const command = new ListTemplateStepGroupsCommand_1.ListTemplateStepGroupsCommand(args);
|
|
246
|
-
if (typeof optionsOrCb === "function") {
|
|
247
|
-
this.send(command, optionsOrCb);
|
|
248
|
-
}
|
|
249
|
-
else if (typeof cb === "function") {
|
|
250
|
-
if (typeof optionsOrCb !== "object")
|
|
251
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
252
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
253
|
-
}
|
|
254
|
-
else {
|
|
255
|
-
return this.send(command, optionsOrCb);
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
listTemplateSteps(args, optionsOrCb, cb) {
|
|
259
|
-
const command = new ListTemplateStepsCommand_1.ListTemplateStepsCommand(args);
|
|
260
|
-
if (typeof optionsOrCb === "function") {
|
|
261
|
-
this.send(command, optionsOrCb);
|
|
262
|
-
}
|
|
263
|
-
else if (typeof cb === "function") {
|
|
264
|
-
if (typeof optionsOrCb !== "object")
|
|
265
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
266
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
267
|
-
}
|
|
268
|
-
else {
|
|
269
|
-
return this.send(command, optionsOrCb);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
listWorkflows(args, optionsOrCb, cb) {
|
|
273
|
-
const command = new ListWorkflowsCommand_1.ListWorkflowsCommand(args);
|
|
274
|
-
if (typeof optionsOrCb === "function") {
|
|
275
|
-
this.send(command, optionsOrCb);
|
|
276
|
-
}
|
|
277
|
-
else if (typeof cb === "function") {
|
|
278
|
-
if (typeof optionsOrCb !== "object")
|
|
279
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
280
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
281
|
-
}
|
|
282
|
-
else {
|
|
283
|
-
return this.send(command, optionsOrCb);
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
listWorkflowStepGroups(args, optionsOrCb, cb) {
|
|
287
|
-
const command = new ListWorkflowStepGroupsCommand_1.ListWorkflowStepGroupsCommand(args);
|
|
288
|
-
if (typeof optionsOrCb === "function") {
|
|
289
|
-
this.send(command, optionsOrCb);
|
|
290
|
-
}
|
|
291
|
-
else if (typeof cb === "function") {
|
|
292
|
-
if (typeof optionsOrCb !== "object")
|
|
293
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
294
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
295
|
-
}
|
|
296
|
-
else {
|
|
297
|
-
return this.send(command, optionsOrCb);
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
listWorkflowSteps(args, optionsOrCb, cb) {
|
|
301
|
-
const command = new ListWorkflowStepsCommand_1.ListWorkflowStepsCommand(args);
|
|
302
|
-
if (typeof optionsOrCb === "function") {
|
|
303
|
-
this.send(command, optionsOrCb);
|
|
304
|
-
}
|
|
305
|
-
else if (typeof cb === "function") {
|
|
306
|
-
if (typeof optionsOrCb !== "object")
|
|
307
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
308
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
309
|
-
}
|
|
310
|
-
else {
|
|
311
|
-
return this.send(command, optionsOrCb);
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
retryWorkflowStep(args, optionsOrCb, cb) {
|
|
315
|
-
const command = new RetryWorkflowStepCommand_1.RetryWorkflowStepCommand(args);
|
|
316
|
-
if (typeof optionsOrCb === "function") {
|
|
317
|
-
this.send(command, optionsOrCb);
|
|
318
|
-
}
|
|
319
|
-
else if (typeof cb === "function") {
|
|
320
|
-
if (typeof optionsOrCb !== "object")
|
|
321
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
322
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
323
|
-
}
|
|
324
|
-
else {
|
|
325
|
-
return this.send(command, optionsOrCb);
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
startWorkflow(args, optionsOrCb, cb) {
|
|
329
|
-
const command = new StartWorkflowCommand_1.StartWorkflowCommand(args);
|
|
330
|
-
if (typeof optionsOrCb === "function") {
|
|
331
|
-
this.send(command, optionsOrCb);
|
|
332
|
-
}
|
|
333
|
-
else if (typeof cb === "function") {
|
|
334
|
-
if (typeof optionsOrCb !== "object")
|
|
335
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
336
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
337
|
-
}
|
|
338
|
-
else {
|
|
339
|
-
return this.send(command, optionsOrCb);
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
stopWorkflow(args, optionsOrCb, cb) {
|
|
343
|
-
const command = new StopWorkflowCommand_1.StopWorkflowCommand(args);
|
|
344
|
-
if (typeof optionsOrCb === "function") {
|
|
345
|
-
this.send(command, optionsOrCb);
|
|
346
|
-
}
|
|
347
|
-
else if (typeof cb === "function") {
|
|
348
|
-
if (typeof optionsOrCb !== "object")
|
|
349
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
350
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
351
|
-
}
|
|
352
|
-
else {
|
|
353
|
-
return this.send(command, optionsOrCb);
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
tagResource(args, optionsOrCb, cb) {
|
|
357
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
358
|
-
if (typeof optionsOrCb === "function") {
|
|
359
|
-
this.send(command, optionsOrCb);
|
|
360
|
-
}
|
|
361
|
-
else if (typeof cb === "function") {
|
|
362
|
-
if (typeof optionsOrCb !== "object")
|
|
363
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
364
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
365
|
-
}
|
|
366
|
-
else {
|
|
367
|
-
return this.send(command, optionsOrCb);
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
untagResource(args, optionsOrCb, cb) {
|
|
371
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
372
|
-
if (typeof optionsOrCb === "function") {
|
|
373
|
-
this.send(command, optionsOrCb);
|
|
374
|
-
}
|
|
375
|
-
else if (typeof cb === "function") {
|
|
376
|
-
if (typeof optionsOrCb !== "object")
|
|
377
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
378
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
379
|
-
}
|
|
380
|
-
else {
|
|
381
|
-
return this.send(command, optionsOrCb);
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
updateWorkflow(args, optionsOrCb, cb) {
|
|
385
|
-
const command = new UpdateWorkflowCommand_1.UpdateWorkflowCommand(args);
|
|
386
|
-
if (typeof optionsOrCb === "function") {
|
|
387
|
-
this.send(command, optionsOrCb);
|
|
388
|
-
}
|
|
389
|
-
else if (typeof cb === "function") {
|
|
390
|
-
if (typeof optionsOrCb !== "object")
|
|
391
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
392
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
393
|
-
}
|
|
394
|
-
else {
|
|
395
|
-
return this.send(command, optionsOrCb);
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
updateWorkflowStep(args, optionsOrCb, cb) {
|
|
399
|
-
const command = new UpdateWorkflowStepCommand_1.UpdateWorkflowStepCommand(args);
|
|
400
|
-
if (typeof optionsOrCb === "function") {
|
|
401
|
-
this.send(command, optionsOrCb);
|
|
402
|
-
}
|
|
403
|
-
else if (typeof cb === "function") {
|
|
404
|
-
if (typeof optionsOrCb !== "object")
|
|
405
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
406
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
407
|
-
}
|
|
408
|
-
else {
|
|
409
|
-
return this.send(command, optionsOrCb);
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
updateWorkflowStepGroup(args, optionsOrCb, cb) {
|
|
413
|
-
const command = new UpdateWorkflowStepGroupCommand_1.UpdateWorkflowStepGroupCommand(args);
|
|
414
|
-
if (typeof optionsOrCb === "function") {
|
|
415
|
-
this.send(command, optionsOrCb);
|
|
416
|
-
}
|
|
417
|
-
else if (typeof cb === "function") {
|
|
418
|
-
if (typeof optionsOrCb !== "object")
|
|
419
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
420
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
421
|
-
}
|
|
422
|
-
else {
|
|
423
|
-
return this.send(command, optionsOrCb);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
65
|
}
|
|
427
66
|
exports.MigrationHubOrchestrator = MigrationHubOrchestrator;
|
|
67
|
+
(0, smithy_client_1.createAggregatedClient)(commands, MigrationHubOrchestrator);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { CreateWorkflowCommand, } from "./commands/CreateWorkflowCommand";
|
|
2
3
|
import { CreateWorkflowStepCommand, } from "./commands/CreateWorkflowStepCommand";
|
|
3
4
|
import { CreateWorkflowStepGroupCommand, } from "./commands/CreateWorkflowStepGroupCommand";
|
|
@@ -27,397 +28,36 @@ import { UpdateWorkflowCommand, } from "./commands/UpdateWorkflowCommand";
|
|
|
27
28
|
import { UpdateWorkflowStepCommand, } from "./commands/UpdateWorkflowStepCommand";
|
|
28
29
|
import { UpdateWorkflowStepGroupCommand, } from "./commands/UpdateWorkflowStepGroupCommand";
|
|
29
30
|
import { MigrationHubOrchestratorClient } from "./MigrationHubOrchestratorClient";
|
|
31
|
+
const commands = {
|
|
32
|
+
CreateWorkflowCommand,
|
|
33
|
+
CreateWorkflowStepCommand,
|
|
34
|
+
CreateWorkflowStepGroupCommand,
|
|
35
|
+
DeleteWorkflowCommand,
|
|
36
|
+
DeleteWorkflowStepCommand,
|
|
37
|
+
DeleteWorkflowStepGroupCommand,
|
|
38
|
+
GetTemplateCommand,
|
|
39
|
+
GetTemplateStepCommand,
|
|
40
|
+
GetTemplateStepGroupCommand,
|
|
41
|
+
GetWorkflowCommand,
|
|
42
|
+
GetWorkflowStepCommand,
|
|
43
|
+
GetWorkflowStepGroupCommand,
|
|
44
|
+
ListPluginsCommand,
|
|
45
|
+
ListTagsForResourceCommand,
|
|
46
|
+
ListTemplatesCommand,
|
|
47
|
+
ListTemplateStepGroupsCommand,
|
|
48
|
+
ListTemplateStepsCommand,
|
|
49
|
+
ListWorkflowsCommand,
|
|
50
|
+
ListWorkflowStepGroupsCommand,
|
|
51
|
+
ListWorkflowStepsCommand,
|
|
52
|
+
RetryWorkflowStepCommand,
|
|
53
|
+
StartWorkflowCommand,
|
|
54
|
+
StopWorkflowCommand,
|
|
55
|
+
TagResourceCommand,
|
|
56
|
+
UntagResourceCommand,
|
|
57
|
+
UpdateWorkflowCommand,
|
|
58
|
+
UpdateWorkflowStepCommand,
|
|
59
|
+
UpdateWorkflowStepGroupCommand,
|
|
60
|
+
};
|
|
30
61
|
export class MigrationHubOrchestrator extends MigrationHubOrchestratorClient {
|
|
31
|
-
createWorkflow(args, optionsOrCb, cb) {
|
|
32
|
-
const command = new CreateWorkflowCommand(args);
|
|
33
|
-
if (typeof optionsOrCb === "function") {
|
|
34
|
-
this.send(command, optionsOrCb);
|
|
35
|
-
}
|
|
36
|
-
else if (typeof cb === "function") {
|
|
37
|
-
if (typeof optionsOrCb !== "object")
|
|
38
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
39
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
return this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
createWorkflowStep(args, optionsOrCb, cb) {
|
|
46
|
-
const command = new CreateWorkflowStepCommand(args);
|
|
47
|
-
if (typeof optionsOrCb === "function") {
|
|
48
|
-
this.send(command, optionsOrCb);
|
|
49
|
-
}
|
|
50
|
-
else if (typeof cb === "function") {
|
|
51
|
-
if (typeof optionsOrCb !== "object")
|
|
52
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
53
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
return this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
createWorkflowStepGroup(args, optionsOrCb, cb) {
|
|
60
|
-
const command = new CreateWorkflowStepGroupCommand(args);
|
|
61
|
-
if (typeof optionsOrCb === "function") {
|
|
62
|
-
this.send(command, optionsOrCb);
|
|
63
|
-
}
|
|
64
|
-
else if (typeof cb === "function") {
|
|
65
|
-
if (typeof optionsOrCb !== "object")
|
|
66
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
67
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
return this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
deleteWorkflow(args, optionsOrCb, cb) {
|
|
74
|
-
const command = new DeleteWorkflowCommand(args);
|
|
75
|
-
if (typeof optionsOrCb === "function") {
|
|
76
|
-
this.send(command, optionsOrCb);
|
|
77
|
-
}
|
|
78
|
-
else if (typeof cb === "function") {
|
|
79
|
-
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
81
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
return this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
deleteWorkflowStep(args, optionsOrCb, cb) {
|
|
88
|
-
const command = new DeleteWorkflowStepCommand(args);
|
|
89
|
-
if (typeof optionsOrCb === "function") {
|
|
90
|
-
this.send(command, optionsOrCb);
|
|
91
|
-
}
|
|
92
|
-
else if (typeof cb === "function") {
|
|
93
|
-
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
95
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
return this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
deleteWorkflowStepGroup(args, optionsOrCb, cb) {
|
|
102
|
-
const command = new DeleteWorkflowStepGroupCommand(args);
|
|
103
|
-
if (typeof optionsOrCb === "function") {
|
|
104
|
-
this.send(command, optionsOrCb);
|
|
105
|
-
}
|
|
106
|
-
else if (typeof cb === "function") {
|
|
107
|
-
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
109
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
return this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
getTemplate(args, optionsOrCb, cb) {
|
|
116
|
-
const command = new GetTemplateCommand(args);
|
|
117
|
-
if (typeof optionsOrCb === "function") {
|
|
118
|
-
this.send(command, optionsOrCb);
|
|
119
|
-
}
|
|
120
|
-
else if (typeof cb === "function") {
|
|
121
|
-
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
123
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
return this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
getTemplateStep(args, optionsOrCb, cb) {
|
|
130
|
-
const command = new GetTemplateStepCommand(args);
|
|
131
|
-
if (typeof optionsOrCb === "function") {
|
|
132
|
-
this.send(command, optionsOrCb);
|
|
133
|
-
}
|
|
134
|
-
else if (typeof cb === "function") {
|
|
135
|
-
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
137
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
return this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
getTemplateStepGroup(args, optionsOrCb, cb) {
|
|
144
|
-
const command = new GetTemplateStepGroupCommand(args);
|
|
145
|
-
if (typeof optionsOrCb === "function") {
|
|
146
|
-
this.send(command, optionsOrCb);
|
|
147
|
-
}
|
|
148
|
-
else if (typeof cb === "function") {
|
|
149
|
-
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
151
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
return this.send(command, optionsOrCb);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
getWorkflow(args, optionsOrCb, cb) {
|
|
158
|
-
const command = new GetWorkflowCommand(args);
|
|
159
|
-
if (typeof optionsOrCb === "function") {
|
|
160
|
-
this.send(command, optionsOrCb);
|
|
161
|
-
}
|
|
162
|
-
else if (typeof cb === "function") {
|
|
163
|
-
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
165
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
return this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
getWorkflowStep(args, optionsOrCb, cb) {
|
|
172
|
-
const command = new GetWorkflowStepCommand(args);
|
|
173
|
-
if (typeof optionsOrCb === "function") {
|
|
174
|
-
this.send(command, optionsOrCb);
|
|
175
|
-
}
|
|
176
|
-
else if (typeof cb === "function") {
|
|
177
|
-
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
179
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
return this.send(command, optionsOrCb);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
getWorkflowStepGroup(args, optionsOrCb, cb) {
|
|
186
|
-
const command = new GetWorkflowStepGroupCommand(args);
|
|
187
|
-
if (typeof optionsOrCb === "function") {
|
|
188
|
-
this.send(command, optionsOrCb);
|
|
189
|
-
}
|
|
190
|
-
else if (typeof cb === "function") {
|
|
191
|
-
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
193
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
194
|
-
}
|
|
195
|
-
else {
|
|
196
|
-
return this.send(command, optionsOrCb);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
listPlugins(args, optionsOrCb, cb) {
|
|
200
|
-
const command = new ListPluginsCommand(args);
|
|
201
|
-
if (typeof optionsOrCb === "function") {
|
|
202
|
-
this.send(command, optionsOrCb);
|
|
203
|
-
}
|
|
204
|
-
else if (typeof cb === "function") {
|
|
205
|
-
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
207
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
return this.send(command, optionsOrCb);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
214
|
-
const command = new ListTagsForResourceCommand(args);
|
|
215
|
-
if (typeof optionsOrCb === "function") {
|
|
216
|
-
this.send(command, optionsOrCb);
|
|
217
|
-
}
|
|
218
|
-
else if (typeof cb === "function") {
|
|
219
|
-
if (typeof optionsOrCb !== "object")
|
|
220
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
221
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
222
|
-
}
|
|
223
|
-
else {
|
|
224
|
-
return this.send(command, optionsOrCb);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
listTemplates(args, optionsOrCb, cb) {
|
|
228
|
-
const command = new ListTemplatesCommand(args);
|
|
229
|
-
if (typeof optionsOrCb === "function") {
|
|
230
|
-
this.send(command, optionsOrCb);
|
|
231
|
-
}
|
|
232
|
-
else if (typeof cb === "function") {
|
|
233
|
-
if (typeof optionsOrCb !== "object")
|
|
234
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
235
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
236
|
-
}
|
|
237
|
-
else {
|
|
238
|
-
return this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
listTemplateStepGroups(args, optionsOrCb, cb) {
|
|
242
|
-
const command = new ListTemplateStepGroupsCommand(args);
|
|
243
|
-
if (typeof optionsOrCb === "function") {
|
|
244
|
-
this.send(command, optionsOrCb);
|
|
245
|
-
}
|
|
246
|
-
else if (typeof cb === "function") {
|
|
247
|
-
if (typeof optionsOrCb !== "object")
|
|
248
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
249
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
250
|
-
}
|
|
251
|
-
else {
|
|
252
|
-
return this.send(command, optionsOrCb);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
listTemplateSteps(args, optionsOrCb, cb) {
|
|
256
|
-
const command = new ListTemplateStepsCommand(args);
|
|
257
|
-
if (typeof optionsOrCb === "function") {
|
|
258
|
-
this.send(command, optionsOrCb);
|
|
259
|
-
}
|
|
260
|
-
else if (typeof cb === "function") {
|
|
261
|
-
if (typeof optionsOrCb !== "object")
|
|
262
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
263
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
264
|
-
}
|
|
265
|
-
else {
|
|
266
|
-
return this.send(command, optionsOrCb);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
listWorkflows(args, optionsOrCb, cb) {
|
|
270
|
-
const command = new ListWorkflowsCommand(args);
|
|
271
|
-
if (typeof optionsOrCb === "function") {
|
|
272
|
-
this.send(command, optionsOrCb);
|
|
273
|
-
}
|
|
274
|
-
else if (typeof cb === "function") {
|
|
275
|
-
if (typeof optionsOrCb !== "object")
|
|
276
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
277
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
278
|
-
}
|
|
279
|
-
else {
|
|
280
|
-
return this.send(command, optionsOrCb);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
listWorkflowStepGroups(args, optionsOrCb, cb) {
|
|
284
|
-
const command = new ListWorkflowStepGroupsCommand(args);
|
|
285
|
-
if (typeof optionsOrCb === "function") {
|
|
286
|
-
this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
else if (typeof cb === "function") {
|
|
289
|
-
if (typeof optionsOrCb !== "object")
|
|
290
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
291
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
292
|
-
}
|
|
293
|
-
else {
|
|
294
|
-
return this.send(command, optionsOrCb);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
listWorkflowSteps(args, optionsOrCb, cb) {
|
|
298
|
-
const command = new ListWorkflowStepsCommand(args);
|
|
299
|
-
if (typeof optionsOrCb === "function") {
|
|
300
|
-
this.send(command, optionsOrCb);
|
|
301
|
-
}
|
|
302
|
-
else if (typeof cb === "function") {
|
|
303
|
-
if (typeof optionsOrCb !== "object")
|
|
304
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
305
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
306
|
-
}
|
|
307
|
-
else {
|
|
308
|
-
return this.send(command, optionsOrCb);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
retryWorkflowStep(args, optionsOrCb, cb) {
|
|
312
|
-
const command = new RetryWorkflowStepCommand(args);
|
|
313
|
-
if (typeof optionsOrCb === "function") {
|
|
314
|
-
this.send(command, optionsOrCb);
|
|
315
|
-
}
|
|
316
|
-
else if (typeof cb === "function") {
|
|
317
|
-
if (typeof optionsOrCb !== "object")
|
|
318
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
319
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
320
|
-
}
|
|
321
|
-
else {
|
|
322
|
-
return this.send(command, optionsOrCb);
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
startWorkflow(args, optionsOrCb, cb) {
|
|
326
|
-
const command = new StartWorkflowCommand(args);
|
|
327
|
-
if (typeof optionsOrCb === "function") {
|
|
328
|
-
this.send(command, optionsOrCb);
|
|
329
|
-
}
|
|
330
|
-
else if (typeof cb === "function") {
|
|
331
|
-
if (typeof optionsOrCb !== "object")
|
|
332
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
333
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
334
|
-
}
|
|
335
|
-
else {
|
|
336
|
-
return this.send(command, optionsOrCb);
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
stopWorkflow(args, optionsOrCb, cb) {
|
|
340
|
-
const command = new StopWorkflowCommand(args);
|
|
341
|
-
if (typeof optionsOrCb === "function") {
|
|
342
|
-
this.send(command, optionsOrCb);
|
|
343
|
-
}
|
|
344
|
-
else if (typeof cb === "function") {
|
|
345
|
-
if (typeof optionsOrCb !== "object")
|
|
346
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
347
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
348
|
-
}
|
|
349
|
-
else {
|
|
350
|
-
return this.send(command, optionsOrCb);
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
tagResource(args, optionsOrCb, cb) {
|
|
354
|
-
const command = new TagResourceCommand(args);
|
|
355
|
-
if (typeof optionsOrCb === "function") {
|
|
356
|
-
this.send(command, optionsOrCb);
|
|
357
|
-
}
|
|
358
|
-
else if (typeof cb === "function") {
|
|
359
|
-
if (typeof optionsOrCb !== "object")
|
|
360
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
361
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
362
|
-
}
|
|
363
|
-
else {
|
|
364
|
-
return this.send(command, optionsOrCb);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
untagResource(args, optionsOrCb, cb) {
|
|
368
|
-
const command = new UntagResourceCommand(args);
|
|
369
|
-
if (typeof optionsOrCb === "function") {
|
|
370
|
-
this.send(command, optionsOrCb);
|
|
371
|
-
}
|
|
372
|
-
else if (typeof cb === "function") {
|
|
373
|
-
if (typeof optionsOrCb !== "object")
|
|
374
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
375
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
376
|
-
}
|
|
377
|
-
else {
|
|
378
|
-
return this.send(command, optionsOrCb);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
updateWorkflow(args, optionsOrCb, cb) {
|
|
382
|
-
const command = new UpdateWorkflowCommand(args);
|
|
383
|
-
if (typeof optionsOrCb === "function") {
|
|
384
|
-
this.send(command, optionsOrCb);
|
|
385
|
-
}
|
|
386
|
-
else if (typeof cb === "function") {
|
|
387
|
-
if (typeof optionsOrCb !== "object")
|
|
388
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
389
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
390
|
-
}
|
|
391
|
-
else {
|
|
392
|
-
return this.send(command, optionsOrCb);
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
updateWorkflowStep(args, optionsOrCb, cb) {
|
|
396
|
-
const command = new UpdateWorkflowStepCommand(args);
|
|
397
|
-
if (typeof optionsOrCb === "function") {
|
|
398
|
-
this.send(command, optionsOrCb);
|
|
399
|
-
}
|
|
400
|
-
else if (typeof cb === "function") {
|
|
401
|
-
if (typeof optionsOrCb !== "object")
|
|
402
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
403
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
404
|
-
}
|
|
405
|
-
else {
|
|
406
|
-
return this.send(command, optionsOrCb);
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
updateWorkflowStepGroup(args, optionsOrCb, cb) {
|
|
410
|
-
const command = new UpdateWorkflowStepGroupCommand(args);
|
|
411
|
-
if (typeof optionsOrCb === "function") {
|
|
412
|
-
this.send(command, optionsOrCb);
|
|
413
|
-
}
|
|
414
|
-
else if (typeof cb === "function") {
|
|
415
|
-
if (typeof optionsOrCb !== "object")
|
|
416
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
417
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
418
|
-
}
|
|
419
|
-
else {
|
|
420
|
-
return this.send(command, optionsOrCb);
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
62
|
}
|
|
63
|
+
createAggregatedClient(commands, MigrationHubOrchestrator);
|
|
@@ -28,211 +28,183 @@ import { UpdateWorkflowCommandInput, UpdateWorkflowCommandOutput } from "./comma
|
|
|
28
28
|
import { UpdateWorkflowStepCommandInput, UpdateWorkflowStepCommandOutput } from "./commands/UpdateWorkflowStepCommand";
|
|
29
29
|
import { UpdateWorkflowStepGroupCommandInput, UpdateWorkflowStepGroupCommandOutput } from "./commands/UpdateWorkflowStepGroupCommand";
|
|
30
30
|
import { MigrationHubOrchestratorClient } from "./MigrationHubOrchestratorClient";
|
|
31
|
-
|
|
32
|
-
* @public
|
|
33
|
-
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
34
|
-
* actions and data types for AWS Migration Hub Orchestrator. he topic for each action shows the API
|
|
35
|
-
* request parameters and the response. Alternatively, you can use one of the AWS SDKs to
|
|
36
|
-
* access an API that is tailored to the programming language or platform that you're
|
|
37
|
-
* using.</p>
|
|
38
|
-
*/
|
|
39
|
-
export declare class MigrationHubOrchestrator extends MigrationHubOrchestratorClient {
|
|
31
|
+
export interface MigrationHubOrchestrator {
|
|
40
32
|
/**
|
|
41
|
-
* @
|
|
42
|
-
* <p>Create a workflow to orchestrate your migrations.</p>
|
|
33
|
+
* @see {@link CreateWorkflowCommand}
|
|
43
34
|
*/
|
|
44
35
|
createWorkflow(args: CreateWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkflowCommandOutput>;
|
|
45
36
|
createWorkflow(args: CreateWorkflowCommandInput, cb: (err: any, data?: CreateWorkflowCommandOutput) => void): void;
|
|
46
37
|
createWorkflow(args: CreateWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkflowCommandOutput) => void): void;
|
|
47
38
|
/**
|
|
48
|
-
* @
|
|
49
|
-
* <p>Create a step in the migration workflow.</p>
|
|
39
|
+
* @see {@link CreateWorkflowStepCommand}
|
|
50
40
|
*/
|
|
51
41
|
createWorkflowStep(args: CreateWorkflowStepCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkflowStepCommandOutput>;
|
|
52
42
|
createWorkflowStep(args: CreateWorkflowStepCommandInput, cb: (err: any, data?: CreateWorkflowStepCommandOutput) => void): void;
|
|
53
43
|
createWorkflowStep(args: CreateWorkflowStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkflowStepCommandOutput) => void): void;
|
|
54
44
|
/**
|
|
55
|
-
* @
|
|
56
|
-
* <p>Create a step group in a migration workflow.</p>
|
|
45
|
+
* @see {@link CreateWorkflowStepGroupCommand}
|
|
57
46
|
*/
|
|
58
47
|
createWorkflowStepGroup(args: CreateWorkflowStepGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkflowStepGroupCommandOutput>;
|
|
59
48
|
createWorkflowStepGroup(args: CreateWorkflowStepGroupCommandInput, cb: (err: any, data?: CreateWorkflowStepGroupCommandOutput) => void): void;
|
|
60
49
|
createWorkflowStepGroup(args: CreateWorkflowStepGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkflowStepGroupCommandOutput) => void): void;
|
|
61
50
|
/**
|
|
62
|
-
* @
|
|
63
|
-
* <p>Delete a migration workflow. You must pause a running workflow in Migration Hub Orchestrator console to
|
|
64
|
-
* delete it.</p>
|
|
51
|
+
* @see {@link DeleteWorkflowCommand}
|
|
65
52
|
*/
|
|
66
53
|
deleteWorkflow(args: DeleteWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkflowCommandOutput>;
|
|
67
54
|
deleteWorkflow(args: DeleteWorkflowCommandInput, cb: (err: any, data?: DeleteWorkflowCommandOutput) => void): void;
|
|
68
55
|
deleteWorkflow(args: DeleteWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkflowCommandOutput) => void): void;
|
|
69
56
|
/**
|
|
70
|
-
* @
|
|
71
|
-
* <p>Delete a step in a migration workflow. Pause the workflow to delete a running
|
|
72
|
-
* step.</p>
|
|
57
|
+
* @see {@link DeleteWorkflowStepCommand}
|
|
73
58
|
*/
|
|
74
59
|
deleteWorkflowStep(args: DeleteWorkflowStepCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkflowStepCommandOutput>;
|
|
75
60
|
deleteWorkflowStep(args: DeleteWorkflowStepCommandInput, cb: (err: any, data?: DeleteWorkflowStepCommandOutput) => void): void;
|
|
76
61
|
deleteWorkflowStep(args: DeleteWorkflowStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkflowStepCommandOutput) => void): void;
|
|
77
62
|
/**
|
|
78
|
-
* @
|
|
79
|
-
* <p>Delete a step group in a migration workflow.</p>
|
|
63
|
+
* @see {@link DeleteWorkflowStepGroupCommand}
|
|
80
64
|
*/
|
|
81
65
|
deleteWorkflowStepGroup(args: DeleteWorkflowStepGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkflowStepGroupCommandOutput>;
|
|
82
66
|
deleteWorkflowStepGroup(args: DeleteWorkflowStepGroupCommandInput, cb: (err: any, data?: DeleteWorkflowStepGroupCommandOutput) => void): void;
|
|
83
67
|
deleteWorkflowStepGroup(args: DeleteWorkflowStepGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkflowStepGroupCommandOutput) => void): void;
|
|
84
68
|
/**
|
|
85
|
-
* @
|
|
86
|
-
* <p>Get the template you want to use for creating a migration workflow.</p>
|
|
69
|
+
* @see {@link GetTemplateCommand}
|
|
87
70
|
*/
|
|
88
71
|
getTemplate(args: GetTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetTemplateCommandOutput>;
|
|
89
72
|
getTemplate(args: GetTemplateCommandInput, cb: (err: any, data?: GetTemplateCommandOutput) => void): void;
|
|
90
73
|
getTemplate(args: GetTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTemplateCommandOutput) => void): void;
|
|
91
74
|
/**
|
|
92
|
-
* @
|
|
93
|
-
* <p>Get a specific step in a template.</p>
|
|
75
|
+
* @see {@link GetTemplateStepCommand}
|
|
94
76
|
*/
|
|
95
77
|
getTemplateStep(args: GetTemplateStepCommandInput, options?: __HttpHandlerOptions): Promise<GetTemplateStepCommandOutput>;
|
|
96
78
|
getTemplateStep(args: GetTemplateStepCommandInput, cb: (err: any, data?: GetTemplateStepCommandOutput) => void): void;
|
|
97
79
|
getTemplateStep(args: GetTemplateStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTemplateStepCommandOutput) => void): void;
|
|
98
80
|
/**
|
|
99
|
-
* @
|
|
100
|
-
* <p>Get a step group in a template.</p>
|
|
81
|
+
* @see {@link GetTemplateStepGroupCommand}
|
|
101
82
|
*/
|
|
102
83
|
getTemplateStepGroup(args: GetTemplateStepGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetTemplateStepGroupCommandOutput>;
|
|
103
84
|
getTemplateStepGroup(args: GetTemplateStepGroupCommandInput, cb: (err: any, data?: GetTemplateStepGroupCommandOutput) => void): void;
|
|
104
85
|
getTemplateStepGroup(args: GetTemplateStepGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTemplateStepGroupCommandOutput) => void): void;
|
|
105
86
|
/**
|
|
106
|
-
* @
|
|
107
|
-
* <p>Get migration workflow.</p>
|
|
87
|
+
* @see {@link GetWorkflowCommand}
|
|
108
88
|
*/
|
|
109
89
|
getWorkflow(args: GetWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowCommandOutput>;
|
|
110
90
|
getWorkflow(args: GetWorkflowCommandInput, cb: (err: any, data?: GetWorkflowCommandOutput) => void): void;
|
|
111
91
|
getWorkflow(args: GetWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkflowCommandOutput) => void): void;
|
|
112
92
|
/**
|
|
113
|
-
* @
|
|
114
|
-
* <p>Get a step in the migration workflow.</p>
|
|
93
|
+
* @see {@link GetWorkflowStepCommand}
|
|
115
94
|
*/
|
|
116
95
|
getWorkflowStep(args: GetWorkflowStepCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowStepCommandOutput>;
|
|
117
96
|
getWorkflowStep(args: GetWorkflowStepCommandInput, cb: (err: any, data?: GetWorkflowStepCommandOutput) => void): void;
|
|
118
97
|
getWorkflowStep(args: GetWorkflowStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkflowStepCommandOutput) => void): void;
|
|
119
98
|
/**
|
|
120
|
-
* @
|
|
121
|
-
* <p>Get the step group of a migration workflow.</p>
|
|
99
|
+
* @see {@link GetWorkflowStepGroupCommand}
|
|
122
100
|
*/
|
|
123
101
|
getWorkflowStepGroup(args: GetWorkflowStepGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowStepGroupCommandOutput>;
|
|
124
102
|
getWorkflowStepGroup(args: GetWorkflowStepGroupCommandInput, cb: (err: any, data?: GetWorkflowStepGroupCommandOutput) => void): void;
|
|
125
103
|
getWorkflowStepGroup(args: GetWorkflowStepGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkflowStepGroupCommandOutput) => void): void;
|
|
126
104
|
/**
|
|
127
|
-
* @
|
|
128
|
-
* <p>List AWS Migration Hub Orchestrator plugins.</p>
|
|
105
|
+
* @see {@link ListPluginsCommand}
|
|
129
106
|
*/
|
|
130
107
|
listPlugins(args: ListPluginsCommandInput, options?: __HttpHandlerOptions): Promise<ListPluginsCommandOutput>;
|
|
131
108
|
listPlugins(args: ListPluginsCommandInput, cb: (err: any, data?: ListPluginsCommandOutput) => void): void;
|
|
132
109
|
listPlugins(args: ListPluginsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPluginsCommandOutput) => void): void;
|
|
133
110
|
/**
|
|
134
|
-
* @
|
|
135
|
-
* <p>List the tags added to a resource.</p>
|
|
111
|
+
* @see {@link ListTagsForResourceCommand}
|
|
136
112
|
*/
|
|
137
113
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
138
114
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
139
115
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
140
116
|
/**
|
|
141
|
-
* @
|
|
142
|
-
* <p>List the templates available in Migration Hub Orchestrator to create a migration workflow.</p>
|
|
117
|
+
* @see {@link ListTemplatesCommand}
|
|
143
118
|
*/
|
|
144
119
|
listTemplates(args: ListTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListTemplatesCommandOutput>;
|
|
145
120
|
listTemplates(args: ListTemplatesCommandInput, cb: (err: any, data?: ListTemplatesCommandOutput) => void): void;
|
|
146
121
|
listTemplates(args: ListTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTemplatesCommandOutput) => void): void;
|
|
147
122
|
/**
|
|
148
|
-
* @
|
|
149
|
-
* <p>List the step groups in a template.</p>
|
|
123
|
+
* @see {@link ListTemplateStepGroupsCommand}
|
|
150
124
|
*/
|
|
151
125
|
listTemplateStepGroups(args: ListTemplateStepGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListTemplateStepGroupsCommandOutput>;
|
|
152
126
|
listTemplateStepGroups(args: ListTemplateStepGroupsCommandInput, cb: (err: any, data?: ListTemplateStepGroupsCommandOutput) => void): void;
|
|
153
127
|
listTemplateStepGroups(args: ListTemplateStepGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTemplateStepGroupsCommandOutput) => void): void;
|
|
154
128
|
/**
|
|
155
|
-
* @
|
|
156
|
-
* <p>List the steps in a template.</p>
|
|
129
|
+
* @see {@link ListTemplateStepsCommand}
|
|
157
130
|
*/
|
|
158
131
|
listTemplateSteps(args: ListTemplateStepsCommandInput, options?: __HttpHandlerOptions): Promise<ListTemplateStepsCommandOutput>;
|
|
159
132
|
listTemplateSteps(args: ListTemplateStepsCommandInput, cb: (err: any, data?: ListTemplateStepsCommandOutput) => void): void;
|
|
160
133
|
listTemplateSteps(args: ListTemplateStepsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTemplateStepsCommandOutput) => void): void;
|
|
161
134
|
/**
|
|
162
|
-
* @
|
|
163
|
-
* <p>List the migration workflows.</p>
|
|
135
|
+
* @see {@link ListWorkflowsCommand}
|
|
164
136
|
*/
|
|
165
137
|
listWorkflows(args: ListWorkflowsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowsCommandOutput>;
|
|
166
138
|
listWorkflows(args: ListWorkflowsCommandInput, cb: (err: any, data?: ListWorkflowsCommandOutput) => void): void;
|
|
167
139
|
listWorkflows(args: ListWorkflowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowsCommandOutput) => void): void;
|
|
168
140
|
/**
|
|
169
|
-
* @
|
|
170
|
-
* <p>List the step groups in a migration workflow.</p>
|
|
141
|
+
* @see {@link ListWorkflowStepGroupsCommand}
|
|
171
142
|
*/
|
|
172
143
|
listWorkflowStepGroups(args: ListWorkflowStepGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowStepGroupsCommandOutput>;
|
|
173
144
|
listWorkflowStepGroups(args: ListWorkflowStepGroupsCommandInput, cb: (err: any, data?: ListWorkflowStepGroupsCommandOutput) => void): void;
|
|
174
145
|
listWorkflowStepGroups(args: ListWorkflowStepGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowStepGroupsCommandOutput) => void): void;
|
|
175
146
|
/**
|
|
176
|
-
* @
|
|
177
|
-
* <p>List the steps in a workflow.</p>
|
|
147
|
+
* @see {@link ListWorkflowStepsCommand}
|
|
178
148
|
*/
|
|
179
149
|
listWorkflowSteps(args: ListWorkflowStepsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowStepsCommandOutput>;
|
|
180
150
|
listWorkflowSteps(args: ListWorkflowStepsCommandInput, cb: (err: any, data?: ListWorkflowStepsCommandOutput) => void): void;
|
|
181
151
|
listWorkflowSteps(args: ListWorkflowStepsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowStepsCommandOutput) => void): void;
|
|
182
152
|
/**
|
|
183
|
-
* @
|
|
184
|
-
* <p>Retry a failed step in a migration workflow.</p>
|
|
153
|
+
* @see {@link RetryWorkflowStepCommand}
|
|
185
154
|
*/
|
|
186
155
|
retryWorkflowStep(args: RetryWorkflowStepCommandInput, options?: __HttpHandlerOptions): Promise<RetryWorkflowStepCommandOutput>;
|
|
187
156
|
retryWorkflowStep(args: RetryWorkflowStepCommandInput, cb: (err: any, data?: RetryWorkflowStepCommandOutput) => void): void;
|
|
188
157
|
retryWorkflowStep(args: RetryWorkflowStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RetryWorkflowStepCommandOutput) => void): void;
|
|
189
158
|
/**
|
|
190
|
-
* @
|
|
191
|
-
* <p>Start a migration workflow.</p>
|
|
159
|
+
* @see {@link StartWorkflowCommand}
|
|
192
160
|
*/
|
|
193
161
|
startWorkflow(args: StartWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<StartWorkflowCommandOutput>;
|
|
194
162
|
startWorkflow(args: StartWorkflowCommandInput, cb: (err: any, data?: StartWorkflowCommandOutput) => void): void;
|
|
195
163
|
startWorkflow(args: StartWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartWorkflowCommandOutput) => void): void;
|
|
196
164
|
/**
|
|
197
|
-
* @
|
|
198
|
-
* <p>Stop an ongoing migration workflow.</p>
|
|
165
|
+
* @see {@link StopWorkflowCommand}
|
|
199
166
|
*/
|
|
200
167
|
stopWorkflow(args: StopWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<StopWorkflowCommandOutput>;
|
|
201
168
|
stopWorkflow(args: StopWorkflowCommandInput, cb: (err: any, data?: StopWorkflowCommandOutput) => void): void;
|
|
202
169
|
stopWorkflow(args: StopWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopWorkflowCommandOutput) => void): void;
|
|
203
170
|
/**
|
|
204
|
-
* @
|
|
205
|
-
* <p>Tag a resource by specifying its Amazon Resource Name (ARN).</p>
|
|
171
|
+
* @see {@link TagResourceCommand}
|
|
206
172
|
*/
|
|
207
173
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
208
174
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
209
175
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
210
176
|
/**
|
|
211
|
-
* @
|
|
212
|
-
* <p>Deletes the tags for a resource.</p>
|
|
177
|
+
* @see {@link UntagResourceCommand}
|
|
213
178
|
*/
|
|
214
179
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
215
180
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
216
181
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
217
182
|
/**
|
|
218
|
-
* @
|
|
219
|
-
* <p>Update a migration workflow.</p>
|
|
183
|
+
* @see {@link UpdateWorkflowCommand}
|
|
220
184
|
*/
|
|
221
185
|
updateWorkflow(args: UpdateWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkflowCommandOutput>;
|
|
222
186
|
updateWorkflow(args: UpdateWorkflowCommandInput, cb: (err: any, data?: UpdateWorkflowCommandOutput) => void): void;
|
|
223
187
|
updateWorkflow(args: UpdateWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkflowCommandOutput) => void): void;
|
|
224
188
|
/**
|
|
225
|
-
* @
|
|
226
|
-
* <p>Update a step in a migration workflow.</p>
|
|
189
|
+
* @see {@link UpdateWorkflowStepCommand}
|
|
227
190
|
*/
|
|
228
191
|
updateWorkflowStep(args: UpdateWorkflowStepCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkflowStepCommandOutput>;
|
|
229
192
|
updateWorkflowStep(args: UpdateWorkflowStepCommandInput, cb: (err: any, data?: UpdateWorkflowStepCommandOutput) => void): void;
|
|
230
193
|
updateWorkflowStep(args: UpdateWorkflowStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkflowStepCommandOutput) => void): void;
|
|
231
194
|
/**
|
|
232
|
-
* @
|
|
233
|
-
* <p>Update the step group in a migration workflow.</p>
|
|
195
|
+
* @see {@link UpdateWorkflowStepGroupCommand}
|
|
234
196
|
*/
|
|
235
197
|
updateWorkflowStepGroup(args: UpdateWorkflowStepGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkflowStepGroupCommandOutput>;
|
|
236
198
|
updateWorkflowStepGroup(args: UpdateWorkflowStepGroupCommandInput, cb: (err: any, data?: UpdateWorkflowStepGroupCommandOutput) => void): void;
|
|
237
199
|
updateWorkflowStepGroup(args: UpdateWorkflowStepGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkflowStepGroupCommandOutput) => void): void;
|
|
238
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* @public
|
|
203
|
+
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
204
|
+
* actions and data types for AWS Migration Hub Orchestrator. he topic for each action shows the API
|
|
205
|
+
* request parameters and the response. Alternatively, you can use one of the AWS SDKs to
|
|
206
|
+
* access an API that is tailored to the programming language or platform that you're
|
|
207
|
+
* using.</p>
|
|
208
|
+
*/
|
|
209
|
+
export declare class MigrationHubOrchestrator extends MigrationHubOrchestratorClient implements MigrationHubOrchestrator {
|
|
210
|
+
}
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
UpdateWorkflowStepGroupCommandOutput,
|
|
113
113
|
} from "./commands/UpdateWorkflowStepGroupCommand";
|
|
114
114
|
import { MigrationHubOrchestratorClient } from "./MigrationHubOrchestratorClient";
|
|
115
|
-
export
|
|
115
|
+
export interface MigrationHubOrchestrator {
|
|
116
116
|
createWorkflow(
|
|
117
117
|
args: CreateWorkflowCommandInput,
|
|
118
118
|
options?: __HttpHandlerOptions
|
|
@@ -478,3 +478,6 @@ export declare class MigrationHubOrchestrator extends MigrationHubOrchestratorCl
|
|
|
478
478
|
cb: (err: any, data?: UpdateWorkflowStepGroupCommandOutput) => void
|
|
479
479
|
): void;
|
|
480
480
|
}
|
|
481
|
+
export declare class MigrationHubOrchestrator
|
|
482
|
+
extends MigrationHubOrchestratorClient
|
|
483
|
+
implements MigrationHubOrchestrator {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-migrationhuborchestrator",
|
|
3
3
|
"description": "AWS SDK for JavaScript Migrationhuborchestrator Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.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.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.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",
|
|
@@ -40,14 +40,14 @@
|
|
|
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.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|