1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteDBSecurityGroup`](crate::operation::delete_db_security_group::builders::DeleteDBSecurityGroupFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`db_security_group_name(impl Into<String>)`](crate::operation::delete_db_security_group::builders::DeleteDBSecurityGroupFluentBuilder::db_security_group_name) / [`set_db_security_group_name(Option<String>)`](crate::operation::delete_db_security_group::builders::DeleteDBSecurityGroupFluentBuilder::set_db_security_group_name): <p>The name of the DB security group to delete.</p> <note> <p>You can't delete the default DB security group.</p> </note> <p>Constraints:</p> <ul> <li> <p>Must be 1 to 255 letters, numbers, or hyphens.</p> </li> <li> <p>First character must be a letter</p> </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens</p> </li> <li> <p>Must not be "Default"</p> </li> </ul>
/// - On success, responds with [`DeleteDbSecurityGroupOutput`](crate::operation::delete_db_security_group::DeleteDbSecurityGroupOutput)
/// - On failure, responds with [`SdkError<DeleteDBSecurityGroupError>`](crate::operation::delete_db_security_group::DeleteDBSecurityGroupError)
pub fn delete_db_security_group(
&self,
) -> crate::operation::delete_db_security_group::builders::DeleteDBSecurityGroupFluentBuilder
{
crate::operation::delete_db_security_group::builders::DeleteDBSecurityGroupFluentBuilder::new(self.handle.clone())
}
}