Smaws_Client_RDS.CreateGlobalClusterCreates 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `DBClusterNotFoundFault of Types.db_cluster_not_found_fault
| `GlobalClusterAlreadyExistsFault of
Types.global_cluster_already_exists_fault
| `GlobalClusterQuotaExceededFault of
Types.global_cluster_quota_exceeded_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault
| `InvalidDBShardGroupStateFault of Types.invalid_db_shard_group_state_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_global_cluster_message ->
(Types.create_global_cluster_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBClusterNotFoundFault of Types.db_cluster_not_found_fault
| `GlobalClusterAlreadyExistsFault of
Types.global_cluster_already_exists_fault
| `GlobalClusterQuotaExceededFault of
Types.global_cluster_quota_exceeded_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault
| `InvalidDBShardGroupStateFault of
Types.invalid_db_shard_group_state_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_global_cluster_message ->
(Types.create_global_cluster_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DBClusterNotFoundFault of Types.db_cluster_not_found_fault
| `GlobalClusterAlreadyExistsFault of
Types.global_cluster_already_exists_fault
| `GlobalClusterQuotaExceededFault of
Types.global_cluster_quota_exceeded_fault
| `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault
| `InvalidDBShardGroupStateFault of
Types.invalid_db_shard_group_state_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result