@aws-sdk/client-mgn 3.36.0 → 3.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/Mgn.js +0 -3
- package/dist-cjs/MgnClient.js +0 -8
- package/dist-cjs/commands/ChangeServerLifeCycleStateCommand.js +0 -24
- package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +0 -24
- package/dist-cjs/commands/DeleteJobCommand.js +0 -24
- package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +0 -24
- package/dist-cjs/commands/DeleteSourceServerCommand.js +0 -24
- package/dist-cjs/commands/DescribeJobLogItemsCommand.js +0 -24
- package/dist-cjs/commands/DescribeJobsCommand.js +0 -24
- package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +0 -24
- package/dist-cjs/commands/DescribeSourceServersCommand.js +0 -24
- package/dist-cjs/commands/DisconnectFromServiceCommand.js +0 -24
- package/dist-cjs/commands/FinalizeCutoverCommand.js +0 -24
- package/dist-cjs/commands/GetLaunchConfigurationCommand.js +0 -24
- package/dist-cjs/commands/GetReplicationConfigurationCommand.js +0 -24
- package/dist-cjs/commands/InitializeServiceCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/MarkAsArchivedCommand.js +0 -24
- package/dist-cjs/commands/RetryDataReplicationCommand.js +0 -24
- package/dist-cjs/commands/StartCutoverCommand.js +0 -24
- package/dist-cjs/commands/StartTestCommand.js +0 -24
- package/dist-cjs/commands/TagResourceCommand.js +0 -24
- package/dist-cjs/commands/TerminateTargetInstancesCommand.js +0 -24
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +0 -24
- package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +0 -24
- package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +0 -24
- package/dist-cjs/models/models_0.js +0 -237
- package/dist-cjs/pagination/DescribeJobLogItemsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeJobsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeSourceServersPaginator.js +0 -10
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-types/ts3.4/Mgn.d.ts +26 -78
- package/dist-types/ts3.4/MgnClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/ChangeServerLifeCycleStateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateReplicationConfigurationTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSourceServerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeJobLogItemsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeSourceServersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisconnectFromServiceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/FinalizeCutoverCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetLaunchConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetReplicationConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/InitializeServiceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/MarkAsArchivedCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RetryDataReplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartCutoverCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartTestCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TerminateTargetInstancesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateLaunchConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateReplicationConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +2 -20
- package/dist-types/ts3.4/models/models_0.d.ts +361 -1083
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +3 -3
|
@@ -4,22 +4,13 @@ exports.paginateDescribeJobLogItems = void 0;
|
|
|
4
4
|
const DescribeJobLogItemsCommand_1 = require("../commands/DescribeJobLogItemsCommand");
|
|
5
5
|
const Mgn_1 = require("../Mgn");
|
|
6
6
|
const MgnClient_1 = require("../MgnClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new DescribeJobLogItemsCommand_1.DescribeJobLogItemsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.describeJobLogItems(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateDescribeJobLogItems(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateDescribeJobLogItems(config, input, ...additionalArgument
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateDescribeJobLogItems = paginateDescribeJobLogItems;
|
|
@@ -4,22 +4,13 @@ exports.paginateDescribeJobs = void 0;
|
|
|
4
4
|
const DescribeJobsCommand_1 = require("../commands/DescribeJobsCommand");
|
|
5
5
|
const Mgn_1 = require("../Mgn");
|
|
6
6
|
const MgnClient_1 = require("../MgnClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new DescribeJobsCommand_1.DescribeJobsCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.describeJobs(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateDescribeJobs(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateDescribeJobs(config, input, ...additionalArguments) {
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateDescribeJobs = paginateDescribeJobs;
|
|
@@ -4,22 +4,13 @@ exports.paginateDescribeReplicationConfigurationTemplates = void 0;
|
|
|
4
4
|
const DescribeReplicationConfigurationTemplatesCommand_1 = require("../commands/DescribeReplicationConfigurationTemplatesCommand");
|
|
5
5
|
const Mgn_1 = require("../Mgn");
|
|
6
6
|
const MgnClient_1 = require("../MgnClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new DescribeReplicationConfigurationTemplatesCommand_1.DescribeReplicationConfigurationTemplatesCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.describeReplicationConfigurationTemplates(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateDescribeReplicationConfigurationTemplates(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateDescribeReplicationConfigurationTemplates(config, input,
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateDescribeReplicationConfigurationTemplates = paginateDescribeReplicationConfigurationTemplates;
|
|
@@ -4,22 +4,13 @@ exports.paginateDescribeSourceServers = void 0;
|
|
|
4
4
|
const DescribeSourceServersCommand_1 = require("../commands/DescribeSourceServersCommand");
|
|
5
5
|
const Mgn_1 = require("../Mgn");
|
|
6
6
|
const MgnClient_1 = require("../MgnClient");
|
|
7
|
-
/**
|
|
8
|
-
* @private
|
|
9
|
-
*/
|
|
10
7
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
11
|
-
// @ts-ignore
|
|
12
8
|
return await client.send(new DescribeSourceServersCommand_1.DescribeSourceServersCommand(input), ...args);
|
|
13
9
|
};
|
|
14
|
-
/**
|
|
15
|
-
* @private
|
|
16
|
-
*/
|
|
17
10
|
const makePagedRequest = async (client, input, ...args) => {
|
|
18
|
-
// @ts-ignore
|
|
19
11
|
return await client.describeSourceServers(input, ...args);
|
|
20
12
|
};
|
|
21
13
|
async function* paginateDescribeSourceServers(config, input, ...additionalArguments) {
|
|
22
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
23
14
|
let token = config.startingToken || undefined;
|
|
24
15
|
let hasNext = true;
|
|
25
16
|
let page;
|
|
@@ -39,7 +30,6 @@ async function* paginateDescribeSourceServers(config, input, ...additionalArgume
|
|
|
39
30
|
token = page.nextToken;
|
|
40
31
|
hasNext = !!token;
|
|
41
32
|
}
|
|
42
|
-
// @ts-ignore
|
|
43
33
|
return undefined;
|
|
44
34
|
}
|
|
45
35
|
exports.paginateDescribeSourceServers = paginateDescribeSourceServers;
|
|
@@ -3505,14 +3505,12 @@ const deserializeMetadata = (output) => {
|
|
|
3505
3505
|
cfId: output.headers["x-amz-cf-id"],
|
|
3506
3506
|
});
|
|
3507
3507
|
};
|
|
3508
|
-
// Collect low-level response body stream to Uint8Array.
|
|
3509
3508
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
3510
3509
|
if (streamBody instanceof Uint8Array) {
|
|
3511
3510
|
return Promise.resolve(streamBody);
|
|
3512
3511
|
}
|
|
3513
3512
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3514
3513
|
};
|
|
3515
|
-
// Encode Uint8Array data into string with utf-8.
|
|
3516
3514
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3517
3515
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
3518
3516
|
value !== null &&
|
|
@@ -3525,9 +3523,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
3525
3523
|
}
|
|
3526
3524
|
return {};
|
|
3527
3525
|
});
|
|
3528
|
-
/**
|
|
3529
|
-
* Load an error code for the aws.rest-json-1.1 protocol.
|
|
3530
|
-
*/
|
|
3531
3526
|
const loadRestJsonErrorCode = (output, data) => {
|
|
3532
3527
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
3533
3528
|
const sanitizeErrorCode = (rawValue) => {
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
8
7
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
8
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
@@ -13,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
15
|
const getRuntimeConfig = (config) => {
|
|
20
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
17
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
7
6
|
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
8
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
9
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
@@ -17,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
17
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
19
|
const getRuntimeConfig = (config) => {
|
|
24
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
25
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a;
|
|
11
8
|
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpoints_1 = require("./endpoints");
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
6
|
const getRuntimeConfig = (config) => {
|
|
10
7
|
var _a, _b, _c, _d, _e;
|
|
11
8
|
return ({
|
|
@@ -25,157 +25,105 @@ import { UpdateLaunchConfigurationCommandInput, UpdateLaunchConfigurationCommand
|
|
|
25
25
|
import { UpdateReplicationConfigurationCommandInput, UpdateReplicationConfigurationCommandOutput } from "./commands/UpdateReplicationConfigurationCommand";
|
|
26
26
|
import { UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationConfigurationTemplateCommandOutput } from "./commands/UpdateReplicationConfigurationTemplateCommand";
|
|
27
27
|
import { MgnClient } from "./MgnClient";
|
|
28
|
-
|
|
29
|
-
* <p>The Application Migration Service service.</p>
|
|
30
|
-
*/
|
|
28
|
+
|
|
31
29
|
export declare class Mgn extends MgnClient {
|
|
32
|
-
|
|
33
|
-
* <p>Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)</p>
|
|
34
|
-
*/
|
|
30
|
+
|
|
35
31
|
changeServerLifeCycleState(args: ChangeServerLifeCycleStateCommandInput, options?: __HttpHandlerOptions): Promise<ChangeServerLifeCycleStateCommandOutput>;
|
|
36
32
|
changeServerLifeCycleState(args: ChangeServerLifeCycleStateCommandInput, cb: (err: any, data?: ChangeServerLifeCycleStateCommandOutput) => void): void;
|
|
37
33
|
changeServerLifeCycleState(args: ChangeServerLifeCycleStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ChangeServerLifeCycleStateCommandOutput) => void): void;
|
|
38
|
-
|
|
39
|
-
* <p>Creates a new ReplicationConfigurationTemplate.</p>
|
|
40
|
-
*/
|
|
34
|
+
|
|
41
35
|
createReplicationConfigurationTemplate(args: CreateReplicationConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateReplicationConfigurationTemplateCommandOutput>;
|
|
42
36
|
createReplicationConfigurationTemplate(args: CreateReplicationConfigurationTemplateCommandInput, cb: (err: any, data?: CreateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
43
37
|
createReplicationConfigurationTemplate(args: CreateReplicationConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
44
|
-
|
|
45
|
-
* <p>Deletes a single Job by ID.</p>
|
|
46
|
-
*/
|
|
38
|
+
|
|
47
39
|
deleteJob(args: DeleteJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteJobCommandOutput>;
|
|
48
40
|
deleteJob(args: DeleteJobCommandInput, cb: (err: any, data?: DeleteJobCommandOutput) => void): void;
|
|
49
41
|
deleteJob(args: DeleteJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteJobCommandOutput) => void): void;
|
|
50
|
-
|
|
51
|
-
* <p>Deletes a single Replication Configuration Template by ID</p>
|
|
52
|
-
*/
|
|
42
|
+
|
|
53
43
|
deleteReplicationConfigurationTemplate(args: DeleteReplicationConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteReplicationConfigurationTemplateCommandOutput>;
|
|
54
44
|
deleteReplicationConfigurationTemplate(args: DeleteReplicationConfigurationTemplateCommandInput, cb: (err: any, data?: DeleteReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
55
45
|
deleteReplicationConfigurationTemplate(args: DeleteReplicationConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
56
|
-
|
|
57
|
-
* <p>Deletes a single source server by ID.</p>
|
|
58
|
-
*/
|
|
46
|
+
|
|
59
47
|
deleteSourceServer(args: DeleteSourceServerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSourceServerCommandOutput>;
|
|
60
48
|
deleteSourceServer(args: DeleteSourceServerCommandInput, cb: (err: any, data?: DeleteSourceServerCommandOutput) => void): void;
|
|
61
49
|
deleteSourceServer(args: DeleteSourceServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSourceServerCommandOutput) => void): void;
|
|
62
|
-
|
|
63
|
-
* <p>Retrieves detailed Job log with paging.</p>
|
|
64
|
-
*/
|
|
50
|
+
|
|
65
51
|
describeJobLogItems(args: DescribeJobLogItemsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobLogItemsCommandOutput>;
|
|
66
52
|
describeJobLogItems(args: DescribeJobLogItemsCommandInput, cb: (err: any, data?: DescribeJobLogItemsCommandOutput) => void): void;
|
|
67
53
|
describeJobLogItems(args: DescribeJobLogItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobLogItemsCommandOutput) => void): void;
|
|
68
|
-
|
|
69
|
-
* <p>Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normaly created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.</p>
|
|
70
|
-
*/
|
|
54
|
+
|
|
71
55
|
describeJobs(args: DescribeJobsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobsCommandOutput>;
|
|
72
56
|
describeJobs(args: DescribeJobsCommandInput, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
|
|
73
57
|
describeJobs(args: DescribeJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
|
|
74
|
-
|
|
75
|
-
* <p>Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.</p>
|
|
76
|
-
*/
|
|
58
|
+
|
|
77
59
|
describeReplicationConfigurationTemplates(args: DescribeReplicationConfigurationTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReplicationConfigurationTemplatesCommandOutput>;
|
|
78
60
|
describeReplicationConfigurationTemplates(args: DescribeReplicationConfigurationTemplatesCommandInput, cb: (err: any, data?: DescribeReplicationConfigurationTemplatesCommandOutput) => void): void;
|
|
79
61
|
describeReplicationConfigurationTemplates(args: DescribeReplicationConfigurationTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReplicationConfigurationTemplatesCommandOutput) => void): void;
|
|
80
|
-
|
|
81
|
-
* <p>Retrieves all SourceServers or multiple SourceServers by ID.</p>
|
|
82
|
-
*/
|
|
62
|
+
|
|
83
63
|
describeSourceServers(args: DescribeSourceServersCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSourceServersCommandOutput>;
|
|
84
64
|
describeSourceServers(args: DescribeSourceServersCommandInput, cb: (err: any, data?: DescribeSourceServersCommandOutput) => void): void;
|
|
85
65
|
describeSourceServers(args: DescribeSourceServersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSourceServersCommandOutput) => void): void;
|
|
86
|
-
|
|
87
|
-
* <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
|
-
*/
|
|
66
|
+
|
|
89
67
|
disconnectFromService(args: DisconnectFromServiceCommandInput, options?: __HttpHandlerOptions): Promise<DisconnectFromServiceCommandOutput>;
|
|
90
68
|
disconnectFromService(args: DisconnectFromServiceCommandInput, cb: (err: any, data?: DisconnectFromServiceCommandOutput) => void): void;
|
|
91
69
|
disconnectFromService(args: DisconnectFromServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisconnectFromServiceCommandOutput) => void): void;
|
|
92
|
-
|
|
93
|
-
* <p>Finalizes the cutover immediately for specific Source Servers. 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. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill be nullified.</p>
|
|
94
|
-
*/
|
|
70
|
+
|
|
95
71
|
finalizeCutover(args: FinalizeCutoverCommandInput, options?: __HttpHandlerOptions): Promise<FinalizeCutoverCommandOutput>;
|
|
96
72
|
finalizeCutover(args: FinalizeCutoverCommandInput, cb: (err: any, data?: FinalizeCutoverCommandOutput) => void): void;
|
|
97
73
|
finalizeCutover(args: FinalizeCutoverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: FinalizeCutoverCommandOutput) => void): void;
|
|
98
|
-
|
|
99
|
-
* <p>Lists all LaunchConfigurations available, filtered by Source Server IDs.</p>
|
|
100
|
-
*/
|
|
74
|
+
|
|
101
75
|
getLaunchConfiguration(args: GetLaunchConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetLaunchConfigurationCommandOutput>;
|
|
102
76
|
getLaunchConfiguration(args: GetLaunchConfigurationCommandInput, cb: (err: any, data?: GetLaunchConfigurationCommandOutput) => void): void;
|
|
103
77
|
getLaunchConfiguration(args: GetLaunchConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLaunchConfigurationCommandOutput) => void): void;
|
|
104
|
-
|
|
105
|
-
* <p>Lists all ReplicationConfigurations, filtered by Source Server ID.</p>
|
|
106
|
-
*/
|
|
78
|
+
|
|
107
79
|
getReplicationConfiguration(args: GetReplicationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetReplicationConfigurationCommandOutput>;
|
|
108
80
|
getReplicationConfiguration(args: GetReplicationConfigurationCommandInput, cb: (err: any, data?: GetReplicationConfigurationCommandOutput) => void): void;
|
|
109
81
|
getReplicationConfiguration(args: GetReplicationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReplicationConfigurationCommandOutput) => void): void;
|
|
110
|
-
|
|
111
|
-
* <p>Initialize Application Migration Service.</p>
|
|
112
|
-
*/
|
|
82
|
+
|
|
113
83
|
initializeService(args: InitializeServiceCommandInput, options?: __HttpHandlerOptions): Promise<InitializeServiceCommandOutput>;
|
|
114
84
|
initializeService(args: InitializeServiceCommandInput, cb: (err: any, data?: InitializeServiceCommandOutput) => void): void;
|
|
115
85
|
initializeService(args: InitializeServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InitializeServiceCommandOutput) => void): void;
|
|
116
|
-
|
|
117
|
-
* <p>List all tags for your Application Migration Service resources.</p>
|
|
118
|
-
*/
|
|
86
|
+
|
|
119
87
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
120
88
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
121
89
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
122
|
-
|
|
123
|
-
* <p>Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID. This command only works for SourceServers with a lifecycle.state which equals DISCONNECTED or CUTOVER.</p>
|
|
124
|
-
*/
|
|
90
|
+
|
|
125
91
|
markAsArchived(args: MarkAsArchivedCommandInput, options?: __HttpHandlerOptions): Promise<MarkAsArchivedCommandOutput>;
|
|
126
92
|
markAsArchived(args: MarkAsArchivedCommandInput, cb: (err: any, data?: MarkAsArchivedCommandOutput) => void): void;
|
|
127
93
|
markAsArchived(args: MarkAsArchivedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MarkAsArchivedCommandOutput) => void): void;
|
|
128
|
-
|
|
129
|
-
* <p>Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.</p>
|
|
130
|
-
*/
|
|
94
|
+
|
|
131
95
|
retryDataReplication(args: RetryDataReplicationCommandInput, options?: __HttpHandlerOptions): Promise<RetryDataReplicationCommandOutput>;
|
|
132
96
|
retryDataReplication(args: RetryDataReplicationCommandInput, cb: (err: any, data?: RetryDataReplicationCommandOutput) => void): void;
|
|
133
97
|
retryDataReplication(args: RetryDataReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RetryDataReplicationCommandOutput) => void): void;
|
|
134
|
-
|
|
135
|
-
* <p>Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.</p>
|
|
136
|
-
*/
|
|
98
|
+
|
|
137
99
|
startCutover(args: StartCutoverCommandInput, options?: __HttpHandlerOptions): Promise<StartCutoverCommandOutput>;
|
|
138
100
|
startCutover(args: StartCutoverCommandInput, cb: (err: any, data?: StartCutoverCommandOutput) => void): void;
|
|
139
101
|
startCutover(args: StartCutoverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCutoverCommandOutput) => void): void;
|
|
140
|
-
|
|
141
|
-
* <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
|
-
*/
|
|
102
|
+
|
|
143
103
|
startTest(args: StartTestCommandInput, options?: __HttpHandlerOptions): Promise<StartTestCommandOutput>;
|
|
144
104
|
startTest(args: StartTestCommandInput, cb: (err: any, data?: StartTestCommandOutput) => void): void;
|
|
145
105
|
startTest(args: StartTestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartTestCommandOutput) => void): void;
|
|
146
|
-
|
|
147
|
-
* <p>Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.</p>
|
|
148
|
-
*/
|
|
106
|
+
|
|
149
107
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
150
108
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
151
109
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
152
|
-
|
|
153
|
-
* <p>Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.</p>
|
|
154
|
-
*/
|
|
110
|
+
|
|
155
111
|
terminateTargetInstances(args: TerminateTargetInstancesCommandInput, options?: __HttpHandlerOptions): Promise<TerminateTargetInstancesCommandOutput>;
|
|
156
112
|
terminateTargetInstances(args: TerminateTargetInstancesCommandInput, cb: (err: any, data?: TerminateTargetInstancesCommandOutput) => void): void;
|
|
157
113
|
terminateTargetInstances(args: TerminateTargetInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateTargetInstancesCommandOutput) => void): void;
|
|
158
|
-
|
|
159
|
-
* <p>Deletes the specified set of tags from the specified set of Application Migration Service resources.</p>
|
|
160
|
-
*/
|
|
114
|
+
|
|
161
115
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
162
116
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
163
117
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
164
|
-
|
|
165
|
-
* <p>Updates multiple LaunchConfigurations by Source Server ID.</p>
|
|
166
|
-
*/
|
|
118
|
+
|
|
167
119
|
updateLaunchConfiguration(args: UpdateLaunchConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLaunchConfigurationCommandOutput>;
|
|
168
120
|
updateLaunchConfiguration(args: UpdateLaunchConfigurationCommandInput, cb: (err: any, data?: UpdateLaunchConfigurationCommandOutput) => void): void;
|
|
169
121
|
updateLaunchConfiguration(args: UpdateLaunchConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLaunchConfigurationCommandOutput) => void): void;
|
|
170
|
-
|
|
171
|
-
* <p>Allows you to update multiple ReplicationConfigurations by Source Server ID.</p>
|
|
172
|
-
*/
|
|
122
|
+
|
|
173
123
|
updateReplicationConfiguration(args: UpdateReplicationConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReplicationConfigurationCommandOutput>;
|
|
174
124
|
updateReplicationConfiguration(args: UpdateReplicationConfigurationCommandInput, cb: (err: any, data?: UpdateReplicationConfigurationCommandOutput) => void): void;
|
|
175
125
|
updateReplicationConfiguration(args: UpdateReplicationConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReplicationConfigurationCommandOutput) => void): void;
|
|
176
|
-
|
|
177
|
-
* <p>Updates multiple ReplicationConfigurationTemplates by ID.</p>
|
|
178
|
-
*/
|
|
126
|
+
|
|
179
127
|
updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReplicationConfigurationTemplateCommandOutput>;
|
|
180
128
|
updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, cb: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
181
129
|
updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
@@ -34,124 +34,59 @@ import { UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationCo
|
|
|
34
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
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;
|
|
36
36
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
37
|
-
|
|
38
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
39
|
-
*/
|
|
37
|
+
|
|
40
38
|
requestHandler?: __HttpHandler;
|
|
41
|
-
|
|
42
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
43
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
39
|
+
|
|
46
40
|
sha256?: __HashConstructor;
|
|
47
|
-
|
|
48
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
41
|
+
|
|
51
42
|
urlParser?: __UrlParser;
|
|
52
|
-
|
|
53
|
-
* A function that can calculate the length of a request body.
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
43
|
+
|
|
56
44
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
57
|
-
|
|
58
|
-
* A function that converts a stream into an array of bytes.
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
45
|
+
|
|
61
46
|
streamCollector?: __StreamCollector;
|
|
62
|
-
|
|
63
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
47
|
+
|
|
66
48
|
base64Decoder?: __Decoder;
|
|
67
|
-
|
|
68
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
49
|
+
|
|
71
50
|
base64Encoder?: __Encoder;
|
|
72
|
-
|
|
73
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
51
|
+
|
|
76
52
|
utf8Decoder?: __Decoder;
|
|
77
|
-
|
|
78
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
53
|
+
|
|
81
54
|
utf8Encoder?: __Encoder;
|
|
82
|
-
|
|
83
|
-
* The runtime environment.
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
55
|
+
|
|
86
56
|
runtime?: string;
|
|
87
|
-
|
|
88
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
89
|
-
* trait of an operation.
|
|
90
|
-
*/
|
|
57
|
+
|
|
91
58
|
disableHostPrefix?: boolean;
|
|
92
|
-
|
|
93
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
94
|
-
*/
|
|
59
|
+
|
|
95
60
|
maxAttempts?: number | __Provider<number>;
|
|
96
|
-
|
|
97
|
-
* Specifies which retry algorithm to use.
|
|
98
|
-
*/
|
|
61
|
+
|
|
99
62
|
retryMode?: string | __Provider<string>;
|
|
100
|
-
|
|
101
|
-
* Optional logger for logging debug/info/warn/error.
|
|
102
|
-
*/
|
|
63
|
+
|
|
103
64
|
logger?: __Logger;
|
|
104
|
-
|
|
105
|
-
* Unique service identifier.
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
65
|
+
|
|
108
66
|
serviceId?: string;
|
|
109
|
-
|
|
110
|
-
* The AWS region to which this client will send requests
|
|
111
|
-
*/
|
|
67
|
+
|
|
112
68
|
region?: string | __Provider<string>;
|
|
113
|
-
|
|
114
|
-
* Default credentials provider; Not available in browser runtime.
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
69
|
+
|
|
117
70
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
118
|
-
|
|
119
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
71
|
+
|
|
122
72
|
regionInfoProvider?: RegionInfoProvider;
|
|
123
|
-
|
|
124
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
73
|
+
|
|
127
74
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
128
75
|
}
|
|
129
76
|
declare type MgnClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
130
|
-
|
|
131
|
-
* The configuration interface of MgnClient class constructor that set the region, credentials and other options.
|
|
132
|
-
*/
|
|
77
|
+
|
|
133
78
|
export interface MgnClientConfig extends MgnClientConfigType {
|
|
134
79
|
}
|
|
135
80
|
declare type MgnClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
136
|
-
|
|
137
|
-
* The resolved configuration interface of MgnClient class. This is resolved and normalized from the {@link MgnClientConfig | constructor configuration interface}.
|
|
138
|
-
*/
|
|
81
|
+
|
|
139
82
|
export interface MgnClientResolvedConfig extends MgnClientResolvedConfigType {
|
|
140
83
|
}
|
|
141
|
-
|
|
142
|
-
* <p>The Application Migration Service service.</p>
|
|
143
|
-
*/
|
|
84
|
+
|
|
144
85
|
export declare class MgnClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, MgnClientResolvedConfig> {
|
|
145
|
-
|
|
146
|
-
* The resolved configuration of MgnClient class. This is resolved and normalized from the {@link MgnClientConfig | constructor configuration interface}.
|
|
147
|
-
*/
|
|
86
|
+
|
|
148
87
|
readonly config: MgnClientResolvedConfig;
|
|
149
88
|
constructor(configuration: MgnClientConfig);
|
|
150
|
-
|
|
151
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
152
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
153
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
154
|
-
*/
|
|
89
|
+
|
|
155
90
|
destroy(): void;
|
|
156
91
|
}
|
|
157
92
|
export {};
|
|
@@ -6,29 +6,11 @@ export interface ChangeServerLifeCycleStateCommandInput extends ChangeServerLife
|
|
|
6
6
|
}
|
|
7
7
|
export interface ChangeServerLifeCycleStateCommandOutput extends SourceServer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { MgnClient, ChangeServerLifeCycleStateCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
15
|
-
* // const { MgnClient, ChangeServerLifeCycleStateCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
16
|
-
* const client = new MgnClient(config);
|
|
17
|
-
* const command = new ChangeServerLifeCycleStateCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ChangeServerLifeCycleStateCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ChangeServerLifeCycleStateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class ChangeServerLifeCycleStateCommand extends $Command<ChangeServerLifeCycleStateCommandInput, ChangeServerLifeCycleStateCommandOutput, MgnClientResolvedConfig> {
|
|
27
11
|
readonly input: ChangeServerLifeCycleStateCommandInput;
|
|
28
12
|
constructor(input: ChangeServerLifeCycleStateCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ChangeServerLifeCycleStateCommandInput, ChangeServerLifeCycleStateCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface CreateReplicationConfigurationTemplateCommandInput extends Crea
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateReplicationConfigurationTemplateCommandOutput extends ReplicationConfigurationTemplate, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a new ReplicationConfigurationTemplate.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { MgnClient, CreateReplicationConfigurationTemplateCommand } from "@aws-sdk/client-mgn"; // ES Modules import
|
|
15
|
-
* // const { MgnClient, CreateReplicationConfigurationTemplateCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
|
|
16
|
-
* const client = new MgnClient(config);
|
|
17
|
-
* const command = new CreateReplicationConfigurationTemplateCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateReplicationConfigurationTemplateCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateReplicationConfigurationTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class CreateReplicationConfigurationTemplateCommand extends $Command<CreateReplicationConfigurationTemplateCommandInput, CreateReplicationConfigurationTemplateCommandOutput, MgnClientResolvedConfig> {
|
|
27
11
|
readonly input: CreateReplicationConfigurationTemplateCommandInput;
|
|
28
12
|
constructor(input: CreateReplicationConfigurationTemplateCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateReplicationConfigurationTemplateCommandInput, CreateReplicationConfigurationTemplateCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|