aws_sdk_rds/client/
delete_db_subnet_group.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteDBSubnetGroup`](crate::operation::delete_db_subnet_group::builders::DeleteDBSubnetGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`db_subnet_group_name(impl Into<String>)`](crate::operation::delete_db_subnet_group::builders::DeleteDBSubnetGroupFluentBuilder::db_subnet_group_name) / [`set_db_subnet_group_name(Option<String>)`](crate::operation::delete_db_subnet_group::builders::DeleteDBSubnetGroupFluentBuilder::set_db_subnet_group_name):<br>required: **true**<br><p>The name of the database subnet group to delete.</p><note>  <p>You can't delete the default subnet group.</p> </note> <p>Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.</p> <p>Example: <code>mydbsubnetgroup</code></p><br>
    /// - On success, responds with [`DeleteDbSubnetGroupOutput`](crate::operation::delete_db_subnet_group::DeleteDbSubnetGroupOutput)
    /// - On failure, responds with [`SdkError<DeleteDBSubnetGroupError>`](crate::operation::delete_db_subnet_group::DeleteDBSubnetGroupError)
    pub fn delete_db_subnet_group(&self) -> crate::operation::delete_db_subnet_group::builders::DeleteDBSubnetGroupFluentBuilder {
        crate::operation::delete_db_subnet_group::builders::DeleteDBSubnetGroupFluentBuilder::new(self.handle.clone())
    }
}