Struct aws_sdk_redshift::client::fluent_builders::CreateClusterSecurityGroup [−][src]
pub struct CreateClusterSecurityGroup<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateClusterSecurityGroup
.
Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.
For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.
Implementations
impl<C, M, R> CreateClusterSecurityGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateClusterSecurityGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateClusterSecurityGroupOutput, SdkError<CreateClusterSecurityGroupError>> where
R::Policy: SmithyRetryPolicy<CreateClusterSecurityGroupInputOperationOutputAlias, CreateClusterSecurityGroupOutput, CreateClusterSecurityGroupError, CreateClusterSecurityGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateClusterSecurityGroupOutput, SdkError<CreateClusterSecurityGroupError>> where
R::Policy: SmithyRetryPolicy<CreateClusterSecurityGroupInputOperationOutputAlias, CreateClusterSecurityGroupOutput, CreateClusterSecurityGroupError, CreateClusterSecurityGroupInputOperationRetryAlias>,
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 security 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 security groups that are created by your Amazon Web Services account.
Example: examplesecuritygroup
The name for the security 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 security groups that are created by your Amazon Web Services account.
Example: examplesecuritygroup
A description for the security group.
A description for the security group.
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 CreateClusterSecurityGroup<C, M, R>
impl<C, M, R> Send for CreateClusterSecurityGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateClusterSecurityGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateClusterSecurityGroup<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateClusterSecurityGroup<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