Values.FailoverDBClusterResultSourceForces a failover for a cluster. A failover for a cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the cluster to be the primary instance (the cluster writer). If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing.
and t = {failoverDBClusterResult : failoverDBClusterResult;responseMetaData : responseMetaData;}type error = [ | `DBClusterNotFoundFault of DBClusterNotFoundFault.t| `InvalidDBClusterStateFault of InvalidDBClusterStateFault.t| `InvalidDBInstanceStateFault of InvalidDBInstanceStateFault.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `DBClusterNotFoundFault of unit
| `InvalidDBClusterStateFault of unit
| `InvalidDBInstanceStateFault of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `DBClusterNotFoundFault of unit
| `InvalidDBClusterStateFault of unit
| `InvalidDBInstanceStateFault of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of Boolean.t
| `Integer of IntegerOptional.t
| `List of
[> `String of String_.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Integer of IntegerOptional.t
| `String of String_.t ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Double of DoubleOptional.t
| `String of String_.t ])
list
| `Timestamp of TStamp.t ])
list ])
list ])
list ]