@aws-sdk/client-rds 3.300.0 → 3.302.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/dist-cjs/protocols/Aws_query.js +12 -0
  2. package/dist-es/protocols/Aws_query.js +12 -0
  3. package/dist-types/RDS.d.ts +16 -12
  4. package/dist-types/commands/AddRoleToDBClusterCommand.d.ts +1 -1
  5. package/dist-types/commands/AddRoleToDBInstanceCommand.d.ts +1 -1
  6. package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +1 -1
  7. package/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -3
  8. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +1 -1
  9. package/dist-types/commands/AuthorizeDBSecurityGroupIngressCommand.d.ts +1 -1
  10. package/dist-types/commands/BacktrackDBClusterCommand.d.ts +1 -1
  11. package/dist-types/commands/CancelExportTaskCommand.d.ts +1 -1
  12. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +3 -3
  13. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +3 -3
  14. package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +3 -3
  15. package/dist-types/commands/CopyDBSnapshotCommand.d.ts +3 -3
  16. package/dist-types/commands/CopyOptionGroupCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateBlueGreenDeploymentCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateDBClusterCommand.d.ts +14 -13
  20. package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +4 -4
  21. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +3 -3
  22. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +3 -3
  23. package/dist-types/commands/CreateDBInstanceCommand.d.ts +8 -8
  24. package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +24 -15
  25. package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateDBProxyCommand.d.ts +6 -6
  27. package/dist-types/commands/CreateDBProxyEndpointCommand.d.ts +4 -4
  28. package/dist-types/commands/CreateDBSecurityGroupCommand.d.ts +3 -3
  29. package/dist-types/commands/CreateDBSnapshotCommand.d.ts +3 -3
  30. package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +4 -4
  31. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +5 -5
  32. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateOptionGroupCommand.d.ts +3 -3
  34. package/dist-types/commands/DeleteBlueGreenDeploymentCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteDBClusterCommand.d.ts +3 -1
  37. package/dist-types/commands/DeleteDBClusterEndpointCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteDBInstanceAutomatedBackupCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteDBParameterGroupCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteDBProxyCommand.d.ts +1 -1
  44. package/dist-types/commands/DeleteDBProxyEndpointCommand.d.ts +1 -1
  45. package/dist-types/commands/DeleteDBSecurityGroupCommand.d.ts +1 -1
  46. package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +1 -1
  47. package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +1 -1
  48. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +1 -1
  49. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +1 -1
  50. package/dist-types/commands/DeleteOptionGroupCommand.d.ts +1 -1
  51. package/dist-types/commands/DeregisterDBProxyTargetsCommand.d.ts +2 -2
  52. package/dist-types/commands/DescribeBlueGreenDeploymentsCommand.d.ts +4 -4
  53. package/dist-types/commands/DescribeCertificatesCommand.d.ts +4 -4
  54. package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +4 -4
  55. package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +4 -4
  56. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +4 -4
  57. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +4 -4
  58. package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +4 -4
  60. package/dist-types/commands/DescribeDBClustersCommand.d.ts +4 -4
  61. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +4 -4
  62. package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +4 -4
  63. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +4 -4
  64. package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +4 -4
  65. package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +4 -4
  66. package/dist-types/commands/DescribeDBParametersCommand.d.ts +4 -4
  67. package/dist-types/commands/DescribeDBProxiesCommand.d.ts +4 -4
  68. package/dist-types/commands/DescribeDBProxyEndpointsCommand.d.ts +4 -4
  69. package/dist-types/commands/DescribeDBProxyTargetGroupsCommand.d.ts +4 -4
  70. package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +4 -4
  71. package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +4 -4
  72. package/dist-types/commands/DescribeDBSnapshotAttributesCommand.d.ts +1 -1
  73. package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +4 -4
  74. package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +4 -4
  75. package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +4 -4
  76. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +4 -4
  77. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +4 -4
  78. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +4 -4
  79. package/dist-types/commands/DescribeEventsCommand.d.ts +5 -5
  80. package/dist-types/commands/DescribeExportTasksCommand.d.ts +4 -4
  81. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +4 -4
  82. package/dist-types/commands/DescribeOptionGroupOptionsCommand.d.ts +4 -4
  83. package/dist-types/commands/DescribeOptionGroupsCommand.d.ts +4 -4
  84. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +4 -4
  85. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +4 -4
  86. package/dist-types/commands/DescribeReservedDBInstancesCommand.d.ts +4 -4
  87. package/dist-types/commands/DescribeReservedDBInstancesOfferingsCommand.d.ts +4 -4
  88. package/dist-types/commands/DescribeSourceRegionsCommand.d.ts +4 -4
  89. package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +1 -1
  90. package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +1 -1
  91. package/dist-types/commands/FailoverDBClusterCommand.d.ts +1 -1
  92. package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +1 -1
  93. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -4
  94. package/dist-types/commands/ModifyActivityStreamCommand.d.ts +1 -1
  95. package/dist-types/commands/ModifyCertificatesCommand.d.ts +1 -1
  96. package/dist-types/commands/ModifyCurrentDBClusterCapacityCommand.d.ts +1 -1
  97. package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +1 -1
  98. package/dist-types/commands/ModifyDBClusterCommand.d.ts +6 -6
  99. package/dist-types/commands/ModifyDBClusterEndpointCommand.d.ts +2 -2
  100. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +4 -4
  101. package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +2 -2
  102. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +7 -7
  103. package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +4 -4
  104. package/dist-types/commands/ModifyDBProxyCommand.d.ts +4 -4
  105. package/dist-types/commands/ModifyDBProxyEndpointCommand.d.ts +2 -2
  106. package/dist-types/commands/ModifyDBProxyTargetGroupCommand.d.ts +3 -3
  107. package/dist-types/commands/ModifyDBSnapshotAttributeCommand.d.ts +2 -2
  108. package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +1 -1
  109. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +2 -2
  110. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +2 -2
  111. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +1 -1
  112. package/dist-types/commands/ModifyOptionGroupCommand.d.ts +8 -8
  113. package/dist-types/commands/PromoteReadReplicaCommand.d.ts +1 -1
  114. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +1 -1
  115. package/dist-types/commands/PurchaseReservedDBInstancesOfferingCommand.d.ts +3 -3
  116. package/dist-types/commands/RebootDBClusterCommand.d.ts +1 -1
  117. package/dist-types/commands/RebootDBInstanceCommand.d.ts +1 -1
  118. package/dist-types/commands/RegisterDBProxyTargetsCommand.d.ts +2 -2
  119. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +1 -1
  120. package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +1 -1
  121. package/dist-types/commands/RemoveRoleFromDBInstanceCommand.d.ts +1 -1
  122. package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +1 -1
  123. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +2 -2
  124. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +4 -4
  125. package/dist-types/commands/ResetDBParameterGroupCommand.d.ts +4 -4
  126. package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +7 -7
  127. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +8 -8
  128. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +7 -7
  129. package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +7 -7
  130. package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +8 -8
  131. package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +7 -7
  132. package/dist-types/commands/RevokeDBSecurityGroupIngressCommand.d.ts +1 -1
  133. package/dist-types/commands/StartActivityStreamCommand.d.ts +1 -1
  134. package/dist-types/commands/StartDBClusterCommand.d.ts +1 -1
  135. package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -1
  136. package/dist-types/commands/StartDBInstanceCommand.d.ts +1 -1
  137. package/dist-types/commands/StartExportTaskCommand.d.ts +2 -2
  138. package/dist-types/commands/StopActivityStreamCommand.d.ts +1 -1
  139. package/dist-types/commands/StopDBClusterCommand.d.ts +1 -1
  140. package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -1
  141. package/dist-types/commands/StopDBInstanceCommand.d.ts +1 -1
  142. package/dist-types/commands/SwitchoverBlueGreenDeploymentCommand.d.ts +1 -1
  143. package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +1 -1
  144. package/dist-types/models/models_0.d.ts +61 -32
  145. package/dist-types/models/models_1.d.ts +18 -6
  146. package/dist-types/ts3.4/models/models_0.d.ts +3 -1
  147. package/package.json +3 -3
@@ -2825,6 +2825,9 @@ const deserializeAws_queryCreateDBInstanceReadReplicaCommandError = async (outpu
2825
2825
  };
2826
2826
  const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2827
2827
  switch (errorCode) {
2828
+ case "DBClusterNotFoundFault":
2829
+ case "com.amazonaws.rds#DBClusterNotFoundFault":
2830
+ throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
2828
2831
  case "DBInstanceAlreadyExists":
2829
2832
  case "com.amazonaws.rds#DBInstanceAlreadyExistsFault":
2830
2833
  throw await deserializeAws_queryDBInstanceAlreadyExistsFaultResponse(parsedOutput, context);
@@ -2855,6 +2858,9 @@ const deserializeAws_queryCreateDBInstanceReadReplicaCommandError = async (outpu
2855
2858
  case "InsufficientDBInstanceCapacity":
2856
2859
  case "com.amazonaws.rds#InsufficientDBInstanceCapacityFault":
2857
2860
  throw await deserializeAws_queryInsufficientDBInstanceCapacityFaultResponse(parsedOutput, context);
2861
+ case "InvalidDBClusterStateFault":
2862
+ case "com.amazonaws.rds#InvalidDBClusterStateFault":
2863
+ throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
2858
2864
  case "InvalidDBInstanceState":
2859
2865
  case "com.amazonaws.rds#InvalidDBInstanceStateFault":
2860
2866
  throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
@@ -9985,6 +9991,9 @@ const serializeAws_queryCreateDBInstanceReadReplicaMessage = (input, context) =>
9985
9991
  if (input.AllocatedStorage != null) {
9986
9992
  entries["AllocatedStorage"] = input.AllocatedStorage;
9987
9993
  }
9994
+ if (input.SourceDBClusterIdentifier != null) {
9995
+ entries["SourceDBClusterIdentifier"] = input.SourceDBClusterIdentifier;
9996
+ }
9988
9997
  return entries;
9989
9998
  };
9990
9999
  const serializeAws_queryCreateDBParameterGroupMessage = (input, context) => {
@@ -15545,6 +15554,9 @@ const deserializeAws_queryDBInstance = (output, context) => {
15545
15554
  if (output["CertificateDetails"] !== undefined) {
15546
15555
  contents.CertificateDetails = deserializeAws_queryCertificateDetails(output["CertificateDetails"], context);
15547
15556
  }
15557
+ if (output["ReadReplicaSourceDBClusterIdentifier"] !== undefined) {
15558
+ contents.ReadReplicaSourceDBClusterIdentifier = (0, smithy_client_1.expectString)(output["ReadReplicaSourceDBClusterIdentifier"]);
15559
+ }
15548
15560
  return contents;
15549
15561
  };
15550
15562
  const deserializeAws_queryDBInstanceAlreadyExistsFault = (output, context) => {
@@ -2655,6 +2655,9 @@ const deserializeAws_queryCreateDBInstanceReadReplicaCommandError = async (outpu
2655
2655
  };
2656
2656
  const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2657
2657
  switch (errorCode) {
2658
+ case "DBClusterNotFoundFault":
2659
+ case "com.amazonaws.rds#DBClusterNotFoundFault":
2660
+ throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
2658
2661
  case "DBInstanceAlreadyExists":
2659
2662
  case "com.amazonaws.rds#DBInstanceAlreadyExistsFault":
2660
2663
  throw await deserializeAws_queryDBInstanceAlreadyExistsFaultResponse(parsedOutput, context);
@@ -2685,6 +2688,9 @@ const deserializeAws_queryCreateDBInstanceReadReplicaCommandError = async (outpu
2685
2688
  case "InsufficientDBInstanceCapacity":
2686
2689
  case "com.amazonaws.rds#InsufficientDBInstanceCapacityFault":
2687
2690
  throw await deserializeAws_queryInsufficientDBInstanceCapacityFaultResponse(parsedOutput, context);
2691
+ case "InvalidDBClusterStateFault":
2692
+ case "com.amazonaws.rds#InvalidDBClusterStateFault":
2693
+ throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
2688
2694
  case "InvalidDBInstanceState":
2689
2695
  case "com.amazonaws.rds#InvalidDBInstanceStateFault":
2690
2696
  throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
@@ -9695,6 +9701,9 @@ const serializeAws_queryCreateDBInstanceReadReplicaMessage = (input, context) =>
9695
9701
  if (input.AllocatedStorage != null) {
9696
9702
  entries["AllocatedStorage"] = input.AllocatedStorage;
9697
9703
  }
9704
+ if (input.SourceDBClusterIdentifier != null) {
9705
+ entries["SourceDBClusterIdentifier"] = input.SourceDBClusterIdentifier;
9706
+ }
9698
9707
  return entries;
9699
9708
  };
9700
9709
  const serializeAws_queryCreateDBParameterGroupMessage = (input, context) => {
@@ -15255,6 +15264,9 @@ const deserializeAws_queryDBInstance = (output, context) => {
15255
15264
  if (output["CertificateDetails"] !== undefined) {
15256
15265
  contents.CertificateDetails = deserializeAws_queryCertificateDetails(output["CertificateDetails"], context);
15257
15266
  }
15267
+ if (output["ReadReplicaSourceDBClusterIdentifier"] !== undefined) {
15268
+ contents.ReadReplicaSourceDBClusterIdentifier = __expectString(output["ReadReplicaSourceDBClusterIdentifier"]);
15269
+ }
15258
15270
  return contents;
15259
15271
  };
15260
15272
  const deserializeAws_queryDBInstanceAlreadyExistsFault = (output, context) => {
@@ -396,13 +396,14 @@ export declare class RDS extends RDSClient {
396
396
  * request creates a writer and two reader DB instances for you, each in a different
397
397
  * Availability Zone.</p>
398
398
  * <p>You can use the <code>ReplicationSourceIdentifier</code> parameter to create an Amazon
399
- * Aurora DB cluster as a read replica of another DB cluster or Amazon RDS MySQL or
399
+ * Aurora DB cluster as a read replica of another DB cluster or Amazon RDS for MySQL or
400
400
  * PostgreSQL DB instance. For more information about Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html">What is Amazon Aurora?</a> in the <i>Amazon Aurora User
401
- * Guide</i>.</p>
401
+ * Guide</i>.</p>
402
402
  * <p>You can also use the <code>ReplicationSourceIdentifier</code> parameter to create a
403
- * Multi-AZ DB cluster read replica with an RDS for PostgreSQL DB instance as the source.
404
- * For more information about Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">Multi-AZ DB cluster deployments</a> in the <i>Amazon
405
- * RDS User Guide</i>.</p>
403
+ * Multi-AZ DB cluster read replica with an RDS for MySQL or PostgreSQL DB instance as the
404
+ * source. For more information about Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">Multi-AZ DB
405
+ * cluster deployments</a> in the <i>Amazon RDS User
406
+ * Guide</i>.</p>
406
407
  */
407
408
  createDBCluster(args: CreateDBClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateDBClusterCommandOutput>;
408
409
  createDBCluster(args: CreateDBClusterCommandInput, cb: (err: any, data?: CreateDBClusterCommandOutput) => void): void;
@@ -483,16 +484,17 @@ export declare class RDS extends RDSClient {
483
484
  /**
484
485
  * @public
485
486
  * <p>Creates a new DB instance that acts as a read replica for an existing source DB
486
- * instance. You can create a read replica for a DB instance running MySQL, MariaDB,
487
- * Oracle, PostgreSQL, or SQL Server. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html">Working with Read
488
- * Replicas</a> in the <i>Amazon RDS User Guide</i>.</p>
487
+ * instance or Multi-AZ DB cluster. You can create a read replica for a DB instance running
488
+ * MySQL, MariaDB, Oracle, PostgreSQL, or SQL Server. You can create a read replica for a
489
+ * Multi-AZ DB cluster running MySQL or PostgreSQL. For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html">Working
490
+ * with read replicas</a> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html#multi-az-db-clusters-migrating-to-instance-with-read-replica">Migrating from a Multi-AZ DB cluster to a DB instance using a read replica</a> in the <i>Amazon RDS User Guide</i>.</p>
489
491
  * <p>Amazon Aurora doesn't support this operation. Call the <code>CreateDBInstance</code>
490
492
  * operation to create a DB instance for an Aurora DB cluster.</p>
491
- * <p>All read replica DB instances are created with backups disabled. All other DB
492
- * instance attributes (including DB security groups and DB parameter groups) are inherited
493
- * from the source DB instance, except as specified.</p>
493
+ * <p>All read replica DB instances are created with backups disabled. All other attributes
494
+ * (including DB security groups and DB parameter groups) are inherited from the source DB
495
+ * instance or cluster, except as specified.</p>
494
496
  * <important>
495
- * <p>Your source DB instance must have backup retention enabled.</p>
497
+ * <p>Your source DB instance or cluster must have backup retention enabled.</p>
496
498
  * </important>
497
499
  */
498
500
  createDBInstanceReadReplica(args: CreateDBInstanceReadReplicaCommandInput, options?: __HttpHandlerOptions): Promise<CreateDBInstanceReadReplicaCommandOutput>;
@@ -671,6 +673,8 @@ export declare class RDS extends RDSClient {
671
673
  * <p>The DeleteDBCluster action deletes a previously provisioned DB cluster.
672
674
  * When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered.
673
675
  * Manual DB cluster snapshots of the specified DB cluster are not deleted.</p>
676
+ * <p>If you're deleting a Multi-AZ DB cluster with read replicas, all cluster members are
677
+ * terminated and read replicas are promoted to standalone instances.</p>
674
678
  * <p>For more information on Amazon Aurora, see
675
679
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html">
676
680
  * What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide</i>.</p>
@@ -26,7 +26,7 @@ export interface AddRoleToDBClusterCommandOutput extends __MetadataBearer {
26
26
  * import { RDSClient, AddRoleToDBClusterCommand } from "@aws-sdk/client-rds"; // ES Modules import
27
27
  * // const { RDSClient, AddRoleToDBClusterCommand } = require("@aws-sdk/client-rds"); // CommonJS import
28
28
  * const client = new RDSClient(config);
29
- * const input = {
29
+ * const input = { // AddRoleToDBClusterMessage
30
30
  * DBClusterIdentifier: "STRING_VALUE", // required
31
31
  * RoleArn: "STRING_VALUE", // required
32
32
  * FeatureName: "STRING_VALUE",
@@ -30,7 +30,7 @@ export interface AddRoleToDBInstanceCommandOutput extends __MetadataBearer {
30
30
  * import { RDSClient, AddRoleToDBInstanceCommand } from "@aws-sdk/client-rds"; // ES Modules import
31
31
  * // const { RDSClient, AddRoleToDBInstanceCommand } = require("@aws-sdk/client-rds"); // CommonJS import
32
32
  * const client = new RDSClient(config);
33
- * const input = {
33
+ * const input = { // AddRoleToDBInstanceMessage
34
34
  * DBInstanceIdentifier: "STRING_VALUE", // required
35
35
  * RoleArn: "STRING_VALUE", // required
36
36
  * FeatureName: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface AddSourceIdentifierToSubscriptionCommandOutput extends AddSourc
26
26
  * import { RDSClient, AddSourceIdentifierToSubscriptionCommand } from "@aws-sdk/client-rds"; // ES Modules import
27
27
  * // const { RDSClient, AddSourceIdentifierToSubscriptionCommand } = require("@aws-sdk/client-rds"); // CommonJS import
28
28
  * const client = new RDSClient(config);
29
- * const input = {
29
+ * const input = { // AddSourceIdentifierToSubscriptionMessage
30
30
  * SubscriptionName: "STRING_VALUE", // required
31
31
  * SourceIdentifier: "STRING_VALUE", // required
32
32
  * };
@@ -28,10 +28,10 @@ export interface AddTagsToResourceCommandOutput extends __MetadataBearer {
28
28
  * import { RDSClient, AddTagsToResourceCommand } from "@aws-sdk/client-rds"; // ES Modules import
29
29
  * // const { RDSClient, AddTagsToResourceCommand } = require("@aws-sdk/client-rds"); // CommonJS import
30
30
  * const client = new RDSClient(config);
31
- * const input = {
31
+ * const input = { // AddTagsToResourceMessage
32
32
  * ResourceName: "STRING_VALUE", // required
33
- * Tags: [ // required
34
- * {
33
+ * Tags: [ // TagList // required
34
+ * { // Tag
35
35
  * Key: "STRING_VALUE",
36
36
  * Value: "STRING_VALUE",
37
37
  * },
@@ -26,7 +26,7 @@ export interface ApplyPendingMaintenanceActionCommandOutput extends ApplyPending
26
26
  * import { RDSClient, ApplyPendingMaintenanceActionCommand } from "@aws-sdk/client-rds"; // ES Modules import
27
27
  * // const { RDSClient, ApplyPendingMaintenanceActionCommand } = require("@aws-sdk/client-rds"); // CommonJS import
28
28
  * const client = new RDSClient(config);
29
- * const input = {
29
+ * const input = { // ApplyPendingMaintenanceActionMessage
30
30
  * ResourceIdentifier: "STRING_VALUE", // required
31
31
  * ApplyAction: "STRING_VALUE", // required
32
32
  * OptInType: "STRING_VALUE", // required
@@ -41,7 +41,7 @@ export interface AuthorizeDBSecurityGroupIngressCommandOutput extends AuthorizeD
41
41
  * import { RDSClient, AuthorizeDBSecurityGroupIngressCommand } from "@aws-sdk/client-rds"; // ES Modules import
42
42
  * // const { RDSClient, AuthorizeDBSecurityGroupIngressCommand } = require("@aws-sdk/client-rds"); // CommonJS import
43
43
  * const client = new RDSClient(config);
44
- * const input = {
44
+ * const input = { // AuthorizeDBSecurityGroupIngressMessage
45
45
  * DBSecurityGroupName: "STRING_VALUE", // required
46
46
  * CIDRIP: "STRING_VALUE",
47
47
  * EC2SecurityGroupName: "STRING_VALUE",
@@ -33,7 +33,7 @@ export interface BacktrackDBClusterCommandOutput extends DBClusterBacktrack, __M
33
33
  * import { RDSClient, BacktrackDBClusterCommand } from "@aws-sdk/client-rds"; // ES Modules import
34
34
  * // const { RDSClient, BacktrackDBClusterCommand } = require("@aws-sdk/client-rds"); // CommonJS import
35
35
  * const client = new RDSClient(config);
36
- * const input = {
36
+ * const input = { // BacktrackDBClusterMessage
37
37
  * DBClusterIdentifier: "STRING_VALUE", // required
38
38
  * BacktrackTo: new Date("TIMESTAMP"), // required
39
39
  * Force: true || false,
@@ -27,7 +27,7 @@ export interface CancelExportTaskCommandOutput extends ExportTask, __MetadataBea
27
27
  * import { RDSClient, CancelExportTaskCommand } from "@aws-sdk/client-rds"; // ES Modules import
28
28
  * // const { RDSClient, CancelExportTaskCommand } = require("@aws-sdk/client-rds"); // CommonJS import
29
29
  * const client = new RDSClient(config);
30
- * const input = {
30
+ * const input = { // CancelExportTaskMessage
31
31
  * ExportTaskIdentifier: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new CancelExportTaskCommand(input);
@@ -26,12 +26,12 @@ export interface CopyDBClusterParameterGroupCommandOutput extends CopyDBClusterP
26
26
  * import { RDSClient, CopyDBClusterParameterGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import
27
27
  * // const { RDSClient, CopyDBClusterParameterGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
28
28
  * const client = new RDSClient(config);
29
- * const input = {
29
+ * const input = { // CopyDBClusterParameterGroupMessage
30
30
  * SourceDBClusterParameterGroupIdentifier: "STRING_VALUE", // required
31
31
  * TargetDBClusterParameterGroupIdentifier: "STRING_VALUE", // required
32
32
  * TargetDBClusterParameterGroupDescription: "STRING_VALUE", // required
33
- * Tags: [
34
- * {
33
+ * Tags: [ // TagList
34
+ * { // Tag
35
35
  * Key: "STRING_VALUE",
36
36
  * Value: "STRING_VALUE",
37
37
  * },
@@ -62,14 +62,14 @@ export interface CopyDBClusterSnapshotCommandOutput extends CopyDBClusterSnapsho
62
62
  * import { RDSClient, CopyDBClusterSnapshotCommand } from "@aws-sdk/client-rds"; // ES Modules import
63
63
  * // const { RDSClient, CopyDBClusterSnapshotCommand } = require("@aws-sdk/client-rds"); // CommonJS import
64
64
  * const client = new RDSClient(config);
65
- * const input = {
65
+ * const input = { // CopyDBClusterSnapshotMessage
66
66
  * SourceDBClusterSnapshotIdentifier: "STRING_VALUE", // required
67
67
  * TargetDBClusterSnapshotIdentifier: "STRING_VALUE", // required
68
68
  * KmsKeyId: "STRING_VALUE",
69
69
  * PreSignedUrl: "STRING_VALUE",
70
70
  * CopyTags: true || false,
71
- * Tags: [
72
- * {
71
+ * Tags: [ // TagList
72
+ * { // Tag
73
73
  * Key: "STRING_VALUE",
74
74
  * Value: "STRING_VALUE",
75
75
  * },
@@ -26,12 +26,12 @@ export interface CopyDBParameterGroupCommandOutput extends CopyDBParameterGroupR
26
26
  * import { RDSClient, CopyDBParameterGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import
27
27
  * // const { RDSClient, CopyDBParameterGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
28
28
  * const client = new RDSClient(config);
29
- * const input = {
29
+ * const input = { // CopyDBParameterGroupMessage
30
30
  * SourceDBParameterGroupIdentifier: "STRING_VALUE", // required
31
31
  * TargetDBParameterGroupIdentifier: "STRING_VALUE", // required
32
32
  * TargetDBParameterGroupDescription: "STRING_VALUE", // required
33
- * Tags: [
34
- * {
33
+ * Tags: [ // TagList
34
+ * { // Tag
35
35
  * Key: "STRING_VALUE",
36
36
  * Value: "STRING_VALUE",
37
37
  * },
@@ -32,12 +32,12 @@ export interface CopyDBSnapshotCommandOutput extends CopyDBSnapshotResult, __Met
32
32
  * import { RDSClient, CopyDBSnapshotCommand } from "@aws-sdk/client-rds"; // ES Modules import
33
33
  * // const { RDSClient, CopyDBSnapshotCommand } = require("@aws-sdk/client-rds"); // CommonJS import
34
34
  * const client = new RDSClient(config);
35
- * const input = {
35
+ * const input = { // CopyDBSnapshotMessage
36
36
  * SourceDBSnapshotIdentifier: "STRING_VALUE", // required
37
37
  * TargetDBSnapshotIdentifier: "STRING_VALUE", // required
38
38
  * KmsKeyId: "STRING_VALUE",
39
- * Tags: [
40
- * {
39
+ * Tags: [ // TagList
40
+ * { // Tag
41
41
  * Key: "STRING_VALUE",
42
42
  * Value: "STRING_VALUE",
43
43
  * },
@@ -26,12 +26,12 @@ export interface CopyOptionGroupCommandOutput extends CopyOptionGroupResult, __M
26
26
  * import { RDSClient, CopyOptionGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import
27
27
  * // const { RDSClient, CopyOptionGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
28
28
  * const client = new RDSClient(config);
29
- * const input = {
29
+ * const input = { // CopyOptionGroupMessage
30
30
  * SourceOptionGroupIdentifier: "STRING_VALUE", // required
31
31
  * TargetOptionGroupIdentifier: "STRING_VALUE", // required
32
32
  * TargetOptionGroupDescription: "STRING_VALUE", // required
33
- * Tags: [
34
- * {
33
+ * Tags: [ // TagList
34
+ * { // Tag
35
35
  * Key: "STRING_VALUE",
36
36
  * Value: "STRING_VALUE",
37
37
  * },
@@ -40,14 +40,14 @@ export interface CreateBlueGreenDeploymentCommandOutput extends CreateBlueGreenD
40
40
  * import { RDSClient, CreateBlueGreenDeploymentCommand } from "@aws-sdk/client-rds"; // ES Modules import
41
41
  * // const { RDSClient, CreateBlueGreenDeploymentCommand } = require("@aws-sdk/client-rds"); // CommonJS import
42
42
  * const client = new RDSClient(config);
43
- * const input = {
43
+ * const input = { // CreateBlueGreenDeploymentRequest
44
44
  * BlueGreenDeploymentName: "STRING_VALUE", // required
45
45
  * Source: "STRING_VALUE", // required
46
46
  * TargetEngineVersion: "STRING_VALUE",
47
47
  * TargetDBParameterGroupName: "STRING_VALUE",
48
48
  * TargetDBClusterParameterGroupName: "STRING_VALUE",
49
- * Tags: [
50
- * {
49
+ * Tags: [ // TagList
50
+ * { // Tag
51
51
  * Key: "STRING_VALUE",
52
52
  * Value: "STRING_VALUE",
53
53
  * },
@@ -26,7 +26,7 @@ export interface CreateCustomDBEngineVersionCommandOutput extends DBEngineVersio
26
26
  * import { RDSClient, CreateCustomDBEngineVersionCommand } from "@aws-sdk/client-rds"; // ES Modules import
27
27
  * // const { RDSClient, CreateCustomDBEngineVersionCommand } = require("@aws-sdk/client-rds"); // CommonJS import
28
28
  * const client = new RDSClient(config);
29
- * const input = {
29
+ * const input = { // CreateCustomDBEngineVersionMessage
30
30
  * Engine: "STRING_VALUE", // required
31
31
  * EngineVersion: "STRING_VALUE", // required
32
32
  * DatabaseInstallationFilesS3BucketName: "STRING_VALUE",
@@ -35,8 +35,8 @@ export interface CreateCustomDBEngineVersionCommandOutput extends DBEngineVersio
35
35
  * KMSKeyId: "STRING_VALUE",
36
36
  * Description: "STRING_VALUE",
37
37
  * Manifest: "STRING_VALUE",
38
- * Tags: [
39
- * {
38
+ * Tags: [ // TagList
39
+ * { // Tag
40
40
  * Key: "STRING_VALUE",
41
41
  * Value: "STRING_VALUE",
42
42
  * },
@@ -25,21 +25,22 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
25
25
  * request creates a writer and two reader DB instances for you, each in a different
26
26
  * Availability Zone.</p>
27
27
  * <p>You can use the <code>ReplicationSourceIdentifier</code> parameter to create an Amazon
28
- * Aurora DB cluster as a read replica of another DB cluster or Amazon RDS MySQL or
28
+ * Aurora DB cluster as a read replica of another DB cluster or Amazon RDS for MySQL or
29
29
  * PostgreSQL DB instance. For more information about Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html">What is Amazon Aurora?</a> in the <i>Amazon Aurora User
30
- * Guide</i>.</p>
30
+ * Guide</i>.</p>
31
31
  * <p>You can also use the <code>ReplicationSourceIdentifier</code> parameter to create a
32
- * Multi-AZ DB cluster read replica with an RDS for PostgreSQL DB instance as the source.
33
- * For more information about Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">Multi-AZ DB cluster deployments</a> in the <i>Amazon
34
- * RDS User Guide</i>.</p>
32
+ * Multi-AZ DB cluster read replica with an RDS for MySQL or PostgreSQL DB instance as the
33
+ * source. For more information about Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html">Multi-AZ DB
34
+ * cluster deployments</a> in the <i>Amazon RDS User
35
+ * Guide</i>.</p>
35
36
  * @example
36
37
  * Use a bare-bones client and the command you need to make an API call.
37
38
  * ```javascript
38
39
  * import { RDSClient, CreateDBClusterCommand } from "@aws-sdk/client-rds"; // ES Modules import
39
40
  * // const { RDSClient, CreateDBClusterCommand } = require("@aws-sdk/client-rds"); // CommonJS import
40
41
  * const client = new RDSClient(config);
41
- * const input = {
42
- * AvailabilityZones: [
42
+ * const input = { // CreateDBClusterMessage
43
+ * AvailabilityZones: [ // AvailabilityZones
43
44
  * "STRING_VALUE",
44
45
  * ],
45
46
  * BackupRetentionPeriod: Number("int"),
@@ -47,7 +48,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
47
48
  * DatabaseName: "STRING_VALUE",
48
49
  * DBClusterIdentifier: "STRING_VALUE", // required
49
50
  * DBClusterParameterGroupName: "STRING_VALUE",
50
- * VpcSecurityGroupIds: [
51
+ * VpcSecurityGroupIds: [ // VpcSecurityGroupIdList
51
52
  * "STRING_VALUE",
52
53
  * ],
53
54
  * DBSubnetGroupName: "STRING_VALUE",
@@ -60,8 +61,8 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
60
61
  * PreferredBackupWindow: "STRING_VALUE",
61
62
  * PreferredMaintenanceWindow: "STRING_VALUE",
62
63
  * ReplicationSourceIdentifier: "STRING_VALUE",
63
- * Tags: [
64
- * {
64
+ * Tags: [ // TagList
65
+ * { // Tag
65
66
  * Key: "STRING_VALUE",
66
67
  * Value: "STRING_VALUE",
67
68
  * },
@@ -71,11 +72,11 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
71
72
  * PreSignedUrl: "STRING_VALUE",
72
73
  * EnableIAMDatabaseAuthentication: true || false,
73
74
  * BacktrackWindow: Number("long"),
74
- * EnableCloudwatchLogsExports: [
75
+ * EnableCloudwatchLogsExports: [ // LogTypeList
75
76
  * "STRING_VALUE",
76
77
  * ],
77
78
  * EngineMode: "STRING_VALUE",
78
- * ScalingConfiguration: {
79
+ * ScalingConfiguration: { // ScalingConfiguration
79
80
  * MinCapacity: Number("int"),
80
81
  * MaxCapacity: Number("int"),
81
82
  * AutoPause: true || false,
@@ -101,7 +102,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
101
102
  * EnablePerformanceInsights: true || false,
102
103
  * PerformanceInsightsKMSKeyId: "STRING_VALUE",
103
104
  * PerformanceInsightsRetentionPeriod: Number("int"),
104
- * ServerlessV2ScalingConfiguration: {
105
+ * ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfiguration
105
106
  * MinCapacity: Number("double"),
106
107
  * MaxCapacity: Number("double"),
107
108
  * },
@@ -29,18 +29,18 @@ export interface CreateDBClusterEndpointCommandOutput extends DBClusterEndpoint,
29
29
  * import { RDSClient, CreateDBClusterEndpointCommand } from "@aws-sdk/client-rds"; // ES Modules import
30
30
  * // const { RDSClient, CreateDBClusterEndpointCommand } = require("@aws-sdk/client-rds"); // CommonJS import
31
31
  * const client = new RDSClient(config);
32
- * const input = {
32
+ * const input = { // CreateDBClusterEndpointMessage
33
33
  * DBClusterIdentifier: "STRING_VALUE", // required
34
34
  * DBClusterEndpointIdentifier: "STRING_VALUE", // required
35
35
  * EndpointType: "STRING_VALUE", // required
36
- * StaticMembers: [
36
+ * StaticMembers: [ // StringList
37
37
  * "STRING_VALUE",
38
38
  * ],
39
39
  * ExcludedMembers: [
40
40
  * "STRING_VALUE",
41
41
  * ],
42
- * Tags: [
43
- * {
42
+ * Tags: [ // TagList
43
+ * { // Tag
44
44
  * Key: "STRING_VALUE",
45
45
  * Value: "STRING_VALUE",
46
46
  * },
@@ -55,12 +55,12 @@ export interface CreateDBClusterParameterGroupCommandOutput extends CreateDBClus
55
55
  * import { RDSClient, CreateDBClusterParameterGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import
56
56
  * // const { RDSClient, CreateDBClusterParameterGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
57
57
  * const client = new RDSClient(config);
58
- * const input = {
58
+ * const input = { // CreateDBClusterParameterGroupMessage
59
59
  * DBClusterParameterGroupName: "STRING_VALUE", // required
60
60
  * DBParameterGroupFamily: "STRING_VALUE", // required
61
61
  * Description: "STRING_VALUE", // required
62
- * Tags: [
63
- * {
62
+ * Tags: [ // TagList
63
+ * { // Tag
64
64
  * Key: "STRING_VALUE",
65
65
  * Value: "STRING_VALUE",
66
66
  * },
@@ -31,11 +31,11 @@ export interface CreateDBClusterSnapshotCommandOutput extends CreateDBClusterSna
31
31
  * import { RDSClient, CreateDBClusterSnapshotCommand } from "@aws-sdk/client-rds"; // ES Modules import
32
32
  * // const { RDSClient, CreateDBClusterSnapshotCommand } = require("@aws-sdk/client-rds"); // CommonJS import
33
33
  * const client = new RDSClient(config);
34
- * const input = {
34
+ * const input = { // CreateDBClusterSnapshotMessage
35
35
  * DBClusterSnapshotIdentifier: "STRING_VALUE", // required
36
36
  * DBClusterIdentifier: "STRING_VALUE", // required
37
- * Tags: [
38
- * {
37
+ * Tags: [ // TagList
38
+ * { // Tag
39
39
  * Key: "STRING_VALUE",
40
40
  * Value: "STRING_VALUE",
41
41
  * },
@@ -34,7 +34,7 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
34
34
  * import { RDSClient, CreateDBInstanceCommand } from "@aws-sdk/client-rds"; // ES Modules import
35
35
  * // const { RDSClient, CreateDBInstanceCommand } = require("@aws-sdk/client-rds"); // CommonJS import
36
36
  * const client = new RDSClient(config);
37
- * const input = {
37
+ * const input = { // CreateDBInstanceMessage
38
38
  * DBName: "STRING_VALUE",
39
39
  * DBInstanceIdentifier: "STRING_VALUE", // required
40
40
  * AllocatedStorage: Number("int"),
@@ -42,10 +42,10 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
42
42
  * Engine: "STRING_VALUE", // required
43
43
  * MasterUsername: "STRING_VALUE",
44
44
  * MasterUserPassword: "STRING_VALUE",
45
- * DBSecurityGroups: [
45
+ * DBSecurityGroups: [ // DBSecurityGroupNameList
46
46
  * "STRING_VALUE",
47
47
  * ],
48
- * VpcSecurityGroupIds: [
48
+ * VpcSecurityGroupIds: [ // VpcSecurityGroupIdList
49
49
  * "STRING_VALUE",
50
50
  * ],
51
51
  * AvailabilityZone: "STRING_VALUE",
@@ -64,8 +64,8 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
64
64
  * CharacterSetName: "STRING_VALUE",
65
65
  * NcharCharacterSetName: "STRING_VALUE",
66
66
  * PubliclyAccessible: true || false,
67
- * Tags: [
68
- * {
67
+ * Tags: [ // TagList
68
+ * { // Tag
69
69
  * Key: "STRING_VALUE",
70
70
  * Value: "STRING_VALUE",
71
71
  * },
@@ -87,11 +87,11 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
87
87
  * EnablePerformanceInsights: true || false,
88
88
  * PerformanceInsightsKMSKeyId: "STRING_VALUE",
89
89
  * PerformanceInsightsRetentionPeriod: Number("int"),
90
- * EnableCloudwatchLogsExports: [
90
+ * EnableCloudwatchLogsExports: [ // LogTypeList
91
91
  * "STRING_VALUE",
92
92
  * ],
93
- * ProcessorFeatures: [
94
- * {
93
+ * ProcessorFeatures: [ // ProcessorFeatureList
94
+ * { // ProcessorFeature
95
95
  * Name: "STRING_VALUE",
96
96
  * Value: "STRING_VALUE",
97
97
  * },