1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateDBSubnetGroup`](crate::operation::create_db_subnet_group::builders::CreateDBSubnetGroupFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`db_subnet_group_name(impl Into<String>)`](crate::operation::create_db_subnet_group::builders::CreateDBSubnetGroupFluentBuilder::db_subnet_group_name) / [`set_db_subnet_group_name(Option<String>)`](crate::operation::create_db_subnet_group::builders::CreateDBSubnetGroupFluentBuilder::set_db_subnet_group_name): <p>The name for the DB subnet group. This value is stored as a lowercase string.</p> <p>Constraints:</p> <ul> <li> <p>Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens.</p> </li> <li> <p>Must not be default.</p> </li> <li> <p>First character must be a letter.</p> </li> </ul> <p>Example: <code>mydbsubnetgroup</code> </p>
/// - [`db_subnet_group_description(impl Into<String>)`](crate::operation::create_db_subnet_group::builders::CreateDBSubnetGroupFluentBuilder::db_subnet_group_description) / [`set_db_subnet_group_description(Option<String>)`](crate::operation::create_db_subnet_group::builders::CreateDBSubnetGroupFluentBuilder::set_db_subnet_group_description): <p>The description for the DB subnet group.</p>
/// - [`subnet_ids(Vec<String>)`](crate::operation::create_db_subnet_group::builders::CreateDBSubnetGroupFluentBuilder::subnet_ids) / [`set_subnet_ids(Option<Vec<String>>)`](crate::operation::create_db_subnet_group::builders::CreateDBSubnetGroupFluentBuilder::set_subnet_ids): <p>The EC2 Subnet IDs for the DB subnet group.</p>
/// - [`tags(Vec<Tag>)`](crate::operation::create_db_subnet_group::builders::CreateDBSubnetGroupFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_db_subnet_group::builders::CreateDBSubnetGroupFluentBuilder::set_tags): <p>Tags to assign to the DB subnet group.</p>
/// - On success, responds with [`CreateDbSubnetGroupOutput`](crate::operation::create_db_subnet_group::CreateDbSubnetGroupOutput) with field(s):
/// - [`db_subnet_group(Option<DbSubnetGroup>)`](crate::operation::create_db_subnet_group::CreateDbSubnetGroupOutput::db_subnet_group): <p>Contains the details of an Amazon RDS DB subnet group.</p> <p>This data type is used as a response element in the <code>DescribeDBSubnetGroups</code> action.</p>
/// - On failure, responds with [`SdkError<CreateDBSubnetGroupError>`](crate::operation::create_db_subnet_group::CreateDBSubnetGroupError)
pub fn create_db_subnet_group(
&self,
) -> crate::operation::create_db_subnet_group::builders::CreateDBSubnetGroupFluentBuilder {
crate::operation::create_db_subnet_group::builders::CreateDBSubnetGroupFluentBuilder::new(
self.handle.clone(),
)
}
}