@aws-sdk/client-migrationhuborchestrator 3.186.0 → 3.188.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-es/MigrationHubOrchestrator.js +114 -121
- package/dist-es/MigrationHubOrchestratorClient.js +22 -28
- package/dist-es/commands/CreateWorkflowCommand.js +21 -28
- package/dist-es/commands/CreateWorkflowStepCommand.js +21 -28
- package/dist-es/commands/CreateWorkflowStepGroupCommand.js +21 -28
- package/dist-es/commands/DeleteWorkflowCommand.js +21 -28
- package/dist-es/commands/DeleteWorkflowStepCommand.js +21 -28
- package/dist-es/commands/DeleteWorkflowStepGroupCommand.js +21 -28
- package/dist-es/commands/GetTemplateCommand.js +21 -28
- package/dist-es/commands/GetTemplateStepCommand.js +21 -28
- package/dist-es/commands/GetTemplateStepGroupCommand.js +21 -28
- package/dist-es/commands/GetWorkflowCommand.js +21 -28
- package/dist-es/commands/GetWorkflowStepCommand.js +21 -28
- package/dist-es/commands/GetWorkflowStepGroupCommand.js +21 -28
- package/dist-es/commands/ListPluginsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListTemplateStepGroupsCommand.js +21 -28
- package/dist-es/commands/ListTemplateStepsCommand.js +21 -28
- package/dist-es/commands/ListTemplatesCommand.js +21 -28
- package/dist-es/commands/ListWorkflowStepGroupsCommand.js +21 -28
- package/dist-es/commands/ListWorkflowStepsCommand.js +21 -28
- package/dist-es/commands/ListWorkflowsCommand.js +21 -28
- package/dist-es/commands/RetryWorkflowStepCommand.js +21 -28
- package/dist-es/commands/StartWorkflowCommand.js +21 -28
- package/dist-es/commands/StopWorkflowCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateWorkflowCommand.js +21 -28
- package/dist-es/commands/UpdateWorkflowStepCommand.js +21 -28
- package/dist-es/commands/UpdateWorkflowStepGroupCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/MigrationHubOrchestratorServiceException.js +5 -10
- package/dist-es/models/models_0.js +285 -137
- package/dist-es/pagination/ListPluginsPaginator.js +25 -68
- package/dist-es/pagination/ListTemplateStepGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListTemplateStepsPaginator.js +25 -68
- package/dist-es/pagination/ListTemplatesPaginator.js +25 -68
- package/dist-es/pagination/ListWorkflowStepGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListWorkflowStepsPaginator.js +25 -68
- package/dist-es/pagination/ListWorkflowsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +2363 -3204
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
2
|
import { MigrationHubOrchestratorServiceException as __BaseException } from "./MigrationHubOrchestratorServiceException";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "AccessDeniedException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "AccessDeniedException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
this.$retryable = {};
|
|
13
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
14
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
}
|
|
16
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ResourceNotFoundException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
this.name = "ResourceNotFoundException";
|
|
24
|
+
this.$fault = "client";
|
|
25
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
25
26
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
27
|
+
}
|
|
28
|
+
export class ValidationException extends __BaseException {
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "ValidationException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
this.name = "ValidationException";
|
|
36
|
+
this.$fault = "client";
|
|
37
|
+
this.$retryable = {};
|
|
38
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
38
39
|
}
|
|
39
|
-
|
|
40
|
-
}(__BaseException));
|
|
41
|
-
export { ValidationException };
|
|
40
|
+
}
|
|
42
41
|
export var StepInput;
|
|
43
42
|
(function (StepInput) {
|
|
44
|
-
StepInput.visit =
|
|
43
|
+
StepInput.visit = (value, visitor) => {
|
|
45
44
|
if (value.integerValue !== undefined)
|
|
46
45
|
return visitor.integerValue(value.integerValue);
|
|
47
46
|
if (value.stringValue !== undefined)
|
|
@@ -70,30 +69,30 @@ export var MigrationWorkflowStatusEnum;
|
|
|
70
69
|
MigrationWorkflowStatusEnum["USER_ATTENTION_REQUIRED"] = "USER_ATTENTION_REQUIRED";
|
|
71
70
|
MigrationWorkflowStatusEnum["WORKFLOW_FAILED"] = "WORKFLOW_FAILED";
|
|
72
71
|
})(MigrationWorkflowStatusEnum || (MigrationWorkflowStatusEnum = {}));
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
72
|
+
export class InternalServerException extends __BaseException {
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "InternalServerException",
|
|
76
|
+
$fault: "server",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
this.name = "InternalServerException";
|
|
80
|
+
this.$fault = "server";
|
|
81
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
81
82
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
83
|
+
}
|
|
84
|
+
export class ThrottlingException extends __BaseException {
|
|
85
|
+
constructor(opts) {
|
|
86
|
+
super({
|
|
87
|
+
name: "ThrottlingException",
|
|
88
|
+
$fault: "client",
|
|
89
|
+
...opts,
|
|
90
|
+
});
|
|
91
|
+
this.name = "ThrottlingException";
|
|
92
|
+
this.$fault = "client";
|
|
93
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
93
94
|
}
|
|
94
|
-
|
|
95
|
-
}(__BaseException));
|
|
96
|
-
export { ThrottlingException };
|
|
95
|
+
}
|
|
97
96
|
export var DataType;
|
|
98
97
|
(function (DataType) {
|
|
99
98
|
DataType["INTEGER"] = "INTEGER";
|
|
@@ -144,7 +143,7 @@ export var StepGroupStatus;
|
|
|
144
143
|
})(StepGroupStatus || (StepGroupStatus = {}));
|
|
145
144
|
export var WorkflowStepOutputUnion;
|
|
146
145
|
(function (WorkflowStepOutputUnion) {
|
|
147
|
-
WorkflowStepOutputUnion.visit =
|
|
146
|
+
WorkflowStepOutputUnion.visit = (value, visitor) => {
|
|
148
147
|
if (value.integerValue !== undefined)
|
|
149
148
|
return visitor.integerValue(value.integerValue);
|
|
150
149
|
if (value.stringValue !== undefined)
|
|
@@ -164,10 +163,13 @@ export var StepStatus;
|
|
|
164
163
|
StepStatus["READY"] = "READY";
|
|
165
164
|
StepStatus["USER_ATTENTION_REQUIRED"] = "USER_ATTENTION_REQUIRED";
|
|
166
165
|
})(StepStatus || (StepStatus = {}));
|
|
167
|
-
export
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
166
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
167
|
+
...obj,
|
|
168
|
+
});
|
|
169
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
170
|
+
...obj,
|
|
171
|
+
});
|
|
172
|
+
export const StepInputFilterSensitiveLog = (obj) => {
|
|
171
173
|
if (obj.integerValue !== undefined)
|
|
172
174
|
return { integerValue: obj.integerValue };
|
|
173
175
|
if (obj.stringValue !== undefined)
|
|
@@ -177,53 +179,143 @@ export var StepInputFilterSensitiveLog = function (obj) {
|
|
|
177
179
|
if (obj.mapOfStringValue !== undefined)
|
|
178
180
|
return { mapOfStringValue: obj.mapOfStringValue };
|
|
179
181
|
if (obj.$unknown !== undefined)
|
|
180
|
-
return
|
|
182
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
181
183
|
};
|
|
182
|
-
export
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
export
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
export
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
export
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
export
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
export
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
export
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
export
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
export
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
export
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
export
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
export
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
export
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
export
|
|
225
|
-
|
|
226
|
-
|
|
184
|
+
export const CreateMigrationWorkflowRequestFilterSensitiveLog = (obj) => ({
|
|
185
|
+
...obj,
|
|
186
|
+
...(obj.inputParameters && { inputParameters: SENSITIVE_STRING }),
|
|
187
|
+
});
|
|
188
|
+
export const CreateMigrationWorkflowResponseFilterSensitiveLog = (obj) => ({
|
|
189
|
+
...obj,
|
|
190
|
+
...(obj.workflowInputs && { workflowInputs: SENSITIVE_STRING }),
|
|
191
|
+
});
|
|
192
|
+
export const DeleteMigrationWorkflowRequestFilterSensitiveLog = (obj) => ({
|
|
193
|
+
...obj,
|
|
194
|
+
});
|
|
195
|
+
export const DeleteMigrationWorkflowResponseFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
});
|
|
198
|
+
export const GetMigrationWorkflowRequestFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
});
|
|
201
|
+
export const ToolFilterSensitiveLog = (obj) => ({
|
|
202
|
+
...obj,
|
|
203
|
+
});
|
|
204
|
+
export const GetMigrationWorkflowResponseFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
...(obj.workflowInputs && { workflowInputs: SENSITIVE_STRING }),
|
|
207
|
+
});
|
|
208
|
+
export const ListMigrationWorkflowsRequestFilterSensitiveLog = (obj) => ({
|
|
209
|
+
...obj,
|
|
210
|
+
});
|
|
211
|
+
export const MigrationWorkflowSummaryFilterSensitiveLog = (obj) => ({
|
|
212
|
+
...obj,
|
|
213
|
+
});
|
|
214
|
+
export const ListMigrationWorkflowsResponseFilterSensitiveLog = (obj) => ({
|
|
215
|
+
...obj,
|
|
216
|
+
});
|
|
217
|
+
export const StartMigrationWorkflowRequestFilterSensitiveLog = (obj) => ({
|
|
218
|
+
...obj,
|
|
219
|
+
});
|
|
220
|
+
export const StartMigrationWorkflowResponseFilterSensitiveLog = (obj) => ({
|
|
221
|
+
...obj,
|
|
222
|
+
});
|
|
223
|
+
export const StopMigrationWorkflowRequestFilterSensitiveLog = (obj) => ({
|
|
224
|
+
...obj,
|
|
225
|
+
});
|
|
226
|
+
export const StopMigrationWorkflowResponseFilterSensitiveLog = (obj) => ({
|
|
227
|
+
...obj,
|
|
228
|
+
});
|
|
229
|
+
export const UpdateMigrationWorkflowRequestFilterSensitiveLog = (obj) => ({
|
|
230
|
+
...obj,
|
|
231
|
+
...(obj.inputParameters && { inputParameters: SENSITIVE_STRING }),
|
|
232
|
+
});
|
|
233
|
+
export const UpdateMigrationWorkflowResponseFilterSensitiveLog = (obj) => ({
|
|
234
|
+
...obj,
|
|
235
|
+
...(obj.workflowInputs && { workflowInputs: SENSITIVE_STRING }),
|
|
236
|
+
});
|
|
237
|
+
export const GetMigrationWorkflowTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
238
|
+
...obj,
|
|
239
|
+
});
|
|
240
|
+
export const TemplateInputFilterSensitiveLog = (obj) => ({
|
|
241
|
+
...obj,
|
|
242
|
+
});
|
|
243
|
+
export const GetMigrationWorkflowTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
244
|
+
...obj,
|
|
245
|
+
});
|
|
246
|
+
export const ListMigrationWorkflowTemplatesRequestFilterSensitiveLog = (obj) => ({
|
|
247
|
+
...obj,
|
|
248
|
+
});
|
|
249
|
+
export const TemplateSummaryFilterSensitiveLog = (obj) => ({
|
|
250
|
+
...obj,
|
|
251
|
+
});
|
|
252
|
+
export const ListMigrationWorkflowTemplatesResponseFilterSensitiveLog = (obj) => ({
|
|
253
|
+
...obj,
|
|
254
|
+
});
|
|
255
|
+
export const ListPluginsRequestFilterSensitiveLog = (obj) => ({
|
|
256
|
+
...obj,
|
|
257
|
+
});
|
|
258
|
+
export const PluginSummaryFilterSensitiveLog = (obj) => ({
|
|
259
|
+
...obj,
|
|
260
|
+
});
|
|
261
|
+
export const ListPluginsResponseFilterSensitiveLog = (obj) => ({
|
|
262
|
+
...obj,
|
|
263
|
+
});
|
|
264
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
265
|
+
...obj,
|
|
266
|
+
});
|
|
267
|
+
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
268
|
+
...obj,
|
|
269
|
+
});
|
|
270
|
+
export const GetTemplateStepRequestFilterSensitiveLog = (obj) => ({
|
|
271
|
+
...obj,
|
|
272
|
+
});
|
|
273
|
+
export const StepOutputFilterSensitiveLog = (obj) => ({
|
|
274
|
+
...obj,
|
|
275
|
+
});
|
|
276
|
+
export const PlatformCommandFilterSensitiveLog = (obj) => ({
|
|
277
|
+
...obj,
|
|
278
|
+
});
|
|
279
|
+
export const PlatformScriptKeyFilterSensitiveLog = (obj) => ({
|
|
280
|
+
...obj,
|
|
281
|
+
});
|
|
282
|
+
export const StepAutomationConfigurationFilterSensitiveLog = (obj) => ({
|
|
283
|
+
...obj,
|
|
284
|
+
});
|
|
285
|
+
export const GetTemplateStepResponseFilterSensitiveLog = (obj) => ({
|
|
286
|
+
...obj,
|
|
287
|
+
});
|
|
288
|
+
export const ListTemplateStepsRequestFilterSensitiveLog = (obj) => ({
|
|
289
|
+
...obj,
|
|
290
|
+
});
|
|
291
|
+
export const TemplateStepSummaryFilterSensitiveLog = (obj) => ({
|
|
292
|
+
...obj,
|
|
293
|
+
});
|
|
294
|
+
export const ListTemplateStepsResponseFilterSensitiveLog = (obj) => ({
|
|
295
|
+
...obj,
|
|
296
|
+
});
|
|
297
|
+
export const GetTemplateStepGroupRequestFilterSensitiveLog = (obj) => ({
|
|
298
|
+
...obj,
|
|
299
|
+
});
|
|
300
|
+
export const GetTemplateStepGroupResponseFilterSensitiveLog = (obj) => ({
|
|
301
|
+
...obj,
|
|
302
|
+
});
|
|
303
|
+
export const ListTemplateStepGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
304
|
+
...obj,
|
|
305
|
+
});
|
|
306
|
+
export const TemplateStepGroupSummaryFilterSensitiveLog = (obj) => ({
|
|
307
|
+
...obj,
|
|
308
|
+
});
|
|
309
|
+
export const ListTemplateStepGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
310
|
+
...obj,
|
|
311
|
+
});
|
|
312
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
313
|
+
...obj,
|
|
314
|
+
});
|
|
315
|
+
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
316
|
+
...obj,
|
|
317
|
+
});
|
|
318
|
+
export const WorkflowStepOutputUnionFilterSensitiveLog = (obj) => {
|
|
227
319
|
if (obj.integerValue !== undefined)
|
|
228
320
|
return { integerValue: obj.integerValue };
|
|
229
321
|
if (obj.stringValue !== undefined)
|
|
@@ -231,31 +323,87 @@ export var WorkflowStepOutputUnionFilterSensitiveLog = function (obj) {
|
|
|
231
323
|
if (obj.listOfStringValue !== undefined)
|
|
232
324
|
return { listOfStringValue: obj.listOfStringValue };
|
|
233
325
|
if (obj.$unknown !== undefined)
|
|
234
|
-
return
|
|
326
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
235
327
|
};
|
|
236
|
-
export
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
export
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
export
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
export
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
export
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
export
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
export
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
export
|
|
260
|
-
|
|
261
|
-
|
|
328
|
+
export const WorkflowStepOutputFilterSensitiveLog = (obj) => ({
|
|
329
|
+
...obj,
|
|
330
|
+
...(obj.value && { value: WorkflowStepOutputUnionFilterSensitiveLog(obj.value) }),
|
|
331
|
+
});
|
|
332
|
+
export const WorkflowStepAutomationConfigurationFilterSensitiveLog = (obj) => ({
|
|
333
|
+
...obj,
|
|
334
|
+
});
|
|
335
|
+
export const CreateWorkflowStepRequestFilterSensitiveLog = (obj) => ({
|
|
336
|
+
...obj,
|
|
337
|
+
...(obj.outputs && { outputs: obj.outputs.map((item) => WorkflowStepOutputFilterSensitiveLog(item)) }),
|
|
338
|
+
});
|
|
339
|
+
export const CreateWorkflowStepResponseFilterSensitiveLog = (obj) => ({
|
|
340
|
+
...obj,
|
|
341
|
+
});
|
|
342
|
+
export const DeleteWorkflowStepRequestFilterSensitiveLog = (obj) => ({
|
|
343
|
+
...obj,
|
|
344
|
+
});
|
|
345
|
+
export const DeleteWorkflowStepResponseFilterSensitiveLog = (obj) => ({
|
|
346
|
+
...obj,
|
|
347
|
+
});
|
|
348
|
+
export const GetWorkflowStepRequestFilterSensitiveLog = (obj) => ({
|
|
349
|
+
...obj,
|
|
350
|
+
});
|
|
351
|
+
export const GetWorkflowStepResponseFilterSensitiveLog = (obj) => ({
|
|
352
|
+
...obj,
|
|
353
|
+
...(obj.outputs && { outputs: obj.outputs.map((item) => WorkflowStepOutputFilterSensitiveLog(item)) }),
|
|
354
|
+
});
|
|
355
|
+
export const ListWorkflowStepsRequestFilterSensitiveLog = (obj) => ({
|
|
356
|
+
...obj,
|
|
357
|
+
});
|
|
358
|
+
export const WorkflowStepSummaryFilterSensitiveLog = (obj) => ({
|
|
359
|
+
...obj,
|
|
360
|
+
});
|
|
361
|
+
export const ListWorkflowStepsResponseFilterSensitiveLog = (obj) => ({
|
|
362
|
+
...obj,
|
|
363
|
+
});
|
|
364
|
+
export const RetryWorkflowStepRequestFilterSensitiveLog = (obj) => ({
|
|
365
|
+
...obj,
|
|
366
|
+
});
|
|
367
|
+
export const RetryWorkflowStepResponseFilterSensitiveLog = (obj) => ({
|
|
368
|
+
...obj,
|
|
369
|
+
});
|
|
370
|
+
export const UpdateWorkflowStepRequestFilterSensitiveLog = (obj) => ({
|
|
371
|
+
...obj,
|
|
372
|
+
...(obj.outputs && { outputs: obj.outputs.map((item) => WorkflowStepOutputFilterSensitiveLog(item)) }),
|
|
373
|
+
});
|
|
374
|
+
export const UpdateWorkflowStepResponseFilterSensitiveLog = (obj) => ({
|
|
375
|
+
...obj,
|
|
376
|
+
});
|
|
377
|
+
export const CreateWorkflowStepGroupRequestFilterSensitiveLog = (obj) => ({
|
|
378
|
+
...obj,
|
|
379
|
+
});
|
|
380
|
+
export const CreateWorkflowStepGroupResponseFilterSensitiveLog = (obj) => ({
|
|
381
|
+
...obj,
|
|
382
|
+
});
|
|
383
|
+
export const DeleteWorkflowStepGroupRequestFilterSensitiveLog = (obj) => ({
|
|
384
|
+
...obj,
|
|
385
|
+
});
|
|
386
|
+
export const DeleteWorkflowStepGroupResponseFilterSensitiveLog = (obj) => ({
|
|
387
|
+
...obj,
|
|
388
|
+
});
|
|
389
|
+
export const GetWorkflowStepGroupRequestFilterSensitiveLog = (obj) => ({
|
|
390
|
+
...obj,
|
|
391
|
+
});
|
|
392
|
+
export const GetWorkflowStepGroupResponseFilterSensitiveLog = (obj) => ({
|
|
393
|
+
...obj,
|
|
394
|
+
});
|
|
395
|
+
export const ListWorkflowStepGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
396
|
+
...obj,
|
|
397
|
+
});
|
|
398
|
+
export const WorkflowStepGroupSummaryFilterSensitiveLog = (obj) => ({
|
|
399
|
+
...obj,
|
|
400
|
+
});
|
|
401
|
+
export const ListWorkflowStepGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
402
|
+
...obj,
|
|
403
|
+
});
|
|
404
|
+
export const UpdateWorkflowStepGroupRequestFilterSensitiveLog = (obj) => ({
|
|
405
|
+
...obj,
|
|
406
|
+
});
|
|
407
|
+
export const UpdateWorkflowStepGroupResponseFilterSensitiveLog = (obj) => ({
|
|
408
|
+
...obj,
|
|
409
|
+
});
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { ListPluginsCommand } from "../commands/ListPluginsCommand";
|
|
3
2
|
import { MigrationHubOrchestrator } from "../MigrationHubOrchestrator";
|
|
4
3
|
import { MigrationHubOrchestratorClient } from "../MigrationHubOrchestratorClient";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
-
args[_i - 2] = arguments[_i];
|
|
9
|
-
}
|
|
10
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
-
return __generator(this, function (_a) {
|
|
12
|
-
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListPluginsCommand(input)], __read(args), false))];
|
|
14
|
-
case 1: return [2, _a.sent()];
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListPluginsCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
-
args[_i - 2] = arguments[_i];
|
|
23
|
-
}
|
|
24
|
-
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
-
return __generator(this, function (_a) {
|
|
26
|
-
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listPlugins.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
-
case 1: return [2, _a.sent()];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listPlugins(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateListPlugins(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateListPlugins(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
14
|
+
while (hasNext) {
|
|
15
|
+
input.nextToken = token;
|
|
16
|
+
input["maxResults"] = config.pageSize;
|
|
17
|
+
if (config.client instanceof MigrationHubOrchestrator) {
|
|
18
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
+
}
|
|
20
|
+
else if (config.client instanceof MigrationHubOrchestratorClient) {
|
|
21
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
throw new Error("Invalid client, expected MigrationHubOrchestrator | MigrationHubOrchestratorClient");
|
|
25
|
+
}
|
|
26
|
+
yield page;
|
|
27
|
+
const prevToken = token;
|
|
28
|
+
token = page.nextToken;
|
|
29
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
39
|
-
var token, hasNext, page, prevToken;
|
|
40
|
-
return __generator(this, function (_a) {
|
|
41
|
-
switch (_a.label) {
|
|
42
|
-
case 0:
|
|
43
|
-
token = config.startingToken || undefined;
|
|
44
|
-
hasNext = true;
|
|
45
|
-
_a.label = 1;
|
|
46
|
-
case 1:
|
|
47
|
-
if (!hasNext) return [3, 9];
|
|
48
|
-
input.nextToken = token;
|
|
49
|
-
input["maxResults"] = config.pageSize;
|
|
50
|
-
if (!(config.client instanceof MigrationHubOrchestrator)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
-
case 2:
|
|
53
|
-
page = _a.sent();
|
|
54
|
-
return [3, 6];
|
|
55
|
-
case 3:
|
|
56
|
-
if (!(config.client instanceof MigrationHubOrchestratorClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
-
case 4:
|
|
59
|
-
page = _a.sent();
|
|
60
|
-
return [3, 6];
|
|
61
|
-
case 5: throw new Error("Invalid client, expected MigrationHubOrchestrator | MigrationHubOrchestratorClient");
|
|
62
|
-
case 6: return [4, __await(page)];
|
|
63
|
-
case 7: return [4, _a.sent()];
|
|
64
|
-
case 8:
|
|
65
|
-
_a.sent();
|
|
66
|
-
prevToken = token;
|
|
67
|
-
token = page.nextToken;
|
|
68
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
-
return [3, 1];
|
|
70
|
-
case 9: return [4, __await(undefined)];
|
|
71
|
-
case 10: return [2, _a.sent()];
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|