@aws-sdk/client-drs 3.933.0 → 3.935.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,54 +131,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends DrsServiceExce
131
131
  this.code = opts.code;
132
132
  }
133
133
  };
134
- const InitiatedBy = {
135
- ASSOCIATE_NETWORK_RECOVERY: "ASSOCIATE_NETWORK_RECOVERY",
136
- CREATE_NETWORK_RECOVERY: "CREATE_NETWORK_RECOVERY",
137
- DIAGNOSTIC: "DIAGNOSTIC",
138
- FAILBACK: "FAILBACK",
139
- START_DRILL: "START_DRILL",
140
- START_RECOVERY: "START_RECOVERY",
141
- TARGET_ACCOUNT: "TARGET_ACCOUNT",
142
- TERMINATE_RECOVERY_INSTANCES: "TERMINATE_RECOVERY_INSTANCES",
143
- UPDATE_NETWORK_RECOVERY: "UPDATE_NETWORK_RECOVERY",
144
- };
145
- const LaunchStatus = {
146
- FAILED: "FAILED",
147
- IN_PROGRESS: "IN_PROGRESS",
148
- LAUNCHED: "LAUNCHED",
149
- PENDING: "PENDING",
150
- TERMINATED: "TERMINATED",
151
- };
152
- const LaunchActionCategory = {
153
- CONFIGURATION: "CONFIGURATION",
154
- MONITORING: "MONITORING",
155
- OTHER: "OTHER",
156
- SECURITY: "SECURITY",
157
- VALIDATION: "VALIDATION",
158
- };
159
- const LaunchActionParameterType = {
160
- DYNAMIC: "DYNAMIC",
161
- SSM_STORE: "SSM_STORE",
162
- };
163
- const LaunchActionType = {
164
- SSM_AUTOMATION: "SSM_AUTOMATION",
165
- SSM_COMMAND: "SSM_COMMAND",
166
- };
167
- const LaunchActionRunStatus = {
168
- FAILED: "FAILED",
169
- IN_PROGRESS: "IN_PROGRESS",
170
- SUCCEEDED: "SUCCEEDED",
171
- };
172
- const JobStatus = {
173
- COMPLETED: "COMPLETED",
174
- PENDING: "PENDING",
175
- STARTED: "STARTED",
176
- };
177
- const JobType = {
178
- CREATE_CONVERTED_SNAPSHOT: "CREATE_CONVERTED_SNAPSHOT",
179
- LAUNCH: "LAUNCH",
180
- TERMINATE: "TERMINATE",
181
- };
182
134
  let ConflictException$1 = class ConflictException extends DrsServiceException$1 {
183
135
  name = "ConflictException";
184
136
  $fault = "client";
@@ -283,12 +235,6 @@ let UninitializedAccountException$1 = class UninitializedAccountException extend
283
235
  this.code = opts.code;
284
236
  }
285
237
  };
286
- const ValidationExceptionReason = {
287
- CANNOT_PARSE: "cannotParse",
288
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
289
- OTHER: "other",
290
- UNKNOWN_OPERATION: "unknownOperation",
291
- };
292
238
  let ValidationException$1 = class ValidationException extends DrsServiceException$1 {
293
239
  name = "ValidationException";
294
240
  $fault = "client";
@@ -307,260 +253,6 @@ let ValidationException$1 = class ValidationException extends DrsServiceExceptio
307
253
  this.fieldList = opts.fieldList;
308
254
  }
309
255
  };
310
- const ProductCodeMode = {
311
- DISABLED: "DISABLED",
312
- ENABLED: "ENABLED",
313
- };
314
- const DataReplicationErrorString = {
315
- AGENT_NOT_SEEN: "AGENT_NOT_SEEN",
316
- FAILED_TO_ATTACH_STAGING_DISKS: "FAILED_TO_ATTACH_STAGING_DISKS",
317
- FAILED_TO_AUTHENTICATE_WITH_SERVICE: "FAILED_TO_AUTHENTICATE_WITH_SERVICE",
318
- FAILED_TO_BOOT_REPLICATION_SERVER: "FAILED_TO_BOOT_REPLICATION_SERVER",
319
- FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER: "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER",
320
- FAILED_TO_CREATE_SECURITY_GROUP: "FAILED_TO_CREATE_SECURITY_GROUP",
321
- FAILED_TO_CREATE_STAGING_DISKS: "FAILED_TO_CREATE_STAGING_DISKS",
322
- FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE: "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE",
323
- FAILED_TO_LAUNCH_REPLICATION_SERVER: "FAILED_TO_LAUNCH_REPLICATION_SERVER",
324
- FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT: "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT",
325
- FAILED_TO_START_DATA_TRANSFER: "FAILED_TO_START_DATA_TRANSFER",
326
- NOT_CONVERGING: "NOT_CONVERGING",
327
- SNAPSHOTS_FAILURE: "SNAPSHOTS_FAILURE",
328
- UNSTABLE_NETWORK: "UNSTABLE_NETWORK",
329
- };
330
- const DataReplicationInitiationStepName = {
331
- ATTACH_STAGING_DISKS: "ATTACH_STAGING_DISKS",
332
- AUTHENTICATE_WITH_SERVICE: "AUTHENTICATE_WITH_SERVICE",
333
- BOOT_REPLICATION_SERVER: "BOOT_REPLICATION_SERVER",
334
- CONNECT_AGENT_TO_REPLICATION_SERVER: "CONNECT_AGENT_TO_REPLICATION_SERVER",
335
- CREATE_SECURITY_GROUP: "CREATE_SECURITY_GROUP",
336
- CREATE_STAGING_DISKS: "CREATE_STAGING_DISKS",
337
- DOWNLOAD_REPLICATION_SOFTWARE: "DOWNLOAD_REPLICATION_SOFTWARE",
338
- LAUNCH_REPLICATION_SERVER: "LAUNCH_REPLICATION_SERVER",
339
- PAIR_REPLICATION_SERVER_WITH_AGENT: "PAIR_REPLICATION_SERVER_WITH_AGENT",
340
- START_DATA_TRANSFER: "START_DATA_TRANSFER",
341
- WAIT: "WAIT",
342
- };
343
- const DataReplicationInitiationStepStatus = {
344
- FAILED: "FAILED",
345
- IN_PROGRESS: "IN_PROGRESS",
346
- NOT_STARTED: "NOT_STARTED",
347
- SKIPPED: "SKIPPED",
348
- SUCCEEDED: "SUCCEEDED",
349
- };
350
- const DataReplicationState = {
351
- BACKLOG: "BACKLOG",
352
- CONTINUOUS: "CONTINUOUS",
353
- CREATING_SNAPSHOT: "CREATING_SNAPSHOT",
354
- DISCONNECTED: "DISCONNECTED",
355
- INITIAL_SYNC: "INITIAL_SYNC",
356
- INITIATING: "INITIATING",
357
- PAUSED: "PAUSED",
358
- RESCAN: "RESCAN",
359
- STALLED: "STALLED",
360
- STOPPED: "STOPPED",
361
- };
362
- const VolumeStatus = {
363
- CONTAINS_MARKETPLACE_PRODUCT_CODES: "CONTAINS_MARKETPLACE_PRODUCT_CODES",
364
- MISSING_VOLUME_ATTRIBUTES: "MISSING_VOLUME_ATTRIBUTES",
365
- MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE: "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE",
366
- PENDING: "PENDING",
367
- REGULAR: "REGULAR",
368
- };
369
- const LastLaunchResult = {
370
- FAILED: "FAILED",
371
- NOT_STARTED: "NOT_STARTED",
372
- PENDING: "PENDING",
373
- SUCCEEDED: "SUCCEEDED",
374
- };
375
- const LastLaunchType = {
376
- DRILL: "DRILL",
377
- RECOVERY: "RECOVERY",
378
- };
379
- const ReplicationDirection = {
380
- FAILBACK: "FAILBACK",
381
- FAILOVER: "FAILOVER",
382
- };
383
- const ExtensionStatus = {
384
- EXTENDED: "EXTENDED",
385
- EXTENSION_ERROR: "EXTENSION_ERROR",
386
- NOT_EXTENDED: "NOT_EXTENDED",
387
- };
388
- const LaunchDisposition = {
389
- STARTED: "STARTED",
390
- STOPPED: "STOPPED",
391
- };
392
- const TargetInstanceTypeRightSizingMethod = {
393
- BASIC: "BASIC",
394
- IN_AWS: "IN_AWS",
395
- NONE: "NONE",
396
- };
397
- const ReplicationConfigurationDataPlaneRouting = {
398
- PRIVATE_IP: "PRIVATE_IP",
399
- PUBLIC_IP: "PUBLIC_IP",
400
- };
401
- const ReplicationConfigurationDefaultLargeStagingDiskType = {
402
- AUTO: "AUTO",
403
- GP2: "GP2",
404
- GP3: "GP3",
405
- ST1: "ST1",
406
- };
407
- const ReplicationConfigurationEbsEncryption = {
408
- CUSTOM: "CUSTOM",
409
- DEFAULT: "DEFAULT",
410
- NONE: "NONE",
411
- };
412
- const PITPolicyRuleUnits = {
413
- DAY: "DAY",
414
- HOUR: "HOUR",
415
- MINUTE: "MINUTE",
416
- };
417
- const JobLogEvent = {
418
- CLEANUP_END: "CLEANUP_END",
419
- CLEANUP_FAIL: "CLEANUP_FAIL",
420
- CLEANUP_START: "CLEANUP_START",
421
- CONVERSION_END: "CONVERSION_END",
422
- CONVERSION_FAIL: "CONVERSION_FAIL",
423
- CONVERSION_START: "CONVERSION_START",
424
- DEPLOY_NETWORK_CONFIGURATION_END: "DEPLOY_NETWORK_CONFIGURATION_END",
425
- DEPLOY_NETWORK_CONFIGURATION_FAILED: "DEPLOY_NETWORK_CONFIGURATION_FAILED",
426
- DEPLOY_NETWORK_CONFIGURATION_START: "DEPLOY_NETWORK_CONFIGURATION_START",
427
- JOB_CANCEL: "JOB_CANCEL",
428
- JOB_END: "JOB_END",
429
- JOB_START: "JOB_START",
430
- LAUNCH_FAILED: "LAUNCH_FAILED",
431
- LAUNCH_START: "LAUNCH_START",
432
- NETWORK_RECOVERY_FAIL: "NETWORK_RECOVERY_FAIL",
433
- SERVER_SKIPPED: "SERVER_SKIPPED",
434
- SNAPSHOT_END: "SNAPSHOT_END",
435
- SNAPSHOT_FAIL: "SNAPSHOT_FAIL",
436
- SNAPSHOT_START: "SNAPSHOT_START",
437
- UPDATE_LAUNCH_TEMPLATE_END: "UPDATE_LAUNCH_TEMPLATE_END",
438
- UPDATE_LAUNCH_TEMPLATE_FAILED: "UPDATE_LAUNCH_TEMPLATE_FAILED",
439
- UPDATE_LAUNCH_TEMPLATE_START: "UPDATE_LAUNCH_TEMPLATE_START",
440
- UPDATE_NETWORK_CONFIGURATION_END: "UPDATE_NETWORK_CONFIGURATION_END",
441
- UPDATE_NETWORK_CONFIGURATION_FAILED: "UPDATE_NETWORK_CONFIGURATION_FAILED",
442
- UPDATE_NETWORK_CONFIGURATION_START: "UPDATE_NETWORK_CONFIGURATION_START",
443
- USING_PREVIOUS_SNAPSHOT: "USING_PREVIOUS_SNAPSHOT",
444
- USING_PREVIOUS_SNAPSHOT_FAILED: "USING_PREVIOUS_SNAPSHOT_FAILED",
445
- };
446
- const FailbackReplicationError = {
447
- AGENT_NOT_SEEN: "AGENT_NOT_SEEN",
448
- FAILBACK_CLIENT_NOT_SEEN: "FAILBACK_CLIENT_NOT_SEEN",
449
- FAILED_GETTING_REPLICATION_STATE: "FAILED_GETTING_REPLICATION_STATE",
450
- FAILED_TO_ATTACH_STAGING_DISKS: "FAILED_TO_ATTACH_STAGING_DISKS",
451
- FAILED_TO_AUTHENTICATE_WITH_SERVICE: "FAILED_TO_AUTHENTICATE_WITH_SERVICE",
452
- FAILED_TO_BOOT_REPLICATION_SERVER: "FAILED_TO_BOOT_REPLICATION_SERVER",
453
- FAILED_TO_CONFIGURE_REPLICATION_SOFTWARE: "FAILED_TO_CONFIGURE_REPLICATION_SOFTWARE",
454
- FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER: "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER",
455
- FAILED_TO_CREATE_SECURITY_GROUP: "FAILED_TO_CREATE_SECURITY_GROUP",
456
- FAILED_TO_CREATE_STAGING_DISKS: "FAILED_TO_CREATE_STAGING_DISKS",
457
- FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE: "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE",
458
- FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT: "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT",
459
- FAILED_TO_ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION: "FAILED_TO_ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION",
460
- FAILED_TO_ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION: "FAILED_TO_ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION",
461
- FAILED_TO_LAUNCH_REPLICATION_SERVER: "FAILED_TO_LAUNCH_REPLICATION_SERVER",
462
- FAILED_TO_PAIR_AGENT_WITH_REPLICATION_SOFTWARE: "FAILED_TO_PAIR_AGENT_WITH_REPLICATION_SOFTWARE",
463
- FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT: "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT",
464
- FAILED_TO_START_DATA_TRANSFER: "FAILED_TO_START_DATA_TRANSFER",
465
- NOT_CONVERGING: "NOT_CONVERGING",
466
- SNAPSHOTS_FAILURE: "SNAPSHOTS_FAILURE",
467
- UNSTABLE_NETWORK: "UNSTABLE_NETWORK",
468
- };
469
- const RecoveryInstanceDataReplicationInitiationStepName = {
470
- ATTACH_STAGING_DISKS: "ATTACH_STAGING_DISKS",
471
- AUTHENTICATE_WITH_SERVICE: "AUTHENTICATE_WITH_SERVICE",
472
- BOOT_REPLICATION_SERVER: "BOOT_REPLICATION_SERVER",
473
- COMPLETE_VOLUME_MAPPING: "COMPLETE_VOLUME_MAPPING",
474
- CONFIGURE_REPLICATION_SOFTWARE: "CONFIGURE_REPLICATION_SOFTWARE",
475
- CONNECT_AGENT_TO_REPLICATION_SERVER: "CONNECT_AGENT_TO_REPLICATION_SERVER",
476
- CREATE_SECURITY_GROUP: "CREATE_SECURITY_GROUP",
477
- CREATE_STAGING_DISKS: "CREATE_STAGING_DISKS",
478
- DOWNLOAD_REPLICATION_SOFTWARE: "DOWNLOAD_REPLICATION_SOFTWARE",
479
- DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT: "DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT",
480
- ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION: "ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION",
481
- ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION: "ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION",
482
- LAUNCH_REPLICATION_SERVER: "LAUNCH_REPLICATION_SERVER",
483
- LINK_FAILBACK_CLIENT_WITH_RECOVERY_INSTANCE: "LINK_FAILBACK_CLIENT_WITH_RECOVERY_INSTANCE",
484
- PAIR_AGENT_WITH_REPLICATION_SOFTWARE: "PAIR_AGENT_WITH_REPLICATION_SOFTWARE",
485
- PAIR_REPLICATION_SERVER_WITH_AGENT: "PAIR_REPLICATION_SERVER_WITH_AGENT",
486
- START_DATA_TRANSFER: "START_DATA_TRANSFER",
487
- WAIT: "WAIT",
488
- };
489
- const RecoveryInstanceDataReplicationInitiationStepStatus = {
490
- FAILED: "FAILED",
491
- IN_PROGRESS: "IN_PROGRESS",
492
- NOT_STARTED: "NOT_STARTED",
493
- SKIPPED: "SKIPPED",
494
- SUCCEEDED: "SUCCEEDED",
495
- };
496
- const RecoveryInstanceDataReplicationState = {
497
- BACKLOG: "BACKLOG",
498
- CONTINUOUS: "CONTINUOUS",
499
- CREATING_SNAPSHOT: "CREATING_SNAPSHOT",
500
- DISCONNECTED: "DISCONNECTED",
501
- INITIAL_SYNC: "INITIAL_SYNC",
502
- INITIATING: "INITIATING",
503
- NOT_STARTED: "NOT_STARTED",
504
- PAUSED: "PAUSED",
505
- REPLICATION_STATE_NOT_AVAILABLE: "REPLICATION_STATE_NOT_AVAILABLE",
506
- RESCAN: "RESCAN",
507
- STALLED: "STALLED",
508
- STOPPED: "STOPPED",
509
- };
510
- const EC2InstanceState = {
511
- NOT_FOUND: "NOT_FOUND",
512
- PENDING: "PENDING",
513
- RUNNING: "RUNNING",
514
- SHUTTING_DOWN: "SHUTTING-DOWN",
515
- STOPPED: "STOPPED",
516
- STOPPING: "STOPPING",
517
- TERMINATED: "TERMINATED",
518
- };
519
- const FailbackLaunchType = {
520
- DRILL: "DRILL",
521
- RECOVERY: "RECOVERY",
522
- };
523
- const FailbackState = {
524
- FAILBACK_COMPLETED: "FAILBACK_COMPLETED",
525
- FAILBACK_ERROR: "FAILBACK_ERROR",
526
- FAILBACK_IN_PROGRESS: "FAILBACK_IN_PROGRESS",
527
- FAILBACK_LAUNCH_STATE_NOT_AVAILABLE: "FAILBACK_LAUNCH_STATE_NOT_AVAILABLE",
528
- FAILBACK_NOT_READY_FOR_LAUNCH: "FAILBACK_NOT_READY_FOR_LAUNCH",
529
- FAILBACK_NOT_STARTED: "FAILBACK_NOT_STARTED",
530
- FAILBACK_READY_FOR_LAUNCH: "FAILBACK_READY_FOR_LAUNCH",
531
- };
532
- const OriginEnvironment = {
533
- AWS: "AWS",
534
- ON_PREMISES: "ON_PREMISES",
535
- };
536
- const RecoverySnapshotsOrder = {
537
- ASC: "ASC",
538
- DESC: "DESC",
539
- };
540
- const RecoveryResult = {
541
- ASSOCIATE_FAIL: "ASSOCIATE_FAIL",
542
- ASSOCIATE_SUCCESS: "ASSOCIATE_SUCCESS",
543
- FAIL: "FAIL",
544
- IN_PROGRESS: "IN_PROGRESS",
545
- NOT_STARTED: "NOT_STARTED",
546
- PARTIAL_SUCCESS: "PARTIAL_SUCCESS",
547
- SUCCESS: "SUCCESS",
548
- };
549
- const ReplicationStatus = {
550
- ERROR: "ERROR",
551
- IN_PROGRESS: "IN_PROGRESS",
552
- PROTECTED: "PROTECTED",
553
- STOPPED: "STOPPED",
554
- };
555
- const ReplicationConfigurationReplicatedDiskStagingDiskType = {
556
- AUTO: "AUTO",
557
- GP2: "GP2",
558
- GP3: "GP3",
559
- IO1: "IO1",
560
- SC1: "SC1",
561
- ST1: "ST1",
562
- STANDARD: "STANDARD",
563
- };
564
256
 
565
257
  const _A = "Account";
566
258
  const _ADE = "AccessDeniedException";
@@ -3197,10 +2889,6 @@ exports.CreateExtendedSourceServerCommand = CreateExtendedSourceServerCommand;
3197
2889
  exports.CreateLaunchConfigurationTemplateCommand = CreateLaunchConfigurationTemplateCommand;
3198
2890
  exports.CreateReplicationConfigurationTemplateCommand = CreateReplicationConfigurationTemplateCommand;
3199
2891
  exports.CreateSourceNetworkCommand = CreateSourceNetworkCommand;
3200
- exports.DataReplicationErrorString = DataReplicationErrorString;
3201
- exports.DataReplicationInitiationStepName = DataReplicationInitiationStepName;
3202
- exports.DataReplicationInitiationStepStatus = DataReplicationInitiationStepStatus;
3203
- exports.DataReplicationState = DataReplicationState;
3204
2892
  exports.DeleteJobCommand = DeleteJobCommand;
3205
2893
  exports.DeleteLaunchActionCommand = DeleteLaunchActionCommand;
3206
2894
  exports.DeleteLaunchConfigurationTemplateCommand = DeleteLaunchConfigurationTemplateCommand;
@@ -3221,48 +2909,17 @@ exports.DisconnectSourceServerCommand = DisconnectSourceServerCommand;
3221
2909
  exports.Drs = Drs;
3222
2910
  exports.DrsClient = DrsClient;
3223
2911
  exports.DrsServiceException = DrsServiceException$1;
3224
- exports.EC2InstanceState = EC2InstanceState;
3225
2912
  exports.ExportSourceNetworkCfnTemplateCommand = ExportSourceNetworkCfnTemplateCommand;
3226
- exports.ExtensionStatus = ExtensionStatus;
3227
- exports.FailbackLaunchType = FailbackLaunchType;
3228
- exports.FailbackReplicationError = FailbackReplicationError;
3229
- exports.FailbackState = FailbackState;
3230
2913
  exports.GetFailbackReplicationConfigurationCommand = GetFailbackReplicationConfigurationCommand;
3231
2914
  exports.GetLaunchConfigurationCommand = GetLaunchConfigurationCommand;
3232
2915
  exports.GetReplicationConfigurationCommand = GetReplicationConfigurationCommand;
3233
2916
  exports.InitializeServiceCommand = InitializeServiceCommand;
3234
- exports.InitiatedBy = InitiatedBy;
3235
2917
  exports.InternalServerException = InternalServerException$1;
3236
- exports.JobLogEvent = JobLogEvent;
3237
- exports.JobStatus = JobStatus;
3238
- exports.JobType = JobType;
3239
- exports.LastLaunchResult = LastLaunchResult;
3240
- exports.LastLaunchType = LastLaunchType;
3241
- exports.LaunchActionCategory = LaunchActionCategory;
3242
- exports.LaunchActionParameterType = LaunchActionParameterType;
3243
- exports.LaunchActionRunStatus = LaunchActionRunStatus;
3244
- exports.LaunchActionType = LaunchActionType;
3245
- exports.LaunchDisposition = LaunchDisposition;
3246
- exports.LaunchStatus = LaunchStatus;
3247
2918
  exports.ListExtensibleSourceServersCommand = ListExtensibleSourceServersCommand;
3248
2919
  exports.ListLaunchActionsCommand = ListLaunchActionsCommand;
3249
2920
  exports.ListStagingAccountsCommand = ListStagingAccountsCommand;
3250
2921
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
3251
- exports.OriginEnvironment = OriginEnvironment;
3252
- exports.PITPolicyRuleUnits = PITPolicyRuleUnits;
3253
- exports.ProductCodeMode = ProductCodeMode;
3254
2922
  exports.PutLaunchActionCommand = PutLaunchActionCommand;
3255
- exports.RecoveryInstanceDataReplicationInitiationStepName = RecoveryInstanceDataReplicationInitiationStepName;
3256
- exports.RecoveryInstanceDataReplicationInitiationStepStatus = RecoveryInstanceDataReplicationInitiationStepStatus;
3257
- exports.RecoveryInstanceDataReplicationState = RecoveryInstanceDataReplicationState;
3258
- exports.RecoveryResult = RecoveryResult;
3259
- exports.RecoverySnapshotsOrder = RecoverySnapshotsOrder;
3260
- exports.ReplicationConfigurationDataPlaneRouting = ReplicationConfigurationDataPlaneRouting;
3261
- exports.ReplicationConfigurationDefaultLargeStagingDiskType = ReplicationConfigurationDefaultLargeStagingDiskType;
3262
- exports.ReplicationConfigurationEbsEncryption = ReplicationConfigurationEbsEncryption;
3263
- exports.ReplicationConfigurationReplicatedDiskStagingDiskType = ReplicationConfigurationReplicatedDiskStagingDiskType;
3264
- exports.ReplicationDirection = ReplicationDirection;
3265
- exports.ReplicationStatus = ReplicationStatus;
3266
2923
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
3267
2924
  exports.RetryDataReplicationCommand = RetryDataReplicationCommand;
3268
2925
  exports.ReverseReplicationCommand = ReverseReplicationCommand;
@@ -3276,7 +2933,6 @@ exports.StopFailbackCommand = StopFailbackCommand;
3276
2933
  exports.StopReplicationCommand = StopReplicationCommand;
3277
2934
  exports.StopSourceNetworkReplicationCommand = StopSourceNetworkReplicationCommand;
3278
2935
  exports.TagResourceCommand = TagResourceCommand;
3279
- exports.TargetInstanceTypeRightSizingMethod = TargetInstanceTypeRightSizingMethod;
3280
2936
  exports.TerminateRecoveryInstancesCommand = TerminateRecoveryInstancesCommand;
3281
2937
  exports.ThrottlingException = ThrottlingException$1;
3282
2938
  exports.UninitializedAccountException = UninitializedAccountException$1;
@@ -3287,8 +2943,6 @@ exports.UpdateLaunchConfigurationTemplateCommand = UpdateLaunchConfigurationTemp
3287
2943
  exports.UpdateReplicationConfigurationCommand = UpdateReplicationConfigurationCommand;
3288
2944
  exports.UpdateReplicationConfigurationTemplateCommand = UpdateReplicationConfigurationTemplateCommand;
3289
2945
  exports.ValidationException = ValidationException$1;
3290
- exports.ValidationExceptionReason = ValidationExceptionReason;
3291
- exports.VolumeStatus = VolumeStatus;
3292
2946
  exports.paginateDescribeJobLogItems = paginateDescribeJobLogItems;
3293
2947
  exports.paginateDescribeJobs = paginateDescribeJobs;
3294
2948
  exports.paginateDescribeLaunchConfigurationTemplates = paginateDescribeLaunchConfigurationTemplates;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./DrsClient";
2
2
  export * from "./Drs";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { DrsServiceException } from "./models/DrsServiceException";
@@ -0,0 +1,137 @@
1
+ import { DrsServiceException as __BaseException } from "./DrsServiceException";
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
+ constructor(opts) {
23
+ super({
24
+ name: "ConflictException",
25
+ $fault: "client",
26
+ ...opts,
27
+ });
28
+ Object.setPrototypeOf(this, ConflictException.prototype);
29
+ this.code = opts.code;
30
+ this.resourceId = opts.resourceId;
31
+ this.resourceType = opts.resourceType;
32
+ }
33
+ }
34
+ export class InternalServerException extends __BaseException {
35
+ name = "InternalServerException";
36
+ $fault = "server";
37
+ retryAfterSeconds;
38
+ constructor(opts) {
39
+ super({
40
+ name: "InternalServerException",
41
+ $fault: "server",
42
+ ...opts,
43
+ });
44
+ Object.setPrototypeOf(this, InternalServerException.prototype);
45
+ this.retryAfterSeconds = opts.retryAfterSeconds;
46
+ }
47
+ }
48
+ export class ResourceNotFoundException extends __BaseException {
49
+ name = "ResourceNotFoundException";
50
+ $fault = "client";
51
+ code;
52
+ resourceId;
53
+ resourceType;
54
+ constructor(opts) {
55
+ super({
56
+ name: "ResourceNotFoundException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
61
+ this.code = opts.code;
62
+ this.resourceId = opts.resourceId;
63
+ this.resourceType = opts.resourceType;
64
+ }
65
+ }
66
+ export class ServiceQuotaExceededException extends __BaseException {
67
+ name = "ServiceQuotaExceededException";
68
+ $fault = "client";
69
+ code;
70
+ resourceId;
71
+ resourceType;
72
+ serviceCode;
73
+ quotaCode;
74
+ constructor(opts) {
75
+ super({
76
+ name: "ServiceQuotaExceededException",
77
+ $fault: "client",
78
+ ...opts,
79
+ });
80
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
81
+ this.code = opts.code;
82
+ this.resourceId = opts.resourceId;
83
+ this.resourceType = opts.resourceType;
84
+ this.serviceCode = opts.serviceCode;
85
+ this.quotaCode = opts.quotaCode;
86
+ }
87
+ }
88
+ export class ThrottlingException extends __BaseException {
89
+ name = "ThrottlingException";
90
+ $fault = "client";
91
+ serviceCode;
92
+ quotaCode;
93
+ retryAfterSeconds;
94
+ constructor(opts) {
95
+ super({
96
+ name: "ThrottlingException",
97
+ $fault: "client",
98
+ ...opts,
99
+ });
100
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
101
+ this.serviceCode = opts.serviceCode;
102
+ this.quotaCode = opts.quotaCode;
103
+ this.retryAfterSeconds = opts.retryAfterSeconds;
104
+ }
105
+ }
106
+ export class UninitializedAccountException extends __BaseException {
107
+ name = "UninitializedAccountException";
108
+ $fault = "client";
109
+ code;
110
+ constructor(opts) {
111
+ super({
112
+ name: "UninitializedAccountException",
113
+ $fault: "client",
114
+ ...opts,
115
+ });
116
+ Object.setPrototypeOf(this, UninitializedAccountException.prototype);
117
+ this.code = opts.code;
118
+ }
119
+ }
120
+ export class ValidationException extends __BaseException {
121
+ name = "ValidationException";
122
+ $fault = "client";
123
+ code;
124
+ reason;
125
+ fieldList;
126
+ constructor(opts) {
127
+ super({
128
+ name: "ValidationException",
129
+ $fault: "client",
130
+ ...opts,
131
+ });
132
+ Object.setPrototypeOf(this, ValidationException.prototype);
133
+ this.code = opts.code;
134
+ this.reason = opts.reason;
135
+ this.fieldList = opts.fieldList;
136
+ }
137
+ }
@@ -1,18 +1,3 @@
1
- import { DrsServiceException as __BaseException } from "./DrsServiceException";
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 InitiatedBy = {
17
2
  ASSOCIATE_NETWORK_RECOVERY: "ASSOCIATE_NETWORK_RECOVERY",
18
3
  CREATE_NETWORK_RECOVERY: "CREATE_NETWORK_RECOVERY",
@@ -61,134 +46,12 @@ export const JobType = {
61
46
  LAUNCH: "LAUNCH",
62
47
  TERMINATE: "TERMINATE",
63
48
  };
64
- export class ConflictException extends __BaseException {
65
- name = "ConflictException";
66
- $fault = "client";
67
- code;
68
- resourceId;
69
- resourceType;
70
- constructor(opts) {
71
- super({
72
- name: "ConflictException",
73
- $fault: "client",
74
- ...opts,
75
- });
76
- Object.setPrototypeOf(this, ConflictException.prototype);
77
- this.code = opts.code;
78
- this.resourceId = opts.resourceId;
79
- this.resourceType = opts.resourceType;
80
- }
81
- }
82
- export class InternalServerException extends __BaseException {
83
- name = "InternalServerException";
84
- $fault = "server";
85
- retryAfterSeconds;
86
- constructor(opts) {
87
- super({
88
- name: "InternalServerException",
89
- $fault: "server",
90
- ...opts,
91
- });
92
- Object.setPrototypeOf(this, InternalServerException.prototype);
93
- this.retryAfterSeconds = opts.retryAfterSeconds;
94
- }
95
- }
96
- export class ResourceNotFoundException extends __BaseException {
97
- name = "ResourceNotFoundException";
98
- $fault = "client";
99
- code;
100
- resourceId;
101
- resourceType;
102
- constructor(opts) {
103
- super({
104
- name: "ResourceNotFoundException",
105
- $fault: "client",
106
- ...opts,
107
- });
108
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
109
- this.code = opts.code;
110
- this.resourceId = opts.resourceId;
111
- this.resourceType = opts.resourceType;
112
- }
113
- }
114
- export class ServiceQuotaExceededException extends __BaseException {
115
- name = "ServiceQuotaExceededException";
116
- $fault = "client";
117
- code;
118
- resourceId;
119
- resourceType;
120
- serviceCode;
121
- quotaCode;
122
- constructor(opts) {
123
- super({
124
- name: "ServiceQuotaExceededException",
125
- $fault: "client",
126
- ...opts,
127
- });
128
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
129
- this.code = opts.code;
130
- this.resourceId = opts.resourceId;
131
- this.resourceType = opts.resourceType;
132
- this.serviceCode = opts.serviceCode;
133
- this.quotaCode = opts.quotaCode;
134
- }
135
- }
136
- export class ThrottlingException extends __BaseException {
137
- name = "ThrottlingException";
138
- $fault = "client";
139
- serviceCode;
140
- quotaCode;
141
- retryAfterSeconds;
142
- constructor(opts) {
143
- super({
144
- name: "ThrottlingException",
145
- $fault: "client",
146
- ...opts,
147
- });
148
- Object.setPrototypeOf(this, ThrottlingException.prototype);
149
- this.serviceCode = opts.serviceCode;
150
- this.quotaCode = opts.quotaCode;
151
- this.retryAfterSeconds = opts.retryAfterSeconds;
152
- }
153
- }
154
- export class UninitializedAccountException extends __BaseException {
155
- name = "UninitializedAccountException";
156
- $fault = "client";
157
- code;
158
- constructor(opts) {
159
- super({
160
- name: "UninitializedAccountException",
161
- $fault: "client",
162
- ...opts,
163
- });
164
- Object.setPrototypeOf(this, UninitializedAccountException.prototype);
165
- this.code = opts.code;
166
- }
167
- }
168
49
  export const ValidationExceptionReason = {
169
50
  CANNOT_PARSE: "cannotParse",
170
51
  FIELD_VALIDATION_FAILED: "fieldValidationFailed",
171
52
  OTHER: "other",
172
53
  UNKNOWN_OPERATION: "unknownOperation",
173
54
  };
174
- export class ValidationException extends __BaseException {
175
- name = "ValidationException";
176
- $fault = "client";
177
- code;
178
- reason;
179
- fieldList;
180
- constructor(opts) {
181
- super({
182
- name: "ValidationException",
183
- $fault: "client",
184
- ...opts,
185
- });
186
- Object.setPrototypeOf(this, ValidationException.prototype);
187
- this.code = opts.code;
188
- this.reason = opts.reason;
189
- this.fieldList = opts.fieldList;
190
- }
191
- }
192
55
  export const ProductCodeMode = {
193
56
  DISABLED: "DISABLED",
194
57
  ENABLED: "ENABLED",
@@ -474,7 +474,7 @@ const _vWU = "vmWareUuid";
474
474
  const n0 = "com.amazonaws.drs";
475
475
  import { TypeRegistry } from "@smithy/core/schema";
476
476
  import { DrsServiceException as __DrsServiceException } from "../models/DrsServiceException";
477
- 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";
477
+ 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";
478
478
  export var CfnStackName = [0, n0, _CSN, 8, 0];
479
479
  export var SensitiveBoundedString = [0, n0, _SBS, 8, 0];
480
480
  export var AccessDeniedException = [
@@ -10,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { DrsExtensionConfiguration } 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 { DrsServiceException } from "./models/DrsServiceException";
@@ -0,0 +1,175 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DrsServiceException as __BaseException } from "./DrsServiceException";
3
+ import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
4
+ /**
5
+ * <p>You do not have sufficient access to perform this action.</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>The ID of the resource.</p>
27
+ * @public
28
+ */
29
+ resourceId?: string | undefined;
30
+ /**
31
+ * <p>The type of the resource.</p>
32
+ * @public
33
+ */
34
+ resourceType?: string | undefined;
35
+ /**
36
+ * @internal
37
+ */
38
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
39
+ }
40
+ /**
41
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
42
+ * @public
43
+ */
44
+ export declare class InternalServerException extends __BaseException {
45
+ readonly name: "InternalServerException";
46
+ readonly $fault: "server";
47
+ /**
48
+ * <p>The number of seconds after which the request should be safe to retry.</p>
49
+ * @public
50
+ */
51
+ retryAfterSeconds?: number | undefined;
52
+ /**
53
+ * @internal
54
+ */
55
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
56
+ }
57
+ /**
58
+ * <p>The resource for this operation was not found.</p>
59
+ * @public
60
+ */
61
+ export declare class ResourceNotFoundException extends __BaseException {
62
+ readonly name: "ResourceNotFoundException";
63
+ readonly $fault: "client";
64
+ code?: string | undefined;
65
+ /**
66
+ * <p>The ID of the resource.</p>
67
+ * @public
68
+ */
69
+ resourceId?: string | undefined;
70
+ /**
71
+ * <p>The type of the resource.</p>
72
+ * @public
73
+ */
74
+ resourceType?: string | undefined;
75
+ /**
76
+ * @internal
77
+ */
78
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
79
+ }
80
+ /**
81
+ * <p>The request could not be completed because its exceeded the service quota.</p>
82
+ * @public
83
+ */
84
+ export declare class ServiceQuotaExceededException extends __BaseException {
85
+ readonly name: "ServiceQuotaExceededException";
86
+ readonly $fault: "client";
87
+ code?: string | undefined;
88
+ /**
89
+ * <p>The ID of the resource.</p>
90
+ * @public
91
+ */
92
+ resourceId?: string | undefined;
93
+ /**
94
+ * <p>The type of the resource.</p>
95
+ * @public
96
+ */
97
+ resourceType?: string | undefined;
98
+ /**
99
+ * <p>Service code.</p>
100
+ * @public
101
+ */
102
+ serviceCode?: string | undefined;
103
+ /**
104
+ * <p>Quota code.</p>
105
+ * @public
106
+ */
107
+ quotaCode?: string | undefined;
108
+ /**
109
+ * @internal
110
+ */
111
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
112
+ }
113
+ /**
114
+ * <p>The request was denied due to request throttling.</p>
115
+ * @public
116
+ */
117
+ export declare class ThrottlingException extends __BaseException {
118
+ readonly name: "ThrottlingException";
119
+ readonly $fault: "client";
120
+ /**
121
+ * <p>Service code.</p>
122
+ * @public
123
+ */
124
+ serviceCode?: string | undefined;
125
+ /**
126
+ * <p>Quota code.</p>
127
+ * @public
128
+ */
129
+ quotaCode?: string | undefined;
130
+ /**
131
+ * <p>The number of seconds after which the request should be safe to retry.</p>
132
+ * @public
133
+ */
134
+ retryAfterSeconds?: string | undefined;
135
+ /**
136
+ * @internal
137
+ */
138
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
139
+ }
140
+ /**
141
+ * <p>The account performing the request has not been initialized.</p>
142
+ * @public
143
+ */
144
+ export declare class UninitializedAccountException extends __BaseException {
145
+ readonly name: "UninitializedAccountException";
146
+ readonly $fault: "client";
147
+ code?: string | undefined;
148
+ /**
149
+ * @internal
150
+ */
151
+ constructor(opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>);
152
+ }
153
+ /**
154
+ * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
155
+ * @public
156
+ */
157
+ export declare class ValidationException extends __BaseException {
158
+ readonly name: "ValidationException";
159
+ readonly $fault: "client";
160
+ code?: string | undefined;
161
+ /**
162
+ * <p>Validation exception reason.</p>
163
+ * @public
164
+ */
165
+ reason?: ValidationExceptionReason | undefined;
166
+ /**
167
+ * <p>A list of fields that failed validation.</p>
168
+ * @public
169
+ */
170
+ fieldList?: ValidationExceptionField[] | undefined;
171
+ /**
172
+ * @internal
173
+ */
174
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
175
+ }
@@ -1,18 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { DrsServiceException as __BaseException } from "./DrsServiceException";
3
- /**
4
- * <p>You do not have sufficient access to perform this action.</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
  * <p>AWS account.</p>
18
3
  * @public
@@ -411,142 +396,6 @@ export interface AssociateSourceNetworkStackResponse {
411
396
  */
412
397
  job?: Job | undefined;
413
398
  }
414
- /**
415
- * <p>The request could not be completed due to a conflict with the current state of the target resource.</p>
416
- * @public
417
- */
418
- export declare class ConflictException extends __BaseException {
419
- readonly name: "ConflictException";
420
- readonly $fault: "client";
421
- code?: string | undefined;
422
- /**
423
- * <p>The ID of the resource.</p>
424
- * @public
425
- */
426
- resourceId?: string | undefined;
427
- /**
428
- * <p>The type of the resource.</p>
429
- * @public
430
- */
431
- resourceType?: string | undefined;
432
- /**
433
- * @internal
434
- */
435
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
436
- }
437
- /**
438
- * <p>The request processing has failed because of an unknown error, exception or failure.</p>
439
- * @public
440
- */
441
- export declare class InternalServerException extends __BaseException {
442
- readonly name: "InternalServerException";
443
- readonly $fault: "server";
444
- /**
445
- * <p>The number of seconds after which the request should be safe to retry.</p>
446
- * @public
447
- */
448
- retryAfterSeconds?: number | undefined;
449
- /**
450
- * @internal
451
- */
452
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
453
- }
454
- /**
455
- * <p>The resource for this operation was not found.</p>
456
- * @public
457
- */
458
- export declare class ResourceNotFoundException extends __BaseException {
459
- readonly name: "ResourceNotFoundException";
460
- readonly $fault: "client";
461
- code?: string | undefined;
462
- /**
463
- * <p>The ID of the resource.</p>
464
- * @public
465
- */
466
- resourceId?: string | undefined;
467
- /**
468
- * <p>The type of the resource.</p>
469
- * @public
470
- */
471
- resourceType?: string | undefined;
472
- /**
473
- * @internal
474
- */
475
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
476
- }
477
- /**
478
- * <p>The request could not be completed because its exceeded the service quota.</p>
479
- * @public
480
- */
481
- export declare class ServiceQuotaExceededException extends __BaseException {
482
- readonly name: "ServiceQuotaExceededException";
483
- readonly $fault: "client";
484
- code?: string | undefined;
485
- /**
486
- * <p>The ID of the resource.</p>
487
- * @public
488
- */
489
- resourceId?: string | undefined;
490
- /**
491
- * <p>The type of the resource.</p>
492
- * @public
493
- */
494
- resourceType?: string | undefined;
495
- /**
496
- * <p>Service code.</p>
497
- * @public
498
- */
499
- serviceCode?: string | undefined;
500
- /**
501
- * <p>Quota code.</p>
502
- * @public
503
- */
504
- quotaCode?: string | undefined;
505
- /**
506
- * @internal
507
- */
508
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
509
- }
510
- /**
511
- * <p>The request was denied due to request throttling.</p>
512
- * @public
513
- */
514
- export declare class ThrottlingException extends __BaseException {
515
- readonly name: "ThrottlingException";
516
- readonly $fault: "client";
517
- /**
518
- * <p>Service code.</p>
519
- * @public
520
- */
521
- serviceCode?: string | undefined;
522
- /**
523
- * <p>Quota code.</p>
524
- * @public
525
- */
526
- quotaCode?: string | undefined;
527
- /**
528
- * <p>The number of seconds after which the request should be safe to retry.</p>
529
- * @public
530
- */
531
- retryAfterSeconds?: string | undefined;
532
- /**
533
- * @internal
534
- */
535
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
536
- }
537
- /**
538
- * <p>The account performing the request has not been initialized.</p>
539
- * @public
540
- */
541
- export declare class UninitializedAccountException extends __BaseException {
542
- readonly name: "UninitializedAccountException";
543
- readonly $fault: "client";
544
- code?: string | undefined;
545
- /**
546
- * @internal
547
- */
548
- constructor(opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>);
549
- }
550
399
  /**
551
400
  * <p>Validate exception field.</p>
552
401
  * @public
@@ -577,29 +426,6 @@ export declare const ValidationExceptionReason: {
577
426
  * @public
578
427
  */
579
428
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
580
- /**
581
- * <p>The input fails to satisfy the constraints specified by the AWS service.</p>
582
- * @public
583
- */
584
- export declare class ValidationException extends __BaseException {
585
- readonly name: "ValidationException";
586
- readonly $fault: "client";
587
- code?: string | undefined;
588
- /**
589
- * <p>Validation exception reason.</p>
590
- * @public
591
- */
592
- reason?: ValidationExceptionReason | undefined;
593
- /**
594
- * <p>A list of fields that failed validation.</p>
595
- * @public
596
- */
597
- fieldList?: ValidationExceptionField[] | undefined;
598
- /**
599
- * @internal
600
- */
601
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
602
- }
603
429
  /**
604
430
  * @public
605
431
  * @enum
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { DrsExtensionConfiguration } 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 { DrsServiceException } from "./models/DrsServiceException";
@@ -0,0 +1,80 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DrsServiceException as __BaseException } from "./DrsServiceException";
3
+ import {
4
+ ValidationExceptionField,
5
+ ValidationExceptionReason,
6
+ } from "./models_0";
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ code?: string | undefined;
11
+ constructor(
12
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
13
+ );
14
+ }
15
+ export declare class ConflictException extends __BaseException {
16
+ readonly name: "ConflictException";
17
+ readonly $fault: "client";
18
+ code?: string | undefined;
19
+ resourceId?: string | undefined;
20
+ resourceType?: string | undefined;
21
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
22
+ }
23
+ export declare class InternalServerException extends __BaseException {
24
+ readonly name: "InternalServerException";
25
+ readonly $fault: "server";
26
+ retryAfterSeconds?: number | undefined;
27
+ constructor(
28
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
29
+ );
30
+ }
31
+ export declare class ResourceNotFoundException extends __BaseException {
32
+ readonly name: "ResourceNotFoundException";
33
+ readonly $fault: "client";
34
+ code?: string | undefined;
35
+ resourceId?: string | undefined;
36
+ resourceType?: string | undefined;
37
+ constructor(
38
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
39
+ );
40
+ }
41
+ export declare class ServiceQuotaExceededException extends __BaseException {
42
+ readonly name: "ServiceQuotaExceededException";
43
+ readonly $fault: "client";
44
+ code?: string | undefined;
45
+ resourceId?: string | undefined;
46
+ resourceType?: string | undefined;
47
+ serviceCode?: string | undefined;
48
+ quotaCode?: string | undefined;
49
+ constructor(
50
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
51
+ );
52
+ }
53
+ export declare class ThrottlingException extends __BaseException {
54
+ readonly name: "ThrottlingException";
55
+ readonly $fault: "client";
56
+ serviceCode?: string | undefined;
57
+ quotaCode?: string | undefined;
58
+ retryAfterSeconds?: string | undefined;
59
+ constructor(
60
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
61
+ );
62
+ }
63
+ export declare class UninitializedAccountException extends __BaseException {
64
+ readonly name: "UninitializedAccountException";
65
+ readonly $fault: "client";
66
+ code?: string | undefined;
67
+ constructor(
68
+ opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>
69
+ );
70
+ }
71
+ export declare class ValidationException extends __BaseException {
72
+ readonly name: "ValidationException";
73
+ readonly $fault: "client";
74
+ code?: string | undefined;
75
+ reason?: ValidationExceptionReason | undefined;
76
+ fieldList?: ValidationExceptionField[] | undefined;
77
+ constructor(
78
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
79
+ );
80
+ }
@@ -1,13 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { DrsServiceException as __BaseException } from "./DrsServiceException";
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 interface Account {
12
2
  accountID?: string | undefined;
13
3
  }
@@ -144,62 +134,6 @@ export interface Job {
144
134
  export interface AssociateSourceNetworkStackResponse {
145
135
  job?: Job | undefined;
146
136
  }
147
- export declare class ConflictException extends __BaseException {
148
- readonly name: "ConflictException";
149
- readonly $fault: "client";
150
- code?: string | undefined;
151
- resourceId?: string | undefined;
152
- resourceType?: string | undefined;
153
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
154
- }
155
- export declare class InternalServerException extends __BaseException {
156
- readonly name: "InternalServerException";
157
- readonly $fault: "server";
158
- retryAfterSeconds?: number | undefined;
159
- constructor(
160
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
161
- );
162
- }
163
- export declare class ResourceNotFoundException extends __BaseException {
164
- readonly name: "ResourceNotFoundException";
165
- readonly $fault: "client";
166
- code?: string | undefined;
167
- resourceId?: string | undefined;
168
- resourceType?: string | undefined;
169
- constructor(
170
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
171
- );
172
- }
173
- export declare class ServiceQuotaExceededException extends __BaseException {
174
- readonly name: "ServiceQuotaExceededException";
175
- readonly $fault: "client";
176
- code?: string | undefined;
177
- resourceId?: string | undefined;
178
- resourceType?: string | undefined;
179
- serviceCode?: string | undefined;
180
- quotaCode?: string | undefined;
181
- constructor(
182
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
183
- );
184
- }
185
- export declare class ThrottlingException extends __BaseException {
186
- readonly name: "ThrottlingException";
187
- readonly $fault: "client";
188
- serviceCode?: string | undefined;
189
- quotaCode?: string | undefined;
190
- retryAfterSeconds?: string | undefined;
191
- constructor(
192
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
193
- );
194
- }
195
- export declare class UninitializedAccountException extends __BaseException {
196
- readonly name: "UninitializedAccountException";
197
- readonly $fault: "client";
198
- code?: string | undefined;
199
- constructor(
200
- opts: __ExceptionOptionType<UninitializedAccountException, __BaseException>
201
- );
202
- }
203
137
  export interface ValidationExceptionField {
204
138
  name?: string | undefined;
205
139
  message?: string | undefined;
@@ -212,16 +146,6 @@ export declare const ValidationExceptionReason: {
212
146
  };
213
147
  export type ValidationExceptionReason =
214
148
  (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
215
- export declare class ValidationException extends __BaseException {
216
- readonly name: "ValidationException";
217
- readonly $fault: "client";
218
- code?: string | undefined;
219
- reason?: ValidationExceptionReason | undefined;
220
- fieldList?: ValidationExceptionField[] | undefined;
221
- constructor(
222
- opts: __ExceptionOptionType<ValidationException, __BaseException>
223
- );
224
- }
225
149
  export declare const ProductCodeMode: {
226
150
  readonly DISABLED: "DISABLED";
227
151
  readonly ENABLED: "ENABLED";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-drs",
3
3
  "description": "AWS SDK for JavaScript Drs Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.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-drs",
@@ -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.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.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";