create_logically_air_gapped_backup_vault
async
¶
create_logically_air_gapped_backup_vault(
backup_vault_name: BackupVaultName,
min_retention_days: Long,
max_retention_days: Long,
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
backup_vault_tags: Optional[Tags] = None,
creator_request_id: Optional[string] = None,
encryption_key_arn: Optional[ARN] = None,
) -> CreateLogicallyAirGappedBackupVaultOutput
Creates a logical container to where backups may be copied.
This request includes a name, the Region, the maximum number of retention days, the minimum number of retention days, and optionally can include tags and a creator 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. Logically air-gapped backup vaults are identified by names that are unique to the account used to create them and the Region where they are created.
-
backup_vault_tags(Optional[Tags], default:None) –The tags to assign to the vault.
-
creator_request_id(Optional[string], default:None) –The ID of the creation request.
This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
-
min_retention_days(Long) –This setting specifies the minimum retention period that the vault retains its recovery points.
The minimum value accepted is 7 days.
-
max_retention_days(Long) –The maximum retention period that the vault retains its recovery points.
-
encryption_key_arn(Optional[ARN], default:None) –The ARN of the customer-managed KMS key to use for encrypting the logically air-gapped backup vault. If not specified, the vault will be encrypted with an Amazon Web Services-owned key managed by Amazon Web Services Backup.
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.
-
InvalidRequestException–Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
-
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.
Source code in docs_src/capo_backup/_services/async_backup.py
998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 | |