Smaws_Client_RDS.StopDBInstanceStops an Amazon RDS DB instance temporarily. When you stop a DB instance, Amazon RDS retains the DB instance's metadata, including its endpoint, DB parameter group, and option group membership. Amazon RDS also retains the transaction logs so you can do a point-in-time restore if necessary. The instance restarts automatically after 7 days.
For more information, see Stopping an Amazon RDS DB Instance Temporarily in the Amazon RDS User Guide.
This command doesn't apply to RDS Custom, Aurora MySQL, and Aurora PostgreSQL. For Aurora clusters, use StopDBCluster instead.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `DBInstanceNotFoundFault of Types.db_instance_not_found_fault
| `DBSnapshotAlreadyExistsFault of Types.db_snapshot_already_exists_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault
| `InvalidDBInstanceStateFault of Types.invalid_db_instance_state_fault
| `SnapshotQuotaExceededFault of Types.snapshot_quota_exceeded_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.stop_db_instance_message ->
(Types.stop_db_instance_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBInstanceNotFoundFault of Types.db_instance_not_found_fault
| `DBSnapshotAlreadyExistsFault of Types.db_snapshot_already_exists_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault
| `InvalidDBInstanceStateFault of Types.invalid_db_instance_state_fault
| `SnapshotQuotaExceededFault of Types.snapshot_quota_exceeded_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.stop_db_instance_message ->
(Types.stop_db_instance_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBInstanceNotFoundFault of Types.db_instance_not_found_fault
| `DBSnapshotAlreadyExistsFault of Types.db_snapshot_already_exists_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault
| `InvalidDBInstanceStateFault of Types.invalid_db_instance_state_fault
| `SnapshotQuotaExceededFault of Types.snapshot_quota_exceeded_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result