@aws-sdk/client-mgn 3.934.0 → 3.936.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/dist-cjs/index.js CHANGED
@@ -131,29 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends MgnServiceExce
131
131
  this.code = opts.code;
132
132
  }
133
133
  };
134
- const ActionCategory = {
135
- BACKUP: "BACKUP",
136
- CONFIGURATION: "CONFIGURATION",
137
- DISASTER_RECOVERY: "DISASTER_RECOVERY",
138
- LICENSE_AND_SUBSCRIPTION: "LICENSE_AND_SUBSCRIPTION",
139
- NETWORKING: "NETWORKING",
140
- OBSERVABILITY: "OBSERVABILITY",
141
- OPERATING_SYSTEM: "OPERATING_SYSTEM",
142
- OTHER: "OTHER",
143
- REFACTORING: "REFACTORING",
144
- SECURITY: "SECURITY",
145
- VALIDATION: "VALIDATION",
146
- };
147
- const ApplicationHealthStatus = {
148
- ERROR: "ERROR",
149
- HEALTHY: "HEALTHY",
150
- LAGGING: "LAGGING",
151
- };
152
- const ApplicationProgressStatus = {
153
- COMPLETED: "COMPLETED",
154
- IN_PROGRESS: "IN_PROGRESS",
155
- NOT_STARTED: "NOT_STARTED",
156
- };
157
134
  let ConflictException$1 = class ConflictException extends MgnServiceException$1 {
158
135
  name = "ConflictException";
159
136
  $fault = "client";
@@ -230,12 +207,6 @@ let UninitializedAccountException$1 = class UninitializedAccountException extend
230
207
  this.code = opts.code;
231
208
  }
232
209
  };
233
- const ValidationExceptionReason = {
234
- CANNOT_PARSE: "cannotParse",
235
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
236
- OTHER: "other",
237
- UNKNOWN_OPERATION: "unknownOperation",
238
- };
239
210
  let ValidationException$1 = class ValidationException extends MgnServiceException$1 {
240
211
  name = "ValidationException";
241
212
  $fault = "client";
@@ -254,101 +225,6 @@ let ValidationException$1 = class ValidationException extends MgnServiceExceptio
254
225
  this.fieldList = opts.fieldList;
255
226
  }
256
227
  };
257
- const ExportStatus = {
258
- FAILED: "FAILED",
259
- PENDING: "PENDING",
260
- STARTED: "STARTED",
261
- SUCCEEDED: "SUCCEEDED",
262
- };
263
- const ImportErrorType = {
264
- PROCESSING_ERROR: "PROCESSING_ERROR",
265
- VALIDATION_ERROR: "VALIDATION_ERROR",
266
- };
267
- const ImportStatus = {
268
- FAILED: "FAILED",
269
- PENDING: "PENDING",
270
- STARTED: "STARTED",
271
- SUCCEEDED: "SUCCEEDED",
272
- };
273
- const JobLogEvent = {
274
- CLEANUP_END: "CLEANUP_END",
275
- CLEANUP_FAIL: "CLEANUP_FAIL",
276
- CLEANUP_START: "CLEANUP_START",
277
- CONVERSION_END: "CONVERSION_END",
278
- CONVERSION_FAIL: "CONVERSION_FAIL",
279
- CONVERSION_START: "CONVERSION_START",
280
- JOB_CANCEL: "JOB_CANCEL",
281
- JOB_END: "JOB_END",
282
- JOB_START: "JOB_START",
283
- LAUNCH_FAILED: "LAUNCH_FAILED",
284
- LAUNCH_START: "LAUNCH_START",
285
- SERVER_SKIPPED: "SERVER_SKIPPED",
286
- SNAPSHOT_END: "SNAPSHOT_END",
287
- SNAPSHOT_FAIL: "SNAPSHOT_FAIL",
288
- SNAPSHOT_START: "SNAPSHOT_START",
289
- USING_PREVIOUS_SNAPSHOT: "USING_PREVIOUS_SNAPSHOT",
290
- };
291
- const InitiatedBy = {
292
- DIAGNOSTIC: "DIAGNOSTIC",
293
- START_CUTOVER: "START_CUTOVER",
294
- START_TEST: "START_TEST",
295
- TERMINATE: "TERMINATE",
296
- };
297
- const LaunchStatus = {
298
- FAILED: "FAILED",
299
- IN_PROGRESS: "IN_PROGRESS",
300
- LAUNCHED: "LAUNCHED",
301
- PENDING: "PENDING",
302
- TERMINATED: "TERMINATED",
303
- };
304
- const PostLaunchActionExecutionStatus = {
305
- FAILED: "FAILED",
306
- IN_PROGRESS: "IN_PROGRESS",
307
- SUCCESS: "SUCCESS",
308
- };
309
- const SsmParameterStoreParameterType = {
310
- STRING: "STRING",
311
- };
312
- const SsmDocumentType = {
313
- AUTOMATION: "AUTOMATION",
314
- COMMAND: "COMMAND",
315
- };
316
- const JobStatus = {
317
- COMPLETED: "COMPLETED",
318
- PENDING: "PENDING",
319
- STARTED: "STARTED",
320
- };
321
- const JobType = {
322
- LAUNCH: "LAUNCH",
323
- TERMINATE: "TERMINATE",
324
- };
325
- const BootMode = {
326
- LEGACY_BIOS: "LEGACY_BIOS",
327
- UEFI: "UEFI",
328
- USE_SOURCE: "USE_SOURCE",
329
- };
330
- const VolumeType = {
331
- gp2: "gp2",
332
- gp3: "gp3",
333
- io1: "io1",
334
- io2: "io2",
335
- sc1: "sc1",
336
- st1: "st1",
337
- standard: "standard",
338
- };
339
- const LaunchDisposition = {
340
- STARTED: "STARTED",
341
- STOPPED: "STOPPED",
342
- };
343
- const PostLaunchActionsDeploymentType = {
344
- CUTOVER_ONLY: "CUTOVER_ONLY",
345
- TEST_AND_CUTOVER: "TEST_AND_CUTOVER",
346
- TEST_ONLY: "TEST_ONLY",
347
- };
348
- const TargetInstanceTypeRightSizingMethod = {
349
- BASIC: "BASIC",
350
- NONE: "NONE",
351
- };
352
228
  let InternalServerException$1 = class InternalServerException extends MgnServiceException$1 {
353
229
  name = "InternalServerException";
354
230
  $fault = "server";
@@ -381,118 +257,6 @@ let ThrottlingException$1 = class ThrottlingException extends MgnServiceExceptio
381
257
  this.retryAfterSeconds = opts.retryAfterSeconds;
382
258
  }
383
259
  };
384
- const ReplicationConfigurationDataPlaneRouting = {
385
- PRIVATE_IP: "PRIVATE_IP",
386
- PUBLIC_IP: "PUBLIC_IP",
387
- };
388
- const ReplicationConfigurationDefaultLargeStagingDiskType = {
389
- GP2: "GP2",
390
- GP3: "GP3",
391
- ST1: "ST1",
392
- };
393
- const ReplicationConfigurationEbsEncryption = {
394
- CUSTOM: "CUSTOM",
395
- DEFAULT: "DEFAULT",
396
- };
397
- const ChangeServerLifeCycleStateSourceServerLifecycleState = {
398
- CUTOVER: "CUTOVER",
399
- READY_FOR_CUTOVER: "READY_FOR_CUTOVER",
400
- READY_FOR_TEST: "READY_FOR_TEST",
401
- };
402
- const DataReplicationErrorString = {
403
- AGENT_NOT_SEEN: "AGENT_NOT_SEEN",
404
- FAILED_TO_ATTACH_STAGING_DISKS: "FAILED_TO_ATTACH_STAGING_DISKS",
405
- FAILED_TO_AUTHENTICATE_WITH_SERVICE: "FAILED_TO_AUTHENTICATE_WITH_SERVICE",
406
- FAILED_TO_BOOT_REPLICATION_SERVER: "FAILED_TO_BOOT_REPLICATION_SERVER",
407
- FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER: "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER",
408
- FAILED_TO_CREATE_SECURITY_GROUP: "FAILED_TO_CREATE_SECURITY_GROUP",
409
- FAILED_TO_CREATE_STAGING_DISKS: "FAILED_TO_CREATE_STAGING_DISKS",
410
- FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE: "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE",
411
- FAILED_TO_LAUNCH_REPLICATION_SERVER: "FAILED_TO_LAUNCH_REPLICATION_SERVER",
412
- FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT: "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT",
413
- FAILED_TO_START_DATA_TRANSFER: "FAILED_TO_START_DATA_TRANSFER",
414
- LAST_SNAPSHOT_JOB_FAILED: "LAST_SNAPSHOT_JOB_FAILED",
415
- NOT_CONVERGING: "NOT_CONVERGING",
416
- SNAPSHOTS_FAILURE: "SNAPSHOTS_FAILURE",
417
- UNSTABLE_NETWORK: "UNSTABLE_NETWORK",
418
- UNSUPPORTED_VM_CONFIGURATION: "UNSUPPORTED_VM_CONFIGURATION",
419
- };
420
- const DataReplicationInitiationStepName = {
421
- ATTACH_STAGING_DISKS: "ATTACH_STAGING_DISKS",
422
- AUTHENTICATE_WITH_SERVICE: "AUTHENTICATE_WITH_SERVICE",
423
- BOOT_REPLICATION_SERVER: "BOOT_REPLICATION_SERVER",
424
- CONNECT_AGENT_TO_REPLICATION_SERVER: "CONNECT_AGENT_TO_REPLICATION_SERVER",
425
- CREATE_SECURITY_GROUP: "CREATE_SECURITY_GROUP",
426
- CREATE_STAGING_DISKS: "CREATE_STAGING_DISKS",
427
- DOWNLOAD_REPLICATION_SOFTWARE: "DOWNLOAD_REPLICATION_SOFTWARE",
428
- LAUNCH_REPLICATION_SERVER: "LAUNCH_REPLICATION_SERVER",
429
- PAIR_REPLICATION_SERVER_WITH_AGENT: "PAIR_REPLICATION_SERVER_WITH_AGENT",
430
- START_DATA_TRANSFER: "START_DATA_TRANSFER",
431
- WAIT: "WAIT",
432
- };
433
- const DataReplicationInitiationStepStatus = {
434
- FAILED: "FAILED",
435
- IN_PROGRESS: "IN_PROGRESS",
436
- NOT_STARTED: "NOT_STARTED",
437
- SKIPPED: "SKIPPED",
438
- SUCCEEDED: "SUCCEEDED",
439
- };
440
- const DataReplicationState = {
441
- BACKLOG: "BACKLOG",
442
- CONTINUOUS: "CONTINUOUS",
443
- CREATING_SNAPSHOT: "CREATING_SNAPSHOT",
444
- DISCONNECTED: "DISCONNECTED",
445
- INITIAL_SYNC: "INITIAL_SYNC",
446
- INITIATING: "INITIATING",
447
- PAUSED: "PAUSED",
448
- PENDING_SNAPSHOT_SHIPPING: "PENDING_SNAPSHOT_SHIPPING",
449
- RESCAN: "RESCAN",
450
- SHIPPING_SNAPSHOT: "SHIPPING_SNAPSHOT",
451
- STALLED: "STALLED",
452
- STOPPED: "STOPPED",
453
- };
454
- const FirstBoot = {
455
- STOPPED: "STOPPED",
456
- SUCCEEDED: "SUCCEEDED",
457
- UNKNOWN: "UNKNOWN",
458
- WAITING: "WAITING",
459
- };
460
- const LifeCycleState = {
461
- CUTOVER: "CUTOVER",
462
- CUTTING_OVER: "CUTTING_OVER",
463
- DISCONNECTED: "DISCONNECTED",
464
- DISCOVERED: "DISCOVERED",
465
- NOT_READY: "NOT_READY",
466
- PENDING_INSTALLATION: "PENDING_INSTALLATION",
467
- READY_FOR_CUTOVER: "READY_FOR_CUTOVER",
468
- READY_FOR_TEST: "READY_FOR_TEST",
469
- STOPPED: "STOPPED",
470
- TESTING: "TESTING",
471
- };
472
- const ReplicationType = {
473
- AGENT_BASED: "AGENT_BASED",
474
- SNAPSHOT_SHIPPING: "SNAPSHOT_SHIPPING",
475
- };
476
- const ReplicationConfigurationReplicatedDiskStagingDiskType = {
477
- AUTO: "AUTO",
478
- GP2: "GP2",
479
- GP3: "GP3",
480
- IO1: "IO1",
481
- IO2: "IO2",
482
- SC1: "SC1",
483
- ST1: "ST1",
484
- STANDARD: "STANDARD",
485
- };
486
- const WaveHealthStatus = {
487
- ERROR: "ERROR",
488
- HEALTHY: "HEALTHY",
489
- LAGGING: "LAGGING",
490
- };
491
- const WaveProgressStatus = {
492
- COMPLETED: "COMPLETED",
493
- IN_PROGRESS: "IN_PROGRESS",
494
- NOT_STARTED: "NOT_STARTED",
495
- };
496
260
 
497
261
  const _A = "Application";
498
262
  const _AA = "ArchiveApplication";
@@ -3665,26 +3429,17 @@ Object.defineProperty(exports, "__Client", {
3665
3429
  get: function () { return smithyClient.Client; }
3666
3430
  });
3667
3431
  exports.AccessDeniedException = AccessDeniedException$1;
3668
- exports.ActionCategory = ActionCategory;
3669
- exports.ApplicationHealthStatus = ApplicationHealthStatus;
3670
- exports.ApplicationProgressStatus = ApplicationProgressStatus;
3671
3432
  exports.ArchiveApplicationCommand = ArchiveApplicationCommand;
3672
3433
  exports.ArchiveWaveCommand = ArchiveWaveCommand;
3673
3434
  exports.AssociateApplicationsCommand = AssociateApplicationsCommand;
3674
3435
  exports.AssociateSourceServersCommand = AssociateSourceServersCommand;
3675
- exports.BootMode = BootMode;
3676
3436
  exports.ChangeServerLifeCycleStateCommand = ChangeServerLifeCycleStateCommand;
3677
- exports.ChangeServerLifeCycleStateSourceServerLifecycleState = ChangeServerLifeCycleStateSourceServerLifecycleState;
3678
3437
  exports.ConflictException = ConflictException$1;
3679
3438
  exports.CreateApplicationCommand = CreateApplicationCommand;
3680
3439
  exports.CreateConnectorCommand = CreateConnectorCommand;
3681
3440
  exports.CreateLaunchConfigurationTemplateCommand = CreateLaunchConfigurationTemplateCommand;
3682
3441
  exports.CreateReplicationConfigurationTemplateCommand = CreateReplicationConfigurationTemplateCommand;
3683
3442
  exports.CreateWaveCommand = CreateWaveCommand;
3684
- exports.DataReplicationErrorString = DataReplicationErrorString;
3685
- exports.DataReplicationInitiationStepName = DataReplicationInitiationStepName;
3686
- exports.DataReplicationInitiationStepStatus = DataReplicationInitiationStepStatus;
3687
- exports.DataReplicationState = DataReplicationState;
3688
3443
  exports.DeleteApplicationCommand = DeleteApplicationCommand;
3689
3444
  exports.DeleteConnectorCommand = DeleteConnectorCommand;
3690
3445
  exports.DeleteJobCommand = DeleteJobCommand;
@@ -3702,22 +3457,11 @@ exports.DescribeVcenterClientsCommand = DescribeVcenterClientsCommand;
3702
3457
  exports.DisassociateApplicationsCommand = DisassociateApplicationsCommand;
3703
3458
  exports.DisassociateSourceServersCommand = DisassociateSourceServersCommand;
3704
3459
  exports.DisconnectFromServiceCommand = DisconnectFromServiceCommand;
3705
- exports.ExportStatus = ExportStatus;
3706
3460
  exports.FinalizeCutoverCommand = FinalizeCutoverCommand;
3707
- exports.FirstBoot = FirstBoot;
3708
3461
  exports.GetLaunchConfigurationCommand = GetLaunchConfigurationCommand;
3709
3462
  exports.GetReplicationConfigurationCommand = GetReplicationConfigurationCommand;
3710
- exports.ImportErrorType = ImportErrorType;
3711
- exports.ImportStatus = ImportStatus;
3712
3463
  exports.InitializeServiceCommand = InitializeServiceCommand;
3713
- exports.InitiatedBy = InitiatedBy;
3714
3464
  exports.InternalServerException = InternalServerException$1;
3715
- exports.JobLogEvent = JobLogEvent;
3716
- exports.JobStatus = JobStatus;
3717
- exports.JobType = JobType;
3718
- exports.LaunchDisposition = LaunchDisposition;
3719
- exports.LaunchStatus = LaunchStatus;
3720
- exports.LifeCycleState = LifeCycleState;
3721
3465
  exports.ListApplicationsCommand = ListApplicationsCommand;
3722
3466
  exports.ListConnectorsCommand = ListConnectorsCommand;
3723
3467
  exports.ListExportErrorsCommand = ListExportErrorsCommand;
@@ -3734,23 +3478,14 @@ exports.Mgn = Mgn;
3734
3478
  exports.MgnClient = MgnClient;
3735
3479
  exports.MgnServiceException = MgnServiceException$1;
3736
3480
  exports.PauseReplicationCommand = PauseReplicationCommand;
3737
- exports.PostLaunchActionExecutionStatus = PostLaunchActionExecutionStatus;
3738
- exports.PostLaunchActionsDeploymentType = PostLaunchActionsDeploymentType;
3739
3481
  exports.PutSourceServerActionCommand = PutSourceServerActionCommand;
3740
3482
  exports.PutTemplateActionCommand = PutTemplateActionCommand;
3741
3483
  exports.RemoveSourceServerActionCommand = RemoveSourceServerActionCommand;
3742
3484
  exports.RemoveTemplateActionCommand = RemoveTemplateActionCommand;
3743
- exports.ReplicationConfigurationDataPlaneRouting = ReplicationConfigurationDataPlaneRouting;
3744
- exports.ReplicationConfigurationDefaultLargeStagingDiskType = ReplicationConfigurationDefaultLargeStagingDiskType;
3745
- exports.ReplicationConfigurationEbsEncryption = ReplicationConfigurationEbsEncryption;
3746
- exports.ReplicationConfigurationReplicatedDiskStagingDiskType = ReplicationConfigurationReplicatedDiskStagingDiskType;
3747
- exports.ReplicationType = ReplicationType;
3748
3485
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
3749
3486
  exports.ResumeReplicationCommand = ResumeReplicationCommand;
3750
3487
  exports.RetryDataReplicationCommand = RetryDataReplicationCommand;
3751
3488
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
3752
- exports.SsmDocumentType = SsmDocumentType;
3753
- exports.SsmParameterStoreParameterType = SsmParameterStoreParameterType;
3754
3489
  exports.StartCutoverCommand = StartCutoverCommand;
3755
3490
  exports.StartExportCommand = StartExportCommand;
3756
3491
  exports.StartImportCommand = StartImportCommand;
@@ -3758,7 +3493,6 @@ exports.StartReplicationCommand = StartReplicationCommand;
3758
3493
  exports.StartTestCommand = StartTestCommand;
3759
3494
  exports.StopReplicationCommand = StopReplicationCommand;
3760
3495
  exports.TagResourceCommand = TagResourceCommand;
3761
- exports.TargetInstanceTypeRightSizingMethod = TargetInstanceTypeRightSizingMethod;
3762
3496
  exports.TerminateTargetInstancesCommand = TerminateTargetInstancesCommand;
3763
3497
  exports.ThrottlingException = ThrottlingException$1;
3764
3498
  exports.UnarchiveApplicationCommand = UnarchiveApplicationCommand;
@@ -3775,10 +3509,6 @@ exports.UpdateSourceServerCommand = UpdateSourceServerCommand;
3775
3509
  exports.UpdateSourceServerReplicationTypeCommand = UpdateSourceServerReplicationTypeCommand;
3776
3510
  exports.UpdateWaveCommand = UpdateWaveCommand;
3777
3511
  exports.ValidationException = ValidationException$1;
3778
- exports.ValidationExceptionReason = ValidationExceptionReason;
3779
- exports.VolumeType = VolumeType;
3780
- exports.WaveHealthStatus = WaveHealthStatus;
3781
- exports.WaveProgressStatus = WaveProgressStatus;
3782
3512
  exports.paginateDescribeJobLogItems = paginateDescribeJobLogItems;
3783
3513
  exports.paginateDescribeJobs = paginateDescribeJobs;
3784
3514
  exports.paginateDescribeLaunchConfigurationTemplates = paginateDescribeLaunchConfigurationTemplates;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./MgnClient";
2
2
  export * from "./Mgn";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { MgnServiceException } from "./models/MgnServiceException";
@@ -0,0 +1,141 @@
1
+ import { MgnServiceException as __BaseException } from "./MgnServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ code;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.code = opts.code;
14
+ }
15
+ }
16
+ export class ConflictException extends __BaseException {
17
+ name = "ConflictException";
18
+ $fault = "client";
19
+ code;
20
+ resourceId;
21
+ resourceType;
22
+ errors;
23
+ constructor(opts) {
24
+ super({
25
+ name: "ConflictException",
26
+ $fault: "client",
27
+ ...opts,
28
+ });
29
+ Object.setPrototypeOf(this, ConflictException.prototype);
30
+ this.code = opts.code;
31
+ this.resourceId = opts.resourceId;
32
+ this.resourceType = opts.resourceType;
33
+ this.errors = opts.errors;
34
+ }
35
+ }
36
+ export class ResourceNotFoundException extends __BaseException {
37
+ name = "ResourceNotFoundException";
38
+ $fault = "client";
39
+ code;
40
+ resourceId;
41
+ resourceType;
42
+ constructor(opts) {
43
+ super({
44
+ name: "ResourceNotFoundException",
45
+ $fault: "client",
46
+ ...opts,
47
+ });
48
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
49
+ this.code = opts.code;
50
+ this.resourceId = opts.resourceId;
51
+ this.resourceType = opts.resourceType;
52
+ }
53
+ }
54
+ export class ServiceQuotaExceededException extends __BaseException {
55
+ name = "ServiceQuotaExceededException";
56
+ $fault = "client";
57
+ code;
58
+ resourceId;
59
+ resourceType;
60
+ serviceCode;
61
+ quotaCode;
62
+ quotaValue;
63
+ constructor(opts) {
64
+ super({
65
+ name: "ServiceQuotaExceededException",
66
+ $fault: "client",
67
+ ...opts,
68
+ });
69
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
70
+ this.code = opts.code;
71
+ this.resourceId = opts.resourceId;
72
+ this.resourceType = opts.resourceType;
73
+ this.serviceCode = opts.serviceCode;
74
+ this.quotaCode = opts.quotaCode;
75
+ this.quotaValue = opts.quotaValue;
76
+ }
77
+ }
78
+ export class UninitializedAccountException extends __BaseException {
79
+ name = "UninitializedAccountException";
80
+ $fault = "client";
81
+ code;
82
+ constructor(opts) {
83
+ super({
84
+ name: "UninitializedAccountException",
85
+ $fault: "client",
86
+ ...opts,
87
+ });
88
+ Object.setPrototypeOf(this, UninitializedAccountException.prototype);
89
+ this.code = opts.code;
90
+ }
91
+ }
92
+ export class ValidationException extends __BaseException {
93
+ name = "ValidationException";
94
+ $fault = "client";
95
+ code;
96
+ reason;
97
+ fieldList;
98
+ constructor(opts) {
99
+ super({
100
+ name: "ValidationException",
101
+ $fault: "client",
102
+ ...opts,
103
+ });
104
+ Object.setPrototypeOf(this, ValidationException.prototype);
105
+ this.code = opts.code;
106
+ this.reason = opts.reason;
107
+ this.fieldList = opts.fieldList;
108
+ }
109
+ }
110
+ export class InternalServerException extends __BaseException {
111
+ name = "InternalServerException";
112
+ $fault = "server";
113
+ retryAfterSeconds;
114
+ constructor(opts) {
115
+ super({
116
+ name: "InternalServerException",
117
+ $fault: "server",
118
+ ...opts,
119
+ });
120
+ Object.setPrototypeOf(this, InternalServerException.prototype);
121
+ this.retryAfterSeconds = opts.retryAfterSeconds;
122
+ }
123
+ }
124
+ export class ThrottlingException extends __BaseException {
125
+ name = "ThrottlingException";
126
+ $fault = "client";
127
+ serviceCode;
128
+ quotaCode;
129
+ retryAfterSeconds;
130
+ constructor(opts) {
131
+ super({
132
+ name: "ThrottlingException",
133
+ $fault: "client",
134
+ ...opts,
135
+ });
136
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
137
+ this.serviceCode = opts.serviceCode;
138
+ this.quotaCode = opts.quotaCode;
139
+ this.retryAfterSeconds = opts.retryAfterSeconds;
140
+ }
141
+ }
@@ -1,18 +1,3 @@
1
- import { MgnServiceException as __BaseException } from "./MgnServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- code;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.code = opts.code;
14
- }
15
- }
16
1
  export const ActionCategory = {
17
2
  BACKUP: "BACKUP",
18
3
  CONFIGURATION: "CONFIGURATION",
@@ -36,106 +21,12 @@ export const ApplicationProgressStatus = {
36
21
  IN_PROGRESS: "IN_PROGRESS",
37
22
  NOT_STARTED: "NOT_STARTED",
38
23
  };
39
- export class ConflictException extends __BaseException {
40
- name = "ConflictException";
41
- $fault = "client";
42
- code;
43
- resourceId;
44
- resourceType;
45
- errors;
46
- constructor(opts) {
47
- super({
48
- name: "ConflictException",
49
- $fault: "client",
50
- ...opts,
51
- });
52
- Object.setPrototypeOf(this, ConflictException.prototype);
53
- this.code = opts.code;
54
- this.resourceId = opts.resourceId;
55
- this.resourceType = opts.resourceType;
56
- this.errors = opts.errors;
57
- }
58
- }
59
- export class ResourceNotFoundException extends __BaseException {
60
- name = "ResourceNotFoundException";
61
- $fault = "client";
62
- code;
63
- resourceId;
64
- resourceType;
65
- constructor(opts) {
66
- super({
67
- name: "ResourceNotFoundException",
68
- $fault: "client",
69
- ...opts,
70
- });
71
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
72
- this.code = opts.code;
73
- this.resourceId = opts.resourceId;
74
- this.resourceType = opts.resourceType;
75
- }
76
- }
77
- export class ServiceQuotaExceededException extends __BaseException {
78
- name = "ServiceQuotaExceededException";
79
- $fault = "client";
80
- code;
81
- resourceId;
82
- resourceType;
83
- serviceCode;
84
- quotaCode;
85
- quotaValue;
86
- constructor(opts) {
87
- super({
88
- name: "ServiceQuotaExceededException",
89
- $fault: "client",
90
- ...opts,
91
- });
92
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
93
- this.code = opts.code;
94
- this.resourceId = opts.resourceId;
95
- this.resourceType = opts.resourceType;
96
- this.serviceCode = opts.serviceCode;
97
- this.quotaCode = opts.quotaCode;
98
- this.quotaValue = opts.quotaValue;
99
- }
100
- }
101
- export class UninitializedAccountException extends __BaseException {
102
- name = "UninitializedAccountException";
103
- $fault = "client";
104
- code;
105
- constructor(opts) {
106
- super({
107
- name: "UninitializedAccountException",
108
- $fault: "client",
109
- ...opts,
110
- });
111
- Object.setPrototypeOf(this, UninitializedAccountException.prototype);
112
- this.code = opts.code;
113
- }
114
- }
115
24
  export const ValidationExceptionReason = {
116
25
  CANNOT_PARSE: "cannotParse",
117
26
  FIELD_VALIDATION_FAILED: "fieldValidationFailed",
118
27
  OTHER: "other",
119
28
  UNKNOWN_OPERATION: "unknownOperation",
120
29
  };
121
- export class ValidationException extends __BaseException {
122
- name = "ValidationException";
123
- $fault = "client";
124
- code;
125
- reason;
126
- fieldList;
127
- constructor(opts) {
128
- super({
129
- name: "ValidationException",
130
- $fault: "client",
131
- ...opts,
132
- });
133
- Object.setPrototypeOf(this, ValidationException.prototype);
134
- this.code = opts.code;
135
- this.reason = opts.reason;
136
- this.fieldList = opts.fieldList;
137
- }
138
- }
139
30
  export const ExportStatus = {
140
31
  FAILED: "FAILED",
141
32
  PENDING: "PENDING",
@@ -231,38 +122,6 @@ export const TargetInstanceTypeRightSizingMethod = {
231
122
  BASIC: "BASIC",
232
123
  NONE: "NONE",
233
124
  };
234
- export class InternalServerException extends __BaseException {
235
- name = "InternalServerException";
236
- $fault = "server";
237
- retryAfterSeconds;
238
- constructor(opts) {
239
- super({
240
- name: "InternalServerException",
241
- $fault: "server",
242
- ...opts,
243
- });
244
- Object.setPrototypeOf(this, InternalServerException.prototype);
245
- this.retryAfterSeconds = opts.retryAfterSeconds;
246
- }
247
- }
248
- export class ThrottlingException extends __BaseException {
249
- name = "ThrottlingException";
250
- $fault = "client";
251
- serviceCode;
252
- quotaCode;
253
- retryAfterSeconds;
254
- constructor(opts) {
255
- super({
256
- name: "ThrottlingException",
257
- $fault: "client",
258
- ...opts,
259
- });
260
- Object.setPrototypeOf(this, ThrottlingException.prototype);
261
- this.serviceCode = opts.serviceCode;
262
- this.quotaCode = opts.quotaCode;
263
- this.retryAfterSeconds = opts.retryAfterSeconds;
264
- }
265
- }
266
125
  export const ReplicationConfigurationDataPlaneRouting = {
267
126
  PRIVATE_IP: "PRIVATE_IP",
268
127
  PUBLIC_IP: "PUBLIC_IP",
@@ -520,7 +520,7 @@ const _wID = "waveID";
520
520
  const _wIDa = "waveIDs";
521
521
  const n0 = "com.amazonaws.mgn";
522
522
  import { TypeRegistry } from "@smithy/core/schema";
523
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, UninitializedAccountException as __UninitializedAccountException, ValidationException as __ValidationException, } from "../models/index";
523
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, UninitializedAccountException as __UninitializedAccountException, ValidationException as __ValidationException, } from "../models/errors";
524
524
  import { MgnServiceException as __MgnServiceException } from "../models/MgnServiceException";
525
525
  export var AccessDeniedException = [
526
526
  -3,
@@ -10,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { MgnExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/errors";
14
+ export type * from "./models/models_0";
14
15
  export { MgnServiceException } from "./models/MgnServiceException";
@@ -0,0 +1,185 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { MgnServiceException as __BaseException } from "./MgnServiceException";
3
+ import { ErrorDetails, ValidationExceptionField, ValidationExceptionReason } from "./models_0";
4
+ /**
5
+ * <p>Operating denied due to a file permission or access check error.</p>
6
+ * @public
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ code?: string | undefined;
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
19
+ * @public
20
+ */
21
+ export declare class ConflictException extends __BaseException {
22
+ readonly name: "ConflictException";
23
+ readonly $fault: "client";
24
+ code?: string | undefined;
25
+ /**
26
+ * <p>A conflict occurred when prompting for the Resource ID.</p>
27
+ * @public
28
+ */
29
+ resourceId?: string | undefined;
30
+ /**
31
+ * <p>A conflict occurred when prompting for resource type.</p>
32
+ * @public
33
+ */
34
+ resourceType?: string | undefined;
35
+ /**
36
+ * <p>Conflict Exception specific errors.</p>
37
+ * @public
38
+ */
39
+ errors?: ErrorDetails[] | undefined;
40
+ /**
41
+ * @internal
42
+ */
43
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
44
+ }
45
+ /**
46
+ * <p>Resource not found exception.</p>
47
+ * @public
48
+ */
49
+ export declare class ResourceNotFoundException extends __BaseException {
50
+ readonly name: "ResourceNotFoundException";
51
+ readonly $fault: "client";
52
+ code?: string | undefined;
53
+ /**
54
+ * <p>Resource ID not found error.</p>
55
+ * @public
56
+ */
57
+ resourceId?: string | undefined;
58
+ /**
59
+ * <p>Resource type not found error.</p>
60
+ * @public
61
+ */
62
+ resourceType?: string | undefined;
63
+ /**
64
+ * @internal
65
+ */
66
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
67
+ }
68
+ /**
69
+ * <p>The request could not be completed because its exceeded the service quota.</p>
70
+ * @public
71
+ */
72
+ export declare class ServiceQuotaExceededException extends __BaseException {
73
+ readonly name: "ServiceQuotaExceededException";
74
+ readonly $fault: "client";
75
+ code?: string | undefined;
76
+ /**
77
+ * <p>Exceeded the service quota resource ID.</p>
78
+ * @public
79
+ */
80
+ resourceId?: string | undefined;
81
+ /**
82
+ * <p>Exceeded the service quota resource type.</p>
83
+ * @public
84
+ */
85
+ resourceType?: string | undefined;
86
+ /**
87
+ * <p>Exceeded the service quota service code.</p>
88
+ * @public
89
+ */
90
+ serviceCode?: string | undefined;
91
+ /**
92
+ * <p>Exceeded the service quota code.</p>
93
+ * @public
94
+ */
95
+ quotaCode?: string | undefined;
96
+ /**
97
+ * <p>Exceeded the service quota value.</p>
98
+ * @public
99
+ */
100
+ quotaValue?: number | undefined;
101
+ /**
102
+ * @internal
103
+ */
104
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
105
+ }
106
+ /**
107
+ * <p>Uninitialized account exception.</p>
108
+ * @public
109
+ */
110
+ export declare class UninitializedAccountException extends __BaseException {
111
+ readonly name: "UninitializedAccountException";
112
+ readonly $fault: "client";
113
+ code?: string | undefined;
114
+ /**
115
+ * @internal
116
+ */
117
+ constructor(opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>);
118
+ }
119
+ /**
120
+ * <p>Validate exception.</p>
121
+ * @public
122
+ */
123
+ export declare class ValidationException extends __BaseException {
124
+ readonly name: "ValidationException";
125
+ readonly $fault: "client";
126
+ code?: string | undefined;
127
+ /**
128
+ * <p>Validate exception reason.</p>
129
+ * @public
130
+ */
131
+ reason?: ValidationExceptionReason | undefined;
132
+ /**
133
+ * <p>Validate exception field list.</p>
134
+ * @public
135
+ */
136
+ fieldList?: ValidationExceptionField[] | undefined;
137
+ /**
138
+ * @internal
139
+ */
140
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
141
+ }
142
+ /**
143
+ * <p>The server encountered an unexpected condition that prevented it from fulfilling the request.</p>
144
+ * @public
145
+ */
146
+ export declare class InternalServerException extends __BaseException {
147
+ readonly name: "InternalServerException";
148
+ readonly $fault: "server";
149
+ /**
150
+ * <p>The server encountered an unexpected condition that prevented it from fulfilling the request. The request will be retried again after x seconds.</p>
151
+ * @public
152
+ */
153
+ retryAfterSeconds?: number | undefined;
154
+ /**
155
+ * @internal
156
+ */
157
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
158
+ }
159
+ /**
160
+ * <p>Reached throttling quota exception.</p>
161
+ * @public
162
+ */
163
+ export declare class ThrottlingException extends __BaseException {
164
+ readonly name: "ThrottlingException";
165
+ readonly $fault: "client";
166
+ /**
167
+ * <p>Reached throttling quota exception service code.</p>
168
+ * @public
169
+ */
170
+ serviceCode?: string | undefined;
171
+ /**
172
+ * <p>Reached throttling quota exception.</p>
173
+ * @public
174
+ */
175
+ quotaCode?: string | undefined;
176
+ /**
177
+ * <p>Reached throttling quota exception will retry after x seconds.</p>
178
+ * @public
179
+ */
180
+ retryAfterSeconds?: string | undefined;
181
+ /**
182
+ * @internal
183
+ */
184
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
185
+ }
@@ -1,18 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { MgnServiceException as __BaseException } from "./MgnServiceException";
3
- /**
4
- * <p>Operating denied due to a file permission or access check error.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- code?: string | undefined;
11
- /**
12
- * @internal
13
- */
14
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
- }
16
1
  /**
17
2
  * @public
18
3
  * @enum
@@ -182,108 +167,6 @@ export interface ErrorDetails {
182
167
  */
183
168
  resourceType?: string | undefined;
184
169
  }
185
- /**
186
- * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
187
- * @public
188
- */
189
- export declare class ConflictException extends __BaseException {
190
- readonly name: "ConflictException";
191
- readonly $fault: "client";
192
- code?: string | undefined;
193
- /**
194
- * <p>A conflict occurred when prompting for the Resource ID.</p>
195
- * @public
196
- */
197
- resourceId?: string | undefined;
198
- /**
199
- * <p>A conflict occurred when prompting for resource type.</p>
200
- * @public
201
- */
202
- resourceType?: string | undefined;
203
- /**
204
- * <p>Conflict Exception specific errors.</p>
205
- * @public
206
- */
207
- errors?: ErrorDetails[] | undefined;
208
- /**
209
- * @internal
210
- */
211
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
212
- }
213
- /**
214
- * <p>Resource not found exception.</p>
215
- * @public
216
- */
217
- export declare class ResourceNotFoundException extends __BaseException {
218
- readonly name: "ResourceNotFoundException";
219
- readonly $fault: "client";
220
- code?: string | undefined;
221
- /**
222
- * <p>Resource ID not found error.</p>
223
- * @public
224
- */
225
- resourceId?: string | undefined;
226
- /**
227
- * <p>Resource type not found error.</p>
228
- * @public
229
- */
230
- resourceType?: string | undefined;
231
- /**
232
- * @internal
233
- */
234
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
235
- }
236
- /**
237
- * <p>The request could not be completed because its exceeded the service quota.</p>
238
- * @public
239
- */
240
- export declare class ServiceQuotaExceededException extends __BaseException {
241
- readonly name: "ServiceQuotaExceededException";
242
- readonly $fault: "client";
243
- code?: string | undefined;
244
- /**
245
- * <p>Exceeded the service quota resource ID.</p>
246
- * @public
247
- */
248
- resourceId?: string | undefined;
249
- /**
250
- * <p>Exceeded the service quota resource type.</p>
251
- * @public
252
- */
253
- resourceType?: string | undefined;
254
- /**
255
- * <p>Exceeded the service quota service code.</p>
256
- * @public
257
- */
258
- serviceCode?: string | undefined;
259
- /**
260
- * <p>Exceeded the service quota code.</p>
261
- * @public
262
- */
263
- quotaCode?: string | undefined;
264
- /**
265
- * <p>Exceeded the service quota value.</p>
266
- * @public
267
- */
268
- quotaValue?: number | undefined;
269
- /**
270
- * @internal
271
- */
272
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
273
- }
274
- /**
275
- * <p>Uninitialized account exception.</p>
276
- * @public
277
- */
278
- export declare class UninitializedAccountException extends __BaseException {
279
- readonly name: "UninitializedAccountException";
280
- readonly $fault: "client";
281
- code?: string | undefined;
282
- /**
283
- * @internal
284
- */
285
- constructor(opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>);
286
- }
287
170
  /**
288
171
  * @public
289
172
  */
@@ -596,29 +479,6 @@ export declare const ValidationExceptionReason: {
596
479
  * @public
597
480
  */
598
481
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
599
- /**
600
- * <p>Validate exception.</p>
601
- * @public
602
- */
603
- export declare class ValidationException extends __BaseException {
604
- readonly name: "ValidationException";
605
- readonly $fault: "client";
606
- code?: string | undefined;
607
- /**
608
- * <p>Validate exception reason.</p>
609
- * @public
610
- */
611
- reason?: ValidationExceptionReason | undefined;
612
- /**
613
- * <p>Validate exception field list.</p>
614
- * @public
615
- */
616
- fieldList?: ValidationExceptionField[] | undefined;
617
- /**
618
- * @internal
619
- */
620
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
621
- }
622
482
  /**
623
483
  * @public
624
484
  */
@@ -2438,23 +2298,6 @@ export interface ListManagedAccountsResponse {
2438
2298
  */
2439
2299
  nextToken?: string | undefined;
2440
2300
  }
2441
- /**
2442
- * <p>The server encountered an unexpected condition that prevented it from fulfilling the request.</p>
2443
- * @public
2444
- */
2445
- export declare class InternalServerException extends __BaseException {
2446
- readonly name: "InternalServerException";
2447
- readonly $fault: "server";
2448
- /**
2449
- * <p>The server encountered an unexpected condition that prevented it from fulfilling the request. The request will be retried again after x seconds.</p>
2450
- * @public
2451
- */
2452
- retryAfterSeconds?: number | undefined;
2453
- /**
2454
- * @internal
2455
- */
2456
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
2457
- }
2458
2301
  /**
2459
2302
  * @public
2460
2303
  */
@@ -2475,33 +2318,6 @@ export interface ListTagsForResourceResponse {
2475
2318
  */
2476
2319
  tags?: Record<string, string> | undefined;
2477
2320
  }
2478
- /**
2479
- * <p>Reached throttling quota exception.</p>
2480
- * @public
2481
- */
2482
- export declare class ThrottlingException extends __BaseException {
2483
- readonly name: "ThrottlingException";
2484
- readonly $fault: "client";
2485
- /**
2486
- * <p>Reached throttling quota exception service code.</p>
2487
- * @public
2488
- */
2489
- serviceCode?: string | undefined;
2490
- /**
2491
- * <p>Reached throttling quota exception.</p>
2492
- * @public
2493
- */
2494
- quotaCode?: string | undefined;
2495
- /**
2496
- * <p>Reached throttling quota exception will retry after x seconds.</p>
2497
- * @public
2498
- */
2499
- retryAfterSeconds?: string | undefined;
2500
- /**
2501
- * @internal
2502
- */
2503
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
2504
- }
2505
2321
  /**
2506
2322
  * @public
2507
2323
  * @enum
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { MgnExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { MgnServiceException } from "./models/MgnServiceException";
@@ -0,0 +1,83 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { MgnServiceException as __BaseException } from "./MgnServiceException";
3
+ import {
4
+ ErrorDetails,
5
+ ValidationExceptionField,
6
+ ValidationExceptionReason,
7
+ } from "./models_0";
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ code?: string | undefined;
12
+ constructor(
13
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
14
+ );
15
+ }
16
+ export declare class ConflictException extends __BaseException {
17
+ readonly name: "ConflictException";
18
+ readonly $fault: "client";
19
+ code?: string | undefined;
20
+ resourceId?: string | undefined;
21
+ resourceType?: string | undefined;
22
+ errors?: ErrorDetails[] | undefined;
23
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
24
+ }
25
+ export declare class ResourceNotFoundException extends __BaseException {
26
+ readonly name: "ResourceNotFoundException";
27
+ readonly $fault: "client";
28
+ code?: string | undefined;
29
+ resourceId?: string | undefined;
30
+ resourceType?: string | undefined;
31
+ constructor(
32
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
33
+ );
34
+ }
35
+ export declare class ServiceQuotaExceededException extends __BaseException {
36
+ readonly name: "ServiceQuotaExceededException";
37
+ readonly $fault: "client";
38
+ code?: string | undefined;
39
+ resourceId?: string | undefined;
40
+ resourceType?: string | undefined;
41
+ serviceCode?: string | undefined;
42
+ quotaCode?: string | undefined;
43
+ quotaValue?: number | undefined;
44
+ constructor(
45
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
46
+ );
47
+ }
48
+ export declare class UninitializedAccountException extends __BaseException {
49
+ readonly name: "UninitializedAccountException";
50
+ readonly $fault: "client";
51
+ code?: string | undefined;
52
+ constructor(
53
+ opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>
54
+ );
55
+ }
56
+ export declare class ValidationException extends __BaseException {
57
+ readonly name: "ValidationException";
58
+ readonly $fault: "client";
59
+ code?: string | undefined;
60
+ reason?: ValidationExceptionReason | undefined;
61
+ fieldList?: ValidationExceptionField[] | undefined;
62
+ constructor(
63
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
64
+ );
65
+ }
66
+ export declare class InternalServerException extends __BaseException {
67
+ readonly name: "InternalServerException";
68
+ readonly $fault: "server";
69
+ retryAfterSeconds?: number | undefined;
70
+ constructor(
71
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
72
+ );
73
+ }
74
+ export declare class ThrottlingException extends __BaseException {
75
+ readonly name: "ThrottlingException";
76
+ readonly $fault: "client";
77
+ serviceCode?: string | undefined;
78
+ quotaCode?: string | undefined;
79
+ retryAfterSeconds?: string | undefined;
80
+ constructor(
81
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
82
+ );
83
+ }
@@ -1,13 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { MgnServiceException as __BaseException } from "./MgnServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- code?: string | undefined;
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
1
  export declare const ActionCategory: {
12
2
  readonly BACKUP: "BACKUP";
13
3
  readonly CONFIGURATION: "CONFIGURATION";
@@ -65,46 +55,6 @@ export interface ErrorDetails {
65
55
  resourceId?: string | undefined;
66
56
  resourceType?: string | undefined;
67
57
  }
68
- export declare class ConflictException extends __BaseException {
69
- readonly name: "ConflictException";
70
- readonly $fault: "client";
71
- code?: string | undefined;
72
- resourceId?: string | undefined;
73
- resourceType?: string | undefined;
74
- errors?: ErrorDetails[] | undefined;
75
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
76
- }
77
- export declare class ResourceNotFoundException extends __BaseException {
78
- readonly name: "ResourceNotFoundException";
79
- readonly $fault: "client";
80
- code?: string | undefined;
81
- resourceId?: string | undefined;
82
- resourceType?: string | undefined;
83
- constructor(
84
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
85
- );
86
- }
87
- export declare class ServiceQuotaExceededException extends __BaseException {
88
- readonly name: "ServiceQuotaExceededException";
89
- readonly $fault: "client";
90
- code?: string | undefined;
91
- resourceId?: string | undefined;
92
- resourceType?: string | undefined;
93
- serviceCode?: string | undefined;
94
- quotaCode?: string | undefined;
95
- quotaValue?: number | undefined;
96
- constructor(
97
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
98
- );
99
- }
100
- export declare class UninitializedAccountException extends __BaseException {
101
- readonly name: "UninitializedAccountException";
102
- readonly $fault: "client";
103
- code?: string | undefined;
104
- constructor(
105
- opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>
106
- );
107
- }
108
58
  export interface AssociateSourceServersRequest {
109
59
  applicationID: string | undefined;
110
60
  sourceServerIDs: string[] | undefined;
@@ -185,16 +135,6 @@ export declare const ValidationExceptionReason: {
185
135
  };
186
136
  export type ValidationExceptionReason =
187
137
  (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
188
- export declare class ValidationException extends __BaseException {
189
- readonly name: "ValidationException";
190
- readonly $fault: "client";
191
- code?: string | undefined;
192
- reason?: ValidationExceptionReason | undefined;
193
- fieldList?: ValidationExceptionField[] | undefined;
194
- constructor(
195
- opts: __ExceptionOptionType<ValidationException, __BaseException>
196
- );
197
- }
198
138
  export interface DeleteConnectorRequest {
199
139
  connectorID: string | undefined;
200
140
  }
@@ -705,30 +645,12 @@ export interface ListManagedAccountsResponse {
705
645
  items: ManagedAccount[] | undefined;
706
646
  nextToken?: string | undefined;
707
647
  }
708
- export declare class InternalServerException extends __BaseException {
709
- readonly name: "InternalServerException";
710
- readonly $fault: "server";
711
- retryAfterSeconds?: number | undefined;
712
- constructor(
713
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
714
- );
715
- }
716
648
  export interface ListTagsForResourceRequest {
717
649
  resourceArn: string | undefined;
718
650
  }
719
651
  export interface ListTagsForResourceResponse {
720
652
  tags?: Record<string, string> | undefined;
721
653
  }
722
- export declare class ThrottlingException extends __BaseException {
723
- readonly name: "ThrottlingException";
724
- readonly $fault: "client";
725
- serviceCode?: string | undefined;
726
- quotaCode?: string | undefined;
727
- retryAfterSeconds?: string | undefined;
728
- constructor(
729
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
730
- );
731
- }
732
654
  export declare const ReplicationConfigurationDataPlaneRouting: {
733
655
  readonly PRIVATE_IP: "PRIVATE_IP";
734
656
  readonly PUBLIC_IP: "PUBLIC_IP";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mgn",
3
3
  "description": "AWS SDK for JavaScript Mgn Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mgn",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";