Struct aws_sdk_databasemigration::client::fluent_builders::CreateReplicationSubnetGroup [−][src]
pub struct CreateReplicationSubnetGroup<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateReplicationSubnetGroup
.
Creates a replication subnet group given a list of the subnet IDs in a VPC.
The VPC needs to have at least one subnet in at least two availability zones in the Amazon Web Services Region, otherwise the
service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs
exception.
Implementations
impl<C, M, R> CreateReplicationSubnetGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateReplicationSubnetGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateReplicationSubnetGroupOutput, SdkError<CreateReplicationSubnetGroupError>> where
R::Policy: SmithyRetryPolicy<CreateReplicationSubnetGroupInputOperationOutputAlias, CreateReplicationSubnetGroupOutput, CreateReplicationSubnetGroupError, CreateReplicationSubnetGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateReplicationSubnetGroupOutput, SdkError<CreateReplicationSubnetGroupError>> where
R::Policy: SmithyRetryPolicy<CreateReplicationSubnetGroupInputOperationOutputAlias, CreateReplicationSubnetGroupOutput, CreateReplicationSubnetGroupError, CreateReplicationSubnetGroupInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name for the replication subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
Example: mySubnetgroup
The name for the replication subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters, periods, spaces, underscores, or hyphens. Must not be "default".
Example: mySubnetgroup
The description for the subnet group.
The description for the subnet group.
Appends an item to SubnetIds
.
To override the contents of this collection use set_subnet_ids
.
One or more subnet IDs to be assigned to the subnet group.
One or more subnet IDs to be assigned to the subnet group.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
One or more tags to be assigned to the subnet group.
One or more tags to be assigned to the subnet group.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateReplicationSubnetGroup<C, M, R>
impl<C, M, R> Send for CreateReplicationSubnetGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateReplicationSubnetGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateReplicationSubnetGroup<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateReplicationSubnetGroup<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more