Values.FailoverGlobalClusterResultSourceInitiates the failover process for a Neptune global database. A failover for a Neptune global database promotes one of secondary read-only DB clusters to be the primary DB cluster and demotes the primary DB cluster to being a secondary (read-only) DB cluster. In other words, the role of the current primary DB cluster and the selected target secondary DB cluster are switched. The selected secondary DB cluster assumes full read/write capabilities for the Neptune global database. This action applies only to Neptune global databases. This action is only intended for use on healthy Neptune global databases with healthy Neptune DB clusters and no region-wide outages, to test disaster recovery scenarios or to reconfigure the global database topology.
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
| `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 ]