@aws-sdk/client-migrationhuborchestrator 3.477.0 → 3.481.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/CreateWorkflowCommand.js +18 -41
- package/dist-cjs/commands/CreateWorkflowStepCommand.js +18 -41
- package/dist-cjs/commands/CreateWorkflowStepGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteWorkflowCommand.js +18 -41
- package/dist-cjs/commands/DeleteWorkflowStepCommand.js +18 -41
- package/dist-cjs/commands/DeleteWorkflowStepGroupCommand.js +18 -41
- package/dist-cjs/commands/GetTemplateCommand.js +18 -41
- package/dist-cjs/commands/GetTemplateStepCommand.js +18 -41
- package/dist-cjs/commands/GetTemplateStepGroupCommand.js +18 -41
- package/dist-cjs/commands/GetWorkflowCommand.js +18 -41
- package/dist-cjs/commands/GetWorkflowStepCommand.js +18 -41
- package/dist-cjs/commands/GetWorkflowStepGroupCommand.js +18 -41
- package/dist-cjs/commands/ListPluginsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTemplateStepGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListTemplateStepsCommand.js +18 -41
- package/dist-cjs/commands/ListTemplatesCommand.js +18 -41
- package/dist-cjs/commands/ListWorkflowStepGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListWorkflowStepsCommand.js +18 -41
- package/dist-cjs/commands/ListWorkflowsCommand.js +18 -41
- package/dist-cjs/commands/RetryWorkflowStepCommand.js +18 -41
- package/dist-cjs/commands/StartWorkflowCommand.js +18 -41
- package/dist-cjs/commands/StopWorkflowCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateWorkflowCommand.js +18 -41
- package/dist-cjs/commands/UpdateWorkflowStepCommand.js +18 -41
- package/dist-cjs/commands/UpdateWorkflowStepGroupCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListPluginsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTemplateStepGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTemplateStepsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowStepGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowStepsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +2 -24
- package/dist-es/commands/CreateWorkflowCommand.js +18 -41
- package/dist-es/commands/CreateWorkflowStepCommand.js +18 -41
- package/dist-es/commands/CreateWorkflowStepGroupCommand.js +18 -41
- package/dist-es/commands/DeleteWorkflowCommand.js +18 -41
- package/dist-es/commands/DeleteWorkflowStepCommand.js +18 -41
- package/dist-es/commands/DeleteWorkflowStepGroupCommand.js +18 -41
- package/dist-es/commands/GetTemplateCommand.js +18 -41
- package/dist-es/commands/GetTemplateStepCommand.js +18 -41
- package/dist-es/commands/GetTemplateStepGroupCommand.js +18 -41
- package/dist-es/commands/GetWorkflowCommand.js +18 -41
- package/dist-es/commands/GetWorkflowStepCommand.js +18 -41
- package/dist-es/commands/GetWorkflowStepGroupCommand.js +18 -41
- package/dist-es/commands/ListPluginsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTemplateStepGroupsCommand.js +18 -41
- package/dist-es/commands/ListTemplateStepsCommand.js +18 -41
- package/dist-es/commands/ListTemplatesCommand.js +18 -41
- package/dist-es/commands/ListWorkflowStepGroupsCommand.js +18 -41
- package/dist-es/commands/ListWorkflowStepsCommand.js +18 -41
- package/dist-es/commands/ListWorkflowsCommand.js +18 -41
- package/dist-es/commands/RetryWorkflowStepCommand.js +18 -41
- package/dist-es/commands/StartWorkflowCommand.js +18 -41
- package/dist-es/commands/StopWorkflowCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateWorkflowCommand.js +18 -41
- package/dist-es/commands/UpdateWorkflowStepCommand.js +18 -41
- package/dist-es/commands/UpdateWorkflowStepGroupCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListPluginsPaginator.js +2 -23
- package/dist-es/pagination/ListTemplateStepGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListTemplateStepsPaginator.js +2 -23
- package/dist-es/pagination/ListTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowStepGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowStepsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowsPaginator.js +2 -23
- package/dist-types/commands/CreateWorkflowCommand.d.ts +6 -21
- package/dist-types/commands/CreateWorkflowStepCommand.d.ts +6 -21
- package/dist-types/commands/CreateWorkflowStepGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteWorkflowCommand.d.ts +6 -21
- package/dist-types/commands/DeleteWorkflowStepCommand.d.ts +6 -21
- package/dist-types/commands/DeleteWorkflowStepGroupCommand.d.ts +6 -21
- package/dist-types/commands/GetTemplateCommand.d.ts +6 -21
- package/dist-types/commands/GetTemplateStepCommand.d.ts +6 -21
- package/dist-types/commands/GetTemplateStepGroupCommand.d.ts +6 -21
- package/dist-types/commands/GetWorkflowCommand.d.ts +6 -21
- package/dist-types/commands/GetWorkflowStepCommand.d.ts +6 -21
- package/dist-types/commands/GetWorkflowStepGroupCommand.d.ts +6 -21
- package/dist-types/commands/ListPluginsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTemplateStepGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListTemplateStepsCommand.d.ts +6 -21
- package/dist-types/commands/ListTemplatesCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkflowStepGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkflowStepsCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkflowsCommand.d.ts +6 -21
- package/dist-types/commands/RetryWorkflowStepCommand.d.ts +6 -21
- package/dist-types/commands/StartWorkflowCommand.d.ts +6 -21
- package/dist-types/commands/StopWorkflowCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateWorkflowCommand.d.ts +6 -21
- package/dist-types/commands/UpdateWorkflowStepCommand.d.ts +6 -21
- package/dist-types/commands/UpdateWorkflowStepGroupCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListPluginsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTemplateStepGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTemplateStepsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowStepGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowStepsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateWorkflowStepCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateWorkflowStepGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteWorkflowStepCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteWorkflowStepGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTemplateStepCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTemplateStepGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetWorkflowStepCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetWorkflowStepGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPluginsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTemplateStepGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTemplateStepsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWorkflowStepGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListWorkflowStepsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RetryWorkflowStepCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartWorkflowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopWorkflowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateWorkflowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateWorkflowStepCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateWorkflowStepGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListPluginsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTemplateStepGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTemplateStepsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowStepGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowStepsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateWorkflowStepGroupCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "MigrationHubOrchestratorClient";
|
|
29
|
-
const commandName = "UpdateWorkflowStepGroupCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "AWSMigrationHubOrchestrator",
|
|
38
|
-
operation: "UpdateWorkflowStepGroup",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateWorkflowStepGroupCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateWorkflowStepGroupCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateWorkflowStepGroupCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("AWSMigrationHubOrchestrator", "UpdateWorkflowStepGroup", {})
|
|
22
|
+
.n("MigrationHubOrchestratorClient", "UpdateWorkflowStepGroupCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateWorkflowStepGroupCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateWorkflowStepGroupCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateWorkflowStepGroupCommand = UpdateWorkflowStepGroupCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPlugins = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListPluginsCommand_1 = require("../commands/ListPluginsCommand");
|
|
5
6
|
const MigrationHubOrchestratorClient_1 = require("../MigrationHubOrchestratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPluginsCommand_1.ListPluginsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPlugins(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MigrationHubOrchestrator | MigrationHubOrchestratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListPlugins = paginateListPlugins;
|
|
7
|
+
exports.paginateListPlugins = (0, core_1.createPaginator)(MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient, ListPluginsCommand_1.ListPluginsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTemplateStepGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTemplateStepGroupsCommand_1 = require("../commands/ListTemplateStepGroupsCommand");
|
|
5
6
|
const MigrationHubOrchestratorClient_1 = require("../MigrationHubOrchestratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTemplateStepGroupsCommand_1.ListTemplateStepGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTemplateStepGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MigrationHubOrchestrator | MigrationHubOrchestratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTemplateStepGroups = paginateListTemplateStepGroups;
|
|
7
|
+
exports.paginateListTemplateStepGroups = (0, core_1.createPaginator)(MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient, ListTemplateStepGroupsCommand_1.ListTemplateStepGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTemplateSteps = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTemplateStepsCommand_1 = require("../commands/ListTemplateStepsCommand");
|
|
5
6
|
const MigrationHubOrchestratorClient_1 = require("../MigrationHubOrchestratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTemplateStepsCommand_1.ListTemplateStepsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTemplateSteps(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MigrationHubOrchestrator | MigrationHubOrchestratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTemplateSteps = paginateListTemplateSteps;
|
|
7
|
+
exports.paginateListTemplateSteps = (0, core_1.createPaginator)(MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient, ListTemplateStepsCommand_1.ListTemplateStepsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTemplates = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTemplatesCommand_1 = require("../commands/ListTemplatesCommand");
|
|
5
6
|
const MigrationHubOrchestratorClient_1 = require("../MigrationHubOrchestratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTemplatesCommand_1.ListTemplatesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTemplates(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MigrationHubOrchestrator | MigrationHubOrchestratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTemplates = paginateListTemplates;
|
|
7
|
+
exports.paginateListTemplates = (0, core_1.createPaginator)(MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient, ListTemplatesCommand_1.ListTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListWorkflowStepGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListWorkflowStepGroupsCommand_1 = require("../commands/ListWorkflowStepGroupsCommand");
|
|
5
6
|
const MigrationHubOrchestratorClient_1 = require("../MigrationHubOrchestratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListWorkflowStepGroupsCommand_1.ListWorkflowStepGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListWorkflowStepGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MigrationHubOrchestrator | MigrationHubOrchestratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListWorkflowStepGroups = paginateListWorkflowStepGroups;
|
|
7
|
+
exports.paginateListWorkflowStepGroups = (0, core_1.createPaginator)(MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient, ListWorkflowStepGroupsCommand_1.ListWorkflowStepGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListWorkflowSteps = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListWorkflowStepsCommand_1 = require("../commands/ListWorkflowStepsCommand");
|
|
5
6
|
const MigrationHubOrchestratorClient_1 = require("../MigrationHubOrchestratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListWorkflowStepsCommand_1.ListWorkflowStepsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListWorkflowSteps(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MigrationHubOrchestrator | MigrationHubOrchestratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListWorkflowSteps = paginateListWorkflowSteps;
|
|
7
|
+
exports.paginateListWorkflowSteps = (0, core_1.createPaginator)(MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient, ListWorkflowStepsCommand_1.ListWorkflowStepsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListWorkflows = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListWorkflowsCommand_1 = require("../commands/ListWorkflowsCommand");
|
|
5
6
|
const MigrationHubOrchestratorClient_1 = require("../MigrationHubOrchestratorClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListWorkflowsCommand_1.ListWorkflowsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListWorkflows(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MigrationHubOrchestrator | MigrationHubOrchestratorClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListWorkflows = paginateListWorkflows;
|
|
7
|
+
exports.paginateListWorkflows = (0, core_1.createPaginator)(MigrationHubOrchestratorClient_1.MigrationHubOrchestratorClient, ListWorkflowsCommand_1.ListWorkflowsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateMigrationWorkflowRequestFilterSensitiveLog, CreateMigrationWorkflowResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_CreateWorkflowCommand, se_CreateWorkflowCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class CreateWorkflowCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "MigrationHubOrchestratorClient";
|
|
27
|
-
const commandName = "CreateWorkflowCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: CreateMigrationWorkflowRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: CreateMigrationWorkflowResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSMigrationHubOrchestrator",
|
|
36
|
-
operation: "CreateWorkflow",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_CreateWorkflowCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_CreateWorkflowCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class CreateWorkflowCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSMigrationHubOrchestrator", "CreateWorkflow", {})
|
|
20
|
+
.n("MigrationHubOrchestratorClient", "CreateWorkflowCommand")
|
|
21
|
+
.f(CreateMigrationWorkflowRequestFilterSensitiveLog, CreateMigrationWorkflowResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_CreateWorkflowCommand)
|
|
23
|
+
.de(de_CreateWorkflowCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateWorkflowStepCommand, se_CreateWorkflowStepCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateWorkflowStepCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubOrchestratorClient";
|
|
26
|
-
const commandName = "CreateWorkflowStepCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHubOrchestrator",
|
|
35
|
-
operation: "CreateWorkflowStep",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateWorkflowStepCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateWorkflowStepCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateWorkflowStepCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHubOrchestrator", "CreateWorkflowStep", {})
|
|
19
|
+
.n("MigrationHubOrchestratorClient", "CreateWorkflowStepCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateWorkflowStepCommand)
|
|
22
|
+
.de(de_CreateWorkflowStepCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateWorkflowStepGroupCommand, se_CreateWorkflowStepGroupCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateWorkflowStepGroupCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubOrchestratorClient";
|
|
26
|
-
const commandName = "CreateWorkflowStepGroupCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHubOrchestrator",
|
|
35
|
-
operation: "CreateWorkflowStepGroup",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateWorkflowStepGroupCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateWorkflowStepGroupCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateWorkflowStepGroupCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHubOrchestrator", "CreateWorkflowStepGroup", {})
|
|
19
|
+
.n("MigrationHubOrchestratorClient", "CreateWorkflowStepGroupCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateWorkflowStepGroupCommand)
|
|
22
|
+
.de(de_CreateWorkflowStepGroupCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_DeleteWorkflowCommand, se_DeleteWorkflowCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteWorkflowCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "MigrationHubOrchestratorClient";
|
|
26
|
-
const commandName = "DeleteWorkflowCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "AWSMigrationHubOrchestrator",
|
|
35
|
-
operation: "DeleteWorkflow",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_DeleteWorkflowCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteWorkflowCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteWorkflowCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSMigrationHubOrchestrator", "DeleteWorkflow", {})
|
|
19
|
+
.n("MigrationHubOrchestratorClient", "DeleteWorkflowCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteWorkflowCommand)
|
|
22
|
+
.de(de_DeleteWorkflowCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|