Struct aws_sdk_fsx::client::fluent_builders::DeleteVolume [−][src]
pub struct DeleteVolume<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to DeleteVolume.
Deletes an Amazon FSx for NetApp ONTAP volume. When deleting a volume,
you have the option of creating a final backup. If you create a final backup, you have the option to
apply Tags to the backup. You need to have fsx:TagResource
permission in order to apply tags to the backup.
Implementations
impl<C, M, R> DeleteVolume<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteVolume<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteVolumeOutput, SdkError<DeleteVolumeError>> where
R::Policy: SmithyRetryPolicy<DeleteVolumeInputOperationOutputAlias, DeleteVolumeOutput, DeleteVolumeError, DeleteVolumeInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteVolumeOutput, SdkError<DeleteVolumeError>> where
R::Policy: SmithyRetryPolicy<DeleteVolumeInputOperationOutputAlias, DeleteVolumeOutput, DeleteVolumeError, DeleteVolumeInputOperationRetryAlias>,
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.
The ID of the volume you are deleting.
For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume, and apply tags to the backup.
For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume, and apply tags to the backup.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteVolume<C, M, R>
impl<C, M, R> Unpin for DeleteVolume<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteVolume<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