Module Smaws_Client_DocDB.CreateGlobalCluster

Creates an Amazon DocumentDB global cluster that can span multiple multiple Amazon Web Services Regions. The global cluster contains one primary cluster with read-write capability, and up-to 10 read-only secondary clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second, using dedicated infrastructure with no impact to your workload’s performance.

You can create a global cluster that is initially empty, and then add a primary and a secondary to it. Or you can specify an existing cluster during the create operation, and this cluster becomes the primary of the global cluster.

This action only applies to Amazon DocumentDB 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 ] -> string
val 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.result
val 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