Struct aws_sdk_elasticache::client::fluent_builders::CreateCacheSubnetGroup [−][src]
pub struct CreateCacheSubnetGroup<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateCacheSubnetGroup
.
Creates a new cache subnet group.
Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC).
Implementations
impl<C, M, R> CreateCacheSubnetGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateCacheSubnetGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateCacheSubnetGroupOutput, SdkError<CreateCacheSubnetGroupError>> where
R::Policy: SmithyRetryPolicy<CreateCacheSubnetGroupInputOperationOutputAlias, CreateCacheSubnetGroupOutput, CreateCacheSubnetGroupError, CreateCacheSubnetGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateCacheSubnetGroupOutput, SdkError<CreateCacheSubnetGroupError>> where
R::Policy: SmithyRetryPolicy<CreateCacheSubnetGroupInputOperationOutputAlias, CreateCacheSubnetGroupOutput, CreateCacheSubnetGroupError, CreateCacheSubnetGroupInputOperationRetryAlias>,
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.
A name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
A name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example: mysubnetgroup
A description for the cache subnet group.
A description for the cache 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 cache subnet group.
A list of VPC subnet IDs for the cache 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 = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateCacheSubnetGroup<C, M, R>
impl<C, M, R> Send for CreateCacheSubnetGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateCacheSubnetGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateCacheSubnetGroup<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateCacheSubnetGroup<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