@aws-sdk/client-rds 3.52.0 → 3.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ActivityStreamMode, ActivityStreamStatus, AutomationMode, AvailabilityZone, Certificate, DBCluster, DBClusterSnapshotAttributesResult, DBInstance, DBInstanceAutomatedBackup, DBProxy, DBProxyEndpoint, DBProxyTargetGroup, DBSecurityGroup, DBSnapshot, DBSubnetGroup, EventSubscription, ExportTask, Filter, GlobalCluster, InstallationMedia, OptionGroup, OptionSetting, Parameter, ProcessorFeature, ReplicaMode, ResourcePendingMaintenanceActions, ScalingConfiguration, Tag, UserAuthConfig } from "./models_0";
3
+ import { RDSServiceException as __BaseException } from "./RDSServiceException";
3
4
  export declare enum TargetRole {
4
5
  READ_ONLY = "READ_ONLY",
5
6
  READ_WRITE = "READ_WRITE",
@@ -2212,10 +2213,13 @@ export declare namespace ReservedDBInstanceMessage {
2212
2213
  /**
2213
2214
  * <p>The specified reserved DB Instance not found.</p>
2214
2215
  */
2215
- export interface ReservedDBInstanceNotFoundFault extends __SmithyException, $MetadataBearer {
2216
- name: "ReservedDBInstanceNotFoundFault";
2217
- $fault: "client";
2218
- message?: string;
2216
+ export declare class ReservedDBInstanceNotFoundFault extends __BaseException {
2217
+ readonly name: "ReservedDBInstanceNotFoundFault";
2218
+ readonly $fault: "client";
2219
+ /**
2220
+ * @internal
2221
+ */
2222
+ constructor(opts: __ExceptionOptionType<ReservedDBInstanceNotFoundFault, __BaseException>);
2219
2223
  }
2220
2224
  /**
2221
2225
  * <p></p>
@@ -2366,10 +2370,13 @@ export declare namespace ReservedDBInstancesOfferingMessage {
2366
2370
  /**
2367
2371
  * <p>Specified offering does not exist.</p>
2368
2372
  */
2369
- export interface ReservedDBInstancesOfferingNotFoundFault extends __SmithyException, $MetadataBearer {
2370
- name: "ReservedDBInstancesOfferingNotFoundFault";
2371
- $fault: "client";
2372
- message?: string;
2373
+ export declare class ReservedDBInstancesOfferingNotFoundFault extends __BaseException {
2374
+ readonly name: "ReservedDBInstancesOfferingNotFoundFault";
2375
+ readonly $fault: "client";
2376
+ /**
2377
+ * @internal
2378
+ */
2379
+ constructor(opts: __ExceptionOptionType<ReservedDBInstancesOfferingNotFoundFault, __BaseException>);
2373
2380
  }
2374
2381
  /**
2375
2382
  * <p></p>
@@ -2617,10 +2624,13 @@ export declare namespace DescribeValidDBInstanceModificationsResult {
2617
2624
  * <p>
2618
2625
  * <code>LogFileName</code> doesn't refer to an existing DB log file.</p>
2619
2626
  */
2620
- export interface DBLogFileNotFoundFault extends __SmithyException, $MetadataBearer {
2621
- name: "DBLogFileNotFoundFault";
2622
- $fault: "client";
2623
- message?: string;
2627
+ export declare class DBLogFileNotFoundFault extends __BaseException {
2628
+ readonly name: "DBLogFileNotFoundFault";
2629
+ readonly $fault: "client";
2630
+ /**
2631
+ * @internal
2632
+ */
2633
+ constructor(opts: __ExceptionOptionType<DBLogFileNotFoundFault, __BaseException>);
2624
2634
  }
2625
2635
  /**
2626
2636
  * <p>This data type is used as a response element to <code>DownloadDBLogFilePortion</code>.</p>
@@ -2881,10 +2891,13 @@ export declare namespace ImportInstallationMediaMessage {
2881
2891
  /**
2882
2892
  * <p>The specified installation medium has already been imported.</p>
2883
2893
  */
2884
- export interface InstallationMediaAlreadyExistsFault extends __SmithyException, $MetadataBearer {
2885
- name: "InstallationMediaAlreadyExistsFault";
2886
- $fault: "client";
2887
- message?: string;
2894
+ export declare class InstallationMediaAlreadyExistsFault extends __BaseException {
2895
+ readonly name: "InstallationMediaAlreadyExistsFault";
2896
+ readonly $fault: "client";
2897
+ /**
2898
+ * @internal
2899
+ */
2900
+ constructor(opts: __ExceptionOptionType<InstallationMediaAlreadyExistsFault, __BaseException>);
2888
2901
  }
2889
2902
  /**
2890
2903
  * <p></p>
@@ -2991,10 +3004,13 @@ export declare namespace DBClusterCapacityInfo {
2991
3004
  * capacity. Valid capacity values are <code>2</code>, <code>4</code>, <code>8</code>, <code>16</code>,
2992
3005
  * <code>32</code>, <code>64</code>, <code>128</code>, and <code>256</code>.</p>
2993
3006
  */
2994
- export interface InvalidDBClusterCapacityFault extends __SmithyException, $MetadataBearer {
2995
- name: "InvalidDBClusterCapacityFault";
2996
- $fault: "client";
2997
- message?: string;
3007
+ export declare class InvalidDBClusterCapacityFault extends __BaseException {
3008
+ readonly name: "InvalidDBClusterCapacityFault";
3009
+ readonly $fault: "client";
3010
+ /**
3011
+ * @internal
3012
+ */
3013
+ constructor(opts: __ExceptionOptionType<InvalidDBClusterCapacityFault, __BaseException>);
2998
3014
  }
2999
3015
  export interface ModifyCurrentDBClusterCapacityMessage {
3000
3016
  /**
@@ -3662,19 +3678,25 @@ export declare namespace ModifyDBClusterSnapshotAttributeResult {
3662
3678
  /**
3663
3679
  * <p>You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.</p>
3664
3680
  */
3665
- export interface SharedSnapshotQuotaExceededFault extends __SmithyException, $MetadataBearer {
3666
- name: "SharedSnapshotQuotaExceededFault";
3667
- $fault: "client";
3668
- message?: string;
3681
+ export declare class SharedSnapshotQuotaExceededFault extends __BaseException {
3682
+ readonly name: "SharedSnapshotQuotaExceededFault";
3683
+ readonly $fault: "client";
3684
+ /**
3685
+ * @internal
3686
+ */
3687
+ constructor(opts: __ExceptionOptionType<SharedSnapshotQuotaExceededFault, __BaseException>);
3669
3688
  }
3670
3689
  /**
3671
3690
  * <p>The DB upgrade failed because a resource the DB depends on can't be
3672
3691
  * modified.</p>
3673
3692
  */
3674
- export interface DBUpgradeDependencyFailureFault extends __SmithyException, $MetadataBearer {
3675
- name: "DBUpgradeDependencyFailureFault";
3676
- $fault: "client";
3677
- message?: string;
3693
+ export declare class DBUpgradeDependencyFailureFault extends __BaseException {
3694
+ readonly name: "DBUpgradeDependencyFailureFault";
3695
+ readonly $fault: "client";
3696
+ /**
3697
+ * @internal
3698
+ */
3699
+ constructor(opts: __ExceptionOptionType<DBUpgradeDependencyFailureFault, __BaseException>);
3678
3700
  }
3679
3701
  /**
3680
3702
  * <p></p>
@@ -4829,10 +4851,13 @@ export declare namespace ModifyDBSubnetGroupResult {
4829
4851
  /**
4830
4852
  * <p>The DB subnet is already in use in the Availability Zone.</p>
4831
4853
  */
4832
- export interface SubnetAlreadyInUse extends __SmithyException, $MetadataBearer {
4833
- name: "SubnetAlreadyInUse";
4834
- $fault: "client";
4835
- message?: string;
4854
+ export declare class SubnetAlreadyInUse extends __BaseException {
4855
+ readonly name: "SubnetAlreadyInUse";
4856
+ readonly $fault: "client";
4857
+ /**
4858
+ * @internal
4859
+ */
4860
+ constructor(opts: __ExceptionOptionType<SubnetAlreadyInUse, __BaseException>);
4836
4861
  }
4837
4862
  /**
4838
4863
  * <p></p>
@@ -5244,18 +5269,24 @@ export declare namespace PurchaseReservedDBInstancesOfferingResult {
5244
5269
  /**
5245
5270
  * <p>User already has a reservation with the given identifier.</p>
5246
5271
  */
5247
- export interface ReservedDBInstanceAlreadyExistsFault extends __SmithyException, $MetadataBearer {
5248
- name: "ReservedDBInstanceAlreadyExistsFault";
5249
- $fault: "client";
5250
- message?: string;
5272
+ export declare class ReservedDBInstanceAlreadyExistsFault extends __BaseException {
5273
+ readonly name: "ReservedDBInstanceAlreadyExistsFault";
5274
+ readonly $fault: "client";
5275
+ /**
5276
+ * @internal
5277
+ */
5278
+ constructor(opts: __ExceptionOptionType<ReservedDBInstanceAlreadyExistsFault, __BaseException>);
5251
5279
  }
5252
5280
  /**
5253
5281
  * <p>Request would exceed the user's DB Instance quota.</p>
5254
5282
  */
5255
- export interface ReservedDBInstanceQuotaExceededFault extends __SmithyException, $MetadataBearer {
5256
- name: "ReservedDBInstanceQuotaExceededFault";
5257
- $fault: "client";
5258
- message?: string;
5283
+ export declare class ReservedDBInstanceQuotaExceededFault extends __BaseException {
5284
+ readonly name: "ReservedDBInstanceQuotaExceededFault";
5285
+ readonly $fault: "client";
5286
+ /**
5287
+ * @internal
5288
+ */
5289
+ constructor(opts: __ExceptionOptionType<ReservedDBInstanceQuotaExceededFault, __BaseException>);
5259
5290
  }
5260
5291
  export interface RebootDBClusterMessage {
5261
5292
  /**
@@ -5358,20 +5389,26 @@ export declare namespace RebootDBInstanceResult {
5358
5389
  /**
5359
5390
  * <p>The proxy is already associated with the specified RDS DB instance or Aurora DB cluster.</p>
5360
5391
  */
5361
- export interface DBProxyTargetAlreadyRegisteredFault extends __SmithyException, $MetadataBearer {
5362
- name: "DBProxyTargetAlreadyRegisteredFault";
5363
- $fault: "client";
5364
- message?: string;
5392
+ export declare class DBProxyTargetAlreadyRegisteredFault extends __BaseException {
5393
+ readonly name: "DBProxyTargetAlreadyRegisteredFault";
5394
+ readonly $fault: "client";
5395
+ /**
5396
+ * @internal
5397
+ */
5398
+ constructor(opts: __ExceptionOptionType<DBProxyTargetAlreadyRegisteredFault, __BaseException>);
5365
5399
  }
5366
5400
  /**
5367
5401
  * <p>The requested operation can't be performed because there aren't enough available IP addresses
5368
5402
  * in the proxy's subnets. Add more CIDR blocks to the VPC or remove IP address that aren't required
5369
5403
  * from the subnets.</p>
5370
5404
  */
5371
- export interface InsufficientAvailableIPsInSubnetFault extends __SmithyException, $MetadataBearer {
5372
- name: "InsufficientAvailableIPsInSubnetFault";
5373
- $fault: "client";
5374
- message?: string;
5405
+ export declare class InsufficientAvailableIPsInSubnetFault extends __BaseException {
5406
+ readonly name: "InsufficientAvailableIPsInSubnetFault";
5407
+ readonly $fault: "client";
5408
+ /**
5409
+ * @internal
5410
+ */
5411
+ constructor(opts: __ExceptionOptionType<InsufficientAvailableIPsInSubnetFault, __BaseException>);
5375
5412
  }
5376
5413
  export interface RegisterDBProxyTargetsRequest {
5377
5414
  /**
@@ -5444,10 +5481,13 @@ export declare namespace RemoveFromGlobalClusterResult {
5444
5481
  /**
5445
5482
  * <p>The specified IAM role Amazon Resource Name (ARN) isn't associated with the specified DB cluster.</p>
5446
5483
  */
5447
- export interface DBClusterRoleNotFoundFault extends __SmithyException, $MetadataBearer {
5448
- name: "DBClusterRoleNotFoundFault";
5449
- $fault: "client";
5450
- message?: string;
5484
+ export declare class DBClusterRoleNotFoundFault extends __BaseException {
5485
+ readonly name: "DBClusterRoleNotFoundFault";
5486
+ readonly $fault: "client";
5487
+ /**
5488
+ * @internal
5489
+ */
5490
+ constructor(opts: __ExceptionOptionType<DBClusterRoleNotFoundFault, __BaseException>);
5451
5491
  }
5452
5492
  export interface RemoveRoleFromDBClusterMessage {
5453
5493
  /**
@@ -5475,10 +5515,13 @@ export declare namespace RemoveRoleFromDBClusterMessage {
5475
5515
  * <p>The specified <code>RoleArn</code> value doesn't match the specified feature for
5476
5516
  * the DB instance.</p>
5477
5517
  */
5478
- export interface DBInstanceRoleNotFoundFault extends __SmithyException, $MetadataBearer {
5479
- name: "DBInstanceRoleNotFoundFault";
5480
- $fault: "client";
5481
- message?: string;
5518
+ export declare class DBInstanceRoleNotFoundFault extends __BaseException {
5519
+ readonly name: "DBInstanceRoleNotFoundFault";
5520
+ readonly $fault: "client";
5521
+ /**
5522
+ * @internal
5523
+ */
5524
+ constructor(opts: __ExceptionOptionType<DBInstanceRoleNotFoundFault, __BaseException>);
5482
5525
  }
5483
5526
  export interface RemoveRoleFromDBInstanceMessage {
5484
5527
  /**
@@ -5647,10 +5690,13 @@ export declare namespace ResetDBParameterGroupMessage {
5647
5690
  * <p>The specified Amazon S3 bucket name can't be found or Amazon RDS isn't
5648
5691
  * authorized to access the specified Amazon S3 bucket. Verify the <b>SourceS3BucketName</b> and <b>S3IngestionRoleArn</b> values and try again.</p>
5649
5692
  */
5650
- export interface InvalidS3BucketFault extends __SmithyException, $MetadataBearer {
5651
- name: "InvalidS3BucketFault";
5652
- $fault: "client";
5653
- message?: string;
5693
+ export declare class InvalidS3BucketFault extends __BaseException {
5694
+ readonly name: "InvalidS3BucketFault";
5695
+ readonly $fault: "client";
5696
+ /**
5697
+ * @internal
5698
+ */
5699
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketFault, __BaseException>);
5654
5700
  }
5655
5701
  export interface RestoreDBClusterFromS3Message {
5656
5702
  /**
@@ -5978,18 +6024,24 @@ export declare namespace RestoreDBClusterFromS3Result {
5978
6024
  /**
5979
6025
  * <p>The DB cluster doesn't have enough capacity for the current operation.</p>
5980
6026
  */
5981
- export interface InsufficientDBClusterCapacityFault extends __SmithyException, $MetadataBearer {
5982
- name: "InsufficientDBClusterCapacityFault";
5983
- $fault: "client";
5984
- message?: string;
6027
+ export declare class InsufficientDBClusterCapacityFault extends __BaseException {
6028
+ readonly name: "InsufficientDBClusterCapacityFault";
6029
+ readonly $fault: "client";
6030
+ /**
6031
+ * @internal
6032
+ */
6033
+ constructor(opts: __ExceptionOptionType<InsufficientDBClusterCapacityFault, __BaseException>);
5985
6034
  }
5986
6035
  /**
5987
6036
  * <p>Cannot restore from VPC backup to non-VPC DB instance.</p>
5988
6037
  */
5989
- export interface InvalidRestoreFault extends __SmithyException, $MetadataBearer {
5990
- name: "InvalidRestoreFault";
5991
- $fault: "client";
5992
- message?: string;
6038
+ export declare class InvalidRestoreFault extends __BaseException {
6039
+ readonly name: "InvalidRestoreFault";
6040
+ readonly $fault: "client";
6041
+ /**
6042
+ * @internal
6043
+ */
6044
+ constructor(opts: __ExceptionOptionType<InvalidRestoreFault, __BaseException>);
5993
6045
  }
5994
6046
  /**
5995
6047
  * <p></p>
@@ -7509,10 +7561,13 @@ export declare namespace RestoreDBInstanceFromS3Result {
7509
7561
  * <code>BackupRetentionPeriod</code> equal to 0.
7510
7562
  * </p>
7511
7563
  */
7512
- export interface PointInTimeRestoreNotEnabledFault extends __SmithyException, $MetadataBearer {
7513
- name: "PointInTimeRestoreNotEnabledFault";
7514
- $fault: "client";
7515
- message?: string;
7564
+ export declare class PointInTimeRestoreNotEnabledFault extends __BaseException {
7565
+ readonly name: "PointInTimeRestoreNotEnabledFault";
7566
+ readonly $fault: "client";
7567
+ /**
7568
+ * @internal
7569
+ */
7570
+ constructor(opts: __ExceptionOptionType<PointInTimeRestoreNotEnabledFault, __BaseException>);
7516
7571
  }
7517
7572
  /**
7518
7573
  * <p></p>
@@ -8188,42 +8243,57 @@ export declare namespace StartDBInstanceAutomatedBackupsReplicationResult {
8188
8243
  /**
8189
8244
  * <p>You can't start an export task that's already running.</p>
8190
8245
  */
8191
- export interface ExportTaskAlreadyExistsFault extends __SmithyException, $MetadataBearer {
8192
- name: "ExportTaskAlreadyExistsFault";
8193
- $fault: "client";
8194
- message?: string;
8246
+ export declare class ExportTaskAlreadyExistsFault extends __BaseException {
8247
+ readonly name: "ExportTaskAlreadyExistsFault";
8248
+ readonly $fault: "client";
8249
+ /**
8250
+ * @internal
8251
+ */
8252
+ constructor(opts: __ExceptionOptionType<ExportTaskAlreadyExistsFault, __BaseException>);
8195
8253
  }
8196
8254
  /**
8197
8255
  * <p>The IAM role requires additional permissions to export to an Amazon S3 bucket.</p>
8198
8256
  */
8199
- export interface IamRoleMissingPermissionsFault extends __SmithyException, $MetadataBearer {
8200
- name: "IamRoleMissingPermissionsFault";
8201
- $fault: "client";
8202
- message?: string;
8257
+ export declare class IamRoleMissingPermissionsFault extends __BaseException {
8258
+ readonly name: "IamRoleMissingPermissionsFault";
8259
+ readonly $fault: "client";
8260
+ /**
8261
+ * @internal
8262
+ */
8263
+ constructor(opts: __ExceptionOptionType<IamRoleMissingPermissionsFault, __BaseException>);
8203
8264
  }
8204
8265
  /**
8205
8266
  * <p>The IAM role is missing for exporting to an Amazon S3 bucket.</p>
8206
8267
  */
8207
- export interface IamRoleNotFoundFault extends __SmithyException, $MetadataBearer {
8208
- name: "IamRoleNotFoundFault";
8209
- $fault: "client";
8210
- message?: string;
8268
+ export declare class IamRoleNotFoundFault extends __BaseException {
8269
+ readonly name: "IamRoleNotFoundFault";
8270
+ readonly $fault: "client";
8271
+ /**
8272
+ * @internal
8273
+ */
8274
+ constructor(opts: __ExceptionOptionType<IamRoleNotFoundFault, __BaseException>);
8211
8275
  }
8212
8276
  /**
8213
8277
  * <p>The export is invalid for exporting to an Amazon S3 bucket.</p>
8214
8278
  */
8215
- export interface InvalidExportOnlyFault extends __SmithyException, $MetadataBearer {
8216
- name: "InvalidExportOnlyFault";
8217
- $fault: "client";
8218
- message?: string;
8279
+ export declare class InvalidExportOnlyFault extends __BaseException {
8280
+ readonly name: "InvalidExportOnlyFault";
8281
+ readonly $fault: "client";
8282
+ /**
8283
+ * @internal
8284
+ */
8285
+ constructor(opts: __ExceptionOptionType<InvalidExportOnlyFault, __BaseException>);
8219
8286
  }
8220
8287
  /**
8221
8288
  * <p>The state of the export snapshot is invalid for exporting to an Amazon S3 bucket.</p>
8222
8289
  */
8223
- export interface InvalidExportSourceStateFault extends __SmithyException, $MetadataBearer {
8224
- name: "InvalidExportSourceStateFault";
8225
- $fault: "client";
8226
- message?: string;
8290
+ export declare class InvalidExportSourceStateFault extends __BaseException {
8291
+ readonly name: "InvalidExportSourceStateFault";
8292
+ readonly $fault: "client";
8293
+ /**
8294
+ * @internal
8295
+ */
8296
+ constructor(opts: __ExceptionOptionType<InvalidExportSourceStateFault, __BaseException>);
8227
8297
  }
8228
8298
  export interface StartExportTaskMessage {
8229
8299
  /**
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { RDSServiceException } from "./models/RDSServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class RDSServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }