Smaws_Client_ElastiCache.FailoverGlobalReplicationGroupUsed to failover the primary region to a secondary region. The secondary region will become primary, and all other clusters will become secondary.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `GlobalReplicationGroupNotFoundFault of
Types.global_replication_group_not_found_fault
| `InvalidGlobalReplicationGroupStateFault of
Types.invalid_global_replication_group_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.failover_global_replication_group_message ->
(Types.failover_global_replication_group_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `GlobalReplicationGroupNotFoundFault of
Types.global_replication_group_not_found_fault
| `InvalidGlobalReplicationGroupStateFault of
Types.invalid_global_replication_group_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.failover_global_replication_group_message ->
(Types.failover_global_replication_group_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `GlobalReplicationGroupNotFoundFault of
Types.global_replication_group_not_found_fault
| `InvalidGlobalReplicationGroupStateFault of
Types.invalid_global_replication_group_state_fault
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result