@aws-sdk/client-mgn 3.51.0 → 3.54.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 +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 +33 -33
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var MgnServiceException = (function (_super) {
|
|
4
|
+
__extends(MgnServiceException, _super);
|
|
5
|
+
function MgnServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, MgnServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return MgnServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { MgnServiceException };
|
|
@@ -1,5 +1,19 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { MgnServiceException as __BaseException } from "./MgnServiceException";
|
|
4
|
+
var AccessDeniedException = (function (_super) {
|
|
5
|
+
__extends(AccessDeniedException, _super);
|
|
6
|
+
function AccessDeniedException(opts) {
|
|
7
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
8
|
+
_this.name = "AccessDeniedException";
|
|
9
|
+
_this.$fault = "client";
|
|
10
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
11
|
+
_this.code = opts.code;
|
|
12
|
+
return _this;
|
|
13
|
+
}
|
|
14
|
+
return AccessDeniedException;
|
|
15
|
+
}(__BaseException));
|
|
16
|
+
export { AccessDeniedException };
|
|
3
17
|
export var InitializeServiceRequest;
|
|
4
18
|
(function (InitializeServiceRequest) {
|
|
5
19
|
InitializeServiceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -19,6 +33,36 @@ export var ValidationExceptionReason;
|
|
|
19
33
|
ValidationExceptionReason["OTHER"] = "other";
|
|
20
34
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "unknownOperation";
|
|
21
35
|
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
36
|
+
var ValidationException = (function (_super) {
|
|
37
|
+
__extends(ValidationException, _super);
|
|
38
|
+
function ValidationException(opts) {
|
|
39
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
40
|
+
_this.name = "ValidationException";
|
|
41
|
+
_this.$fault = "client";
|
|
42
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
43
|
+
_this.code = opts.code;
|
|
44
|
+
_this.reason = opts.reason;
|
|
45
|
+
_this.fieldList = opts.fieldList;
|
|
46
|
+
return _this;
|
|
47
|
+
}
|
|
48
|
+
return ValidationException;
|
|
49
|
+
}(__BaseException));
|
|
50
|
+
export { ValidationException };
|
|
51
|
+
var ConflictException = (function (_super) {
|
|
52
|
+
__extends(ConflictException, _super);
|
|
53
|
+
function ConflictException(opts) {
|
|
54
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
55
|
+
_this.name = "ConflictException";
|
|
56
|
+
_this.$fault = "client";
|
|
57
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
58
|
+
_this.code = opts.code;
|
|
59
|
+
_this.resourceId = opts.resourceId;
|
|
60
|
+
_this.resourceType = opts.resourceType;
|
|
61
|
+
return _this;
|
|
62
|
+
}
|
|
63
|
+
return ConflictException;
|
|
64
|
+
}(__BaseException));
|
|
65
|
+
export { ConflictException };
|
|
22
66
|
export var DeleteJobRequest;
|
|
23
67
|
(function (DeleteJobRequest) {
|
|
24
68
|
DeleteJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -27,6 +71,34 @@ export var DeleteJobResponse;
|
|
|
27
71
|
(function (DeleteJobResponse) {
|
|
28
72
|
DeleteJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
73
|
})(DeleteJobResponse || (DeleteJobResponse = {}));
|
|
74
|
+
var ResourceNotFoundException = (function (_super) {
|
|
75
|
+
__extends(ResourceNotFoundException, _super);
|
|
76
|
+
function ResourceNotFoundException(opts) {
|
|
77
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
78
|
+
_this.name = "ResourceNotFoundException";
|
|
79
|
+
_this.$fault = "client";
|
|
80
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
81
|
+
_this.code = opts.code;
|
|
82
|
+
_this.resourceId = opts.resourceId;
|
|
83
|
+
_this.resourceType = opts.resourceType;
|
|
84
|
+
return _this;
|
|
85
|
+
}
|
|
86
|
+
return ResourceNotFoundException;
|
|
87
|
+
}(__BaseException));
|
|
88
|
+
export { ResourceNotFoundException };
|
|
89
|
+
var UninitializedAccountException = (function (_super) {
|
|
90
|
+
__extends(UninitializedAccountException, _super);
|
|
91
|
+
function UninitializedAccountException(opts) {
|
|
92
|
+
var _this = _super.call(this, __assign({ name: "UninitializedAccountException", $fault: "client" }, opts)) || this;
|
|
93
|
+
_this.name = "UninitializedAccountException";
|
|
94
|
+
_this.$fault = "client";
|
|
95
|
+
Object.setPrototypeOf(_this, UninitializedAccountException.prototype);
|
|
96
|
+
_this.code = opts.code;
|
|
97
|
+
return _this;
|
|
98
|
+
}
|
|
99
|
+
return UninitializedAccountException;
|
|
100
|
+
}(__BaseException));
|
|
101
|
+
export { UninitializedAccountException };
|
|
30
102
|
export var DescribeJobLogItemsRequest;
|
|
31
103
|
(function (DescribeJobLogItemsRequest) {
|
|
32
104
|
DescribeJobLogItemsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -108,6 +180,19 @@ export var DescribeJobsResponse;
|
|
|
108
180
|
(function (DescribeJobsResponse) {
|
|
109
181
|
DescribeJobsResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.items && { items: obj.items.map(function (item) { return Job.filterSensitiveLog(item); }) }))); };
|
|
110
182
|
})(DescribeJobsResponse || (DescribeJobsResponse = {}));
|
|
183
|
+
var InternalServerException = (function (_super) {
|
|
184
|
+
__extends(InternalServerException, _super);
|
|
185
|
+
function InternalServerException(opts) {
|
|
186
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
187
|
+
_this.name = "InternalServerException";
|
|
188
|
+
_this.$fault = "server";
|
|
189
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
190
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
191
|
+
return _this;
|
|
192
|
+
}
|
|
193
|
+
return InternalServerException;
|
|
194
|
+
}(__BaseException));
|
|
195
|
+
export { InternalServerException };
|
|
111
196
|
export var ListTagsForResourceRequest;
|
|
112
197
|
(function (ListTagsForResourceRequest) {
|
|
113
198
|
ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -116,6 +201,21 @@ export var ListTagsForResourceResponse;
|
|
|
116
201
|
(function (ListTagsForResourceResponse) {
|
|
117
202
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.tags && { tags: SENSITIVE_STRING }))); };
|
|
118
203
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
204
|
+
var ThrottlingException = (function (_super) {
|
|
205
|
+
__extends(ThrottlingException, _super);
|
|
206
|
+
function ThrottlingException(opts) {
|
|
207
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
208
|
+
_this.name = "ThrottlingException";
|
|
209
|
+
_this.$fault = "client";
|
|
210
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
211
|
+
_this.serviceCode = opts.serviceCode;
|
|
212
|
+
_this.quotaCode = opts.quotaCode;
|
|
213
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
214
|
+
return _this;
|
|
215
|
+
}
|
|
216
|
+
return ThrottlingException;
|
|
217
|
+
}(__BaseException));
|
|
218
|
+
export { ThrottlingException };
|
|
119
219
|
export var ReplicationConfigurationDataPlaneRouting;
|
|
120
220
|
(function (ReplicationConfigurationDataPlaneRouting) {
|
|
121
221
|
ReplicationConfigurationDataPlaneRouting["PRIVATE_IP"] = "PRIVATE_IP";
|
|
@@ -124,6 +224,7 @@ export var ReplicationConfigurationDataPlaneRouting;
|
|
|
124
224
|
export var ReplicationConfigurationDefaultLargeStagingDiskType;
|
|
125
225
|
(function (ReplicationConfigurationDefaultLargeStagingDiskType) {
|
|
126
226
|
ReplicationConfigurationDefaultLargeStagingDiskType["GP2"] = "GP2";
|
|
227
|
+
ReplicationConfigurationDefaultLargeStagingDiskType["GP3"] = "GP3";
|
|
127
228
|
ReplicationConfigurationDefaultLargeStagingDiskType["ST1"] = "ST1";
|
|
128
229
|
})(ReplicationConfigurationDefaultLargeStagingDiskType || (ReplicationConfigurationDefaultLargeStagingDiskType = {}));
|
|
129
230
|
export var ReplicationConfigurationEbsEncryption;
|
|
@@ -373,6 +474,11 @@ export var GetLaunchConfigurationRequest;
|
|
|
373
474
|
(function (GetLaunchConfigurationRequest) {
|
|
374
475
|
GetLaunchConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
375
476
|
})(GetLaunchConfigurationRequest || (GetLaunchConfigurationRequest = {}));
|
|
477
|
+
export var BootMode;
|
|
478
|
+
(function (BootMode) {
|
|
479
|
+
BootMode["LEGACY_BIOS"] = "LEGACY_BIOS";
|
|
480
|
+
BootMode["UEFI"] = "UEFI";
|
|
481
|
+
})(BootMode || (BootMode = {}));
|
|
376
482
|
export var LaunchDisposition;
|
|
377
483
|
(function (LaunchDisposition) {
|
|
378
484
|
LaunchDisposition["STARTED"] = "STARTED";
|
|
@@ -399,7 +505,9 @@ export var ReplicationConfigurationReplicatedDiskStagingDiskType;
|
|
|
399
505
|
(function (ReplicationConfigurationReplicatedDiskStagingDiskType) {
|
|
400
506
|
ReplicationConfigurationReplicatedDiskStagingDiskType["AUTO"] = "AUTO";
|
|
401
507
|
ReplicationConfigurationReplicatedDiskStagingDiskType["GP2"] = "GP2";
|
|
508
|
+
ReplicationConfigurationReplicatedDiskStagingDiskType["GP3"] = "GP3";
|
|
402
509
|
ReplicationConfigurationReplicatedDiskStagingDiskType["IO1"] = "IO1";
|
|
510
|
+
ReplicationConfigurationReplicatedDiskStagingDiskType["IO2"] = "IO2";
|
|
403
511
|
ReplicationConfigurationReplicatedDiskStagingDiskType["SC1"] = "SC1";
|
|
404
512
|
ReplicationConfigurationReplicatedDiskStagingDiskType["ST1"] = "ST1";
|
|
405
513
|
ReplicationConfigurationReplicatedDiskStagingDiskType["STANDARD"] = "STANDARD";
|
|
@@ -428,6 +536,23 @@ export var StartCutoverResponse;
|
|
|
428
536
|
(function (StartCutoverResponse) {
|
|
429
537
|
StartCutoverResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.job && { job: Job.filterSensitiveLog(obj.job) }))); };
|
|
430
538
|
})(StartCutoverResponse || (StartCutoverResponse = {}));
|
|
539
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
540
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
541
|
+
function ServiceQuotaExceededException(opts) {
|
|
542
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
543
|
+
_this.name = "ServiceQuotaExceededException";
|
|
544
|
+
_this.$fault = "client";
|
|
545
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
546
|
+
_this.code = opts.code;
|
|
547
|
+
_this.resourceId = opts.resourceId;
|
|
548
|
+
_this.resourceType = opts.resourceType;
|
|
549
|
+
_this.serviceCode = opts.serviceCode;
|
|
550
|
+
_this.quotaCode = opts.quotaCode;
|
|
551
|
+
return _this;
|
|
552
|
+
}
|
|
553
|
+
return ServiceQuotaExceededException;
|
|
554
|
+
}(__BaseException));
|
|
555
|
+
export { ServiceQuotaExceededException };
|
|
431
556
|
export var StartReplicationRequest;
|
|
432
557
|
(function (StartReplicationRequest) {
|
|
433
558
|
StartReplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|