Struct aws_sdk_backup::operation::delete_backup_vault_lock_configuration::builders::DeleteBackupVaultLockConfigurationFluentBuilder
source · pub struct DeleteBackupVaultLockConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteBackupVaultLockConfiguration
.
Deletes Backup Vault Lock from a backup vault specified by a backup vault name.
If the Vault Lock configuration is immutable, then you cannot delete Vault Lock using API operations, and you will receive an InvalidRequestException
if you attempt to do so. For more information, see Vault Lock in the Backup Developer Guide.
Implementations§
source§impl DeleteBackupVaultLockConfigurationFluentBuilder
impl DeleteBackupVaultLockConfigurationFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteBackupVaultLockConfiguration, AwsResponseRetryClassifier>, SdkError<DeleteBackupVaultLockConfigurationError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeleteBackupVaultLockConfiguration, AwsResponseRetryClassifier>, SdkError<DeleteBackupVaultLockConfigurationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeleteBackupVaultLockConfigurationOutput, SdkError<DeleteBackupVaultLockConfigurationError>>
pub async fn send( self ) -> Result<DeleteBackupVaultLockConfigurationOutput, SdkError<DeleteBackupVaultLockConfigurationError>>
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.
sourcepub fn backup_vault_name(self, input: impl Into<String>) -> Self
pub fn backup_vault_name(self, input: impl Into<String>) -> Self
The name of the backup vault from which to delete Backup Vault Lock.
sourcepub fn set_backup_vault_name(self, input: Option<String>) -> Self
pub fn set_backup_vault_name(self, input: Option<String>) -> Self
The name of the backup vault from which to delete Backup Vault Lock.
Trait Implementations§
source§impl Clone for DeleteBackupVaultLockConfigurationFluentBuilder
impl Clone for DeleteBackupVaultLockConfigurationFluentBuilder
source§fn clone(&self) -> DeleteBackupVaultLockConfigurationFluentBuilder
fn clone(&self) -> DeleteBackupVaultLockConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more