Smaws_Client_Neptune.CreateGlobalClusterCreates a Neptune global database spread across multiple Amazon Regions. The global database contains a single primary cluster with read-write capability, and read-only secondary clusters that receive data from the primary cluster through high-speed replication performed by the Neptune storage subsystem.
You can create a global database that is initially empty, and then add a primary cluster and secondary clusters to it, or you can specify an existing Neptune cluster during the create operation to become the primary cluster of the global database.
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 ] ->
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 ])
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 ]
* Smaws_Lib.Response.metadata)
Stdlib.result