deleteBlueGreenDeployment

Deletes a blue/green deployment.

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.

Samples


fun main() { 
   //sampleStart 
   // The following example deletes the resources in a green environment for an RDS for MySQL DB instance.
val resp = rdsClient.deleteBlueGreenDeployment {
    blueGreenDeploymentIdentifier = "bgd-v53303651eexfake"
    deleteTarget = true
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // The following example deletes the resources in a green environment for an Aurora MySQL DB cluster.
val resp = rdsClient.deleteBlueGreenDeployment {
    blueGreenDeploymentIdentifier = "bgd-wi89nwzglccsfake"
    deleteTarget = true
} 
   //sampleEnd
}