Struct aws_sdk_backup::client::fluent_builders::DeleteBackupVault
source · [−]pub struct DeleteBackupVault<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteBackupVault
.
Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
Implementations
impl<C, M, R> DeleteBackupVault<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteBackupVault<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteBackupVaultOutput, SdkError<DeleteBackupVaultError>> where
R::Policy: SmithyRetryPolicy<DeleteBackupVaultInputOperationOutputAlias, DeleteBackupVaultOutput, DeleteBackupVaultError, DeleteBackupVaultInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteBackupVaultOutput, SdkError<DeleteBackupVaultError>> where
R::Policy: SmithyRetryPolicy<DeleteBackupVaultInputOperationOutputAlias, DeleteBackupVaultOutput, DeleteBackupVaultError, DeleteBackupVaultInputOperationRetryAlias>,
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 of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteBackupVault<C, M, R>
impl<C, M, R> Send for DeleteBackupVault<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteBackupVault<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteBackupVault<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteBackupVault<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