Values.FailoverGlobalClusterResultSourcePromotes the specified secondary DB cluster to be the primary DB cluster in the global cluster when failing over a global cluster occurs. Use this operation to respond to an unplanned event, such as a regional disaster in the primary region. Failing over can result in a loss of write transaction data that wasn't replicated to the chosen secondary before the failover event occurred. However, the recovery process that promotes a DB instance on the chosen seconday DB cluster to be the primary writer DB instance guarantees that the data is in a transactionally consistent state.
and t = {failoverGlobalClusterResult : failoverGlobalClusterResult;responseMetaData : responseMetaData;}type error = [ | `DBClusterNotFoundFault of DBClusterNotFoundFault.t| `GlobalClusterNotFoundFault of GlobalClusterNotFoundFault.t| `InvalidDBClusterStateFault of InvalidDBClusterStateFault.t| `InvalidGlobalClusterStateFault of InvalidGlobalClusterStateFault.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `DBClusterNotFoundFault of unit
| `GlobalClusterNotFoundFault of unit
| `InvalidDBClusterStateFault of unit
| `InvalidGlobalClusterStateFault of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `DBClusterNotFoundFault of unit
| `GlobalClusterNotFoundFault of unit
| `InvalidDBClusterStateFault of unit
| `InvalidGlobalClusterStateFault of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of BooleanOptional.t
| `List of
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of [> `String of String_.t ] list
| `String of String_.t ])
list ]
list
| `String of GlobalClusterIdentifier.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `String of String_.t ])
list ])
list ])
list ])
list ]