@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
|
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MgnClient";
|
|
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateLaunchConfigurationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MgnClient";
|
|
@@ -27,10 +27,10 @@ class UpdateLaunchConfigurationCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateLaunchConfigurationCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateLaunchConfigurationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateLaunchConfigurationCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateLaunchConfigurationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateLaunchConfigurationCommand = UpdateLaunchConfigurationCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateReplicationConfigurationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MgnClient";
|
|
@@ -27,10 +27,10 @@ class UpdateReplicationConfigurationCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateReplicationConfigurationCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateReplicationConfigurationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateReplicationConfigurationCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateReplicationConfigurationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateReplicationConfigurationCommand = UpdateReplicationConfigurationCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateReplicationConfigurationTemplateCommand extends smithy_client_1.Comm
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MgnClient";
|
|
@@ -27,10 +27,10 @@ class UpdateReplicationConfigurationTemplateCommand extends smithy_client_1.Comm
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateReplicationConfigurationTemplateCommand = UpdateReplicationConfigurationTemplateCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateSourceServerReplicationTypeCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "MgnClient";
|
|
@@ -27,10 +27,10 @@ class UpdateSourceServerReplicationTypeCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateSourceServerReplicationTypeCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateSourceServerReplicationTypeCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateSourceServerReplicationTypeCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateSourceServerReplicationTypeCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateSourceServerReplicationTypeCommand = UpdateSourceServerReplicationTypeCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -122,7 +122,7 @@ const partitionHash = {
|
|
|
122
122
|
],
|
|
123
123
|
},
|
|
124
124
|
};
|
|
125
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
125
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
126
126
|
...options,
|
|
127
127
|
signingService: "mgn",
|
|
128
128
|
regionHash,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DataReplicationInfoReplicatedDisk = exports.DataReplicationState = exports.DataReplicationInitiation = exports.DataReplicationInitiationStep = exports.DataReplicationInitiationStepStatus = exports.DataReplicationInitiationStepName = exports.DataReplicationError = exports.DataReplicationErrorString = exports.ChangeServerLifeCycleStateRequest = exports.ChangeServerLifeCycleStateSourceServerLifecycle = exports.ChangeServerLifeCycleStateSourceServerLifecycleState = exports.UpdateReplicationConfigurationTemplateRequest = exports.DescribeReplicationConfigurationTemplatesResponse = exports.DescribeReplicationConfigurationTemplatesRequest = exports.DeleteReplicationConfigurationTemplateResponse = exports.DeleteReplicationConfigurationTemplateRequest = exports.ReplicationConfigurationTemplate = exports.CreateReplicationConfigurationTemplateRequest = exports.ReplicationConfigurationEbsEncryption = exports.ReplicationConfigurationDefaultLargeStagingDiskType = exports.ReplicationConfigurationDataPlaneRouting = exports.ThrottlingException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.InternalServerException = exports.DescribeJobsResponse = exports.Job = exports.JobType = exports.JobStatus = exports.ParticipatingServer = exports.LaunchStatus = exports.InitiatedBy = exports.DescribeJobsRequest = exports.DescribeJobsRequestFilters = exports.DescribeJobLogItemsResponse = exports.JobLog = exports.JobLogEventData = exports.JobLogEvent = exports.DescribeJobLogItemsRequest = exports.UninitializedAccountException = exports.ResourceNotFoundException = exports.DeleteJobResponse = exports.DeleteJobRequest = exports.ConflictException = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.InitializeServiceResponse = exports.InitializeServiceRequest = exports.AccessDeniedException = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.DescribeVcenterClientsResponse = exports.VcenterClient = exports.DescribeVcenterClientsRequest = exports.DeleteVcenterClientRequest = exports.UntagResourceRequest = exports.TagResourceRequest = void 0;
|
|
4
|
+
exports.UpdateReplicationConfigurationRequest = exports.UpdateLaunchConfigurationRequest = exports.TerminateTargetInstancesResponse = exports.TerminateTargetInstancesRequest = exports.StartTestResponse = exports.StartTestRequest = exports.StartReplicationRequest = exports.ServiceQuotaExceededException = exports.StartCutoverResponse = exports.StartCutoverRequest = exports.RetryDataReplicationRequest = exports.MarkAsArchivedRequest = exports.ReplicationConfiguration = exports.ReplicationConfigurationReplicatedDisk = exports.ReplicationConfigurationReplicatedDiskStagingDiskType = exports.GetReplicationConfigurationRequest = exports.LaunchConfiguration = exports.TargetInstanceTypeRightSizingMethod = exports.Licensing = exports.LaunchDisposition = exports.BootMode = exports.GetLaunchConfigurationRequest = exports.FinalizeCutoverRequest = exports.DisconnectFromServiceRequest = exports.DescribeSourceServersResponse = exports.DescribeSourceServersRequest = exports.DescribeSourceServersRequestFilters = exports.DeleteSourceServerResponse = exports.DeleteSourceServerRequest = exports.SourceServer = exports.SourceProperties = exports.OS = exports.NetworkInterface = exports.IdentificationHints = exports.Disk = exports.CPU = exports.ReplicationType = exports.LifeCycle = exports.LifeCycleState = exports.LifeCycleLastTest = exports.LifeCycleLastTestReverted = exports.LifeCycleLastTestInitiated = exports.LifeCycleLastTestFinalized = exports.LifeCycleLastCutover = exports.LifeCycleLastCutoverReverted = exports.LifeCycleLastCutoverInitiated = exports.LifeCycleLastCutoverFinalized = exports.LaunchedInstance = exports.FirstBoot = exports.DataReplicationInfo = void 0;
|
|
5
|
+
exports.DescribeVcenterClientsResponse = exports.VcenterClient = exports.DescribeVcenterClientsRequest = exports.DeleteVcenterClientRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.UpdateSourceServerReplicationTypeRequest = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const MgnServiceException_1 = require("./MgnServiceException");
|
|
8
8
|
class AccessDeniedException extends MgnServiceException_1.MgnServiceException {
|
|
@@ -270,6 +270,7 @@ var ReplicationConfigurationDataPlaneRouting;
|
|
|
270
270
|
var ReplicationConfigurationDefaultLargeStagingDiskType;
|
|
271
271
|
(function (ReplicationConfigurationDefaultLargeStagingDiskType) {
|
|
272
272
|
ReplicationConfigurationDefaultLargeStagingDiskType["GP2"] = "GP2";
|
|
273
|
+
ReplicationConfigurationDefaultLargeStagingDiskType["GP3"] = "GP3";
|
|
273
274
|
ReplicationConfigurationDefaultLargeStagingDiskType["ST1"] = "ST1";
|
|
274
275
|
})(ReplicationConfigurationDefaultLargeStagingDiskType = exports.ReplicationConfigurationDefaultLargeStagingDiskType || (exports.ReplicationConfigurationDefaultLargeStagingDiskType = {}));
|
|
275
276
|
var ReplicationConfigurationEbsEncryption;
|
|
@@ -605,6 +606,11 @@ var GetLaunchConfigurationRequest;
|
|
|
605
606
|
...obj,
|
|
606
607
|
});
|
|
607
608
|
})(GetLaunchConfigurationRequest = exports.GetLaunchConfigurationRequest || (exports.GetLaunchConfigurationRequest = {}));
|
|
609
|
+
var BootMode;
|
|
610
|
+
(function (BootMode) {
|
|
611
|
+
BootMode["LEGACY_BIOS"] = "LEGACY_BIOS";
|
|
612
|
+
BootMode["UEFI"] = "UEFI";
|
|
613
|
+
})(BootMode = exports.BootMode || (exports.BootMode = {}));
|
|
608
614
|
var LaunchDisposition;
|
|
609
615
|
(function (LaunchDisposition) {
|
|
610
616
|
LaunchDisposition["STARTED"] = "STARTED";
|
|
@@ -637,7 +643,9 @@ var ReplicationConfigurationReplicatedDiskStagingDiskType;
|
|
|
637
643
|
(function (ReplicationConfigurationReplicatedDiskStagingDiskType) {
|
|
638
644
|
ReplicationConfigurationReplicatedDiskStagingDiskType["AUTO"] = "AUTO";
|
|
639
645
|
ReplicationConfigurationReplicatedDiskStagingDiskType["GP2"] = "GP2";
|
|
646
|
+
ReplicationConfigurationReplicatedDiskStagingDiskType["GP3"] = "GP3";
|
|
640
647
|
ReplicationConfigurationReplicatedDiskStagingDiskType["IO1"] = "IO1";
|
|
648
|
+
ReplicationConfigurationReplicatedDiskStagingDiskType["IO2"] = "IO2";
|
|
641
649
|
ReplicationConfigurationReplicatedDiskStagingDiskType["SC1"] = "SC1";
|
|
642
650
|
ReplicationConfigurationReplicatedDiskStagingDiskType["ST1"] = "ST1";
|
|
643
651
|
ReplicationConfigurationReplicatedDiskStagingDiskType["STANDARD"] = "STANDARD";
|