@aws-sdk/client-mgn 3.50.0 → 3.53.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/index.js +3 -0
- package/dist-cjs/models/MgnServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +128 -2
- package/dist-cjs/protocols/Aws_restJson1.js +292 -957
- package/dist-es/index.js +1 -0
- package/dist-es/models/MgnServiceException.js +12 -0
- package/dist-es/models/models_0.js +118 -1
- package/dist-es/protocols/Aws_restJson1.js +605 -1082
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/MgnServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -33
- package/dist-types/ts3.4/Mgn.d.ts +150 -0
- package/dist-types/ts3.4/MgnClient.d.ts +102 -0
- package/dist-types/ts3.4/commands/ChangeServerLifeCycleStateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateReplicationConfigurationTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSourceServerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteVcenterClientCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeJobLogItemsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSourceServersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeVcenterClientsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisconnectFromServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/FinalizeCutoverCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetLaunchConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetReplicationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/InitializeServiceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/MarkAsArchivedCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RetryDataReplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartCutoverCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartTestCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TerminateTargetInstancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateLaunchConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateReplicationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSourceServerReplicationTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +29 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/MgnServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1288 -0
- package/dist-types/ts3.4/pagination/DescribeJobLogItemsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeSourceServersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeVcenterClientsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-mgn
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-mgn
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-mgn
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MgnServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./Mgn"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./MgnClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var MgnServiceException_1 = require("./models/MgnServiceException");
|
|
11
|
+
Object.defineProperty(exports, "MgnServiceException", { enumerable: true, get: function () { return MgnServiceException_1.MgnServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MgnServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class MgnServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, MgnServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.MgnServiceException = MgnServiceException;
|
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
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.UpdateSourceServerReplicationTypeRequest = 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.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 = void 0;
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const MgnServiceException_1 = require("./MgnServiceException");
|
|
8
|
+
class AccessDeniedException extends MgnServiceException_1.MgnServiceException {
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
this.name = "AccessDeniedException";
|
|
16
|
+
this.$fault = "client";
|
|
17
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
18
|
+
this.code = opts.code;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
6
22
|
var InitializeServiceRequest;
|
|
7
23
|
(function (InitializeServiceRequest) {
|
|
8
24
|
InitializeServiceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -28,6 +44,38 @@ var ValidationExceptionReason;
|
|
|
28
44
|
ValidationExceptionReason["OTHER"] = "other";
|
|
29
45
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "unknownOperation";
|
|
30
46
|
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
47
|
+
class ValidationException extends MgnServiceException_1.MgnServiceException {
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ValidationException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
this.name = "ValidationException";
|
|
55
|
+
this.$fault = "client";
|
|
56
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
57
|
+
this.code = opts.code;
|
|
58
|
+
this.reason = opts.reason;
|
|
59
|
+
this.fieldList = opts.fieldList;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.ValidationException = ValidationException;
|
|
63
|
+
class ConflictException extends MgnServiceException_1.MgnServiceException {
|
|
64
|
+
constructor(opts) {
|
|
65
|
+
super({
|
|
66
|
+
name: "ConflictException",
|
|
67
|
+
$fault: "client",
|
|
68
|
+
...opts,
|
|
69
|
+
});
|
|
70
|
+
this.name = "ConflictException";
|
|
71
|
+
this.$fault = "client";
|
|
72
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
73
|
+
this.code = opts.code;
|
|
74
|
+
this.resourceId = opts.resourceId;
|
|
75
|
+
this.resourceType = opts.resourceType;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.ConflictException = ConflictException;
|
|
31
79
|
var DeleteJobRequest;
|
|
32
80
|
(function (DeleteJobRequest) {
|
|
33
81
|
DeleteJobRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -40,6 +88,36 @@ var DeleteJobResponse;
|
|
|
40
88
|
...obj,
|
|
41
89
|
});
|
|
42
90
|
})(DeleteJobResponse = exports.DeleteJobResponse || (exports.DeleteJobResponse = {}));
|
|
91
|
+
class ResourceNotFoundException extends MgnServiceException_1.MgnServiceException {
|
|
92
|
+
constructor(opts) {
|
|
93
|
+
super({
|
|
94
|
+
name: "ResourceNotFoundException",
|
|
95
|
+
$fault: "client",
|
|
96
|
+
...opts,
|
|
97
|
+
});
|
|
98
|
+
this.name = "ResourceNotFoundException";
|
|
99
|
+
this.$fault = "client";
|
|
100
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
101
|
+
this.code = opts.code;
|
|
102
|
+
this.resourceId = opts.resourceId;
|
|
103
|
+
this.resourceType = opts.resourceType;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
107
|
+
class UninitializedAccountException extends MgnServiceException_1.MgnServiceException {
|
|
108
|
+
constructor(opts) {
|
|
109
|
+
super({
|
|
110
|
+
name: "UninitializedAccountException",
|
|
111
|
+
$fault: "client",
|
|
112
|
+
...opts,
|
|
113
|
+
});
|
|
114
|
+
this.name = "UninitializedAccountException";
|
|
115
|
+
this.$fault = "client";
|
|
116
|
+
Object.setPrototypeOf(this, UninitializedAccountException.prototype);
|
|
117
|
+
this.code = opts.code;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.UninitializedAccountException = UninitializedAccountException;
|
|
43
121
|
var DescribeJobLogItemsRequest;
|
|
44
122
|
(function (DescribeJobLogItemsRequest) {
|
|
45
123
|
DescribeJobLogItemsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -141,6 +219,20 @@ var DescribeJobsResponse;
|
|
|
141
219
|
...(obj.items && { items: obj.items.map((item) => Job.filterSensitiveLog(item)) }),
|
|
142
220
|
});
|
|
143
221
|
})(DescribeJobsResponse = exports.DescribeJobsResponse || (exports.DescribeJobsResponse = {}));
|
|
222
|
+
class InternalServerException extends MgnServiceException_1.MgnServiceException {
|
|
223
|
+
constructor(opts) {
|
|
224
|
+
super({
|
|
225
|
+
name: "InternalServerException",
|
|
226
|
+
$fault: "server",
|
|
227
|
+
...opts,
|
|
228
|
+
});
|
|
229
|
+
this.name = "InternalServerException";
|
|
230
|
+
this.$fault = "server";
|
|
231
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
232
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
exports.InternalServerException = InternalServerException;
|
|
144
236
|
var ListTagsForResourceRequest;
|
|
145
237
|
(function (ListTagsForResourceRequest) {
|
|
146
238
|
ListTagsForResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -154,6 +246,22 @@ var ListTagsForResourceResponse;
|
|
|
154
246
|
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
155
247
|
});
|
|
156
248
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
249
|
+
class ThrottlingException extends MgnServiceException_1.MgnServiceException {
|
|
250
|
+
constructor(opts) {
|
|
251
|
+
super({
|
|
252
|
+
name: "ThrottlingException",
|
|
253
|
+
$fault: "client",
|
|
254
|
+
...opts,
|
|
255
|
+
});
|
|
256
|
+
this.name = "ThrottlingException";
|
|
257
|
+
this.$fault = "client";
|
|
258
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
259
|
+
this.serviceCode = opts.serviceCode;
|
|
260
|
+
this.quotaCode = opts.quotaCode;
|
|
261
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
exports.ThrottlingException = ThrottlingException;
|
|
157
265
|
var ReplicationConfigurationDataPlaneRouting;
|
|
158
266
|
(function (ReplicationConfigurationDataPlaneRouting) {
|
|
159
267
|
ReplicationConfigurationDataPlaneRouting["PRIVATE_IP"] = "PRIVATE_IP";
|
|
@@ -573,6 +681,24 @@ var StartCutoverResponse;
|
|
|
573
681
|
...(obj.job && { job: Job.filterSensitiveLog(obj.job) }),
|
|
574
682
|
});
|
|
575
683
|
})(StartCutoverResponse = exports.StartCutoverResponse || (exports.StartCutoverResponse = {}));
|
|
684
|
+
class ServiceQuotaExceededException extends MgnServiceException_1.MgnServiceException {
|
|
685
|
+
constructor(opts) {
|
|
686
|
+
super({
|
|
687
|
+
name: "ServiceQuotaExceededException",
|
|
688
|
+
$fault: "client",
|
|
689
|
+
...opts,
|
|
690
|
+
});
|
|
691
|
+
this.name = "ServiceQuotaExceededException";
|
|
692
|
+
this.$fault = "client";
|
|
693
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
694
|
+
this.code = opts.code;
|
|
695
|
+
this.resourceId = opts.resourceId;
|
|
696
|
+
this.resourceType = opts.resourceType;
|
|
697
|
+
this.serviceCode = opts.serviceCode;
|
|
698
|
+
this.quotaCode = opts.quotaCode;
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
576
702
|
var StartReplicationRequest;
|
|
577
703
|
(function (StartReplicationRequest) {
|
|
578
704
|
StartReplicationRequest.filterSensitiveLog = (obj) => ({
|