@aws-sdk/client-mgn 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/MgnClient.js +13 -13
- package/dist-cjs/commands/ChangeServerLifeCycleStateCommand.js +3 -3
- package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +3 -3
- package/dist-cjs/commands/DeleteJobCommand.js +3 -3
- package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +3 -3
- package/dist-cjs/commands/DeleteSourceServerCommand.js +3 -3
- package/dist-cjs/commands/DeleteVcenterClientCommand.js +3 -3
- package/dist-cjs/commands/DescribeJobLogItemsCommand.js +3 -3
- package/dist-cjs/commands/DescribeJobsCommand.js +3 -3
- package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +3 -3
- package/dist-cjs/commands/DescribeSourceServersCommand.js +3 -3
- package/dist-cjs/commands/DescribeVcenterClientsCommand.js +3 -3
- package/dist-cjs/commands/DisconnectFromServiceCommand.js +3 -3
- package/dist-cjs/commands/FinalizeCutoverCommand.js +3 -3
- package/dist-cjs/commands/GetLaunchConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetReplicationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/InitializeServiceCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/MarkAsArchivedCommand.js +3 -3
- package/dist-cjs/commands/RetryDataReplicationCommand.js +3 -3
- package/dist-cjs/commands/StartCutoverCommand.js +3 -3
- package/dist-cjs/commands/StartReplicationCommand.js +3 -3
- package/dist-cjs/commands/StartTestCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TerminateTargetInstancesCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +3 -3
- package/dist-cjs/commands/UpdateSourceServerReplicationTypeCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +10 -2
- package/dist-cjs/protocols/Aws_restJson1.js +295 -284
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Mgn.js +29 -29
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/pagination/DescribeJobLogItemsPaginator.js +4 -4
- package/dist-es/pagination/DescribeJobsPaginator.js +4 -4
- package/dist-es/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +4 -4
- package/dist-es/pagination/DescribeSourceServersPaginator.js +4 -4
- package/dist-es/pagination/DescribeVcenterClientsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +41 -32
- package/dist-types/Mgn.d.ts +10 -10
- package/dist-types/MgnClient.d.ts +2 -2
- package/dist-types/commands/DeleteVcenterClientCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVcenterClientsCommand.d.ts +1 -1
- package/dist-types/commands/DisconnectFromServiceCommand.d.ts +1 -1
- package/dist-types/commands/FinalizeCutoverCommand.d.ts +1 -1
- package/dist-types/commands/MarkAsArchivedCommand.d.ts +1 -1
- package/dist-types/commands/StartReplicationCommand.d.ts +1 -1
- package/dist-types/commands/StartTestCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSourceServerReplicationTypeCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +51 -32
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/MgnClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +13 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1ChangeServerLifeCycleStateCommand = function (i
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/ChangeServerLifeCycleState";
|
|
17
17
|
body = JSON.stringify(__assign(__assign({}, (input.lifeCycle !== undefined &&
|
|
18
18
|
input.lifeCycle !== null && {
|
|
19
19
|
lifeCycle: serializeAws_restJson1ChangeServerLifeCycleStateSourceServerLifecycle(input.lifeCycle, context),
|
|
@@ -41,7 +41,7 @@ export var serializeAws_restJson1CreateReplicationConfigurationTemplateCommand =
|
|
|
41
41
|
headers = {
|
|
42
42
|
"content-type": "application/json",
|
|
43
43
|
};
|
|
44
|
-
resolvedPath = ""
|
|
44
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/CreateReplicationConfigurationTemplate";
|
|
45
45
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.associateDefaultSecurityGroup !== undefined &&
|
|
46
46
|
input.associateDefaultSecurityGroup !== null && {
|
|
47
47
|
associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
|
|
@@ -87,7 +87,7 @@ export var serializeAws_restJson1DeleteJobCommand = function (input, context) {
|
|
|
87
87
|
headers = {
|
|
88
88
|
"content-type": "application/json",
|
|
89
89
|
};
|
|
90
|
-
resolvedPath = ""
|
|
90
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteJob";
|
|
91
91
|
body = JSON.stringify(__assign({}, (input.jobID !== undefined && input.jobID !== null && { jobID: input.jobID })));
|
|
92
92
|
return [2, new __HttpRequest({
|
|
93
93
|
protocol: protocol,
|
|
@@ -111,7 +111,7 @@ export var serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand =
|
|
|
111
111
|
headers = {
|
|
112
112
|
"content-type": "application/json",
|
|
113
113
|
};
|
|
114
|
-
resolvedPath = ""
|
|
114
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteReplicationConfigurationTemplate";
|
|
115
115
|
body = JSON.stringify(__assign({}, (input.replicationConfigurationTemplateID !== undefined &&
|
|
116
116
|
input.replicationConfigurationTemplateID !== null && {
|
|
117
117
|
replicationConfigurationTemplateID: input.replicationConfigurationTemplateID,
|
|
@@ -138,7 +138,7 @@ export var serializeAws_restJson1DeleteSourceServerCommand = function (input, co
|
|
|
138
138
|
headers = {
|
|
139
139
|
"content-type": "application/json",
|
|
140
140
|
};
|
|
141
|
-
resolvedPath = ""
|
|
141
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteSourceServer";
|
|
142
142
|
body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
|
|
143
143
|
input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
|
|
144
144
|
return [2, new __HttpRequest({
|
|
@@ -163,7 +163,7 @@ export var serializeAws_restJson1DeleteVcenterClientCommand = function (input, c
|
|
|
163
163
|
headers = {
|
|
164
164
|
"content-type": "application/json",
|
|
165
165
|
};
|
|
166
|
-
resolvedPath = ""
|
|
166
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DeleteVcenterClient";
|
|
167
167
|
body = JSON.stringify(__assign({}, (input.vcenterClientID !== undefined &&
|
|
168
168
|
input.vcenterClientID !== null && { vcenterClientID: input.vcenterClientID })));
|
|
169
169
|
return [2, new __HttpRequest({
|
|
@@ -188,7 +188,7 @@ export var serializeAws_restJson1DescribeJobLogItemsCommand = function (input, c
|
|
|
188
188
|
headers = {
|
|
189
189
|
"content-type": "application/json",
|
|
190
190
|
};
|
|
191
|
-
resolvedPath = ""
|
|
191
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeJobLogItems";
|
|
192
192
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.jobID !== undefined && input.jobID !== null && { jobID: input.jobID })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
193
193
|
return [2, new __HttpRequest({
|
|
194
194
|
protocol: protocol,
|
|
@@ -212,7 +212,7 @@ export var serializeAws_restJson1DescribeJobsCommand = function (input, context)
|
|
|
212
212
|
headers = {
|
|
213
213
|
"content-type": "application/json",
|
|
214
214
|
};
|
|
215
|
-
resolvedPath = ""
|
|
215
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeJobs";
|
|
216
216
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.filters !== undefined &&
|
|
217
217
|
input.filters !== null && { filters: serializeAws_restJson1DescribeJobsRequestFilters(input.filters, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
218
218
|
return [2, new __HttpRequest({
|
|
@@ -237,7 +237,7 @@ export var serializeAws_restJson1DescribeReplicationConfigurationTemplatesComman
|
|
|
237
237
|
headers = {
|
|
238
238
|
"content-type": "application/json",
|
|
239
239
|
};
|
|
240
|
-
resolvedPath = ""
|
|
240
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
241
241
|
"/DescribeReplicationConfigurationTemplates";
|
|
242
242
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.replicationConfigurationTemplateIDs !== undefined &&
|
|
243
243
|
input.replicationConfigurationTemplateIDs !== null && {
|
|
@@ -265,7 +265,7 @@ export var serializeAws_restJson1DescribeSourceServersCommand = function (input,
|
|
|
265
265
|
headers = {
|
|
266
266
|
"content-type": "application/json",
|
|
267
267
|
};
|
|
268
|
-
resolvedPath = ""
|
|
268
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeSourceServers";
|
|
269
269
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.filters !== undefined &&
|
|
270
270
|
input.filters !== null && {
|
|
271
271
|
filters: serializeAws_restJson1DescribeSourceServersRequestFilters(input.filters, context),
|
|
@@ -290,7 +290,7 @@ export var serializeAws_restJson1DescribeVcenterClientsCommand = function (input
|
|
|
290
290
|
case 1:
|
|
291
291
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
292
292
|
headers = {};
|
|
293
|
-
resolvedPath = ""
|
|
293
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DescribeVcenterClients";
|
|
294
294
|
query = __assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
295
295
|
return [2, new __HttpRequest({
|
|
296
296
|
protocol: protocol,
|
|
@@ -315,7 +315,7 @@ export var serializeAws_restJson1DisconnectFromServiceCommand = function (input,
|
|
|
315
315
|
headers = {
|
|
316
316
|
"content-type": "application/json",
|
|
317
317
|
};
|
|
318
|
-
resolvedPath = ""
|
|
318
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/DisconnectFromService";
|
|
319
319
|
body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
|
|
320
320
|
input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
|
|
321
321
|
return [2, new __HttpRequest({
|
|
@@ -340,7 +340,7 @@ export var serializeAws_restJson1FinalizeCutoverCommand = function (input, conte
|
|
|
340
340
|
headers = {
|
|
341
341
|
"content-type": "application/json",
|
|
342
342
|
};
|
|
343
|
-
resolvedPath = ""
|
|
343
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/FinalizeCutover";
|
|
344
344
|
body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
|
|
345
345
|
input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
|
|
346
346
|
return [2, new __HttpRequest({
|
|
@@ -365,7 +365,7 @@ export var serializeAws_restJson1GetLaunchConfigurationCommand = function (input
|
|
|
365
365
|
headers = {
|
|
366
366
|
"content-type": "application/json",
|
|
367
367
|
};
|
|
368
|
-
resolvedPath = ""
|
|
368
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetLaunchConfiguration";
|
|
369
369
|
body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
|
|
370
370
|
input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
|
|
371
371
|
return [2, new __HttpRequest({
|
|
@@ -390,7 +390,7 @@ export var serializeAws_restJson1GetReplicationConfigurationCommand = function (
|
|
|
390
390
|
headers = {
|
|
391
391
|
"content-type": "application/json",
|
|
392
392
|
};
|
|
393
|
-
resolvedPath = ""
|
|
393
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetReplicationConfiguration";
|
|
394
394
|
body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
|
|
395
395
|
input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
|
|
396
396
|
return [2, new __HttpRequest({
|
|
@@ -415,7 +415,7 @@ export var serializeAws_restJson1InitializeServiceCommand = function (input, con
|
|
|
415
415
|
headers = {
|
|
416
416
|
"content-type": "application/json",
|
|
417
417
|
};
|
|
418
|
-
resolvedPath = ""
|
|
418
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/InitializeService";
|
|
419
419
|
body = "";
|
|
420
420
|
return [2, new __HttpRequest({
|
|
421
421
|
protocol: protocol,
|
|
@@ -437,7 +437,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
437
437
|
case 1:
|
|
438
438
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
439
439
|
headers = {};
|
|
440
|
-
resolvedPath = ""
|
|
440
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
441
441
|
if (input.resourceArn !== undefined) {
|
|
442
442
|
labelValue = input.resourceArn;
|
|
443
443
|
if (labelValue.length <= 0) {
|
|
@@ -470,7 +470,7 @@ export var serializeAws_restJson1MarkAsArchivedCommand = function (input, contex
|
|
|
470
470
|
headers = {
|
|
471
471
|
"content-type": "application/json",
|
|
472
472
|
};
|
|
473
|
-
resolvedPath = ""
|
|
473
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/MarkAsArchived";
|
|
474
474
|
body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
|
|
475
475
|
input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
|
|
476
476
|
return [2, new __HttpRequest({
|
|
@@ -495,7 +495,7 @@ export var serializeAws_restJson1RetryDataReplicationCommand = function (input,
|
|
|
495
495
|
headers = {
|
|
496
496
|
"content-type": "application/json",
|
|
497
497
|
};
|
|
498
|
-
resolvedPath = ""
|
|
498
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/RetryDataReplication";
|
|
499
499
|
body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
|
|
500
500
|
input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
|
|
501
501
|
return [2, new __HttpRequest({
|
|
@@ -520,7 +520,7 @@ export var serializeAws_restJson1StartCutoverCommand = function (input, context)
|
|
|
520
520
|
headers = {
|
|
521
521
|
"content-type": "application/json",
|
|
522
522
|
};
|
|
523
|
-
resolvedPath = ""
|
|
523
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartCutover";
|
|
524
524
|
body = JSON.stringify(__assign(__assign({}, (input.sourceServerIDs !== undefined &&
|
|
525
525
|
input.sourceServerIDs !== null && {
|
|
526
526
|
sourceServerIDs: serializeAws_restJson1StartCutoverRequestSourceServerIDs(input.sourceServerIDs, context),
|
|
@@ -548,7 +548,7 @@ export var serializeAws_restJson1StartReplicationCommand = function (input, cont
|
|
|
548
548
|
headers = {
|
|
549
549
|
"content-type": "application/json",
|
|
550
550
|
};
|
|
551
|
-
resolvedPath = ""
|
|
551
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartReplication";
|
|
552
552
|
body = JSON.stringify(__assign({}, (input.sourceServerID !== undefined &&
|
|
553
553
|
input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
|
|
554
554
|
return [2, new __HttpRequest({
|
|
@@ -573,7 +573,7 @@ export var serializeAws_restJson1StartTestCommand = function (input, context) {
|
|
|
573
573
|
headers = {
|
|
574
574
|
"content-type": "application/json",
|
|
575
575
|
};
|
|
576
|
-
resolvedPath = ""
|
|
576
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/StartTest";
|
|
577
577
|
body = JSON.stringify(__assign(__assign({}, (input.sourceServerIDs !== undefined &&
|
|
578
578
|
input.sourceServerIDs !== null && {
|
|
579
579
|
sourceServerIDs: serializeAws_restJson1StartTestRequestSourceServerIDs(input.sourceServerIDs, context),
|
|
@@ -601,7 +601,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
601
601
|
headers = {
|
|
602
602
|
"content-type": "application/json",
|
|
603
603
|
};
|
|
604
|
-
resolvedPath = ""
|
|
604
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
605
605
|
if (input.resourceArn !== undefined) {
|
|
606
606
|
labelValue = input.resourceArn;
|
|
607
607
|
if (labelValue.length <= 0) {
|
|
@@ -636,7 +636,7 @@ export var serializeAws_restJson1TerminateTargetInstancesCommand = function (inp
|
|
|
636
636
|
headers = {
|
|
637
637
|
"content-type": "application/json",
|
|
638
638
|
};
|
|
639
|
-
resolvedPath = ""
|
|
639
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/TerminateTargetInstances";
|
|
640
640
|
body = JSON.stringify(__assign(__assign({}, (input.sourceServerIDs !== undefined &&
|
|
641
641
|
input.sourceServerIDs !== null && {
|
|
642
642
|
sourceServerIDs: serializeAws_restJson1TerminateTargetInstancesRequestSourceServerIDs(input.sourceServerIDs, context),
|
|
@@ -662,7 +662,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
662
662
|
case 1:
|
|
663
663
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
664
664
|
headers = {};
|
|
665
|
-
resolvedPath = ""
|
|
665
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
666
666
|
if (input.resourceArn !== undefined) {
|
|
667
667
|
labelValue = input.resourceArn;
|
|
668
668
|
if (labelValue.length <= 0) {
|
|
@@ -697,8 +697,8 @@ export var serializeAws_restJson1UpdateLaunchConfigurationCommand = function (in
|
|
|
697
697
|
headers = {
|
|
698
698
|
"content-type": "application/json",
|
|
699
699
|
};
|
|
700
|
-
resolvedPath = ""
|
|
701
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.copyPrivateIp !== undefined && input.copyPrivateIp !== null && { copyPrivateIp: input.copyPrivateIp })), (input.copyTags !== undefined && input.copyTags !== null && { copyTags: input.copyTags })), (input.launchDisposition !== undefined &&
|
|
700
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateLaunchConfiguration";
|
|
701
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.bootMode !== undefined && input.bootMode !== null && { bootMode: input.bootMode })), (input.copyPrivateIp !== undefined && input.copyPrivateIp !== null && { copyPrivateIp: input.copyPrivateIp })), (input.copyTags !== undefined && input.copyTags !== null && { copyTags: input.copyTags })), (input.launchDisposition !== undefined &&
|
|
702
702
|
input.launchDisposition !== null && { launchDisposition: input.launchDisposition })), (input.licensing !== undefined &&
|
|
703
703
|
input.licensing !== null && { licensing: serializeAws_restJson1Licensing(input.licensing, context) })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.sourceServerID !== undefined &&
|
|
704
704
|
input.sourceServerID !== null && { sourceServerID: input.sourceServerID })), (input.targetInstanceTypeRightSizingMethod !== undefined &&
|
|
@@ -727,7 +727,7 @@ export var serializeAws_restJson1UpdateReplicationConfigurationCommand = functio
|
|
|
727
727
|
headers = {
|
|
728
728
|
"content-type": "application/json",
|
|
729
729
|
};
|
|
730
|
-
resolvedPath = ""
|
|
730
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateReplicationConfiguration";
|
|
731
731
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.associateDefaultSecurityGroup !== undefined &&
|
|
732
732
|
input.associateDefaultSecurityGroup !== null && {
|
|
733
733
|
associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
|
|
@@ -776,7 +776,7 @@ export var serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand =
|
|
|
776
776
|
headers = {
|
|
777
777
|
"content-type": "application/json",
|
|
778
778
|
};
|
|
779
|
-
resolvedPath = ""
|
|
779
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateReplicationConfigurationTemplate";
|
|
780
780
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.arn !== undefined && input.arn !== null && { arn: input.arn })), (input.associateDefaultSecurityGroup !== undefined &&
|
|
781
781
|
input.associateDefaultSecurityGroup !== null && {
|
|
782
782
|
associateDefaultSecurityGroup: input.associateDefaultSecurityGroup,
|
|
@@ -824,7 +824,7 @@ export var serializeAws_restJson1UpdateSourceServerReplicationTypeCommand = func
|
|
|
824
824
|
headers = {
|
|
825
825
|
"content-type": "application/json",
|
|
826
826
|
};
|
|
827
|
-
resolvedPath = ""
|
|
827
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/UpdateSourceServerReplicationType";
|
|
828
828
|
body = JSON.stringify(__assign(__assign({}, (input.replicationType !== undefined &&
|
|
829
829
|
input.replicationType !== null && { replicationType: input.replicationType })), (input.sourceServerID !== undefined &&
|
|
830
830
|
input.sourceServerID !== null && { sourceServerID: input.sourceServerID })));
|
|
@@ -1838,6 +1838,7 @@ export var deserializeAws_restJson1GetLaunchConfigurationCommand = function (out
|
|
|
1838
1838
|
}
|
|
1839
1839
|
contents = {
|
|
1840
1840
|
$metadata: deserializeMetadata(output),
|
|
1841
|
+
bootMode: undefined,
|
|
1841
1842
|
copyPrivateIp: undefined,
|
|
1842
1843
|
copyTags: undefined,
|
|
1843
1844
|
ec2LaunchTemplateID: undefined,
|
|
@@ -1852,6 +1853,9 @@ export var deserializeAws_restJson1GetLaunchConfigurationCommand = function (out
|
|
|
1852
1853
|
return [4, parseBody(output.body, context)];
|
|
1853
1854
|
case 1:
|
|
1854
1855
|
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
1856
|
+
if (data.bootMode !== undefined && data.bootMode !== null) {
|
|
1857
|
+
contents.bootMode = __expectString(data.bootMode);
|
|
1858
|
+
}
|
|
1855
1859
|
if (data.copyPrivateIp !== undefined && data.copyPrivateIp !== null) {
|
|
1856
1860
|
contents.copyPrivateIp = __expectBoolean(data.copyPrivateIp);
|
|
1857
1861
|
}
|
|
@@ -2800,6 +2804,7 @@ export var deserializeAws_restJson1UpdateLaunchConfigurationCommand = function (
|
|
|
2800
2804
|
}
|
|
2801
2805
|
contents = {
|
|
2802
2806
|
$metadata: deserializeMetadata(output),
|
|
2807
|
+
bootMode: undefined,
|
|
2803
2808
|
copyPrivateIp: undefined,
|
|
2804
2809
|
copyTags: undefined,
|
|
2805
2810
|
ec2LaunchTemplateID: undefined,
|
|
@@ -2814,6 +2819,9 @@ export var deserializeAws_restJson1UpdateLaunchConfigurationCommand = function (
|
|
|
2814
2819
|
return [4, parseBody(output.body, context)];
|
|
2815
2820
|
case 1:
|
|
2816
2821
|
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
2822
|
+
if (data.bootMode !== undefined && data.bootMode !== null) {
|
|
2823
|
+
contents.bootMode = __expectString(data.bootMode);
|
|
2824
|
+
}
|
|
2817
2825
|
if (data.copyPrivateIp !== undefined && data.copyPrivateIp !== null) {
|
|
2818
2826
|
contents.copyPrivateIp = __expectBoolean(data.copyPrivateIp);
|
|
2819
2827
|
}
|
|
@@ -3453,8 +3461,8 @@ var serializeAws_restJson1LifeCycleStates = function (input, context) {
|
|
|
3453
3461
|
});
|
|
3454
3462
|
};
|
|
3455
3463
|
var serializeAws_restJson1ReplicationConfigurationReplicatedDisk = function (input, context) {
|
|
3456
|
-
return __assign(__assign(__assign(__assign({}, (input.deviceName !== undefined && input.deviceName !== null && { deviceName: input.deviceName })), (input.iops !== undefined && input.iops !== null && { iops: input.iops })), (input.isBootDisk !== undefined && input.isBootDisk !== null && { isBootDisk: input.isBootDisk })), (input.stagingDiskType !== undefined &&
|
|
3457
|
-
input.stagingDiskType !== null && { stagingDiskType: input.stagingDiskType }));
|
|
3464
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.deviceName !== undefined && input.deviceName !== null && { deviceName: input.deviceName })), (input.iops !== undefined && input.iops !== null && { iops: input.iops })), (input.isBootDisk !== undefined && input.isBootDisk !== null && { isBootDisk: input.isBootDisk })), (input.stagingDiskType !== undefined &&
|
|
3465
|
+
input.stagingDiskType !== null && { stagingDiskType: input.stagingDiskType })), (input.throughput !== undefined && input.throughput !== null && { throughput: input.throughput }));
|
|
3458
3466
|
};
|
|
3459
3467
|
var serializeAws_restJson1ReplicationConfigurationReplicatedDisks = function (input, context) {
|
|
3460
3468
|
return input
|
|
@@ -3848,6 +3856,7 @@ var deserializeAws_restJson1ReplicationConfigurationReplicatedDisk = function (o
|
|
|
3848
3856
|
iops: __expectLong(output.iops),
|
|
3849
3857
|
isBootDisk: __expectBoolean(output.isBootDisk),
|
|
3850
3858
|
stagingDiskType: __expectString(output.stagingDiskType),
|
|
3859
|
+
throughput: __expectLong(output.throughput),
|
|
3851
3860
|
};
|
|
3852
3861
|
};
|
|
3853
3862
|
var deserializeAws_restJson1ReplicationConfigurationReplicatedDisks = function (output, context) {
|
package/dist-types/Mgn.d.ts
CHANGED
|
@@ -64,19 +64,19 @@ export declare class Mgn extends MgnClient {
|
|
|
64
64
|
deleteSourceServer(args: DeleteSourceServerCommandInput, cb: (err: any, data?: DeleteSourceServerCommandOutput) => void): void;
|
|
65
65
|
deleteSourceServer(args: DeleteSourceServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSourceServerCommandOutput) => void): void;
|
|
66
66
|
/**
|
|
67
|
-
* <p>Deletes a
|
|
67
|
+
* <p>Deletes a given vCenter client by ID.</p>
|
|
68
68
|
*/
|
|
69
69
|
deleteVcenterClient(args: DeleteVcenterClientCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVcenterClientCommandOutput>;
|
|
70
70
|
deleteVcenterClient(args: DeleteVcenterClientCommandInput, cb: (err: any, data?: DeleteVcenterClientCommandOutput) => void): void;
|
|
71
71
|
deleteVcenterClient(args: DeleteVcenterClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVcenterClientCommandOutput) => void): void;
|
|
72
72
|
/**
|
|
73
|
-
* <p>Retrieves detailed
|
|
73
|
+
* <p>Retrieves detailed job log items with paging.</p>
|
|
74
74
|
*/
|
|
75
75
|
describeJobLogItems(args: DescribeJobLogItemsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobLogItemsCommandOutput>;
|
|
76
76
|
describeJobLogItems(args: DescribeJobLogItemsCommandInput, cb: (err: any, data?: DescribeJobLogItemsCommandOutput) => void): void;
|
|
77
77
|
describeJobLogItems(args: DescribeJobLogItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobLogItemsCommandOutput) => void): void;
|
|
78
78
|
/**
|
|
79
|
-
* <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
|
|
79
|
+
* <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 normally 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>
|
|
80
80
|
*/
|
|
81
81
|
describeJobs(args: DescribeJobsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobsCommandOutput>;
|
|
82
82
|
describeJobs(args: DescribeJobsCommandInput, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
|
|
@@ -94,19 +94,19 @@ export declare class Mgn extends MgnClient {
|
|
|
94
94
|
describeSourceServers(args: DescribeSourceServersCommandInput, cb: (err: any, data?: DescribeSourceServersCommandOutput) => void): void;
|
|
95
95
|
describeSourceServers(args: DescribeSourceServersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSourceServersCommandOutput) => void): void;
|
|
96
96
|
/**
|
|
97
|
-
* <p>
|
|
97
|
+
* <p>Returns a list of the installed vCenter clients.</p>
|
|
98
98
|
*/
|
|
99
99
|
describeVcenterClients(args: DescribeVcenterClientsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeVcenterClientsCommandOutput>;
|
|
100
100
|
describeVcenterClients(args: DescribeVcenterClientsCommandInput, cb: (err: any, data?: DescribeVcenterClientsCommandOutput) => void): void;
|
|
101
101
|
describeVcenterClients(args: DescribeVcenterClientsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeVcenterClientsCommandOutput) => void): void;
|
|
102
102
|
/**
|
|
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
|
|
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 communicating 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.lagDuration will be nullified.</p>
|
|
104
104
|
*/
|
|
105
105
|
disconnectFromService(args: DisconnectFromServiceCommandInput, options?: __HttpHandlerOptions): Promise<DisconnectFromServiceCommandOutput>;
|
|
106
106
|
disconnectFromService(args: DisconnectFromServiceCommandInput, cb: (err: any, data?: DisconnectFromServiceCommandOutput) => void): void;
|
|
107
107
|
disconnectFromService(args: DisconnectFromServiceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisconnectFromServiceCommandOutput) => void): void;
|
|
108
108
|
/**
|
|
109
|
-
* <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.
|
|
109
|
+
* <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 changed 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.lagDuration will be nullified.</p>
|
|
110
110
|
*/
|
|
111
111
|
finalizeCutover(args: FinalizeCutoverCommandInput, options?: __HttpHandlerOptions): Promise<FinalizeCutoverCommandOutput>;
|
|
112
112
|
finalizeCutover(args: FinalizeCutoverCommandInput, cb: (err: any, data?: FinalizeCutoverCommandOutput) => void): void;
|
|
@@ -136,7 +136,7 @@ export declare class Mgn extends MgnClient {
|
|
|
136
136
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
137
137
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
138
138
|
/**
|
|
139
|
-
* <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>
|
|
139
|
+
* <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>
|
|
140
140
|
*/
|
|
141
141
|
markAsArchived(args: MarkAsArchivedCommandInput, options?: __HttpHandlerOptions): Promise<MarkAsArchivedCommandOutput>;
|
|
142
142
|
markAsArchived(args: MarkAsArchivedCommandInput, cb: (err: any, data?: MarkAsArchivedCommandOutput) => void): void;
|
|
@@ -154,13 +154,13 @@ export declare class Mgn extends MgnClient {
|
|
|
154
154
|
startCutover(args: StartCutoverCommandInput, cb: (err: any, data?: StartCutoverCommandOutput) => void): void;
|
|
155
155
|
startCutover(args: StartCutoverCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCutoverCommandOutput) => void): void;
|
|
156
156
|
/**
|
|
157
|
-
* <p>Starts replication
|
|
157
|
+
* <p>Starts replication for SNAPSHOT_SHIPPING agents.</p>
|
|
158
158
|
*/
|
|
159
159
|
startReplication(args: StartReplicationCommandInput, options?: __HttpHandlerOptions): Promise<StartReplicationCommandOutput>;
|
|
160
160
|
startReplication(args: StartReplicationCommandInput, cb: (err: any, data?: StartReplicationCommandOutput) => void): void;
|
|
161
161
|
startReplication(args: StartReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartReplicationCommandOutput) => void): void;
|
|
162
162
|
/**
|
|
163
|
-
* <p>
|
|
163
|
+
* <p>Launches 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>
|
|
164
164
|
*/
|
|
165
165
|
startTest(args: StartTestCommandInput, options?: __HttpHandlerOptions): Promise<StartTestCommandOutput>;
|
|
166
166
|
startTest(args: StartTestCommandInput, cb: (err: any, data?: StartTestCommandOutput) => void): void;
|
|
@@ -202,7 +202,7 @@ export declare class Mgn extends MgnClient {
|
|
|
202
202
|
updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, cb: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
203
203
|
updateReplicationConfigurationTemplate(args: UpdateReplicationConfigurationTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReplicationConfigurationTemplateCommandOutput) => void): void;
|
|
204
204
|
/**
|
|
205
|
-
* <p>
|
|
205
|
+
* <p>Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.</p>
|
|
206
206
|
*/
|
|
207
207
|
updateSourceServerReplicationType(args: UpdateSourceServerReplicationTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSourceServerReplicationTypeCommandOutput>;
|
|
208
208
|
updateSourceServerReplicationType(args: UpdateSourceServerReplicationTypeCommandInput, cb: (err: any, data?: UpdateSourceServerReplicationTypeCommandOutput) => void): void;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
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";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { ChangeServerLifeCycleStateCommandInput, ChangeServerLifeCycleStateCommandOutput } from "./commands/ChangeServerLifeCycleStateCommand";
|
|
10
10
|
import { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationConfigurationTemplateCommandOutput } from "./commands/CreateReplicationConfigurationTemplateCommand";
|
|
11
11
|
import { DeleteJobCommandInput, DeleteJobCommandOutput } from "./commands/DeleteJobCommand";
|
|
@@ -57,7 +57,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
57
57
|
* A function that can calculate the length of a request body.
|
|
58
58
|
* @internal
|
|
59
59
|
*/
|
|
60
|
-
bodyLengthChecker?:
|
|
60
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
61
61
|
/**
|
|
62
62
|
* A function that converts a stream into an array of bytes.
|
|
63
63
|
* @internal
|
|
@@ -7,7 +7,7 @@ export interface DeleteVcenterClientCommandInput extends DeleteVcenterClientRequ
|
|
|
7
7
|
export interface DeleteVcenterClientCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes a
|
|
10
|
+
* <p>Deletes a given vCenter client by ID.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface DescribeJobLogItemsCommandInput extends DescribeJobLogItemsRequ
|
|
|
7
7
|
export interface DescribeJobLogItemsCommandOutput extends DescribeJobLogItemsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Retrieves detailed
|
|
10
|
+
* <p>Retrieves detailed job log items with paging.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface DescribeJobsCommandInput extends DescribeJobsRequest {
|
|
|
7
7
|
export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <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
|
|
10
|
+
* <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 normally 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>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface DescribeVcenterClientsCommandInput extends DescribeVcenterClien
|
|
|
7
7
|
export interface DescribeVcenterClientsCommandOutput extends DescribeVcenterClientsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Returns a list of the installed vCenter clients.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface DisconnectFromServiceCommandInput extends DisconnectFromService
|
|
|
7
7
|
export interface DisconnectFromServiceCommandOutput extends SourceServer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <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
|
|
10
|
+
* <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 communicating 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.lagDuration will be nullified.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface FinalizeCutoverCommandInput extends FinalizeCutoverRequest {
|
|
|
7
7
|
export interface FinalizeCutoverCommandOutput extends SourceServer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <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.
|
|
10
|
+
* <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 changed 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.lagDuration will be nullified.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface MarkAsArchivedCommandInput extends MarkAsArchivedRequest {
|
|
|
7
7
|
export interface MarkAsArchivedCommandOutput extends SourceServer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <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>
|
|
10
|
+
* <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>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface StartReplicationCommandInput extends StartReplicationRequest {
|
|
|
7
7
|
export interface StartReplicationCommandOutput extends SourceServer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Starts replication
|
|
10
|
+
* <p>Starts replication for SNAPSHOT_SHIPPING agents.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface StartTestCommandInput extends StartTestRequest {
|
|
|
7
7
|
export interface StartTestCommandOutput extends StartTestResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Launches 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>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface UpdateSourceServerReplicationTypeCommandInput extends UpdateSou
|
|
|
7
7
|
export interface UpdateSourceServerReplicationTypeCommandOutput extends SourceServer, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|