Module Smaws_Client_RDS.CreateBlueGreenDeployment

Creates a blue/green deployment.

A blue/green deployment creates a staging environment that copies the production environment. In a blue/green deployment, the blue environment is the current production environment. The green environment is the staging environment, and it stays in sync with the current production environment.

You can make changes to the databases in the green environment without affecting production workloads. For example, you can upgrade the major or minor DB engine version, change database parameters, or make schema changes in the staging environment. You can thoroughly test changes in the green environment. When ready, you can switch over the environments to promote the green environment to be the new production environment. The switchover typically takes under a minute.

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 | `BlueGreenDeploymentAlreadyExistsFault of Types.blue_green_deployment_already_exists_fault | `DBClusterNotFoundFault of Types.db_cluster_not_found_fault | `DBClusterParameterGroupNotFoundFault of Types.db_cluster_parameter_group_not_found_fault | `DBClusterQuotaExceededFault of Types.db_cluster_quota_exceeded_fault | `DBInstanceNotFoundFault of Types.db_instance_not_found_fault | `DBParameterGroupNotFoundFault of Types.db_parameter_group_not_found_fault | `InstanceQuotaExceededFault of Types.instance_quota_exceeded_fault | `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault | `InvalidDBInstanceStateFault of Types.invalid_db_instance_state_fault | `SourceClusterNotSupportedFault of Types.source_cluster_not_supported_fault | `SourceDatabaseNotSupportedFault of Types.source_database_not_supported_fault | `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_blue_green_deployment_request -> (Types.create_blue_green_deployment_response, [> Smaws_Lib.Protocols.AwsQuery.error | `BlueGreenDeploymentAlreadyExistsFault of Types.blue_green_deployment_already_exists_fault | `DBClusterNotFoundFault of Types.db_cluster_not_found_fault | `DBClusterParameterGroupNotFoundFault of Types.db_cluster_parameter_group_not_found_fault | `DBClusterQuotaExceededFault of Types.db_cluster_quota_exceeded_fault | `DBInstanceNotFoundFault of Types.db_instance_not_found_fault | `DBParameterGroupNotFoundFault of Types.db_parameter_group_not_found_fault | `InstanceQuotaExceededFault of Types.instance_quota_exceeded_fault | `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault | `InvalidDBInstanceStateFault of Types.invalid_db_instance_state_fault | `SourceClusterNotSupportedFault of Types.source_cluster_not_supported_fault | `SourceDatabaseNotSupportedFault of Types.source_database_not_supported_fault | `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_blue_green_deployment_request -> (Types.create_blue_green_deployment_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `BlueGreenDeploymentAlreadyExistsFault of Types.blue_green_deployment_already_exists_fault | `DBClusterNotFoundFault of Types.db_cluster_not_found_fault | `DBClusterParameterGroupNotFoundFault of Types.db_cluster_parameter_group_not_found_fault | `DBClusterQuotaExceededFault of Types.db_cluster_quota_exceeded_fault | `DBInstanceNotFoundFault of Types.db_instance_not_found_fault | `DBParameterGroupNotFoundFault of Types.db_parameter_group_not_found_fault | `InstanceQuotaExceededFault of Types.instance_quota_exceeded_fault | `InvalidDBClusterStateFault of Types.invalid_db_cluster_state_fault | `InvalidDBInstanceStateFault of Types.invalid_db_instance_state_fault | `SourceClusterNotSupportedFault of Types.source_cluster_not_supported_fault | `SourceDatabaseNotSupportedFault of Types.source_database_not_supported_fault | `StorageQuotaExceededFault of Types.storage_quota_exceeded_fault ] * Smaws_Lib.Response.metadata) Stdlib.result