Struct aws_sdk_fsx::client::fluent_builders::DeleteBackup [−][src]
pub struct DeleteBackup<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to DeleteBackup.
Deletes an Amazon FSx backup, deleting its contents. After deletion, the backup no longer exists, and its data is gone.
The DeleteBackup call returns instantly. The backup will not show up
in later DescribeBackups calls.
The data in a deleted backup is also deleted and can't be recovered by any means.
Implementations
impl<C, M, R> DeleteBackup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteBackup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteBackupOutput, SdkError<DeleteBackupError>> where
R::Policy: SmithyRetryPolicy<DeleteBackupInputOperationOutputAlias, DeleteBackupOutput, DeleteBackupError, DeleteBackupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteBackupOutput, SdkError<DeleteBackupError>> where
R::Policy: SmithyRetryPolicy<DeleteBackupInputOperationOutputAlias, DeleteBackupOutput, DeleteBackupError, DeleteBackupInputOperationRetryAlias>,
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 ID of the backup you want to delete.
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent deletion. This is automatically filled on your behalf when using the CLI or SDK.
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent deletion. This is automatically filled on your behalf when using the CLI or SDK.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteBackup<C, M, R>
impl<C, M, R> Unpin for DeleteBackup<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteBackup<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