Module Values.FailoverGlobalClusterResultSource

Promotes 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.

Sourcetype failoverGlobalClusterResult = {
  1. globalCluster : GlobalCluster.t option;
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. failoverGlobalClusterResult : failoverGlobalClusterResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `DBClusterNotFoundFault of DBClusterNotFoundFault.t
  2. | `GlobalClusterNotFoundFault of GlobalClusterNotFoundFault.t
  3. | `InvalidDBClusterStateFault of InvalidDBClusterStateFault.t
  4. | `InvalidGlobalClusterStateFault of InvalidGlobalClusterStateFault.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?globalCluster:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t