Struct aws_sdk_memorydb::client::fluent_builders::CreateSubnetGroup [−][src]
pub struct CreateSubnetGroup<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateSubnetGroup
.
Creates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment.
When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups.
Implementations
impl<C, M, R> CreateSubnetGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateSubnetGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateSubnetGroupOutput, SdkError<CreateSubnetGroupError>> where
R::Policy: SmithyRetryPolicy<CreateSubnetGroupInputOperationOutputAlias, CreateSubnetGroupOutput, CreateSubnetGroupError, CreateSubnetGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateSubnetGroupOutput, SdkError<CreateSubnetGroupError>> where
R::Policy: SmithyRetryPolicy<CreateSubnetGroupInputOperationOutputAlias, CreateSubnetGroupOutput, CreateSubnetGroupError, CreateSubnetGroupInputOperationRetryAlias>,
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 of the subnet group.
The name of the subnet group.
A description for the subnet group.
A description for the subnet group.
Appends an item to SubnetIds
.
To override the contents of this collection use set_subnet_ids
.
A list of VPC subnet IDs for the subnet group.
A list of VPC subnet IDs for the subnet group.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateSubnetGroup<C, M, R>
impl<C, M, R> Send for CreateSubnetGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateSubnetGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateSubnetGroup<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateSubnetGroup<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