aws_sdk_rds/client/delete_blue_green_deployment.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteBlueGreenDeployment`](crate::operation::delete_blue_green_deployment::builders::DeleteBlueGreenDeploymentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`blue_green_deployment_identifier(impl Into<String>)`](crate::operation::delete_blue_green_deployment::builders::DeleteBlueGreenDeploymentFluentBuilder::blue_green_deployment_identifier) / [`set_blue_green_deployment_identifier(Option<String>)`](crate::operation::delete_blue_green_deployment::builders::DeleteBlueGreenDeploymentFluentBuilder::set_blue_green_deployment_identifier):<br>required: **true**<br><p>The unique identifier of the blue/green deployment to delete. This parameter isn't case-sensitive.</p> <p>Constraints:</p> <ul> <li> <p>Must match an existing blue/green deployment identifier.</p></li> </ul><br>
/// - [`delete_target(bool)`](crate::operation::delete_blue_green_deployment::builders::DeleteBlueGreenDeploymentFluentBuilder::delete_target) / [`set_delete_target(Option<bool>)`](crate::operation::delete_blue_green_deployment::builders::DeleteBlueGreenDeploymentFluentBuilder::set_delete_target):<br>required: **false**<br><p>Specifies whether to delete the resources in the green environment. You can't specify this option if the blue/green deployment <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_BlueGreenDeployment.html">status</a> is <code>SWITCHOVER_COMPLETED</code>.</p><br>
/// - On success, responds with [`DeleteBlueGreenDeploymentOutput`](crate::operation::delete_blue_green_deployment::DeleteBlueGreenDeploymentOutput) with field(s):
/// - [`blue_green_deployment(Option<BlueGreenDeployment>)`](crate::operation::delete_blue_green_deployment::DeleteBlueGreenDeploymentOutput::blue_green_deployment): <p>Details about a blue/green deployment.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html">Using Amazon RDS Blue/Green Deployments for database updates</a> in the <i>Amazon RDS User Guide</i> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html">Using Amazon RDS Blue/Green Deployments for database updates</a> in the <i>Amazon Aurora User Guide</i>.</p>
/// - On failure, responds with [`SdkError<DeleteBlueGreenDeploymentError>`](crate::operation::delete_blue_green_deployment::DeleteBlueGreenDeploymentError)
pub fn delete_blue_green_deployment(&self) -> crate::operation::delete_blue_green_deployment::builders::DeleteBlueGreenDeploymentFluentBuilder {
crate::operation::delete_blue_green_deployment::builders::DeleteBlueGreenDeploymentFluentBuilder::new(self.handle.clone())
}
}