Module Values_0.SwitchoverReadReplicaResultSource

Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new primary database. Issue this command in the Region that hosts the current standby database.

Sourcetype switchoverReadReplicaResult = {
  1. dBInstance : DBInstance.t option;
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. switchoverReadReplicaResult : switchoverReadReplicaResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `DBInstanceNotFoundFault of DBInstanceNotFoundFault.t
  2. | `InvalidDBInstanceStateFault of InvalidDBInstanceStateFault.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?dBInstance:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `DBInstanceNotFoundFault of unit | `InvalidDBInstanceStateFault of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `DBInstanceNotFoundFault of unit | `InvalidDBInstanceStateFault 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 Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `List of [> `String of String_.t ] list | `String of String_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Boolean of BooleanOptional.t | `Enum of string | `Integer of Integer.t | `List of [> `String of String_.t | `Structure of (string * [> `Integer of IntegerOptional.t | `String of String_.t | `Structure of (string * [> `String of String_.t ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `List of [> `String of String_.t ] list ]) list | `Timestamp of TStamp.t ]) list | `Timestamp of TStamp.t ]) 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