Values_1.DeleteDBInstanceResultSourceDeletes a previously provisioned DB instance. When you delete a DB instance, all automated backups for that instance are deleted and can't be recovered. However, manual DB snapshots of the DB instance aren't deleted. If you request a final DB snapshot, the status of the Amazon RDS DB instance is deleting until the DB snapshot is created. This operation can't be canceled or reverted after it begins. To monitor the status of this operation, use DescribeDBInstance. When a DB instance is in a failure state and has a status of failed, incompatible-restore, or incompatible-network, you can only delete it when you skip creation of the final snapshot with the SkipFinalSnapshot parameter. If the specified DB instance is part of an Amazon Aurora DB cluster, you can't delete the DB instance if both of the following conditions are true: The DB cluster is a read replica of another Amazon Aurora DB cluster. The DB instance is the only instance in the DB cluster. To delete a DB instance in this case, first use the PromoteReadReplicaDBCluster operation to promote the DB cluster so that it's no longer a read replica. After the promotion completes, use the DeleteDBInstance operation to delete the final instance in the DB cluster. For RDS Custom DB instances, deleting the DB instance permanently deletes the EC2 instance and the associated EBS volumes. Make sure that you don't terminate or delete these resources before you delete the DB instance. Otherwise, deleting the DB instance and creation of the final snapshot might fail.
and t = {deleteDBInstanceResult : deleteDBInstanceResult;responseMetaData : responseMetaData;}type error = [ | `DBInstanceAutomatedBackupQuotaExceededFault of
Values_0.DBInstanceAutomatedBackupQuotaExceededFault.t| `DBInstanceNotFoundFault of Values_0.DBInstanceNotFoundFault.t| `DBSnapshotAlreadyExistsFault of Values_0.DBSnapshotAlreadyExistsFault.t| `InvalidDBClusterStateFault of Values_0.InvalidDBClusterStateFault.t| `InvalidDBInstanceStateFault of Values_0.InvalidDBInstanceStateFault.t| `KMSKeyNotAccessibleFault of Values_0.KMSKeyNotAccessibleFault.t| `SnapshotQuotaExceededFault of Values_0.SnapshotQuotaExceededFault.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `DBInstanceAutomatedBackupQuotaExceededFault of unit
| `DBInstanceNotFoundFault of unit
| `DBSnapshotAlreadyExistsFault of unit
| `InvalidDBClusterStateFault of unit
| `InvalidDBInstanceStateFault of unit
| `KMSKeyNotAccessibleFault of unit
| `SnapshotQuotaExceededFault of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `DBInstanceAutomatedBackupQuotaExceededFault of unit
| `DBInstanceNotFoundFault of unit
| `DBSnapshotAlreadyExistsFault of unit
| `InvalidDBClusterStateFault of unit
| `InvalidDBInstanceStateFault of unit
| `KMSKeyNotAccessibleFault of unit
| `SnapshotQuotaExceededFault of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of bool
| `Enum of string
| `Integer of int
| `List of
[> `String of string
| `Structure of
(string
* [> `Boolean of bool
| `Integer of int
| `List of [> `String of string ] list
| `String of string ])
list ]
list
| `String of string
| `Structure of
(string
* [> `Boolean of bool
| `Enum of string
| `Integer of int
| `List of
[> `String of string
| `Structure of
(string
* [> `Integer of int
| `String of string
| `Structure of
(string * [> `String of string ]) list ])
list ]
list
| `String of string
| `Structure of
(string
* [> `List of [> `String of string ] list ])
list
| `Timestamp of string ])
list
| `Timestamp of string ])
list ])
list ])
list ]