@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,26 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
|
+
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
9
|
+
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
10
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
15
|
+
export var getRuntimeConfig = function (config) {
|
|
16
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
|
+
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
26
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
|
+
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
|
+
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
|
+
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
|
+
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
|
+
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
18
|
+
export var getRuntimeConfig = function (config) {
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
21
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
22
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
23
|
+
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
24
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
25
|
+
switch (_a.label) {
|
|
26
|
+
case 0: return [4, defaultConfigProvider()];
|
|
27
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
28
|
+
}
|
|
29
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
30
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
2
|
+
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
3
|
+
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
|
+
export var getRuntimeConfig = function (config) {
|
|
5
|
+
var _a;
|
|
6
|
+
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
7
|
+
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
8
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
3
|
+
export var getRuntimeConfig = function (config) {
|
|
4
|
+
var _a, _b, _c, _d, _e;
|
|
5
|
+
return ({
|
|
6
|
+
apiVersion: "2021-08-28",
|
|
7
|
+
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
|
|
8
|
+
logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
|
|
9
|
+
regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider,
|
|
10
|
+
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "MigrationHubOrchestrator",
|
|
11
|
+
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
|
+
});
|
|
13
|
+
};
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "./commands/CreateWorkflowCommand";
|
|
3
|
+
import { CreateWorkflowStepCommandInput, CreateWorkflowStepCommandOutput } from "./commands/CreateWorkflowStepCommand";
|
|
4
|
+
import { CreateWorkflowStepGroupCommandInput, CreateWorkflowStepGroupCommandOutput } from "./commands/CreateWorkflowStepGroupCommand";
|
|
5
|
+
import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
|
|
6
|
+
import { DeleteWorkflowStepCommandInput, DeleteWorkflowStepCommandOutput } from "./commands/DeleteWorkflowStepCommand";
|
|
7
|
+
import { DeleteWorkflowStepGroupCommandInput, DeleteWorkflowStepGroupCommandOutput } from "./commands/DeleteWorkflowStepGroupCommand";
|
|
8
|
+
import { GetTemplateCommandInput, GetTemplateCommandOutput } from "./commands/GetTemplateCommand";
|
|
9
|
+
import { GetTemplateStepCommandInput, GetTemplateStepCommandOutput } from "./commands/GetTemplateStepCommand";
|
|
10
|
+
import { GetTemplateStepGroupCommandInput, GetTemplateStepGroupCommandOutput } from "./commands/GetTemplateStepGroupCommand";
|
|
11
|
+
import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
|
|
12
|
+
import { GetWorkflowStepCommandInput, GetWorkflowStepCommandOutput } from "./commands/GetWorkflowStepCommand";
|
|
13
|
+
import { GetWorkflowStepGroupCommandInput, GetWorkflowStepGroupCommandOutput } from "./commands/GetWorkflowStepGroupCommand";
|
|
14
|
+
import { ListPluginsCommandInput, ListPluginsCommandOutput } from "./commands/ListPluginsCommand";
|
|
15
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
16
|
+
import { ListTemplatesCommandInput, ListTemplatesCommandOutput } from "./commands/ListTemplatesCommand";
|
|
17
|
+
import { ListTemplateStepGroupsCommandInput, ListTemplateStepGroupsCommandOutput } from "./commands/ListTemplateStepGroupsCommand";
|
|
18
|
+
import { ListTemplateStepsCommandInput, ListTemplateStepsCommandOutput } from "./commands/ListTemplateStepsCommand";
|
|
19
|
+
import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./commands/ListWorkflowsCommand";
|
|
20
|
+
import { ListWorkflowStepGroupsCommandInput, ListWorkflowStepGroupsCommandOutput } from "./commands/ListWorkflowStepGroupsCommand";
|
|
21
|
+
import { ListWorkflowStepsCommandInput, ListWorkflowStepsCommandOutput } from "./commands/ListWorkflowStepsCommand";
|
|
22
|
+
import { RetryWorkflowStepCommandInput, RetryWorkflowStepCommandOutput } from "./commands/RetryWorkflowStepCommand";
|
|
23
|
+
import { StartWorkflowCommandInput, StartWorkflowCommandOutput } from "./commands/StartWorkflowCommand";
|
|
24
|
+
import { StopWorkflowCommandInput, StopWorkflowCommandOutput } from "./commands/StopWorkflowCommand";
|
|
25
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
26
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
27
|
+
import { UpdateWorkflowCommandInput, UpdateWorkflowCommandOutput } from "./commands/UpdateWorkflowCommand";
|
|
28
|
+
import { UpdateWorkflowStepCommandInput, UpdateWorkflowStepCommandOutput } from "./commands/UpdateWorkflowStepCommand";
|
|
29
|
+
import { UpdateWorkflowStepGroupCommandInput, UpdateWorkflowStepGroupCommandOutput } from "./commands/UpdateWorkflowStepGroupCommand";
|
|
30
|
+
import { MigrationHubOrchestratorClient } from "./MigrationHubOrchestratorClient";
|
|
31
|
+
/**
|
|
32
|
+
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
33
|
+
* actions and data types for AWS Migration Hub Orchestrator. he topic for each action shows the API
|
|
34
|
+
* request parameters and the response. Alternatively, you can use one of the AWS SDKs to
|
|
35
|
+
* access an API that is tailored to the programming language or platform that you're
|
|
36
|
+
* using.</p>
|
|
37
|
+
*/
|
|
38
|
+
export declare class MigrationHubOrchestrator extends MigrationHubOrchestratorClient {
|
|
39
|
+
/**
|
|
40
|
+
* <p>Create a workflow to orchestrate your migrations.</p>
|
|
41
|
+
*/
|
|
42
|
+
createWorkflow(args: CreateWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkflowCommandOutput>;
|
|
43
|
+
createWorkflow(args: CreateWorkflowCommandInput, cb: (err: any, data?: CreateWorkflowCommandOutput) => void): void;
|
|
44
|
+
createWorkflow(args: CreateWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkflowCommandOutput) => void): void;
|
|
45
|
+
/**
|
|
46
|
+
* <p>Create a step in the migration workflow.</p>
|
|
47
|
+
*/
|
|
48
|
+
createWorkflowStep(args: CreateWorkflowStepCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkflowStepCommandOutput>;
|
|
49
|
+
createWorkflowStep(args: CreateWorkflowStepCommandInput, cb: (err: any, data?: CreateWorkflowStepCommandOutput) => void): void;
|
|
50
|
+
createWorkflowStep(args: CreateWorkflowStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkflowStepCommandOutput) => void): void;
|
|
51
|
+
/**
|
|
52
|
+
* <p>Create a step group in a migration workflow.</p>
|
|
53
|
+
*/
|
|
54
|
+
createWorkflowStepGroup(args: CreateWorkflowStepGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkflowStepGroupCommandOutput>;
|
|
55
|
+
createWorkflowStepGroup(args: CreateWorkflowStepGroupCommandInput, cb: (err: any, data?: CreateWorkflowStepGroupCommandOutput) => void): void;
|
|
56
|
+
createWorkflowStepGroup(args: CreateWorkflowStepGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkflowStepGroupCommandOutput) => void): void;
|
|
57
|
+
/**
|
|
58
|
+
* <p>Delete a migration workflow. You must pause a running workflow in Migration Hub Orchestrator console to
|
|
59
|
+
* delete it.</p>
|
|
60
|
+
*/
|
|
61
|
+
deleteWorkflow(args: DeleteWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkflowCommandOutput>;
|
|
62
|
+
deleteWorkflow(args: DeleteWorkflowCommandInput, cb: (err: any, data?: DeleteWorkflowCommandOutput) => void): void;
|
|
63
|
+
deleteWorkflow(args: DeleteWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkflowCommandOutput) => void): void;
|
|
64
|
+
/**
|
|
65
|
+
* <p>Delete a step in a migration workflow. Pause the workflow to delete a running
|
|
66
|
+
* step.</p>
|
|
67
|
+
*/
|
|
68
|
+
deleteWorkflowStep(args: DeleteWorkflowStepCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkflowStepCommandOutput>;
|
|
69
|
+
deleteWorkflowStep(args: DeleteWorkflowStepCommandInput, cb: (err: any, data?: DeleteWorkflowStepCommandOutput) => void): void;
|
|
70
|
+
deleteWorkflowStep(args: DeleteWorkflowStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkflowStepCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* <p>Delete a step group in a migration workflow.</p>
|
|
73
|
+
*/
|
|
74
|
+
deleteWorkflowStepGroup(args: DeleteWorkflowStepGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkflowStepGroupCommandOutput>;
|
|
75
|
+
deleteWorkflowStepGroup(args: DeleteWorkflowStepGroupCommandInput, cb: (err: any, data?: DeleteWorkflowStepGroupCommandOutput) => void): void;
|
|
76
|
+
deleteWorkflowStepGroup(args: DeleteWorkflowStepGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkflowStepGroupCommandOutput) => void): void;
|
|
77
|
+
/**
|
|
78
|
+
* <p>Get the template you want to use for creating a migration workflow.</p>
|
|
79
|
+
*/
|
|
80
|
+
getTemplate(args: GetTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetTemplateCommandOutput>;
|
|
81
|
+
getTemplate(args: GetTemplateCommandInput, cb: (err: any, data?: GetTemplateCommandOutput) => void): void;
|
|
82
|
+
getTemplate(args: GetTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTemplateCommandOutput) => void): void;
|
|
83
|
+
/**
|
|
84
|
+
* <p>Get a specific step in a template.</p>
|
|
85
|
+
*/
|
|
86
|
+
getTemplateStep(args: GetTemplateStepCommandInput, options?: __HttpHandlerOptions): Promise<GetTemplateStepCommandOutput>;
|
|
87
|
+
getTemplateStep(args: GetTemplateStepCommandInput, cb: (err: any, data?: GetTemplateStepCommandOutput) => void): void;
|
|
88
|
+
getTemplateStep(args: GetTemplateStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTemplateStepCommandOutput) => void): void;
|
|
89
|
+
/**
|
|
90
|
+
* <p>Get a step group in a template.</p>
|
|
91
|
+
*/
|
|
92
|
+
getTemplateStepGroup(args: GetTemplateStepGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetTemplateStepGroupCommandOutput>;
|
|
93
|
+
getTemplateStepGroup(args: GetTemplateStepGroupCommandInput, cb: (err: any, data?: GetTemplateStepGroupCommandOutput) => void): void;
|
|
94
|
+
getTemplateStepGroup(args: GetTemplateStepGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTemplateStepGroupCommandOutput) => void): void;
|
|
95
|
+
/**
|
|
96
|
+
* <p>Get migration workflow.</p>
|
|
97
|
+
*/
|
|
98
|
+
getWorkflow(args: GetWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowCommandOutput>;
|
|
99
|
+
getWorkflow(args: GetWorkflowCommandInput, cb: (err: any, data?: GetWorkflowCommandOutput) => void): void;
|
|
100
|
+
getWorkflow(args: GetWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkflowCommandOutput) => void): void;
|
|
101
|
+
/**
|
|
102
|
+
* <p>Get a step in the migration workflow.</p>
|
|
103
|
+
*/
|
|
104
|
+
getWorkflowStep(args: GetWorkflowStepCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowStepCommandOutput>;
|
|
105
|
+
getWorkflowStep(args: GetWorkflowStepCommandInput, cb: (err: any, data?: GetWorkflowStepCommandOutput) => void): void;
|
|
106
|
+
getWorkflowStep(args: GetWorkflowStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkflowStepCommandOutput) => void): void;
|
|
107
|
+
/**
|
|
108
|
+
* <p>Get the step group of a migration workflow.</p>
|
|
109
|
+
*/
|
|
110
|
+
getWorkflowStepGroup(args: GetWorkflowStepGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowStepGroupCommandOutput>;
|
|
111
|
+
getWorkflowStepGroup(args: GetWorkflowStepGroupCommandInput, cb: (err: any, data?: GetWorkflowStepGroupCommandOutput) => void): void;
|
|
112
|
+
getWorkflowStepGroup(args: GetWorkflowStepGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkflowStepGroupCommandOutput) => void): void;
|
|
113
|
+
/**
|
|
114
|
+
* <p>List AWS Migration Hub Orchestrator plugins.</p>
|
|
115
|
+
*/
|
|
116
|
+
listPlugins(args: ListPluginsCommandInput, options?: __HttpHandlerOptions): Promise<ListPluginsCommandOutput>;
|
|
117
|
+
listPlugins(args: ListPluginsCommandInput, cb: (err: any, data?: ListPluginsCommandOutput) => void): void;
|
|
118
|
+
listPlugins(args: ListPluginsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPluginsCommandOutput) => void): void;
|
|
119
|
+
/**
|
|
120
|
+
* <p>List the tags added to a resource.</p>
|
|
121
|
+
*/
|
|
122
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
123
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
124
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
125
|
+
/**
|
|
126
|
+
* <p>List the templates available in Migration Hub Orchestrator to create a migration workflow.</p>
|
|
127
|
+
*/
|
|
128
|
+
listTemplates(args: ListTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListTemplatesCommandOutput>;
|
|
129
|
+
listTemplates(args: ListTemplatesCommandInput, cb: (err: any, data?: ListTemplatesCommandOutput) => void): void;
|
|
130
|
+
listTemplates(args: ListTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTemplatesCommandOutput) => void): void;
|
|
131
|
+
/**
|
|
132
|
+
* <p>List the step groups in a template.</p>
|
|
133
|
+
*/
|
|
134
|
+
listTemplateStepGroups(args: ListTemplateStepGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListTemplateStepGroupsCommandOutput>;
|
|
135
|
+
listTemplateStepGroups(args: ListTemplateStepGroupsCommandInput, cb: (err: any, data?: ListTemplateStepGroupsCommandOutput) => void): void;
|
|
136
|
+
listTemplateStepGroups(args: ListTemplateStepGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTemplateStepGroupsCommandOutput) => void): void;
|
|
137
|
+
/**
|
|
138
|
+
* <p>List the steps in a template.</p>
|
|
139
|
+
*/
|
|
140
|
+
listTemplateSteps(args: ListTemplateStepsCommandInput, options?: __HttpHandlerOptions): Promise<ListTemplateStepsCommandOutput>;
|
|
141
|
+
listTemplateSteps(args: ListTemplateStepsCommandInput, cb: (err: any, data?: ListTemplateStepsCommandOutput) => void): void;
|
|
142
|
+
listTemplateSteps(args: ListTemplateStepsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTemplateStepsCommandOutput) => void): void;
|
|
143
|
+
/**
|
|
144
|
+
* <p>List the migration workflows.</p>
|
|
145
|
+
*/
|
|
146
|
+
listWorkflows(args: ListWorkflowsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowsCommandOutput>;
|
|
147
|
+
listWorkflows(args: ListWorkflowsCommandInput, cb: (err: any, data?: ListWorkflowsCommandOutput) => void): void;
|
|
148
|
+
listWorkflows(args: ListWorkflowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowsCommandOutput) => void): void;
|
|
149
|
+
/**
|
|
150
|
+
* <p>List the step groups in a migration workflow.</p>
|
|
151
|
+
*/
|
|
152
|
+
listWorkflowStepGroups(args: ListWorkflowStepGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowStepGroupsCommandOutput>;
|
|
153
|
+
listWorkflowStepGroups(args: ListWorkflowStepGroupsCommandInput, cb: (err: any, data?: ListWorkflowStepGroupsCommandOutput) => void): void;
|
|
154
|
+
listWorkflowStepGroups(args: ListWorkflowStepGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowStepGroupsCommandOutput) => void): void;
|
|
155
|
+
/**
|
|
156
|
+
* <p>List the steps in a workflow.</p>
|
|
157
|
+
*/
|
|
158
|
+
listWorkflowSteps(args: ListWorkflowStepsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowStepsCommandOutput>;
|
|
159
|
+
listWorkflowSteps(args: ListWorkflowStepsCommandInput, cb: (err: any, data?: ListWorkflowStepsCommandOutput) => void): void;
|
|
160
|
+
listWorkflowSteps(args: ListWorkflowStepsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowStepsCommandOutput) => void): void;
|
|
161
|
+
/**
|
|
162
|
+
* <p>Retry a failed step in a migration workflow.</p>
|
|
163
|
+
*/
|
|
164
|
+
retryWorkflowStep(args: RetryWorkflowStepCommandInput, options?: __HttpHandlerOptions): Promise<RetryWorkflowStepCommandOutput>;
|
|
165
|
+
retryWorkflowStep(args: RetryWorkflowStepCommandInput, cb: (err: any, data?: RetryWorkflowStepCommandOutput) => void): void;
|
|
166
|
+
retryWorkflowStep(args: RetryWorkflowStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RetryWorkflowStepCommandOutput) => void): void;
|
|
167
|
+
/**
|
|
168
|
+
* <p>Start a migration workflow.</p>
|
|
169
|
+
*/
|
|
170
|
+
startWorkflow(args: StartWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<StartWorkflowCommandOutput>;
|
|
171
|
+
startWorkflow(args: StartWorkflowCommandInput, cb: (err: any, data?: StartWorkflowCommandOutput) => void): void;
|
|
172
|
+
startWorkflow(args: StartWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartWorkflowCommandOutput) => void): void;
|
|
173
|
+
/**
|
|
174
|
+
* <p>Stop an ongoing migration workflow.</p>
|
|
175
|
+
*/
|
|
176
|
+
stopWorkflow(args: StopWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<StopWorkflowCommandOutput>;
|
|
177
|
+
stopWorkflow(args: StopWorkflowCommandInput, cb: (err: any, data?: StopWorkflowCommandOutput) => void): void;
|
|
178
|
+
stopWorkflow(args: StopWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopWorkflowCommandOutput) => void): void;
|
|
179
|
+
/**
|
|
180
|
+
* <p>Tag a resource by specifying its Amazon Resource Name (ARN).</p>
|
|
181
|
+
*/
|
|
182
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
183
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
184
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
185
|
+
/**
|
|
186
|
+
* <p>Deletes the tags for a resource.</p>
|
|
187
|
+
*/
|
|
188
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
189
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
190
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
191
|
+
/**
|
|
192
|
+
* <p>Update a migration workflow.</p>
|
|
193
|
+
*/
|
|
194
|
+
updateWorkflow(args: UpdateWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkflowCommandOutput>;
|
|
195
|
+
updateWorkflow(args: UpdateWorkflowCommandInput, cb: (err: any, data?: UpdateWorkflowCommandOutput) => void): void;
|
|
196
|
+
updateWorkflow(args: UpdateWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkflowCommandOutput) => void): void;
|
|
197
|
+
/**
|
|
198
|
+
* <p>Update a step in a migration workflow.</p>
|
|
199
|
+
*/
|
|
200
|
+
updateWorkflowStep(args: UpdateWorkflowStepCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkflowStepCommandOutput>;
|
|
201
|
+
updateWorkflowStep(args: UpdateWorkflowStepCommandInput, cb: (err: any, data?: UpdateWorkflowStepCommandOutput) => void): void;
|
|
202
|
+
updateWorkflowStep(args: UpdateWorkflowStepCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkflowStepCommandOutput) => void): void;
|
|
203
|
+
/**
|
|
204
|
+
* <p>Update the step group in a migration workflow.</p>
|
|
205
|
+
*/
|
|
206
|
+
updateWorkflowStepGroup(args: UpdateWorkflowStepGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkflowStepGroupCommandOutput>;
|
|
207
|
+
updateWorkflowStepGroup(args: UpdateWorkflowStepGroupCommandInput, cb: (err: any, data?: UpdateWorkflowStepGroupCommandOutput) => void): void;
|
|
208
|
+
updateWorkflowStepGroup(args: UpdateWorkflowStepGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkflowStepGroupCommandOutput) => void): void;
|
|
209
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "./commands/CreateWorkflowCommand";
|
|
10
|
+
import { CreateWorkflowStepCommandInput, CreateWorkflowStepCommandOutput } from "./commands/CreateWorkflowStepCommand";
|
|
11
|
+
import { CreateWorkflowStepGroupCommandInput, CreateWorkflowStepGroupCommandOutput } from "./commands/CreateWorkflowStepGroupCommand";
|
|
12
|
+
import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "./commands/DeleteWorkflowCommand";
|
|
13
|
+
import { DeleteWorkflowStepCommandInput, DeleteWorkflowStepCommandOutput } from "./commands/DeleteWorkflowStepCommand";
|
|
14
|
+
import { DeleteWorkflowStepGroupCommandInput, DeleteWorkflowStepGroupCommandOutput } from "./commands/DeleteWorkflowStepGroupCommand";
|
|
15
|
+
import { GetTemplateCommandInput, GetTemplateCommandOutput } from "./commands/GetTemplateCommand";
|
|
16
|
+
import { GetTemplateStepCommandInput, GetTemplateStepCommandOutput } from "./commands/GetTemplateStepCommand";
|
|
17
|
+
import { GetTemplateStepGroupCommandInput, GetTemplateStepGroupCommandOutput } from "./commands/GetTemplateStepGroupCommand";
|
|
18
|
+
import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
|
|
19
|
+
import { GetWorkflowStepCommandInput, GetWorkflowStepCommandOutput } from "./commands/GetWorkflowStepCommand";
|
|
20
|
+
import { GetWorkflowStepGroupCommandInput, GetWorkflowStepGroupCommandOutput } from "./commands/GetWorkflowStepGroupCommand";
|
|
21
|
+
import { ListPluginsCommandInput, ListPluginsCommandOutput } from "./commands/ListPluginsCommand";
|
|
22
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
23
|
+
import { ListTemplatesCommandInput, ListTemplatesCommandOutput } from "./commands/ListTemplatesCommand";
|
|
24
|
+
import { ListTemplateStepGroupsCommandInput, ListTemplateStepGroupsCommandOutput } from "./commands/ListTemplateStepGroupsCommand";
|
|
25
|
+
import { ListTemplateStepsCommandInput, ListTemplateStepsCommandOutput } from "./commands/ListTemplateStepsCommand";
|
|
26
|
+
import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./commands/ListWorkflowsCommand";
|
|
27
|
+
import { ListWorkflowStepGroupsCommandInput, ListWorkflowStepGroupsCommandOutput } from "./commands/ListWorkflowStepGroupsCommand";
|
|
28
|
+
import { ListWorkflowStepsCommandInput, ListWorkflowStepsCommandOutput } from "./commands/ListWorkflowStepsCommand";
|
|
29
|
+
import { RetryWorkflowStepCommandInput, RetryWorkflowStepCommandOutput } from "./commands/RetryWorkflowStepCommand";
|
|
30
|
+
import { StartWorkflowCommandInput, StartWorkflowCommandOutput } from "./commands/StartWorkflowCommand";
|
|
31
|
+
import { StopWorkflowCommandInput, StopWorkflowCommandOutput } from "./commands/StopWorkflowCommand";
|
|
32
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
33
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
34
|
+
import { UpdateWorkflowCommandInput, UpdateWorkflowCommandOutput } from "./commands/UpdateWorkflowCommand";
|
|
35
|
+
import { UpdateWorkflowStepCommandInput, UpdateWorkflowStepCommandOutput } from "./commands/UpdateWorkflowStepCommand";
|
|
36
|
+
import { UpdateWorkflowStepGroupCommandInput, UpdateWorkflowStepGroupCommandOutput } from "./commands/UpdateWorkflowStepGroupCommand";
|
|
37
|
+
export declare type ServiceInputTypes = CreateWorkflowCommandInput | CreateWorkflowStepCommandInput | CreateWorkflowStepGroupCommandInput | DeleteWorkflowCommandInput | DeleteWorkflowStepCommandInput | DeleteWorkflowStepGroupCommandInput | GetTemplateCommandInput | GetTemplateStepCommandInput | GetTemplateStepGroupCommandInput | GetWorkflowCommandInput | GetWorkflowStepCommandInput | GetWorkflowStepGroupCommandInput | ListPluginsCommandInput | ListTagsForResourceCommandInput | ListTemplateStepGroupsCommandInput | ListTemplateStepsCommandInput | ListTemplatesCommandInput | ListWorkflowStepGroupsCommandInput | ListWorkflowStepsCommandInput | ListWorkflowsCommandInput | RetryWorkflowStepCommandInput | StartWorkflowCommandInput | StopWorkflowCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateWorkflowCommandInput | UpdateWorkflowStepCommandInput | UpdateWorkflowStepGroupCommandInput;
|
|
38
|
+
export declare type ServiceOutputTypes = CreateWorkflowCommandOutput | CreateWorkflowStepCommandOutput | CreateWorkflowStepGroupCommandOutput | DeleteWorkflowCommandOutput | DeleteWorkflowStepCommandOutput | DeleteWorkflowStepGroupCommandOutput | GetTemplateCommandOutput | GetTemplateStepCommandOutput | GetTemplateStepGroupCommandOutput | GetWorkflowCommandOutput | GetWorkflowStepCommandOutput | GetWorkflowStepGroupCommandOutput | ListPluginsCommandOutput | ListTagsForResourceCommandOutput | ListTemplateStepGroupsCommandOutput | ListTemplateStepsCommandOutput | ListTemplatesCommandOutput | ListWorkflowStepGroupsCommandOutput | ListWorkflowStepsCommandOutput | ListWorkflowsCommandOutput | RetryWorkflowStepCommandOutput | StartWorkflowCommandOutput | StopWorkflowCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateWorkflowCommandOutput | UpdateWorkflowStepCommandOutput | UpdateWorkflowStepGroupCommandOutput;
|
|
39
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
40
|
+
/**
|
|
41
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
42
|
+
*/
|
|
43
|
+
requestHandler?: __HttpHandler;
|
|
44
|
+
/**
|
|
45
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
46
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
sha256?: __HashConstructor;
|
|
50
|
+
/**
|
|
51
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
urlParser?: __UrlParser;
|
|
55
|
+
/**
|
|
56
|
+
* A function that can calculate the length of a request body.
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
60
|
+
/**
|
|
61
|
+
* A function that converts a stream into an array of bytes.
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
streamCollector?: __StreamCollector;
|
|
65
|
+
/**
|
|
66
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
base64Decoder?: __Decoder;
|
|
70
|
+
/**
|
|
71
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
base64Encoder?: __Encoder;
|
|
75
|
+
/**
|
|
76
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
utf8Decoder?: __Decoder;
|
|
80
|
+
/**
|
|
81
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
utf8Encoder?: __Encoder;
|
|
85
|
+
/**
|
|
86
|
+
* The runtime environment.
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
runtime?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
92
|
+
* trait of an operation.
|
|
93
|
+
*/
|
|
94
|
+
disableHostPrefix?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
97
|
+
*/
|
|
98
|
+
maxAttempts?: number | __Provider<number>;
|
|
99
|
+
/**
|
|
100
|
+
* Specifies which retry algorithm to use.
|
|
101
|
+
*/
|
|
102
|
+
retryMode?: string | __Provider<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Optional logger for logging debug/info/warn/error.
|
|
105
|
+
*/
|
|
106
|
+
logger?: __Logger;
|
|
107
|
+
/**
|
|
108
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
109
|
+
*/
|
|
110
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
111
|
+
/**
|
|
112
|
+
* Enables FIPS compatible endpoints.
|
|
113
|
+
*/
|
|
114
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* Unique service identifier.
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
serviceId?: string;
|
|
120
|
+
/**
|
|
121
|
+
* The AWS region to which this client will send requests
|
|
122
|
+
*/
|
|
123
|
+
region?: string | __Provider<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Default credentials provider; Not available in browser runtime.
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
129
|
+
/**
|
|
130
|
+
* Fetch related hostname, signing name or signing region with given region.
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
134
|
+
/**
|
|
135
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
138
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
139
|
+
/**
|
|
140
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
141
|
+
*/
|
|
142
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
143
|
+
}
|
|
144
|
+
declare type MigrationHubOrchestratorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
145
|
+
/**
|
|
146
|
+
* The configuration interface of MigrationHubOrchestratorClient class constructor that set the region, credentials and other options.
|
|
147
|
+
*/
|
|
148
|
+
export interface MigrationHubOrchestratorClientConfig extends MigrationHubOrchestratorClientConfigType {
|
|
149
|
+
}
|
|
150
|
+
declare type MigrationHubOrchestratorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
151
|
+
/**
|
|
152
|
+
* The resolved configuration interface of MigrationHubOrchestratorClient class. This is resolved and normalized from the {@link MigrationHubOrchestratorClientConfig | constructor configuration interface}.
|
|
153
|
+
*/
|
|
154
|
+
export interface MigrationHubOrchestratorClientResolvedConfig extends MigrationHubOrchestratorClientResolvedConfigType {
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* <p>This API reference provides descriptions, syntax, and other details about each of the
|
|
158
|
+
* actions and data types for AWS Migration Hub Orchestrator. he topic for each action shows the API
|
|
159
|
+
* request parameters and the response. Alternatively, you can use one of the AWS SDKs to
|
|
160
|
+
* access an API that is tailored to the programming language or platform that you're
|
|
161
|
+
* using.</p>
|
|
162
|
+
*/
|
|
163
|
+
export declare class MigrationHubOrchestratorClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MigrationHubOrchestratorClientResolvedConfig> {
|
|
164
|
+
/**
|
|
165
|
+
* The resolved configuration of MigrationHubOrchestratorClient class. This is resolved and normalized from the {@link MigrationHubOrchestratorClientConfig | constructor configuration interface}.
|
|
166
|
+
*/
|
|
167
|
+
readonly config: MigrationHubOrchestratorClientResolvedConfig;
|
|
168
|
+
constructor(configuration: MigrationHubOrchestratorClientConfig);
|
|
169
|
+
/**
|
|
170
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
171
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
172
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
173
|
+
*/
|
|
174
|
+
destroy(): void;
|
|
175
|
+
}
|
|
176
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { MigrationHubOrchestratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubOrchestratorClient";
|
|
4
|
+
import { CreateMigrationWorkflowRequest, CreateMigrationWorkflowResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateWorkflowCommandInput extends CreateMigrationWorkflowRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateWorkflowCommandOutput extends CreateMigrationWorkflowResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Create a workflow to orchestrate your migrations.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { MigrationHubOrchestratorClient, CreateWorkflowCommand } from "@aws-sdk/client-migrationhuborchestrator"; // ES Modules import
|
|
15
|
+
* // const { MigrationHubOrchestratorClient, CreateWorkflowCommand } = require("@aws-sdk/client-migrationhuborchestrator"); // CommonJS import
|
|
16
|
+
* const client = new MigrationHubOrchestratorClient(config);
|
|
17
|
+
* const command = new CreateWorkflowCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CreateWorkflowCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CreateWorkflowCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link MigrationHubOrchestratorClientResolvedConfig | config} for MigrationHubOrchestratorClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class CreateWorkflowCommand extends $Command<CreateWorkflowCommandInput, CreateWorkflowCommandOutput, MigrationHubOrchestratorClientResolvedConfig> {
|
|
27
|
+
readonly input: CreateWorkflowCommandInput;
|
|
28
|
+
constructor(input: CreateWorkflowCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubOrchestratorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWorkflowCommandInput, CreateWorkflowCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { MigrationHubOrchestratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubOrchestratorClient";
|
|
4
|
+
import { CreateWorkflowStepRequest, CreateWorkflowStepResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateWorkflowStepCommandInput extends CreateWorkflowStepRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateWorkflowStepCommandOutput extends CreateWorkflowStepResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Create a step in the migration workflow.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { MigrationHubOrchestratorClient, CreateWorkflowStepCommand } from "@aws-sdk/client-migrationhuborchestrator"; // ES Modules import
|
|
15
|
+
* // const { MigrationHubOrchestratorClient, CreateWorkflowStepCommand } = require("@aws-sdk/client-migrationhuborchestrator"); // CommonJS import
|
|
16
|
+
* const client = new MigrationHubOrchestratorClient(config);
|
|
17
|
+
* const command = new CreateWorkflowStepCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CreateWorkflowStepCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CreateWorkflowStepCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link MigrationHubOrchestratorClientResolvedConfig | config} for MigrationHubOrchestratorClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class CreateWorkflowStepCommand extends $Command<CreateWorkflowStepCommandInput, CreateWorkflowStepCommandOutput, MigrationHubOrchestratorClientResolvedConfig> {
|
|
27
|
+
readonly input: CreateWorkflowStepCommandInput;
|
|
28
|
+
constructor(input: CreateWorkflowStepCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubOrchestratorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWorkflowStepCommandInput, CreateWorkflowStepCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { MigrationHubOrchestratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubOrchestratorClient";
|
|
4
|
+
import { CreateWorkflowStepGroupRequest, CreateWorkflowStepGroupResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateWorkflowStepGroupCommandInput extends CreateWorkflowStepGroupRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateWorkflowStepGroupCommandOutput extends CreateWorkflowStepGroupResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Create a step group in a migration workflow.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { MigrationHubOrchestratorClient, CreateWorkflowStepGroupCommand } from "@aws-sdk/client-migrationhuborchestrator"; // ES Modules import
|
|
15
|
+
* // const { MigrationHubOrchestratorClient, CreateWorkflowStepGroupCommand } = require("@aws-sdk/client-migrationhuborchestrator"); // CommonJS import
|
|
16
|
+
* const client = new MigrationHubOrchestratorClient(config);
|
|
17
|
+
* const command = new CreateWorkflowStepGroupCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CreateWorkflowStepGroupCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CreateWorkflowStepGroupCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link MigrationHubOrchestratorClientResolvedConfig | config} for MigrationHubOrchestratorClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class CreateWorkflowStepGroupCommand extends $Command<CreateWorkflowStepGroupCommandInput, CreateWorkflowStepGroupCommandOutput, MigrationHubOrchestratorClientResolvedConfig> {
|
|
27
|
+
readonly input: CreateWorkflowStepGroupCommandInput;
|
|
28
|
+
constructor(input: CreateWorkflowStepGroupCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubOrchestratorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWorkflowStepGroupCommandInput, CreateWorkflowStepGroupCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { MigrationHubOrchestratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MigrationHubOrchestratorClient";
|
|
4
|
+
import { DeleteMigrationWorkflowRequest, DeleteMigrationWorkflowResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteWorkflowCommandInput extends DeleteMigrationWorkflowRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteWorkflowCommandOutput extends DeleteMigrationWorkflowResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Delete a migration workflow. You must pause a running workflow in Migration Hub Orchestrator console to
|
|
11
|
+
* delete it.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { MigrationHubOrchestratorClient, DeleteWorkflowCommand } from "@aws-sdk/client-migrationhuborchestrator"; // ES Modules import
|
|
16
|
+
* // const { MigrationHubOrchestratorClient, DeleteWorkflowCommand } = require("@aws-sdk/client-migrationhuborchestrator"); // CommonJS import
|
|
17
|
+
* const client = new MigrationHubOrchestratorClient(config);
|
|
18
|
+
* const command = new DeleteWorkflowCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DeleteWorkflowCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DeleteWorkflowCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link MigrationHubOrchestratorClientResolvedConfig | config} for MigrationHubOrchestratorClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteWorkflowCommand extends $Command<DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput, MigrationHubOrchestratorClientResolvedConfig> {
|
|
28
|
+
readonly input: DeleteWorkflowCommandInput;
|
|
29
|
+
constructor(input: DeleteWorkflowCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MigrationHubOrchestratorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|