pub struct CreateClusterSubnetGroup<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateClusterSubnetGroup
.
Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.
For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Cluster Management Guide.
Implementations
impl<C, M, R> CreateClusterSubnetGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateClusterSubnetGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateClusterSubnetGroupOutput, SdkError<CreateClusterSubnetGroupError>> where
R::Policy: SmithyRetryPolicy<CreateClusterSubnetGroupInputOperationOutputAlias, CreateClusterSubnetGroupOutput, CreateClusterSubnetGroupError, CreateClusterSubnetGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateClusterSubnetGroupOutput, SdkError<CreateClusterSubnetGroupError>> where
R::Policy: SmithyRetryPolicy<CreateClusterSubnetGroupInputOperationOutputAlias, CreateClusterSubnetGroupOutput, CreateClusterSubnetGroupError, CreateClusterSubnetGroupInputOperationRetryAlias>,
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. Amazon Redshift stores the value as a lowercase string.
Constraints:
-
Must contain no more than 255 alphanumeric characters or hyphens.
-
Must not be "Default".
-
Must be unique for all subnet groups that are created by your Amazon Web Services account.
Example: examplesubnetgroup
The name for the subnet group. Amazon Redshift stores the value as a lowercase string.
Constraints:
-
Must contain no more than 255 alphanumeric characters or hyphens.
-
Must not be "Default".
-
Must be unique for all subnet groups that are created by your Amazon Web Services account.
Example: examplesubnetgroup
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
.
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of tag instances.
A list of tag instances.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateClusterSubnetGroup<C, M, R>
impl<C, M, R> Send for CreateClusterSubnetGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateClusterSubnetGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateClusterSubnetGroup<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateClusterSubnetGroup<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