create_logically_air_gapped_backup_vault
¶
create_logically_air_gapped_backup_vault(
backup_vault_name: BackupVaultName,
min_retention_days: Long,
max_retention_days: Long,
*,
config_overrides: Optional[BackupClientConfig] = 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/backup.py
1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 | |