@aws-sdk/client-mgn 3.52.0 → 3.54.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 +30 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/MgnServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +136 -2
- package/dist-cjs/protocols/Aws_restJson1.js +303 -957
- package/dist-es/index.js +1 -0
- package/dist-es/models/MgnServiceException.js +12 -0
- package/dist-es/models/models_0.js +126 -1
- package/dist-es/protocols/Aws_restJson1.js +617 -1085
- 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/index.d.ts +1 -0
- package/dist-types/models/MgnServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +109 -65
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/MgnClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/MgnServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +55 -33
- 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 +1 -1
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-mgn
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **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))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
37
|
|
|
8
38
|
**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.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;
|
|
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";
|
|
@@ -162,6 +270,7 @@ var ReplicationConfigurationDataPlaneRouting;
|
|
|
162
270
|
var ReplicationConfigurationDefaultLargeStagingDiskType;
|
|
163
271
|
(function (ReplicationConfigurationDefaultLargeStagingDiskType) {
|
|
164
272
|
ReplicationConfigurationDefaultLargeStagingDiskType["GP2"] = "GP2";
|
|
273
|
+
ReplicationConfigurationDefaultLargeStagingDiskType["GP3"] = "GP3";
|
|
165
274
|
ReplicationConfigurationDefaultLargeStagingDiskType["ST1"] = "ST1";
|
|
166
275
|
})(ReplicationConfigurationDefaultLargeStagingDiskType = exports.ReplicationConfigurationDefaultLargeStagingDiskType || (exports.ReplicationConfigurationDefaultLargeStagingDiskType = {}));
|
|
167
276
|
var ReplicationConfigurationEbsEncryption;
|
|
@@ -497,6 +606,11 @@ var GetLaunchConfigurationRequest;
|
|
|
497
606
|
...obj,
|
|
498
607
|
});
|
|
499
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 = {}));
|
|
500
614
|
var LaunchDisposition;
|
|
501
615
|
(function (LaunchDisposition) {
|
|
502
616
|
LaunchDisposition["STARTED"] = "STARTED";
|
|
@@ -529,7 +643,9 @@ var ReplicationConfigurationReplicatedDiskStagingDiskType;
|
|
|
529
643
|
(function (ReplicationConfigurationReplicatedDiskStagingDiskType) {
|
|
530
644
|
ReplicationConfigurationReplicatedDiskStagingDiskType["AUTO"] = "AUTO";
|
|
531
645
|
ReplicationConfigurationReplicatedDiskStagingDiskType["GP2"] = "GP2";
|
|
646
|
+
ReplicationConfigurationReplicatedDiskStagingDiskType["GP3"] = "GP3";
|
|
532
647
|
ReplicationConfigurationReplicatedDiskStagingDiskType["IO1"] = "IO1";
|
|
648
|
+
ReplicationConfigurationReplicatedDiskStagingDiskType["IO2"] = "IO2";
|
|
533
649
|
ReplicationConfigurationReplicatedDiskStagingDiskType["SC1"] = "SC1";
|
|
534
650
|
ReplicationConfigurationReplicatedDiskStagingDiskType["ST1"] = "ST1";
|
|
535
651
|
ReplicationConfigurationReplicatedDiskStagingDiskType["STANDARD"] = "STANDARD";
|
|
@@ -573,6 +689,24 @@ var StartCutoverResponse;
|
|
|
573
689
|
...(obj.job && { job: Job.filterSensitiveLog(obj.job) }),
|
|
574
690
|
});
|
|
575
691
|
})(StartCutoverResponse = exports.StartCutoverResponse || (exports.StartCutoverResponse = {}));
|
|
692
|
+
class ServiceQuotaExceededException extends MgnServiceException_1.MgnServiceException {
|
|
693
|
+
constructor(opts) {
|
|
694
|
+
super({
|
|
695
|
+
name: "ServiceQuotaExceededException",
|
|
696
|
+
$fault: "client",
|
|
697
|
+
...opts,
|
|
698
|
+
});
|
|
699
|
+
this.name = "ServiceQuotaExceededException";
|
|
700
|
+
this.$fault = "client";
|
|
701
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
702
|
+
this.code = opts.code;
|
|
703
|
+
this.resourceId = opts.resourceId;
|
|
704
|
+
this.resourceType = opts.resourceType;
|
|
705
|
+
this.serviceCode = opts.serviceCode;
|
|
706
|
+
this.quotaCode = opts.quotaCode;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
576
710
|
var StartReplicationRequest;
|
|
577
711
|
(function (StartReplicationRequest) {
|
|
578
712
|
StartReplicationRequest.filterSensitiveLog = (obj) => ({
|