@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.
Files changed (62) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/MgnServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +128 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +292 -957
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/MgnServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +118 -1
  9. package/dist-es/protocols/Aws_restJson1.js +605 -1082
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/MgnServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +58 -33
  13. package/dist-types/ts3.4/Mgn.d.ts +150 -0
  14. package/dist-types/ts3.4/MgnClient.d.ts +102 -0
  15. package/dist-types/ts3.4/commands/ChangeServerLifeCycleStateCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateReplicationConfigurationTemplateCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DeleteSourceServerCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DeleteVcenterClientCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DescribeJobLogItemsCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/DescribeSourceServersCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/DescribeVcenterClientsCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DisconnectFromServiceCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/FinalizeCutoverCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/GetLaunchConfigurationCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/GetReplicationConfigurationCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/InitializeServiceCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/MarkAsArchivedCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/RetryDataReplicationCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/StartCutoverCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/StartTestCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/TerminateTargetInstancesCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/UpdateLaunchConfigurationCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/UpdateReplicationConfigurationCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/UpdateSourceServerReplicationTypeCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +29 -0
  45. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  46. package/dist-types/ts3.4/index.d.ts +6 -0
  47. package/dist-types/ts3.4/models/MgnServiceException.d.ts +6 -0
  48. package/dist-types/ts3.4/models/index.d.ts +1 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +1288 -0
  50. package/dist-types/ts3.4/pagination/DescribeJobLogItemsPaginator.d.ts +4 -0
  51. package/dist-types/ts3.4/pagination/DescribeJobsPaginator.d.ts +4 -0
  52. package/dist-types/ts3.4/pagination/DescribeReplicationConfigurationTemplatesPaginator.d.ts +4 -0
  53. package/dist-types/ts3.4/pagination/DescribeSourceServersPaginator.d.ts +4 -0
  54. package/dist-types/ts3.4/pagination/DescribeVcenterClientsPaginator.d.ts +4 -0
  55. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  56. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  57. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +89 -0
  58. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  59. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  61. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  62. package/package.json +33 -33
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./MgnClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { MgnServiceException } from "./models/MgnServiceException";
@@ -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";
@@ -428,6 +528,23 @@ export var StartCutoverResponse;
428
528
  (function (StartCutoverResponse) {
429
529
  StartCutoverResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.job && { job: Job.filterSensitiveLog(obj.job) }))); };
430
530
  })(StartCutoverResponse || (StartCutoverResponse = {}));
531
+ var ServiceQuotaExceededException = (function (_super) {
532
+ __extends(ServiceQuotaExceededException, _super);
533
+ function ServiceQuotaExceededException(opts) {
534
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
535
+ _this.name = "ServiceQuotaExceededException";
536
+ _this.$fault = "client";
537
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
538
+ _this.code = opts.code;
539
+ _this.resourceId = opts.resourceId;
540
+ _this.resourceType = opts.resourceType;
541
+ _this.serviceCode = opts.serviceCode;
542
+ _this.quotaCode = opts.quotaCode;
543
+ return _this;
544
+ }
545
+ return ServiceQuotaExceededException;
546
+ }(__BaseException));
547
+ export { ServiceQuotaExceededException };
431
548
  export var StartReplicationRequest;
432
549
  (function (StartReplicationRequest) {
433
550
  StartReplicationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };