@aws-sdk/client-mgn 3.39.0 → 3.43.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 +41 -0
- package/dist-cjs/Mgn.js +60 -0
- package/dist-cjs/commands/DeleteVcenterClientCommand.js +36 -0
- package/dist-cjs/commands/DescribeVcenterClientsCommand.js +36 -0
- package/dist-cjs/commands/StartReplicationCommand.js +36 -0
- package/dist-cjs/commands/UpdateSourceServerReplicationTypeCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoints.js +74 -5
- package/dist-cjs/models/models_0.js +57 -1
- package/dist-cjs/pagination/DescribeVcenterClientsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +574 -1
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/Mgn.js +60 -0
- package/dist-es/commands/DeleteVcenterClientCommand.js +39 -0
- package/dist-es/commands/DescribeVcenterClientsCommand.js +39 -0
- package/dist-es/commands/StartReplicationCommand.js +39 -0
- package/dist-es/commands/UpdateSourceServerReplicationTypeCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoints.js +74 -5
- package/dist-es/models/models_0.js +38 -0
- package/dist-es/pagination/DescribeVcenterClientsPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +643 -6
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Mgn.d.ts +28 -0
- package/dist-types/MgnClient.d.ts +14 -2
- package/dist-types/commands/ChangeServerLifeCycleStateCommand.d.ts +1 -1
- package/dist-types/commands/CreateReplicationConfigurationTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSourceServerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVcenterClientCommand.d.ts +35 -0
- package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSourceServersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVcenterClientsCommand.d.ts +35 -0
- package/dist-types/commands/DisconnectFromServiceCommand.d.ts +1 -1
- package/dist-types/commands/FinalizeCutoverCommand.d.ts +1 -1
- package/dist-types/commands/GetLaunchConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetReplicationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/InitializeServiceCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/MarkAsArchivedCommand.d.ts +1 -1
- package/dist-types/commands/RetryDataReplicationCommand.d.ts +1 -1
- package/dist-types/commands/StartCutoverCommand.d.ts +1 -1
- package/dist-types/commands/StartReplicationCommand.d.ts +35 -0
- package/dist-types/commands/StartTestCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TerminateTargetInstancesCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLaunchConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateReplicationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSourceServerReplicationTypeCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +184 -1
- package/dist-types/pagination/DescribeVcenterClientsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/Mgn.d.ts +20 -0
- package/dist-types/ts3.4/MgnClient.d.ts +10 -2
- package/dist-types/ts3.4/commands/DeleteVcenterClientCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeVcenterClientsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSourceServerReplicationTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +114 -1
- package/dist-types/ts3.4/pagination/DescribeVcenterClientsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
|
10
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
13
|
export var getRuntimeConfig = function (config) {
|
|
13
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
14
15
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", 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 FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), 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,
|
|
16
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", 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 FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), 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 });
|
|
16
17
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
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
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", 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 NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), 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,
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", 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 NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), 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 });
|
|
21
21
|
};
|
package/dist-types/Mgn.d.ts
CHANGED
|
@@ -4,10 +4,12 @@ import { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationCo
|
|
|
4
4
|
import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
|
|
5
5
|
import { DeleteReplicationConfigurationTemplateCommandInput, DeleteReplicationConfigurationTemplateCommandOutput } from "./commands/DeleteReplicationConfigurationTemplateCommand";
|
|
6
6
|
import { DeleteSourceServerCommandInput, DeleteSourceServerCommandOutput } from "./commands/DeleteSourceServerCommand";
|
|
7
|
+
import { DeleteVcenterClientCommandInput, DeleteVcenterClientCommandOutput } from "./commands/DeleteVcenterClientCommand";
|
|
7
8
|
import { DescribeJobLogItemsCommandInput, DescribeJobLogItemsCommandOutput } from "./commands/DescribeJobLogItemsCommand";
|
|
8
9
|
import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
|
|
9
10
|
import { DescribeReplicationConfigurationTemplatesCommandInput, DescribeReplicationConfigurationTemplatesCommandOutput } from "./commands/DescribeReplicationConfigurationTemplatesCommand";
|
|
10
11
|
import { DescribeSourceServersCommandInput, DescribeSourceServersCommandOutput } from "./commands/DescribeSourceServersCommand";
|
|
12
|
+
import { DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput } from "./commands/DescribeVcenterClientsCommand";
|
|
11
13
|
import { DisconnectFromServiceCommandInput, DisconnectFromServiceCommandOutput } from "./commands/DisconnectFromServiceCommand";
|
|
12
14
|
import { FinalizeCutoverCommandInput, FinalizeCutoverCommandOutput } from "./commands/FinalizeCutoverCommand";
|
|
13
15
|
import { GetLaunchConfigurationCommandInput, GetLaunchConfigurationCommandOutput } from "./commands/GetLaunchConfigurationCommand";
|
|
@@ -17,6 +19,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
17
19
|
import { MarkAsArchivedCommandInput, MarkAsArchivedCommandOutput } from "./commands/MarkAsArchivedCommand";
|
|
18
20
|
import { RetryDataReplicationCommandInput, RetryDataReplicationCommandOutput } from "./commands/RetryDataReplicationCommand";
|
|
19
21
|
import { StartCutoverCommandInput, StartCutoverCommandOutput } from "./commands/StartCutoverCommand";
|
|
22
|
+
import { StartReplicationCommandInput, StartReplicationCommandOutput } from "./commands/StartReplicationCommand";
|
|
20
23
|
import { StartTestCommandInput, StartTestCommandOutput } from "./commands/StartTestCommand";
|
|
21
24
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
22
25
|
import { TerminateTargetInstancesCommandInput, TerminateTargetInstancesCommandOutput } from "./commands/TerminateTargetInstancesCommand";
|
|
@@ -24,6 +27,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
24
27
|
import { UpdateLaunchConfigurationCommandInput, UpdateLaunchConfigurationCommandOutput } from "./commands/UpdateLaunchConfigurationCommand";
|
|
25
28
|
import { UpdateReplicationConfigurationCommandInput, UpdateReplicationConfigurationCommandOutput } from "./commands/UpdateReplicationConfigurationCommand";
|
|
26
29
|
import { UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationConfigurationTemplateCommandOutput } from "./commands/UpdateReplicationConfigurationTemplateCommand";
|
|
30
|
+
import { UpdateSourceServerReplicationTypeCommandInput, UpdateSourceServerReplicationTypeCommandOutput } from "./commands/UpdateSourceServerReplicationTypeCommand";
|
|
27
31
|
import { MgnClient } from "./MgnClient";
|
|
28
32
|
/**
|
|
29
33
|
* <p>The Application Migration Service service.</p>
|
|
@@ -59,6 +63,12 @@ export declare class Mgn extends MgnClient {
|
|
|
59
63
|
deleteSourceServer(args: DeleteSourceServerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSourceServerCommandOutput>;
|
|
60
64
|
deleteSourceServer(args: DeleteSourceServerCommandInput, cb: (err: any, data?: DeleteSourceServerCommandOutput) => void): void;
|
|
61
65
|
deleteSourceServer(args: DeleteSourceServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSourceServerCommandOutput) => void): void;
|
|
66
|
+
/**
|
|
67
|
+
* <p>Deletes a single vCenter client by ID.</p>
|
|
68
|
+
*/
|
|
69
|
+
deleteVcenterClient(args: DeleteVcenterClientCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVcenterClientCommandOutput>;
|
|
70
|
+
deleteVcenterClient(args: DeleteVcenterClientCommandInput, cb: (err: any, data?: DeleteVcenterClientCommandOutput) => void): void;
|
|
71
|
+
deleteVcenterClient(args: DeleteVcenterClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVcenterClientCommandOutput) => void): void;
|
|
62
72
|
/**
|
|
63
73
|
* <p>Retrieves detailed Job log with paging.</p>
|
|
64
74
|
*/
|
|
@@ -83,6 +93,12 @@ export declare class Mgn extends MgnClient {
|
|
|
83
93
|
describeSourceServers(args: DescribeSourceServersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSourceServersCommandOutput>;
|
|
84
94
|
describeSourceServers(args: DescribeSourceServersCommandInput, cb: (err: any, data?: DescribeSourceServersCommandOutput) => void): void;
|
|
85
95
|
describeSourceServers(args: DescribeSourceServersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSourceServersCommandOutput) => void): void;
|
|
96
|
+
/**
|
|
97
|
+
* <p>Lists all vCenter clients.</p>
|
|
98
|
+
*/
|
|
99
|
+
describeVcenterClients(args: DescribeVcenterClientsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVcenterClientsCommandOutput>;
|
|
100
|
+
describeVcenterClients(args: DescribeVcenterClientsCommandInput, cb: (err: any, data?: DescribeVcenterClientsCommandOutput) => void): void;
|
|
101
|
+
describeVcenterClients(args: DescribeVcenterClientsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVcenterClientsCommandOutput) => void): void;
|
|
86
102
|
/**
|
|
87
103
|
* <p>Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communciating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill be nullified.</p>
|
|
88
104
|
*/
|
|
@@ -137,6 +153,12 @@ export declare class Mgn extends MgnClient {
|
|
|
137
153
|
startCutover(args: StartCutoverCommandInput, options?: __HttpHandlerOptions): Promise<StartCutoverCommandOutput>;
|
|
138
154
|
startCutover(args: StartCutoverCommandInput, cb: (err: any, data?: StartCutoverCommandOutput) => void): void;
|
|
139
155
|
startCutover(args: StartCutoverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCutoverCommandOutput) => void): void;
|
|
156
|
+
/**
|
|
157
|
+
* <p>Starts replication on source server by ID.</p>
|
|
158
|
+
*/
|
|
159
|
+
startReplication(args: StartReplicationCommandInput, options?: __HttpHandlerOptions): Promise<StartReplicationCommandOutput>;
|
|
160
|
+
startReplication(args: StartReplicationCommandInput, cb: (err: any, data?: StartReplicationCommandOutput) => void): void;
|
|
161
|
+
startReplication(args: StartReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartReplicationCommandOutput) => void): void;
|
|
140
162
|
/**
|
|
141
163
|
* <p>Lauches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.</p>
|
|
142
164
|
*/
|
|
@@ -179,4 +201,10 @@ export declare class Mgn extends MgnClient {
|
|
|
179
201
|
updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReplicationConfigurationTemplateCommandOutput>;
|
|
180
202
|
updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, cb: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
181
203
|
updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
204
|
+
/**
|
|
205
|
+
* <p>Updates source server Replication Type by ID.</p>
|
|
206
|
+
*/
|
|
207
|
+
updateSourceServerReplicationType(args: UpdateSourceServerReplicationTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSourceServerReplicationTypeCommandOutput>;
|
|
208
|
+
updateSourceServerReplicationType(args: UpdateSourceServerReplicationTypeCommandInput, cb: (err: any, data?: UpdateSourceServerReplicationTypeCommandOutput) => void): void;
|
|
209
|
+
updateSourceServerReplicationType(args: UpdateSourceServerReplicationTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSourceServerReplicationTypeCommandOutput) => void): void;
|
|
182
210
|
}
|
|
@@ -11,10 +11,12 @@ import { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationCo
|
|
|
11
11
|
import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
|
|
12
12
|
import { DeleteReplicationConfigurationTemplateCommandInput, DeleteReplicationConfigurationTemplateCommandOutput } from "./commands/DeleteReplicationConfigurationTemplateCommand";
|
|
13
13
|
import { DeleteSourceServerCommandInput, DeleteSourceServerCommandOutput } from "./commands/DeleteSourceServerCommand";
|
|
14
|
+
import { DeleteVcenterClientCommandInput, DeleteVcenterClientCommandOutput } from "./commands/DeleteVcenterClientCommand";
|
|
14
15
|
import { DescribeJobLogItemsCommandInput, DescribeJobLogItemsCommandOutput } from "./commands/DescribeJobLogItemsCommand";
|
|
15
16
|
import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand";
|
|
16
17
|
import { DescribeReplicationConfigurationTemplatesCommandInput, DescribeReplicationConfigurationTemplatesCommandOutput } from "./commands/DescribeReplicationConfigurationTemplatesCommand";
|
|
17
18
|
import { DescribeSourceServersCommandInput, DescribeSourceServersCommandOutput } from "./commands/DescribeSourceServersCommand";
|
|
19
|
+
import { DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput } from "./commands/DescribeVcenterClientsCommand";
|
|
18
20
|
import { DisconnectFromServiceCommandInput, DisconnectFromServiceCommandOutput } from "./commands/DisconnectFromServiceCommand";
|
|
19
21
|
import { FinalizeCutoverCommandInput, FinalizeCutoverCommandOutput } from "./commands/FinalizeCutoverCommand";
|
|
20
22
|
import { GetLaunchConfigurationCommandInput, GetLaunchConfigurationCommandOutput } from "./commands/GetLaunchConfigurationCommand";
|
|
@@ -24,6 +26,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
24
26
|
import { MarkAsArchivedCommandInput, MarkAsArchivedCommandOutput } from "./commands/MarkAsArchivedCommand";
|
|
25
27
|
import { RetryDataReplicationCommandInput, RetryDataReplicationCommandOutput } from "./commands/RetryDataReplicationCommand";
|
|
26
28
|
import { StartCutoverCommandInput, StartCutoverCommandOutput } from "./commands/StartCutoverCommand";
|
|
29
|
+
import { StartReplicationCommandInput, StartReplicationCommandOutput } from "./commands/StartReplicationCommand";
|
|
27
30
|
import { StartTestCommandInput, StartTestCommandOutput } from "./commands/StartTestCommand";
|
|
28
31
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
29
32
|
import { TerminateTargetInstancesCommandInput, TerminateTargetInstancesCommandOutput } from "./commands/TerminateTargetInstancesCommand";
|
|
@@ -31,8 +34,9 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
31
34
|
import { UpdateLaunchConfigurationCommandInput, UpdateLaunchConfigurationCommandOutput } from "./commands/UpdateLaunchConfigurationCommand";
|
|
32
35
|
import { UpdateReplicationConfigurationCommandInput, UpdateReplicationConfigurationCommandOutput } from "./commands/UpdateReplicationConfigurationCommand";
|
|
33
36
|
import { UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationConfigurationTemplateCommandOutput } from "./commands/UpdateReplicationConfigurationTemplateCommand";
|
|
34
|
-
|
|
35
|
-
export declare type
|
|
37
|
+
import { UpdateSourceServerReplicationTypeCommandInput, UpdateSourceServerReplicationTypeCommandOutput } from "./commands/UpdateSourceServerReplicationTypeCommand";
|
|
38
|
+
export declare type ServiceInputTypes = ChangeServerLifeCycleStateCommandInput | CreateReplicationConfigurationTemplateCommandInput | DeleteJobCommandInput | DeleteReplicationConfigurationTemplateCommandInput | DeleteSourceServerCommandInput | DeleteVcenterClientCommandInput | DescribeJobLogItemsCommandInput | DescribeJobsCommandInput | DescribeReplicationConfigurationTemplatesCommandInput | DescribeSourceServersCommandInput | DescribeVcenterClientsCommandInput | DisconnectFromServiceCommandInput | FinalizeCutoverCommandInput | GetLaunchConfigurationCommandInput | GetReplicationConfigurationCommandInput | InitializeServiceCommandInput | ListTagsForResourceCommandInput | MarkAsArchivedCommandInput | RetryDataReplicationCommandInput | StartCutoverCommandInput | StartReplicationCommandInput | StartTestCommandInput | TagResourceCommandInput | TerminateTargetInstancesCommandInput | UntagResourceCommandInput | UpdateLaunchConfigurationCommandInput | UpdateReplicationConfigurationCommandInput | UpdateReplicationConfigurationTemplateCommandInput | UpdateSourceServerReplicationTypeCommandInput;
|
|
39
|
+
export declare type ServiceOutputTypes = ChangeServerLifeCycleStateCommandOutput | CreateReplicationConfigurationTemplateCommandOutput | DeleteJobCommandOutput | DeleteReplicationConfigurationTemplateCommandOutput | DeleteSourceServerCommandOutput | DeleteVcenterClientCommandOutput | DescribeJobLogItemsCommandOutput | DescribeJobsCommandOutput | DescribeReplicationConfigurationTemplatesCommandOutput | DescribeSourceServersCommandOutput | DescribeVcenterClientsCommandOutput | DisconnectFromServiceCommandOutput | FinalizeCutoverCommandOutput | GetLaunchConfigurationCommandOutput | GetReplicationConfigurationCommandOutput | InitializeServiceCommandOutput | ListTagsForResourceCommandOutput | MarkAsArchivedCommandOutput | RetryDataReplicationCommandOutput | StartCutoverCommandOutput | StartReplicationCommandOutput | StartTestCommandOutput | TagResourceCommandOutput | TerminateTargetInstancesCommandOutput | UntagResourceCommandOutput | UpdateLaunchConfigurationCommandOutput | UpdateReplicationConfigurationCommandOutput | UpdateReplicationConfigurationTemplateCommandOutput | UpdateSourceServerReplicationTypeCommandOutput;
|
|
36
40
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
37
41
|
/**
|
|
38
42
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -101,6 +105,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
101
105
|
* Optional logger for logging debug/info/warn/error.
|
|
102
106
|
*/
|
|
103
107
|
logger?: __Logger;
|
|
108
|
+
/**
|
|
109
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
110
|
+
*/
|
|
111
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
112
|
+
/**
|
|
113
|
+
* Enables FIPS compatible endpoints.
|
|
114
|
+
*/
|
|
115
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
104
116
|
/**
|
|
105
117
|
* Unique service identifier.
|
|
106
118
|
* @internal
|
|
@@ -20,7 +20,7 @@ export interface ChangeServerLifeCycleStateCommandOutput extends SourceServer, _
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ChangeServerLifeCycleStateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ChangeServerLifeCycleStateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ChangeServerLifeCycleStateCommand extends $Command<ChangeServerLifeCycleStateCommandInput, ChangeServerLifeCycleStateCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateReplicationConfigurationTemplateCommandOutput extends Rep
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateReplicationConfigurationTemplateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateReplicationConfigurationTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateReplicationConfigurationTemplateCommand extends $Command<CreateReplicationConfigurationTemplateCommandInput, CreateReplicationConfigurationTemplateCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteJobCommandOutput extends DeleteJobResponse, __MetadataBea
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteJobCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteJobCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteJobCommand extends $Command<DeleteJobCommandInput, DeleteJobCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteReplicationConfigurationTemplateCommandOutput extends Del
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteReplicationConfigurationTemplateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteReplicationConfigurationTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteReplicationConfigurationTemplateCommand extends $Command<DeleteReplicationConfigurationTemplateCommandInput, DeleteReplicationConfigurationTemplateCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteSourceServerCommandOutput extends DeleteSourceServerRespo
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteSourceServerCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteSourceServerCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteSourceServerCommand extends $Command<DeleteSourceServerCommandInput, DeleteSourceServerCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -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 { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
4
|
+
import { DeleteVcenterClientRequest } from "../models/models_0";
|
|
5
|
+
export interface DeleteVcenterClientCommandInput extends DeleteVcenterClientRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteVcenterClientCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes a single vCenter client by ID.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { MgnClient, DeleteVcenterClientCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
15
|
+
* // const { MgnClient, DeleteVcenterClientCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
16
|
+
* const client = new MgnClient(config);
|
|
17
|
+
* const command = new DeleteVcenterClientCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DeleteVcenterClientCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DeleteVcenterClientCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DeleteVcenterClientCommand extends $Command<DeleteVcenterClientCommandInput, DeleteVcenterClientCommandOutput, MgnClientResolvedConfig> {
|
|
27
|
+
readonly input: DeleteVcenterClientCommandInput;
|
|
28
|
+
constructor(input: DeleteVcenterClientCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteVcenterClientCommandInput, DeleteVcenterClientCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface DescribeJobLogItemsCommandOutput extends DescribeJobLogItemsRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeJobLogItemsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeJobLogItemsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeJobLogItemsCommand extends $Command<DescribeJobLogItemsCommandInput, DescribeJobLogItemsCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeJobsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeJobsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeJobsCommand extends $Command<DescribeJobsCommandInput, DescribeJobsCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeReplicationConfigurationTemplatesCommandOutput extends
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeReplicationConfigurationTemplatesCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeReplicationConfigurationTemplatesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeReplicationConfigurationTemplatesCommand extends $Command<DescribeReplicationConfigurationTemplatesCommandInput, DescribeReplicationConfigurationTemplatesCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeSourceServersCommandOutput extends DescribeSourceServer
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeSourceServersCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeSourceServersCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeSourceServersCommand extends $Command<DescribeSourceServersCommandInput, DescribeSourceServersCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -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 { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
4
|
+
import { DescribeVcenterClientsRequest, DescribeVcenterClientsResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeVcenterClientsCommandInput extends DescribeVcenterClientsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeVcenterClientsCommandOutput extends DescribeVcenterClientsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists all vCenter clients.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { MgnClient, DescribeVcenterClientsCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
15
|
+
* // const { MgnClient, DescribeVcenterClientsCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
16
|
+
* const client = new MgnClient(config);
|
|
17
|
+
* const command = new DescribeVcenterClientsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DescribeVcenterClientsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DescribeVcenterClientsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DescribeVcenterClientsCommand extends $Command<DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput, MgnClientResolvedConfig> {
|
|
27
|
+
readonly input: DescribeVcenterClientsCommandInput;
|
|
28
|
+
constructor(input: DescribeVcenterClientsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface DisconnectFromServiceCommandOutput extends SourceServer, __Meta
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DisconnectFromServiceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DisconnectFromServiceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DisconnectFromServiceCommand extends $Command<DisconnectFromServiceCommandInput, DisconnectFromServiceCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface FinalizeCutoverCommandOutput extends SourceServer, __MetadataBe
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link FinalizeCutoverCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link FinalizeCutoverCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class FinalizeCutoverCommand extends $Command<FinalizeCutoverCommandInput, FinalizeCutoverCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface GetLaunchConfigurationCommandOutput extends LaunchConfiguration
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link GetLaunchConfigurationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link GetLaunchConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class GetLaunchConfigurationCommand extends $Command<GetLaunchConfigurationCommandInput, GetLaunchConfigurationCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface GetReplicationConfigurationCommandOutput extends ReplicationCon
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link GetReplicationConfigurationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link GetReplicationConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class GetReplicationConfigurationCommand extends $Command<GetReplicationConfigurationCommandInput, GetReplicationConfigurationCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface InitializeServiceCommandOutput extends InitializeServiceRespons
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link InitializeServiceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link InitializeServiceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class InitializeServiceCommand extends $Command<InitializeServiceCommandInput, InitializeServiceCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface MarkAsArchivedCommandOutput extends SourceServer, __MetadataBea
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link MarkAsArchivedCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link MarkAsArchivedCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class MarkAsArchivedCommand extends $Command<MarkAsArchivedCommandInput, MarkAsArchivedCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface RetryDataReplicationCommandOutput extends SourceServer, __Metad
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link RetryDataReplicationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link RetryDataReplicationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class RetryDataReplicationCommand extends $Command<RetryDataReplicationCommandInput, RetryDataReplicationCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface StartCutoverCommandOutput extends StartCutoverResponse, __Metad
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link StartCutoverCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link StartCutoverCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class StartCutoverCommand extends $Command<StartCutoverCommandInput, StartCutoverCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -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 { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
4
|
+
import { SourceServer, StartReplicationRequest } from "../models/models_0";
|
|
5
|
+
export interface StartReplicationCommandInput extends StartReplicationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartReplicationCommandOutput extends SourceServer, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Starts replication on source server by ID.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { MgnClient, StartReplicationCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
15
|
+
* // const { MgnClient, StartReplicationCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
16
|
+
* const client = new MgnClient(config);
|
|
17
|
+
* const command = new StartReplicationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link StartReplicationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link StartReplicationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class StartReplicationCommand extends $Command<StartReplicationCommandInput, StartReplicationCommandOutput, MgnClientResolvedConfig> {
|
|
27
|
+
readonly input: StartReplicationCommandInput;
|
|
28
|
+
constructor(input: StartReplicationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartReplicationCommandInput, StartReplicationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface StartTestCommandOutput extends StartTestResponse, __MetadataBea
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link StartTestCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link StartTestCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class StartTestCommand extends $Command<StartTestCommandInput, StartTestCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface TerminateTargetInstancesCommandOutput extends TerminateTargetIn
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link TerminateTargetInstancesCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link TerminateTargetInstancesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class TerminateTargetInstancesCommand extends $Command<TerminateTargetInstancesCommandInput, TerminateTargetInstancesCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateLaunchConfigurationCommandOutput extends LaunchConfigurat
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateLaunchConfigurationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateLaunchConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateLaunchConfigurationCommand extends $Command<UpdateLaunchConfigurationCommandInput, UpdateLaunchConfigurationCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateReplicationConfigurationCommandOutput extends Replication
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateReplicationConfigurationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateReplicationConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateReplicationConfigurationCommand extends $Command<UpdateReplicationConfigurationCommandInput, UpdateReplicationConfigurationCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateReplicationConfigurationTemplateCommandOutput extends Rep
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateReplicationConfigurationTemplateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateReplicationConfigurationTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateReplicationConfigurationTemplateCommand extends $Command<UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationConfigurationTemplateCommandOutput, MgnClientResolvedConfig> {
|
|
@@ -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 { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
|
|
4
|
+
import { SourceServer, UpdateSourceServerReplicationTypeRequest } from "../models/models_0";
|
|
5
|
+
export interface UpdateSourceServerReplicationTypeCommandInput extends UpdateSourceServerReplicationTypeRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateSourceServerReplicationTypeCommandOutput extends SourceServer, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates source server Replication Type by ID.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { MgnClient, UpdateSourceServerReplicationTypeCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
15
|
+
* // const { MgnClient, UpdateSourceServerReplicationTypeCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
16
|
+
* const client = new MgnClient(config);
|
|
17
|
+
* const command = new UpdateSourceServerReplicationTypeCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateSourceServerReplicationTypeCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateSourceServerReplicationTypeCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link MgnClientResolvedConfig | config} for MgnClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateSourceServerReplicationTypeCommand extends $Command<UpdateSourceServerReplicationTypeCommandInput, UpdateSourceServerReplicationTypeCommandOutput, MgnClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateSourceServerReplicationTypeCommandInput;
|
|
28
|
+
constructor(input: UpdateSourceServerReplicationTypeCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSourceServerReplicationTypeCommandInput, UpdateSourceServerReplicationTypeCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|