Values_1.CreateGlobalClusterResultSourceCreates an Aurora global database spread across multiple Amazon Web Services Regions. The global database contains a single primary cluster with read-write capability, and a read-only secondary cluster that receives data from the primary cluster through high-speed replication performed by the Aurora storage subsystem. You can create a global database that is initially empty, and then create the primary and secondary DB clusters in the global database. Or you can specify an existing Aurora cluster during the create operation, and this cluster becomes the primary cluster of the global database. This operation applies only to Aurora DB clusters.
and t = {createGlobalClusterResult : createGlobalClusterResult;responseMetaData : responseMetaData;}type error = [ | `DBClusterNotFoundFault of Values_0.DBClusterNotFoundFault.t| `GlobalClusterAlreadyExistsFault of Values_0.GlobalClusterAlreadyExistsFault.t| `GlobalClusterQuotaExceededFault of Values_0.GlobalClusterQuotaExceededFault.t| `InvalidDBClusterStateFault of Values_0.InvalidDBClusterStateFault.t| `InvalidDBShardGroupStateFault of Values_0.InvalidDBShardGroupStateFault.t| `ResourceNotFoundFault of Values_0.ResourceNotFoundFault.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `DBClusterNotFoundFault of unit
| `GlobalClusterAlreadyExistsFault of unit
| `GlobalClusterQuotaExceededFault of unit
| `InvalidDBClusterStateFault of unit
| `InvalidDBShardGroupStateFault of unit
| `ResourceNotFoundFault of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `DBClusterNotFoundFault of unit
| `GlobalClusterAlreadyExistsFault of unit
| `GlobalClusterQuotaExceededFault of unit
| `InvalidDBClusterStateFault of unit
| `InvalidDBShardGroupStateFault of unit
| `ResourceNotFoundFault of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of bool
| `Enum of string
| `List of
[> `Structure of
(string
* [> `Boolean of bool
| `Enum of string
| `List of [> `String of string ] list
| `String of string ])
list ]
list
| `String of string
| `Structure of
(string
* [> `Boolean of bool
| `Enum of string
| `String of string ])
list ])
list ])
list ])
list ]