Smaws_Client_RDS.SwitchoverBlueGreenDeploymentSwitches over a blue/green deployment.
Before you switch over, production traffic is routed to the databases in the blue environment. After you switch over, production traffic is routed to the databases in the green environment.
For more information, see Using Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User Guide and Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `BlueGreenDeploymentNotFoundFault of
Types.blue_green_deployment_not_found_fault
| `InvalidBlueGreenDeploymentStateFault of
Types.invalid_blue_green_deployment_state_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.switchover_blue_green_deployment_request ->
(Types.switchover_blue_green_deployment_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `BlueGreenDeploymentNotFoundFault of
Types.blue_green_deployment_not_found_fault
| `InvalidBlueGreenDeploymentStateFault of
Types.invalid_blue_green_deployment_state_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.switchover_blue_green_deployment_request ->
(Types.switchover_blue_green_deployment_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `BlueGreenDeploymentNotFoundFault of
Types.blue_green_deployment_not_found_fault
| `InvalidBlueGreenDeploymentStateFault of
Types.invalid_blue_green_deployment_state_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result