aws_sdk_databasemigration/client/
create_replication_subnet_group.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateReplicationSubnetGroup`](crate::operation::create_replication_subnet_group::builders::CreateReplicationSubnetGroupFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`replication_subnet_group_identifier(impl Into<String>)`](crate::operation::create_replication_subnet_group::builders::CreateReplicationSubnetGroupFluentBuilder::replication_subnet_group_identifier) / [`set_replication_subnet_group_identifier(Option<String>)`](crate::operation::create_replication_subnet_group::builders::CreateReplicationSubnetGroupFluentBuilder::set_replication_subnet_group_identifier):<br>required: **true**<br><p>The name for the replication subnet group. This value is stored as a lowercase string.</p> <p>Constraints: Must contain no more than 255 alphanumeric characters, periods, underscores, or hyphens. Must not be "default".</p> <p>Example: <code>mySubnetgroup</code></p><br>
    ///   - [`replication_subnet_group_description(impl Into<String>)`](crate::operation::create_replication_subnet_group::builders::CreateReplicationSubnetGroupFluentBuilder::replication_subnet_group_description) / [`set_replication_subnet_group_description(Option<String>)`](crate::operation::create_replication_subnet_group::builders::CreateReplicationSubnetGroupFluentBuilder::set_replication_subnet_group_description):<br>required: **true**<br><p>The description for the subnet group.</p><br>
    ///   - [`subnet_ids(impl Into<String>)`](crate::operation::create_replication_subnet_group::builders::CreateReplicationSubnetGroupFluentBuilder::subnet_ids) / [`set_subnet_ids(Option<Vec::<String>>)`](crate::operation::create_replication_subnet_group::builders::CreateReplicationSubnetGroupFluentBuilder::set_subnet_ids):<br>required: **true**<br><p>Two or more subnet IDs to be assigned to the subnet group.</p><br>
    ///   - [`tags(Tag)`](crate::operation::create_replication_subnet_group::builders::CreateReplicationSubnetGroupFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_replication_subnet_group::builders::CreateReplicationSubnetGroupFluentBuilder::set_tags):<br>required: **false**<br><p>One or more tags to be assigned to the subnet group.</p><br>
    /// - On success, responds with [`CreateReplicationSubnetGroupOutput`](crate::operation::create_replication_subnet_group::CreateReplicationSubnetGroupOutput) with field(s):
    ///   - [`replication_subnet_group(Option<ReplicationSubnetGroup>)`](crate::operation::create_replication_subnet_group::CreateReplicationSubnetGroupOutput::replication_subnet_group): <p>The replication subnet group that was created.</p>
    /// - On failure, responds with [`SdkError<CreateReplicationSubnetGroupError>`](crate::operation::create_replication_subnet_group::CreateReplicationSubnetGroupError)
    pub fn create_replication_subnet_group(
        &self,
    ) -> crate::operation::create_replication_subnet_group::builders::CreateReplicationSubnetGroupFluentBuilder {
        crate::operation::create_replication_subnet_group::builders::CreateReplicationSubnetGroupFluentBuilder::new(self.handle.clone())
    }
}