Struct aws_sdk_fsx::client::fluent_builders::CreateVolume [−][src]
pub struct CreateVolume<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateVolume.
Creates an Amazon FSx for NetApp ONTAP storage volume.
Implementations
impl<C, M, R> CreateVolume<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateVolume<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateVolumeOutput, SdkError<CreateVolumeError>> where
R::Policy: SmithyRetryPolicy<CreateVolumeInputOperationOutputAlias, CreateVolumeOutput, CreateVolumeError, CreateVolumeInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateVolumeOutput, SdkError<CreateVolumeError>> where
R::Policy: SmithyRetryPolicy<CreateVolumeInputOperationOutputAlias, CreateVolumeOutput, CreateVolumeError, CreateVolumeInputOperationRetryAlias>,
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.
(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
(Optional) An idempotency token for resource creation, in a string of up to 64 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
Specifies the type of volume to create; ONTAP is the only valid volume type.
Specifies the type of volume to create; ONTAP is the only valid volume type.
Specifies the name of the volume you're creating.
Specifies the name of the volume you're creating.
Specifies the ONTAP configuration to use in creating the volume.
Specifies the ONTAP configuration to use in creating the volume.
Appends an item to Tags.
To override the contents of this collection use set_tags.
A list of Tag values, with a maximum of 50 elements.
A list of Tag values, with a maximum of 50 elements.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateVolume<C, M, R>
impl<C, M, R> Unpin for CreateVolume<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateVolume<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