1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateClusterSubnetGroup`](crate::operation::create_cluster_subnet_group::builders::CreateClusterSubnetGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_subnet_group_name(impl ::std::convert::Into<String>)`](crate::operation::create_cluster_subnet_group::builders::CreateClusterSubnetGroupFluentBuilder::cluster_subnet_group_name) / [`set_cluster_subnet_group_name(Option<String>)`](crate::operation::create_cluster_subnet_group::builders::CreateClusterSubnetGroupFluentBuilder::set_cluster_subnet_group_name): <p>The name for the subnet group. Amazon Redshift stores the value as a lowercase string.</p>  <p>Constraints:</p>  <ul>   <li> <p>Must contain no more than 255 alphanumeric characters or hyphens.</p> </li>   <li> <p>Must not be "Default".</p> </li>   <li> <p>Must be unique for all subnet groups that are created by your Amazon Web Services account.</p> </li>  </ul>  <p>Example: <code>examplesubnetgroup</code> </p>
    ///   - [`description(impl ::std::convert::Into<String>)`](crate::operation::create_cluster_subnet_group::builders::CreateClusterSubnetGroupFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_cluster_subnet_group::builders::CreateClusterSubnetGroupFluentBuilder::set_description): <p>A description for the subnet group.</p>
    ///   - [`subnet_ids(Vec<String>)`](crate::operation::create_cluster_subnet_group::builders::CreateClusterSubnetGroupFluentBuilder::subnet_ids) / [`set_subnet_ids(Option<Vec<String>>)`](crate::operation::create_cluster_subnet_group::builders::CreateClusterSubnetGroupFluentBuilder::set_subnet_ids): <p>An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.</p>
    ///   - [`tags(Vec<Tag>)`](crate::operation::create_cluster_subnet_group::builders::CreateClusterSubnetGroupFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_cluster_subnet_group::builders::CreateClusterSubnetGroupFluentBuilder::set_tags): <p>A list of tag instances.</p>
    /// - On success, responds with [`CreateClusterSubnetGroupOutput`](crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupOutput) with field(s):
    ///   - [`cluster_subnet_group(Option<ClusterSubnetGroup>)`](crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupOutput::cluster_subnet_group): <p>Describes a subnet group.</p>
    /// - On failure, responds with [`SdkError<CreateClusterSubnetGroupError>`](crate::operation::create_cluster_subnet_group::CreateClusterSubnetGroupError)
    pub fn create_cluster_subnet_group(&self) -> crate::operation::create_cluster_subnet_group::builders::CreateClusterSubnetGroupFluentBuilder{
        crate::operation::create_cluster_subnet_group::builders::CreateClusterSubnetGroupFluentBuilder::new(self.handle.clone())
    }
}