create_backup_vault
async
¶
create_backup_vault(
backup_vault_name: BackupVaultName,
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
backup_vault_tags: Optional[Tags] = None,
encryption_key_arn: Optional[ARN] = None,
creator_request_id: Optional[string] = None,
) -> CreateBackupVaultOutput
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.
Parameters:
-
backup_vault_name(BackupVaultName) –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.
-
backup_vault_tags(Optional[Tags], default:None) –The tags to assign to the backup vault.
-
encryption_key_arn(Optional[ARN], default:None) –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. -
creator_request_id(Optional[string], default:None) –A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
Raises:
-
AlreadyExistsException–The required resource already exists.
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
LimitExceededException–A limit in the request has been exceeded; for example, a maximum number of items allowed in a request.
-
MissingParameterValueException–Indicates that a required parameter is missing.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.