Smaws_Client_Redshift.FailoverPrimaryComputeFails over the primary compute unit of the specified Multi-AZ cluster to another Availability Zone.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `UnauthorizedOperation of Types.unauthorized_operation
| `UnsupportedOperationFault of Types.unsupported_operation_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.failover_primary_compute_input_message ->
(Types.failover_primary_compute_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `UnauthorizedOperation of Types.unauthorized_operation
| `UnsupportedOperationFault of Types.unsupported_operation_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.failover_primary_compute_input_message ->
(Types.failover_primary_compute_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ClusterNotFoundFault of Types.cluster_not_found_fault
| `InvalidClusterStateFault of Types.invalid_cluster_state_fault
| `UnauthorizedOperation of Types.unauthorized_operation
| `UnsupportedOperationFault of Types.unsupported_operation_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result