Module Smaws_Client_DocDB.SwitchoverGlobalCluster

and Deserialization

Switches over the specified secondary Amazon DocumentDB cluster to be the new primary Amazon DocumentDB cluster in the global database cluster.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `DBClusterNotFoundFault of Types.db_cluster_not_found_fault | `GlobalClusterNotFoundFault of Types.global_cluster_not_found_fault | `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault | `InvalidGlobalClusterStateFault of Types.invalid_global_cluster_state_fault ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.switchover_global_cluster_message -> (Types.switchover_global_cluster_result, [> Smaws_Lib.Protocols.AwsQuery.error | `DBClusterNotFoundFault of Types.db_cluster_not_found_fault | `GlobalClusterNotFoundFault of Types.global_cluster_not_found_fault | `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault | `InvalidGlobalClusterStateFault of Types.invalid_global_cluster_state_fault ]) Stdlib.result