Struct aws_sdk_docdb::client::fluent_builders::CreateDBSubnetGroup [−][src]
pub struct CreateDBSubnetGroup<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateDBSubnetGroup.
Creates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Region.
Implementations
impl<C, M, R> CreateDBSubnetGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDBSubnetGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDbSubnetGroupOutput, SdkError<CreateDBSubnetGroupError>> where
R::Policy: SmithyRetryPolicy<CreateDbSubnetGroupInputOperationOutputAlias, CreateDbSubnetGroupOutput, CreateDBSubnetGroupError, CreateDbSubnetGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDbSubnetGroupOutput, SdkError<CreateDBSubnetGroupError>> where
R::Policy: SmithyRetryPolicy<CreateDbSubnetGroupInputOperationOutputAlias, CreateDbSubnetGroupOutput, CreateDBSubnetGroupError, CreateDbSubnetGroupInputOperationRetryAlias>,
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 subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
The name for the subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, 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.
The Amazon EC2 subnet IDs for the subnet group.
The Amazon EC2 subnet IDs for the subnet group.
Appends an item to Tags.
To override the contents of this collection use set_tags.
The tags to be assigned to the subnet group.
The tags to be assigned to the subnet group.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateDBSubnetGroup<C, M, R>
impl<C, M, R> Send for CreateDBSubnetGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateDBSubnetGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateDBSubnetGroup<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateDBSubnetGroup<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
