@aws-sdk/client-rds 3.52.0 → 3.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/RDSServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +1281 -4
  5. package/dist-cjs/models/models_1.js +303 -3
  6. package/dist-cjs/protocols/Aws_query.js +1471 -5261
  7. package/dist-es/index.js +1 -0
  8. package/dist-es/models/RDSServiceException.js +12 -0
  9. package/dist-es/models/models_0.js +1178 -1
  10. package/dist-es/models/models_1.js +278 -1
  11. package/dist-es/protocols/Aws_query.js +3105 -5521
  12. package/dist-types/RDS.d.ts +1 -56
  13. package/dist-types/RDSClient.d.ts +2 -2
  14. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +0 -3
  15. package/dist-types/commands/CreateDBClusterCommand.d.ts +0 -3
  16. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +0 -3
  17. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +0 -3
  18. package/dist-types/commands/DeleteDBClusterCommand.d.ts +0 -3
  19. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +0 -3
  20. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +0 -3
  21. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +0 -3
  22. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +0 -3
  23. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +0 -3
  24. package/dist-types/commands/DescribeDBClustersCommand.d.ts +0 -3
  25. package/dist-types/commands/FailoverDBClusterCommand.d.ts +0 -3
  26. package/dist-types/commands/ModifyDBClusterCommand.d.ts +0 -3
  27. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +0 -3
  28. package/dist-types/commands/RebootDBClusterCommand.d.ts +1 -2
  29. package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +0 -3
  30. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +0 -3
  31. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +0 -3
  32. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +0 -3
  33. package/dist-types/index.d.ts +1 -0
  34. package/dist-types/models/RDSServiceException.d.ts +10 -0
  35. package/dist-types/models/models_0.d.ts +702 -406
  36. package/dist-types/models/models_1.d.ts +238 -133
  37. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  38. package/dist-types/runtimeConfig.d.ts +1 -1
  39. package/dist-types/runtimeConfig.native.d.ts +1 -1
  40. package/dist-types/ts3.4/RDSClient.d.ts +2 -2
  41. package/dist-types/ts3.4/index.d.ts +1 -0
  42. package/dist-types/ts3.4/models/RDSServiceException.d.ts +6 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +492 -393
  44. package/dist-types/ts3.4/models/models_1.d.ts +117 -93
  45. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  46. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  47. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  48. package/package.json +29 -29
@@ -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",
@@ -1885,7 +1886,6 @@ export interface OrderableDBInstanceOption {
1885
1886
  SupportsGlobalDatabases?: boolean;
1886
1887
  /**
1887
1888
  * <p>Whether DB instances can be configured as a Multi-AZ DB cluster.</p>
1888
- * <p>The Multi-AZ DB clusters feature is in preview and is subject to change.</p>
1889
1889
  * <p>For more information on Multi-AZ DB clusters, see
1890
1890
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">
1891
1891
  * Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i>
@@ -2212,10 +2212,13 @@ export declare namespace ReservedDBInstanceMessage {
2212
2212
  /**
2213
2213
  * <p>The specified reserved DB Instance not found.</p>
2214
2214
  */
2215
- export interface ReservedDBInstanceNotFoundFault extends __SmithyException, $MetadataBearer {
2216
- name: "ReservedDBInstanceNotFoundFault";
2217
- $fault: "client";
2218
- message?: string;
2215
+ export declare class ReservedDBInstanceNotFoundFault extends __BaseException {
2216
+ readonly name: "ReservedDBInstanceNotFoundFault";
2217
+ readonly $fault: "client";
2218
+ /**
2219
+ * @internal
2220
+ */
2221
+ constructor(opts: __ExceptionOptionType<ReservedDBInstanceNotFoundFault, __BaseException>);
2219
2222
  }
2220
2223
  /**
2221
2224
  * <p></p>
@@ -2366,10 +2369,13 @@ export declare namespace ReservedDBInstancesOfferingMessage {
2366
2369
  /**
2367
2370
  * <p>Specified offering does not exist.</p>
2368
2371
  */
2369
- export interface ReservedDBInstancesOfferingNotFoundFault extends __SmithyException, $MetadataBearer {
2370
- name: "ReservedDBInstancesOfferingNotFoundFault";
2371
- $fault: "client";
2372
- message?: string;
2372
+ export declare class ReservedDBInstancesOfferingNotFoundFault extends __BaseException {
2373
+ readonly name: "ReservedDBInstancesOfferingNotFoundFault";
2374
+ readonly $fault: "client";
2375
+ /**
2376
+ * @internal
2377
+ */
2378
+ constructor(opts: __ExceptionOptionType<ReservedDBInstancesOfferingNotFoundFault, __BaseException>);
2373
2379
  }
2374
2380
  /**
2375
2381
  * <p></p>
@@ -2617,10 +2623,13 @@ export declare namespace DescribeValidDBInstanceModificationsResult {
2617
2623
  * <p>
2618
2624
  * <code>LogFileName</code> doesn't refer to an existing DB log file.</p>
2619
2625
  */
2620
- export interface DBLogFileNotFoundFault extends __SmithyException, $MetadataBearer {
2621
- name: "DBLogFileNotFoundFault";
2622
- $fault: "client";
2623
- message?: string;
2626
+ export declare class DBLogFileNotFoundFault extends __BaseException {
2627
+ readonly name: "DBLogFileNotFoundFault";
2628
+ readonly $fault: "client";
2629
+ /**
2630
+ * @internal
2631
+ */
2632
+ constructor(opts: __ExceptionOptionType<DBLogFileNotFoundFault, __BaseException>);
2624
2633
  }
2625
2634
  /**
2626
2635
  * <p>This data type is used as a response element to <code>DownloadDBLogFilePortion</code>.</p>
@@ -2751,9 +2760,6 @@ export interface FailoverDBClusterResult {
2751
2760
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">
2752
2761
  * Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i>
2753
2762
  * </p>
2754
- * <note>
2755
- * <p>The Multi-AZ DB clusters feature is in preview and is subject to change.</p>
2756
- * </note>
2757
2763
  */
2758
2764
  DBCluster?: DBCluster;
2759
2765
  }
@@ -2881,10 +2887,13 @@ export declare namespace ImportInstallationMediaMessage {
2881
2887
  /**
2882
2888
  * <p>The specified installation medium has already been imported.</p>
2883
2889
  */
2884
- export interface InstallationMediaAlreadyExistsFault extends __SmithyException, $MetadataBearer {
2885
- name: "InstallationMediaAlreadyExistsFault";
2886
- $fault: "client";
2887
- message?: string;
2890
+ export declare class InstallationMediaAlreadyExistsFault extends __BaseException {
2891
+ readonly name: "InstallationMediaAlreadyExistsFault";
2892
+ readonly $fault: "client";
2893
+ /**
2894
+ * @internal
2895
+ */
2896
+ constructor(opts: __ExceptionOptionType<InstallationMediaAlreadyExistsFault, __BaseException>);
2888
2897
  }
2889
2898
  /**
2890
2899
  * <p></p>
@@ -2991,10 +3000,13 @@ export declare namespace DBClusterCapacityInfo {
2991
3000
  * capacity. Valid capacity values are <code>2</code>, <code>4</code>, <code>8</code>, <code>16</code>,
2992
3001
  * <code>32</code>, <code>64</code>, <code>128</code>, and <code>256</code>.</p>
2993
3002
  */
2994
- export interface InvalidDBClusterCapacityFault extends __SmithyException, $MetadataBearer {
2995
- name: "InvalidDBClusterCapacityFault";
2996
- $fault: "client";
2997
- message?: string;
3003
+ export declare class InvalidDBClusterCapacityFault extends __BaseException {
3004
+ readonly name: "InvalidDBClusterCapacityFault";
3005
+ readonly $fault: "client";
3006
+ /**
3007
+ * @internal
3008
+ */
3009
+ constructor(opts: __ExceptionOptionType<InvalidDBClusterCapacityFault, __BaseException>);
2998
3010
  }
2999
3011
  export interface ModifyCurrentDBClusterCapacityMessage {
3000
3012
  /**
@@ -3272,8 +3284,28 @@ export interface ModifyDBClusterMessage {
3272
3284
  */
3273
3285
  BacktrackWindow?: number;
3274
3286
  /**
3275
- * <p>The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB cluster.</p>
3276
- * <p>Valid for: Aurora DB clusters only</p>
3287
+ * <p>The configuration setting for the log types to be enabled for export to CloudWatch Logs for a specific DB cluster. The values
3288
+ * in the list depend on the DB engine being used.</p>
3289
+ * <p>
3290
+ * <b>RDS for MySQL</b>
3291
+ * </p>
3292
+ * <p>Possible values are <code>error</code>, <code>general</code>, and <code>slowquery</code>.</p>
3293
+ * <p>
3294
+ * <b>RDS for PostgreSQL</b>
3295
+ * </p>
3296
+ * <p>Possible values are <code>postgresql</code> and <code>upgrade</code>.</p>
3297
+ * <p>
3298
+ * <b>Aurora MySQL</b>
3299
+ * </p>
3300
+ * <p>Possible values are <code>audit</code>, <code>error</code>, <code>general</code>, and <code>slowquery</code>.</p>
3301
+ * <p>
3302
+ * <b>Aurora PostgreSQL</b>
3303
+ * </p>
3304
+ * <p>Possible value is <code>postgresql</code>.</p>
3305
+ * <p>For more information about exporting CloudWatch Logs for Amazon RDS, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Relational Database
3306
+ * Service User Guide</i>.</p>
3307
+ * <p>For more information about exporting CloudWatch Logs for Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User Guide</i>.</p>
3308
+ * <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
3277
3309
  */
3278
3310
  CloudwatchLogsExportConfiguration?: CloudwatchLogsExportConfiguration;
3279
3311
  /**
@@ -3374,7 +3406,7 @@ export interface ModifyDBClusterMessage {
3374
3406
  /**
3375
3407
  * <p>A value that indicates whether to copy all tags from the DB cluster to snapshots of the DB cluster.
3376
3408
  * The default is not to copy them.</p>
3377
- * <p>Valid for: Aurora DB clusters only</p>
3409
+ * <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
3378
3410
  */
3379
3411
  CopyTagsToSnapshot?: boolean;
3380
3412
  /**
@@ -3502,9 +3534,6 @@ export interface ModifyDBClusterResult {
3502
3534
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">
3503
3535
  * Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i>
3504
3536
  * </p>
3505
- * <note>
3506
- * <p>The Multi-AZ DB clusters feature is in preview and is subject to change.</p>
3507
- * </note>
3508
3537
  */
3509
3538
  DBCluster?: DBCluster;
3510
3539
  }
@@ -3662,19 +3691,25 @@ export declare namespace ModifyDBClusterSnapshotAttributeResult {
3662
3691
  /**
3663
3692
  * <p>You have exceeded the maximum number of accounts that you can share a manual DB snapshot with.</p>
3664
3693
  */
3665
- export interface SharedSnapshotQuotaExceededFault extends __SmithyException, $MetadataBearer {
3666
- name: "SharedSnapshotQuotaExceededFault";
3667
- $fault: "client";
3668
- message?: string;
3694
+ export declare class SharedSnapshotQuotaExceededFault extends __BaseException {
3695
+ readonly name: "SharedSnapshotQuotaExceededFault";
3696
+ readonly $fault: "client";
3697
+ /**
3698
+ * @internal
3699
+ */
3700
+ constructor(opts: __ExceptionOptionType<SharedSnapshotQuotaExceededFault, __BaseException>);
3669
3701
  }
3670
3702
  /**
3671
3703
  * <p>The DB upgrade failed because a resource the DB depends on can't be
3672
3704
  * modified.</p>
3673
3705
  */
3674
- export interface DBUpgradeDependencyFailureFault extends __SmithyException, $MetadataBearer {
3675
- name: "DBUpgradeDependencyFailureFault";
3676
- $fault: "client";
3677
- message?: string;
3706
+ export declare class DBUpgradeDependencyFailureFault extends __BaseException {
3707
+ readonly name: "DBUpgradeDependencyFailureFault";
3708
+ readonly $fault: "client";
3709
+ /**
3710
+ * @internal
3711
+ */
3712
+ constructor(opts: __ExceptionOptionType<DBUpgradeDependencyFailureFault, __BaseException>);
3678
3713
  }
3679
3714
  /**
3680
3715
  * <p></p>
@@ -4829,10 +4864,13 @@ export declare namespace ModifyDBSubnetGroupResult {
4829
4864
  /**
4830
4865
  * <p>The DB subnet is already in use in the Availability Zone.</p>
4831
4866
  */
4832
- export interface SubnetAlreadyInUse extends __SmithyException, $MetadataBearer {
4833
- name: "SubnetAlreadyInUse";
4834
- $fault: "client";
4835
- message?: string;
4867
+ export declare class SubnetAlreadyInUse extends __BaseException {
4868
+ readonly name: "SubnetAlreadyInUse";
4869
+ readonly $fault: "client";
4870
+ /**
4871
+ * @internal
4872
+ */
4873
+ constructor(opts: __ExceptionOptionType<SubnetAlreadyInUse, __BaseException>);
4836
4874
  }
4837
4875
  /**
4838
4876
  * <p></p>
@@ -5180,9 +5218,6 @@ export interface PromoteReadReplicaDBClusterResult {
5180
5218
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">
5181
5219
  * Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i>
5182
5220
  * </p>
5183
- * <note>
5184
- * <p>The Multi-AZ DB clusters feature is in preview and is subject to change.</p>
5185
- * </note>
5186
5221
  */
5187
5222
  DBCluster?: DBCluster;
5188
5223
  }
@@ -5244,18 +5279,24 @@ export declare namespace PurchaseReservedDBInstancesOfferingResult {
5244
5279
  /**
5245
5280
  * <p>User already has a reservation with the given identifier.</p>
5246
5281
  */
5247
- export interface ReservedDBInstanceAlreadyExistsFault extends __SmithyException, $MetadataBearer {
5248
- name: "ReservedDBInstanceAlreadyExistsFault";
5249
- $fault: "client";
5250
- message?: string;
5282
+ export declare class ReservedDBInstanceAlreadyExistsFault extends __BaseException {
5283
+ readonly name: "ReservedDBInstanceAlreadyExistsFault";
5284
+ readonly $fault: "client";
5285
+ /**
5286
+ * @internal
5287
+ */
5288
+ constructor(opts: __ExceptionOptionType<ReservedDBInstanceAlreadyExistsFault, __BaseException>);
5251
5289
  }
5252
5290
  /**
5253
5291
  * <p>Request would exceed the user's DB Instance quota.</p>
5254
5292
  */
5255
- export interface ReservedDBInstanceQuotaExceededFault extends __SmithyException, $MetadataBearer {
5256
- name: "ReservedDBInstanceQuotaExceededFault";
5257
- $fault: "client";
5258
- message?: string;
5293
+ export declare class ReservedDBInstanceQuotaExceededFault extends __BaseException {
5294
+ readonly name: "ReservedDBInstanceQuotaExceededFault";
5295
+ readonly $fault: "client";
5296
+ /**
5297
+ * @internal
5298
+ */
5299
+ constructor(opts: __ExceptionOptionType<ReservedDBInstanceQuotaExceededFault, __BaseException>);
5259
5300
  }
5260
5301
  export interface RebootDBClusterMessage {
5261
5302
  /**
@@ -5296,9 +5337,6 @@ export interface RebootDBClusterResult {
5296
5337
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">
5297
5338
  * Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i>
5298
5339
  * </p>
5299
- * <note>
5300
- * <p>The Multi-AZ DB clusters feature is in preview and is subject to change.</p>
5301
- * </note>
5302
5340
  */
5303
5341
  DBCluster?: DBCluster;
5304
5342
  }
@@ -5358,20 +5396,26 @@ export declare namespace RebootDBInstanceResult {
5358
5396
  /**
5359
5397
  * <p>The proxy is already associated with the specified RDS DB instance or Aurora DB cluster.</p>
5360
5398
  */
5361
- export interface DBProxyTargetAlreadyRegisteredFault extends __SmithyException, $MetadataBearer {
5362
- name: "DBProxyTargetAlreadyRegisteredFault";
5363
- $fault: "client";
5364
- message?: string;
5399
+ export declare class DBProxyTargetAlreadyRegisteredFault extends __BaseException {
5400
+ readonly name: "DBProxyTargetAlreadyRegisteredFault";
5401
+ readonly $fault: "client";
5402
+ /**
5403
+ * @internal
5404
+ */
5405
+ constructor(opts: __ExceptionOptionType<DBProxyTargetAlreadyRegisteredFault, __BaseException>);
5365
5406
  }
5366
5407
  /**
5367
5408
  * <p>The requested operation can't be performed because there aren't enough available IP addresses
5368
5409
  * in the proxy's subnets. Add more CIDR blocks to the VPC or remove IP address that aren't required
5369
5410
  * from the subnets.</p>
5370
5411
  */
5371
- export interface InsufficientAvailableIPsInSubnetFault extends __SmithyException, $MetadataBearer {
5372
- name: "InsufficientAvailableIPsInSubnetFault";
5373
- $fault: "client";
5374
- message?: string;
5412
+ export declare class InsufficientAvailableIPsInSubnetFault extends __BaseException {
5413
+ readonly name: "InsufficientAvailableIPsInSubnetFault";
5414
+ readonly $fault: "client";
5415
+ /**
5416
+ * @internal
5417
+ */
5418
+ constructor(opts: __ExceptionOptionType<InsufficientAvailableIPsInSubnetFault, __BaseException>);
5375
5419
  }
5376
5420
  export interface RegisterDBProxyTargetsRequest {
5377
5421
  /**
@@ -5444,10 +5488,13 @@ export declare namespace RemoveFromGlobalClusterResult {
5444
5488
  /**
5445
5489
  * <p>The specified IAM role Amazon Resource Name (ARN) isn't associated with the specified DB cluster.</p>
5446
5490
  */
5447
- export interface DBClusterRoleNotFoundFault extends __SmithyException, $MetadataBearer {
5448
- name: "DBClusterRoleNotFoundFault";
5449
- $fault: "client";
5450
- message?: string;
5491
+ export declare class DBClusterRoleNotFoundFault extends __BaseException {
5492
+ readonly name: "DBClusterRoleNotFoundFault";
5493
+ readonly $fault: "client";
5494
+ /**
5495
+ * @internal
5496
+ */
5497
+ constructor(opts: __ExceptionOptionType<DBClusterRoleNotFoundFault, __BaseException>);
5451
5498
  }
5452
5499
  export interface RemoveRoleFromDBClusterMessage {
5453
5500
  /**
@@ -5475,10 +5522,13 @@ export declare namespace RemoveRoleFromDBClusterMessage {
5475
5522
  * <p>The specified <code>RoleArn</code> value doesn't match the specified feature for
5476
5523
  * the DB instance.</p>
5477
5524
  */
5478
- export interface DBInstanceRoleNotFoundFault extends __SmithyException, $MetadataBearer {
5479
- name: "DBInstanceRoleNotFoundFault";
5480
- $fault: "client";
5481
- message?: string;
5525
+ export declare class DBInstanceRoleNotFoundFault extends __BaseException {
5526
+ readonly name: "DBInstanceRoleNotFoundFault";
5527
+ readonly $fault: "client";
5528
+ /**
5529
+ * @internal
5530
+ */
5531
+ constructor(opts: __ExceptionOptionType<DBInstanceRoleNotFoundFault, __BaseException>);
5482
5532
  }
5483
5533
  export interface RemoveRoleFromDBInstanceMessage {
5484
5534
  /**
@@ -5647,10 +5697,13 @@ export declare namespace ResetDBParameterGroupMessage {
5647
5697
  * <p>The specified Amazon S3 bucket name can't be found or Amazon RDS isn't
5648
5698
  * authorized to access the specified Amazon S3 bucket. Verify the <b>SourceS3BucketName</b> and <b>S3IngestionRoleArn</b> values and try again.</p>
5649
5699
  */
5650
- export interface InvalidS3BucketFault extends __SmithyException, $MetadataBearer {
5651
- name: "InvalidS3BucketFault";
5652
- $fault: "client";
5653
- message?: string;
5700
+ export declare class InvalidS3BucketFault extends __BaseException {
5701
+ readonly name: "InvalidS3BucketFault";
5702
+ readonly $fault: "client";
5703
+ /**
5704
+ * @internal
5705
+ */
5706
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketFault, __BaseException>);
5654
5707
  }
5655
5708
  export interface RestoreDBClusterFromS3Message {
5656
5709
  /**
@@ -5905,8 +5958,16 @@ export interface RestoreDBClusterFromS3Message {
5905
5958
  BacktrackWindow?: number;
5906
5959
  /**
5907
5960
  * <p>The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values
5908
- * in the list depend on the DB engine being used. For more information, see
5909
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User Guide</i>.</p>
5961
+ * in the list depend on the DB engine being used.</p>
5962
+ * <p>
5963
+ * <b>Aurora MySQL</b>
5964
+ * </p>
5965
+ * <p>Possible values are <code>audit</code>, <code>error</code>, <code>general</code>, and <code>slowquery</code>.</p>
5966
+ * <p>
5967
+ * <b>Aurora PostgreSQL</b>
5968
+ * </p>
5969
+ * <p>Possible value is <code>postgresql</code>.</p>
5970
+ * <p>For more information about exporting CloudWatch Logs for Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User Guide</i>.</p>
5910
5971
  */
5911
5972
  EnableCloudwatchLogsExports?: string[];
5912
5973
  /**
@@ -5963,9 +6024,6 @@ export interface RestoreDBClusterFromS3Result {
5963
6024
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">
5964
6025
  * Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i>
5965
6026
  * </p>
5966
- * <note>
5967
- * <p>The Multi-AZ DB clusters feature is in preview and is subject to change.</p>
5968
- * </note>
5969
6027
  */
5970
6028
  DBCluster?: DBCluster;
5971
6029
  }
@@ -5978,18 +6036,24 @@ export declare namespace RestoreDBClusterFromS3Result {
5978
6036
  /**
5979
6037
  * <p>The DB cluster doesn't have enough capacity for the current operation.</p>
5980
6038
  */
5981
- export interface InsufficientDBClusterCapacityFault extends __SmithyException, $MetadataBearer {
5982
- name: "InsufficientDBClusterCapacityFault";
5983
- $fault: "client";
5984
- message?: string;
6039
+ export declare class InsufficientDBClusterCapacityFault extends __BaseException {
6040
+ readonly name: "InsufficientDBClusterCapacityFault";
6041
+ readonly $fault: "client";
6042
+ /**
6043
+ * @internal
6044
+ */
6045
+ constructor(opts: __ExceptionOptionType<InsufficientDBClusterCapacityFault, __BaseException>);
5985
6046
  }
5986
6047
  /**
5987
6048
  * <p>Cannot restore from VPC backup to non-VPC DB instance.</p>
5988
6049
  */
5989
- export interface InvalidRestoreFault extends __SmithyException, $MetadataBearer {
5990
- name: "InvalidRestoreFault";
5991
- $fault: "client";
5992
- message?: string;
6050
+ export declare class InvalidRestoreFault extends __BaseException {
6051
+ readonly name: "InvalidRestoreFault";
6052
+ readonly $fault: "client";
6053
+ /**
6054
+ * @internal
6055
+ */
6056
+ constructor(opts: __ExceptionOptionType<InvalidRestoreFault, __BaseException>);
5993
6057
  }
5994
6058
  /**
5995
6059
  * <p></p>
@@ -6179,9 +6243,26 @@ export interface RestoreDBClusterFromSnapshotMessage {
6179
6243
  /**
6180
6244
  * <p>The list of logs that the restored DB cluster is to export to Amazon CloudWatch Logs.
6181
6245
  * The values in the list depend on the DB engine being used.</p>
6182
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing Database Logs to Amazon CloudWatch Logs </a> in the <i>Amazon
6183
- * Aurora User Guide</i>.</p>
6184
- * <p>Valid for: Aurora DB clusters only</p>
6246
+ * <p>
6247
+ * <b>RDS for MySQL</b>
6248
+ * </p>
6249
+ * <p>Possible values are <code>error</code>, <code>general</code>, and <code>slowquery</code>.</p>
6250
+ * <p>
6251
+ * <b>RDS for PostgreSQL</b>
6252
+ * </p>
6253
+ * <p>Possible values are <code>postgresql</code> and <code>upgrade</code>.</p>
6254
+ * <p>
6255
+ * <b>Aurora MySQL</b>
6256
+ * </p>
6257
+ * <p>Possible values are <code>audit</code>, <code>error</code>, <code>general</code>, and <code>slowquery</code>.</p>
6258
+ * <p>
6259
+ * <b>Aurora PostgreSQL</b>
6260
+ * </p>
6261
+ * <p>Possible value is <code>postgresql</code>.</p>
6262
+ * <p>For more information about exporting CloudWatch Logs for Amazon RDS, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Relational Database
6263
+ * Service User Guide</i>.</p>
6264
+ * <p>For more information about exporting CloudWatch Logs for Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User Guide</i>.</p>
6265
+ * <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
6185
6266
  */
6186
6267
  EnableCloudwatchLogsExports?: string[];
6187
6268
  /**
@@ -6228,7 +6309,7 @@ export interface RestoreDBClusterFromSnapshotMessage {
6228
6309
  DeletionProtection?: boolean;
6229
6310
  /**
6230
6311
  * <p>A value that indicates whether to copy all tags from the restored DB cluster to snapshots of the restored DB cluster. The default is not to copy them.</p>
6231
- * <p>Valid for: Aurora DB clusters only</p>
6312
+ * <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
6232
6313
  */
6233
6314
  CopyTagsToSnapshot?: boolean;
6234
6315
  /**
@@ -6334,9 +6415,6 @@ export interface RestoreDBClusterFromSnapshotResult {
6334
6415
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">
6335
6416
  * Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i>
6336
6417
  * </p>
6337
- * <note>
6338
- * <p>The Multi-AZ DB clusters feature is in preview and is subject to change.</p>
6339
- * </note>
6340
6418
  */
6341
6419
  DBCluster?: DBCluster;
6342
6420
  }
@@ -6511,8 +6589,26 @@ export interface RestoreDBClusterToPointInTimeMessage {
6511
6589
  /**
6512
6590
  * <p>The list of logs that the restored DB cluster is to export to CloudWatch Logs. The values
6513
6591
  * in the list depend on the DB engine being used.</p>
6514
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User Guide</i>.</p>
6515
- * <p>Valid for: Aurora DB clusters only</p>
6592
+ * <p>
6593
+ * <b>RDS for MySQL</b>
6594
+ * </p>
6595
+ * <p>Possible values are <code>error</code>, <code>general</code>, and <code>slowquery</code>.</p>
6596
+ * <p>
6597
+ * <b>RDS for PostgreSQL</b>
6598
+ * </p>
6599
+ * <p>Possible values are <code>postgresql</code> and <code>upgrade</code>.</p>
6600
+ * <p>
6601
+ * <b>Aurora MySQL</b>
6602
+ * </p>
6603
+ * <p>Possible values are <code>audit</code>, <code>error</code>, <code>general</code>, and <code>slowquery</code>.</p>
6604
+ * <p>
6605
+ * <b>Aurora PostgreSQL</b>
6606
+ * </p>
6607
+ * <p>Possible value is <code>postgresql</code>.</p>
6608
+ * <p>For more information about exporting CloudWatch Logs for Amazon RDS, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Relational Database
6609
+ * Service User Guide</i>.</p>
6610
+ * <p>For more information about exporting CloudWatch Logs for Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User Guide</i>.</p>
6611
+ * <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
6516
6612
  */
6517
6613
  EnableCloudwatchLogsExports?: string[];
6518
6614
  /**
@@ -6545,7 +6641,7 @@ export interface RestoreDBClusterToPointInTimeMessage {
6545
6641
  DeletionProtection?: boolean;
6546
6642
  /**
6547
6643
  * <p>A value that indicates whether to copy all tags from the restored DB cluster to snapshots of the restored DB cluster. The default is not to copy them.</p>
6548
- * <p>Valid for: Aurora DB clusters only</p>
6644
+ * <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
6549
6645
  */
6550
6646
  CopyTagsToSnapshot?: boolean;
6551
6647
  /**
@@ -6670,9 +6766,6 @@ export interface RestoreDBClusterToPointInTimeResult {
6670
6766
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">
6671
6767
  * Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i>
6672
6768
  * </p>
6673
- * <note>
6674
- * <p>The Multi-AZ DB clusters feature is in preview and is subject to change.</p>
6675
- * </note>
6676
6769
  */
6677
6770
  DBCluster?: DBCluster;
6678
6771
  }
@@ -7509,10 +7602,13 @@ export declare namespace RestoreDBInstanceFromS3Result {
7509
7602
  * <code>BackupRetentionPeriod</code> equal to 0.
7510
7603
  * </p>
7511
7604
  */
7512
- export interface PointInTimeRestoreNotEnabledFault extends __SmithyException, $MetadataBearer {
7513
- name: "PointInTimeRestoreNotEnabledFault";
7514
- $fault: "client";
7515
- message?: string;
7605
+ export declare class PointInTimeRestoreNotEnabledFault extends __BaseException {
7606
+ readonly name: "PointInTimeRestoreNotEnabledFault";
7607
+ readonly $fault: "client";
7608
+ /**
7609
+ * @internal
7610
+ */
7611
+ constructor(opts: __ExceptionOptionType<PointInTimeRestoreNotEnabledFault, __BaseException>);
7516
7612
  }
7517
7613
  /**
7518
7614
  * <p></p>
@@ -8097,9 +8193,6 @@ export interface StartDBClusterResult {
8097
8193
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">
8098
8194
  * Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i>
8099
8195
  * </p>
8100
- * <note>
8101
- * <p>The Multi-AZ DB clusters feature is in preview and is subject to change.</p>
8102
- * </note>
8103
8196
  */
8104
8197
  DBCluster?: DBCluster;
8105
8198
  }
@@ -8188,42 +8281,57 @@ export declare namespace StartDBInstanceAutomatedBackupsReplicationResult {
8188
8281
  /**
8189
8282
  * <p>You can't start an export task that's already running.</p>
8190
8283
  */
8191
- export interface ExportTaskAlreadyExistsFault extends __SmithyException, $MetadataBearer {
8192
- name: "ExportTaskAlreadyExistsFault";
8193
- $fault: "client";
8194
- message?: string;
8284
+ export declare class ExportTaskAlreadyExistsFault extends __BaseException {
8285
+ readonly name: "ExportTaskAlreadyExistsFault";
8286
+ readonly $fault: "client";
8287
+ /**
8288
+ * @internal
8289
+ */
8290
+ constructor(opts: __ExceptionOptionType<ExportTaskAlreadyExistsFault, __BaseException>);
8195
8291
  }
8196
8292
  /**
8197
8293
  * <p>The IAM role requires additional permissions to export to an Amazon S3 bucket.</p>
8198
8294
  */
8199
- export interface IamRoleMissingPermissionsFault extends __SmithyException, $MetadataBearer {
8200
- name: "IamRoleMissingPermissionsFault";
8201
- $fault: "client";
8202
- message?: string;
8295
+ export declare class IamRoleMissingPermissionsFault extends __BaseException {
8296
+ readonly name: "IamRoleMissingPermissionsFault";
8297
+ readonly $fault: "client";
8298
+ /**
8299
+ * @internal
8300
+ */
8301
+ constructor(opts: __ExceptionOptionType<IamRoleMissingPermissionsFault, __BaseException>);
8203
8302
  }
8204
8303
  /**
8205
8304
  * <p>The IAM role is missing for exporting to an Amazon S3 bucket.</p>
8206
8305
  */
8207
- export interface IamRoleNotFoundFault extends __SmithyException, $MetadataBearer {
8208
- name: "IamRoleNotFoundFault";
8209
- $fault: "client";
8210
- message?: string;
8306
+ export declare class IamRoleNotFoundFault extends __BaseException {
8307
+ readonly name: "IamRoleNotFoundFault";
8308
+ readonly $fault: "client";
8309
+ /**
8310
+ * @internal
8311
+ */
8312
+ constructor(opts: __ExceptionOptionType<IamRoleNotFoundFault, __BaseException>);
8211
8313
  }
8212
8314
  /**
8213
8315
  * <p>The export is invalid for exporting to an Amazon S3 bucket.</p>
8214
8316
  */
8215
- export interface InvalidExportOnlyFault extends __SmithyException, $MetadataBearer {
8216
- name: "InvalidExportOnlyFault";
8217
- $fault: "client";
8218
- message?: string;
8317
+ export declare class InvalidExportOnlyFault extends __BaseException {
8318
+ readonly name: "InvalidExportOnlyFault";
8319
+ readonly $fault: "client";
8320
+ /**
8321
+ * @internal
8322
+ */
8323
+ constructor(opts: __ExceptionOptionType<InvalidExportOnlyFault, __BaseException>);
8219
8324
  }
8220
8325
  /**
8221
8326
  * <p>The state of the export snapshot is invalid for exporting to an Amazon S3 bucket.</p>
8222
8327
  */
8223
- export interface InvalidExportSourceStateFault extends __SmithyException, $MetadataBearer {
8224
- name: "InvalidExportSourceStateFault";
8225
- $fault: "client";
8226
- message?: string;
8328
+ export declare class InvalidExportSourceStateFault extends __BaseException {
8329
+ readonly name: "InvalidExportSourceStateFault";
8330
+ readonly $fault: "client";
8331
+ /**
8332
+ * @internal
8333
+ */
8334
+ constructor(opts: __ExceptionOptionType<InvalidExportSourceStateFault, __BaseException>);
8227
8335
  }
8228
8336
  export interface StartExportTaskMessage {
8229
8337
  /**
@@ -8395,9 +8503,6 @@ export interface StopDBClusterResult {
8395
8503
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">
8396
8504
  * Multi-AZ deployments with two readable standby DB instances</a> in the <i>Amazon RDS User Guide.</i>
8397
8505
  * </p>
8398
- * <note>
8399
- * <p>The Multi-AZ DB clusters feature is in preview and is subject to change.</p>
8400
- * </note>
8401
8506
  */
8402
8507
  DBCluster?: DBCluster;
8403
8508
  }
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: RDSClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: RDSClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;