Struct aws_sdk_cloudhsmv2::client::fluent_builders::CreateCluster [−][src]
pub struct CreateCluster<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateCluster.
Creates a new AWS CloudHSM cluster.
Implementations
impl<C, M, R> CreateCluster<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateCluster<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateClusterOutput, SdkError<CreateClusterError>> where
R::Policy: SmithyRetryPolicy<CreateClusterInputOperationOutputAlias, CreateClusterOutput, CreateClusterError, CreateClusterInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateClusterOutput, SdkError<CreateClusterError>> where
R::Policy: SmithyRetryPolicy<CreateClusterInputOperationOutputAlias, CreateClusterOutput, CreateClusterError, CreateClusterInputOperationRetryAlias>,
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 policy that defines how the service retains backups.
A policy that defines how the service retains backups.
The type of HSM to use in the cluster. Currently the only allowed value is
hsm1.medium.
The type of HSM to use in the cluster. Currently the only allowed value is
hsm1.medium.
The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.
The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.
Appends an item to SubnetIds.
To override the contents of this collection use set_subnet_ids.
The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:
-
All subnets must be in the same virtual private cloud (VPC).
-
You can specify only one subnet per Availability Zone.
The identifiers (IDs) of the subnets where you are creating the cluster. You must specify at least one subnet. If you specify multiple subnets, they must meet the following criteria:
-
All subnets must be in the same virtual private cloud (VPC).
-
You can specify only one subnet per Availability Zone.
Appends an item to TagList.
To override the contents of this collection use set_tag_list.
Tags to apply to the CloudHSM cluster during creation.
Tags to apply to the CloudHSM cluster during creation.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateCluster<C, M, R>
impl<C, M, R> Unpin for CreateCluster<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateCluster<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