@aws-sdk/client-mgn 3.42.0 → 3.47.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist-cjs/Mgn.js +60 -0
  3. package/dist-cjs/commands/DeleteVcenterClientCommand.js +36 -0
  4. package/dist-cjs/commands/DescribeVcenterClientsCommand.js +36 -0
  5. package/dist-cjs/commands/StartReplicationCommand.js +36 -0
  6. package/dist-cjs/commands/UpdateSourceServerReplicationTypeCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/endpoints.js +1 -0
  9. package/dist-cjs/models/models_0.js +51 -44
  10. package/dist-cjs/pagination/DescribeVcenterClientsPaginator.js +35 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +574 -1
  13. package/dist-cjs/runtimeConfig.browser.js +7 -2
  14. package/dist-cjs/runtimeConfig.js +9 -3
  15. package/dist-es/Mgn.js +60 -0
  16. package/dist-es/commands/DeleteVcenterClientCommand.js +39 -0
  17. package/dist-es/commands/DescribeVcenterClientsCommand.js +39 -0
  18. package/dist-es/commands/StartReplicationCommand.js +39 -0
  19. package/dist-es/commands/UpdateSourceServerReplicationTypeCommand.js +39 -0
  20. package/dist-es/commands/index.js +4 -0
  21. package/dist-es/endpoints.js +1 -0
  22. package/dist-es/models/models_0.js +34 -28
  23. package/dist-es/pagination/DescribeVcenterClientsPaginator.js +74 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_restJson1.js +643 -6
  26. package/dist-es/runtimeConfig.browser.js +12 -3
  27. package/dist-es/runtimeConfig.js +13 -6
  28. package/dist-types/Mgn.d.ts +28 -0
  29. package/dist-types/MgnClient.d.ts +11 -3
  30. package/dist-types/commands/DeleteVcenterClientCommand.d.ts +35 -0
  31. package/dist-types/commands/DescribeVcenterClientsCommand.d.ts +35 -0
  32. package/dist-types/commands/StartReplicationCommand.d.ts +35 -0
  33. package/dist-types/commands/UpdateSourceServerReplicationTypeCommand.d.ts +35 -0
  34. package/dist-types/commands/index.d.ts +4 -0
  35. package/dist-types/models/models_0.d.ts +178 -43
  36. package/dist-types/pagination/DescribeVcenterClientsPaginator.d.ts +4 -0
  37. package/dist-types/pagination/index.d.ts +1 -0
  38. package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
  39. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  40. package/dist-types/runtimeConfig.d.ts +4 -3
  41. package/dist-types/runtimeConfig.native.d.ts +1 -0
  42. package/dist-types/ts3.4/Mgn.d.ts +20 -0
  43. package/dist-types/ts3.4/MgnClient.d.ts +9 -3
  44. package/dist-types/ts3.4/commands/DeleteVcenterClientCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DescribeVcenterClientsCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/UpdateSourceServerReplicationTypeCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +110 -29
  50. package/dist-types/ts3.4/pagination/DescribeVcenterClientsPaginator.d.ts +4 -0
  51. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  56. package/package.json +38 -45
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
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";
13
15
  export var getRuntimeConfig = function (config) {
14
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); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
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 });
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 });
17
26
  };
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
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
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  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, 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 });
22
+ 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) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), 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
28
  };
@@ -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
  }
@@ -4,17 +4,19 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { 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
9
  import { ChangeServerLifeCycleStateCommandInput, ChangeServerLifeCycleStateCommandOutput } from "./commands/ChangeServerLifeCycleStateCommand";
10
10
  import { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationConfigurationTemplateCommandOutput } from "./commands/CreateReplicationConfigurationTemplateCommand";
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
- export declare type ServiceInputTypes = ChangeServerLifeCycleStateCommandInput | CreateReplicationConfigurationTemplateCommandInput | DeleteJobCommandInput | DeleteReplicationConfigurationTemplateCommandInput | DeleteSourceServerCommandInput | DescribeJobLogItemsCommandInput | DescribeJobsCommandInput | DescribeReplicationConfigurationTemplatesCommandInput | DescribeSourceServersCommandInput | DisconnectFromServiceCommandInput | FinalizeCutoverCommandInput | GetLaunchConfigurationCommandInput | GetReplicationConfigurationCommandInput | InitializeServiceCommandInput | ListTagsForResourceCommandInput | MarkAsArchivedCommandInput | RetryDataReplicationCommandInput | StartCutoverCommandInput | StartTestCommandInput | TagResourceCommandInput | TerminateTargetInstancesCommandInput | UntagResourceCommandInput | UpdateLaunchConfigurationCommandInput | UpdateReplicationConfigurationCommandInput | UpdateReplicationConfigurationTemplateCommandInput;
35
- export declare type ServiceOutputTypes = ChangeServerLifeCycleStateCommandOutput | CreateReplicationConfigurationTemplateCommandOutput | DeleteJobCommandOutput | DeleteReplicationConfigurationTemplateCommandOutput | DeleteSourceServerCommandOutput | DescribeJobLogItemsCommandOutput | DescribeJobsCommandOutput | DescribeReplicationConfigurationTemplatesCommandOutput | DescribeSourceServersCommandOutput | DisconnectFromServiceCommandOutput | FinalizeCutoverCommandOutput | GetLaunchConfigurationCommandOutput | GetReplicationConfigurationCommandOutput | InitializeServiceCommandOutput | ListTagsForResourceCommandOutput | MarkAsArchivedCommandOutput | RetryDataReplicationCommandOutput | StartCutoverCommandOutput | StartTestCommandOutput | TagResourceCommandOutput | TerminateTargetInstancesCommandOutput | UntagResourceCommandOutput | UpdateLaunchConfigurationCommandOutput | UpdateReplicationConfigurationCommandOutput | UpdateReplicationConfigurationTemplateCommandOutput;
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.
@@ -133,6 +137,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
133
137
  * @internal
134
138
  */
135
139
  defaultUserAgentProvider?: Provider<__UserAgent>;
140
+ /**
141
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
142
+ */
143
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
136
144
  }
137
145
  declare type MgnClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
138
146
  /**
@@ -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
+ }
@@ -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
+ }
@@ -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
+ }
@@ -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
+ }
@@ -3,10 +3,12 @@ export * from "./CreateReplicationConfigurationTemplateCommand";
3
3
  export * from "./DeleteJobCommand";
4
4
  export * from "./DeleteReplicationConfigurationTemplateCommand";
5
5
  export * from "./DeleteSourceServerCommand";
6
+ export * from "./DeleteVcenterClientCommand";
6
7
  export * from "./DescribeJobLogItemsCommand";
7
8
  export * from "./DescribeJobsCommand";
8
9
  export * from "./DescribeReplicationConfigurationTemplatesCommand";
9
10
  export * from "./DescribeSourceServersCommand";
11
+ export * from "./DescribeVcenterClientsCommand";
10
12
  export * from "./DisconnectFromServiceCommand";
11
13
  export * from "./FinalizeCutoverCommand";
12
14
  export * from "./GetLaunchConfigurationCommand";
@@ -16,6 +18,7 @@ export * from "./ListTagsForResourceCommand";
16
18
  export * from "./MarkAsArchivedCommand";
17
19
  export * from "./RetryDataReplicationCommand";
18
20
  export * from "./StartCutoverCommand";
21
+ export * from "./StartReplicationCommand";
19
22
  export * from "./StartTestCommand";
20
23
  export * from "./TagResourceCommand";
21
24
  export * from "./TerminateTargetInstancesCommand";
@@ -23,3 +26,4 @@ export * from "./UntagResourceCommand";
23
26
  export * from "./UpdateLaunchConfigurationCommand";
24
27
  export * from "./UpdateReplicationConfigurationCommand";
25
28
  export * from "./UpdateReplicationConfigurationTemplateCommand";
29
+ export * from "./UpdateSourceServerReplicationTypeCommand";