Smaws_Client_RDS.StopDBClusterStops an Amazon Aurora DB cluster. When you stop a DB cluster, Aurora retains the DB cluster's metadata, including its endpoints and DB parameter groups. Aurora also retains the transaction logs so you can do a point-in-time restore if necessary.
For more information, see Stopping and Starting an Aurora Cluster in the Amazon Aurora User Guide.
This operation only applies to Aurora DB clusters.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `DBClusterNotFoundFault of Types.db_cluster_not_found_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault
| `InvalidDBInstanceStateFault of Types.invalid_db_instance_state_fault
| `InvalidDBShardGroupStateFault of Types.invalid_db_shard_group_state_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.stop_db_cluster_message ->
(Types.stop_db_cluster_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBClusterNotFoundFault of Types.db_cluster_not_found_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault
| `InvalidDBInstanceStateFault of Types.invalid_db_instance_state_fault
| `InvalidDBShardGroupStateFault of
Types.invalid_db_shard_group_state_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.stop_db_cluster_message ->
(Types.stop_db_cluster_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBClusterNotFoundFault of Types.db_cluster_not_found_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault
| `InvalidDBInstanceStateFault of Types.invalid_db_instance_state_fault
| `InvalidDBShardGroupStateFault of
Types.invalid_db_shard_group_state_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result