Struct aws_sdk_backup::client::fluent_builders::CreateBackupVault [−][src]
pub struct CreateBackupVault<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateBackupVault
.
Creates a logical container where backups are stored. A CreateBackupVault
request includes a name, optionally one or more resource tags, an encryption key, and a
request ID.
Do not include sensitive data, such as passport numbers, in the name of a backup vault.
Implementations
impl<C, M, R> CreateBackupVault<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateBackupVault<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateBackupVaultOutput, SdkError<CreateBackupVaultError>> where
R::Policy: SmithyRetryPolicy<CreateBackupVaultInputOperationOutputAlias, CreateBackupVaultOutput, CreateBackupVaultError, CreateBackupVaultInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateBackupVaultOutput, SdkError<CreateBackupVaultError>> where
R::Policy: SmithyRetryPolicy<CreateBackupVaultInputOperationOutputAlias, CreateBackupVaultOutput, CreateBackupVaultError, CreateBackupVaultInputOperationRetryAlias>,
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 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 letters, numbers, and hyphens.
Adds a key-value pair to BackupVaultTags
.
To override the contents of this collection use set_backup_vault_tags
.
Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.
Metadata that you can assign to help organize the resources that you create. Each tag is a key-value pair.
The server-side encryption key that is used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
The server-side encryption key that is used to protect your backups; for example,
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
.
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateBackupVault<C, M, R>
impl<C, M, R> Send for CreateBackupVault<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateBackupVault<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateBackupVault<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateBackupVault<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