@aws-sdk/client-migrationhuborchestrator 3.181.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 +11 -0
- package/LICENSE +201 -0
- package/README.md +209 -0
- package/dist-cjs/MigrationHubOrchestrator.js +427 -0
- package/dist-cjs/MigrationHubOrchestratorClient.js +37 -0
- package/dist-cjs/commands/CreateWorkflowCommand.js +36 -0
- package/dist-cjs/commands/CreateWorkflowStepCommand.js +36 -0
- package/dist-cjs/commands/CreateWorkflowStepGroupCommand.js +36 -0
- package/dist-cjs/commands/DeleteWorkflowCommand.js +36 -0
- package/dist-cjs/commands/DeleteWorkflowStepCommand.js +36 -0
- package/dist-cjs/commands/DeleteWorkflowStepGroupCommand.js +36 -0
- package/dist-cjs/commands/GetTemplateCommand.js +36 -0
- package/dist-cjs/commands/GetTemplateStepCommand.js +36 -0
- package/dist-cjs/commands/GetTemplateStepGroupCommand.js +36 -0
- package/dist-cjs/commands/GetWorkflowCommand.js +36 -0
- package/dist-cjs/commands/GetWorkflowStepCommand.js +36 -0
- package/dist-cjs/commands/GetWorkflowStepGroupCommand.js +36 -0
- package/dist-cjs/commands/ListPluginsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/ListTemplateStepGroupsCommand.js +36 -0
- package/dist-cjs/commands/ListTemplateStepsCommand.js +36 -0
- package/dist-cjs/commands/ListTemplatesCommand.js +36 -0
- package/dist-cjs/commands/ListWorkflowStepGroupsCommand.js +36 -0
- package/dist-cjs/commands/ListWorkflowStepsCommand.js +36 -0
- package/dist-cjs/commands/ListWorkflowsCommand.js +36 -0
- package/dist-cjs/commands/RetryWorkflowStepCommand.js +36 -0
- package/dist-cjs/commands/StartWorkflowCommand.js +36 -0
- package/dist-cjs/commands/StopWorkflowCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateWorkflowCommand.js +36 -0
- package/dist-cjs/commands/UpdateWorkflowStepCommand.js +36 -0
- package/dist-cjs/commands/UpdateWorkflowStepGroupCommand.js +36 -0
- package/dist-cjs/commands/index.js +31 -0
- package/dist-cjs/endpoints.js +132 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/MigrationHubOrchestratorServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +491 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListPluginsPaginator.js +36 -0
- package/dist-cjs/pagination/ListTemplateStepGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/ListTemplateStepsPaginator.js +36 -0
- package/dist-cjs/pagination/ListTemplatesPaginator.js +36 -0
- package/dist-cjs/pagination/ListWorkflowStepGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/ListWorkflowStepsPaginator.js +36 -0
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2816 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/MigrationHubOrchestrator.js +430 -0
- package/dist-es/MigrationHubOrchestratorClient.js +39 -0
- package/dist-es/commands/CreateWorkflowCommand.js +39 -0
- package/dist-es/commands/CreateWorkflowStepCommand.js +39 -0
- package/dist-es/commands/CreateWorkflowStepGroupCommand.js +39 -0
- package/dist-es/commands/DeleteWorkflowCommand.js +39 -0
- package/dist-es/commands/DeleteWorkflowStepCommand.js +39 -0
- package/dist-es/commands/DeleteWorkflowStepGroupCommand.js +39 -0
- package/dist-es/commands/GetTemplateCommand.js +39 -0
- package/dist-es/commands/GetTemplateStepCommand.js +39 -0
- package/dist-es/commands/GetTemplateStepGroupCommand.js +39 -0
- package/dist-es/commands/GetWorkflowCommand.js +39 -0
- package/dist-es/commands/GetWorkflowStepCommand.js +39 -0
- package/dist-es/commands/GetWorkflowStepGroupCommand.js +39 -0
- package/dist-es/commands/ListPluginsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/ListTemplateStepGroupsCommand.js +39 -0
- package/dist-es/commands/ListTemplateStepsCommand.js +39 -0
- package/dist-es/commands/ListTemplatesCommand.js +39 -0
- package/dist-es/commands/ListWorkflowStepGroupsCommand.js +39 -0
- package/dist-es/commands/ListWorkflowStepsCommand.js +39 -0
- package/dist-es/commands/ListWorkflowsCommand.js +39 -0
- package/dist-es/commands/RetryWorkflowStepCommand.js +39 -0
- package/dist-es/commands/StartWorkflowCommand.js +39 -0
- package/dist-es/commands/StopWorkflowCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateWorkflowCommand.js +39 -0
- package/dist-es/commands/UpdateWorkflowStepCommand.js +39 -0
- package/dist-es/commands/UpdateWorkflowStepGroupCommand.js +39 -0
- package/dist-es/commands/index.js +28 -0
- package/dist-es/endpoints.js +128 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/MigrationHubOrchestratorServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +261 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListPluginsPaginator.js +75 -0
- package/dist-es/pagination/ListTemplateStepGroupsPaginator.js +75 -0
- package/dist-es/pagination/ListTemplateStepsPaginator.js +75 -0
- package/dist-es/pagination/ListTemplatesPaginator.js +75 -0
- package/dist-es/pagination/ListWorkflowStepGroupsPaginator.js +75 -0
- package/dist-es/pagination/ListWorkflowStepsPaginator.js +75 -0
- package/dist-es/pagination/ListWorkflowsPaginator.js +75 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +3593 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +30 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/MigrationHubOrchestrator.d.ts +209 -0
- package/dist-types/MigrationHubOrchestratorClient.d.ts +176 -0
- package/dist-types/commands/CreateWorkflowCommand.d.ts +35 -0
- package/dist-types/commands/CreateWorkflowStepCommand.d.ts +35 -0
- package/dist-types/commands/CreateWorkflowStepGroupCommand.d.ts +35 -0
- package/dist-types/commands/DeleteWorkflowCommand.d.ts +36 -0
- package/dist-types/commands/DeleteWorkflowStepCommand.d.ts +36 -0
- package/dist-types/commands/DeleteWorkflowStepGroupCommand.d.ts +35 -0
- package/dist-types/commands/GetTemplateCommand.d.ts +35 -0
- package/dist-types/commands/GetTemplateStepCommand.d.ts +35 -0
- package/dist-types/commands/GetTemplateStepGroupCommand.d.ts +35 -0
- package/dist-types/commands/GetWorkflowCommand.d.ts +35 -0
- package/dist-types/commands/GetWorkflowStepCommand.d.ts +35 -0
- package/dist-types/commands/GetWorkflowStepGroupCommand.d.ts +35 -0
- package/dist-types/commands/ListPluginsCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/ListTemplateStepGroupsCommand.d.ts +35 -0
- package/dist-types/commands/ListTemplateStepsCommand.d.ts +35 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +35 -0
- package/dist-types/commands/ListWorkflowStepGroupsCommand.d.ts +35 -0
- package/dist-types/commands/ListWorkflowStepsCommand.d.ts +35 -0
- package/dist-types/commands/ListWorkflowsCommand.d.ts +35 -0
- package/dist-types/commands/RetryWorkflowStepCommand.d.ts +35 -0
- package/dist-types/commands/StartWorkflowCommand.d.ts +35 -0
- package/dist-types/commands/StopWorkflowCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateWorkflowCommand.d.ts +35 -0
- package/dist-types/commands/UpdateWorkflowStepCommand.d.ts +35 -0
- package/dist-types/commands/UpdateWorkflowStepGroupCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +28 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/MigrationHubOrchestratorServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2063 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListPluginsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTemplateStepGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTemplateStepsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTemplatesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListWorkflowStepGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListWorkflowStepsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListWorkflowsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +86 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/MigrationHubOrchestrator.d.ts +480 -0
- package/dist-types/ts3.4/MigrationHubOrchestratorClient.d.ts +273 -0
- package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateWorkflowStepCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateWorkflowStepGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowStepCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteWorkflowStepGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetTemplateStepCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetTemplateStepGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetWorkflowStepCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetWorkflowStepGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListPluginsCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListTemplateStepGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTemplateStepsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListWorkflowStepGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListWorkflowStepsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/RetryWorkflowStepCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/StartWorkflowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/StopWorkflowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateWorkflowCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateWorkflowStepCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateWorkflowStepGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +28 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/MigrationHubOrchestratorServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +880 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListPluginsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplateStepGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplateStepsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowStepGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowStepsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +341 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +69 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +69 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +70 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +12 -0
- package/package.json +100 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListWorkflowStepsCommand, } from "../commands/ListWorkflowStepsCommand";
|
|
3
|
+
import { MigrationHubOrchestrator } from "../MigrationHubOrchestrator";
|
|
4
|
+
import { MigrationHubOrchestratorClient } from "../MigrationHubOrchestratorClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
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 ListWorkflowStepsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
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.listWorkflowSteps.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListWorkflowSteps(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListWorkflowSteps_1() {
|
|
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
|
+
});
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListWorkflowsCommand, } from "../commands/ListWorkflowsCommand";
|
|
3
|
+
import { MigrationHubOrchestrator } from "../MigrationHubOrchestrator";
|
|
4
|
+
import { MigrationHubOrchestratorClient } from "../MigrationHubOrchestratorClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
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 ListWorkflowsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
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.listWorkflows.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListWorkflows(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListWorkflows_1() {
|
|
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
|
+
});
|
|
75
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListPluginsPaginator";
|
|
3
|
+
export * from "./ListTemplateStepGroupsPaginator";
|
|
4
|
+
export * from "./ListTemplateStepsPaginator";
|
|
5
|
+
export * from "./ListTemplatesPaginator";
|
|
6
|
+
export * from "./ListWorkflowStepGroupsPaginator";
|
|
7
|
+
export * from "./ListWorkflowStepsPaginator";
|
|
8
|
+
export * from "./ListWorkflowsPaginator";
|