create_restore_access_backup_vault
¶
create_restore_access_backup_vault(
source_backup_vault_arn: ARN,
*,
config_overrides: Optional[BackupClientConfig] = None,
backup_vault_name: Optional[BackupVaultName] = None,
backup_vault_tags: Optional[Tags] = None,
creator_request_id: Optional[string] = None,
requester_comment: Optional[RequesterComment] = None,
) -> CreateRestoreAccessBackupVaultOutput
Creates a restore access backup vault that provides temporary access to recovery points in a logically air-gapped backup vault, subject to MPA approval.
Parameters:
-
source_backup_vault_arn(ARN) –The ARN of the source backup vault containing the recovery points to which temporary access is requested.
-
backup_vault_name(Optional[BackupVaultName], default:None) –The name of the backup vault to associate with an MPA approval team.
-
backup_vault_tags(Optional[Tags], default:None) –Optional tags to assign to the restore access backup vault.
-
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 executing the operation twice.
-
requester_comment(Optional[RequesterComment], default:None) –A comment explaining the reason for requesting restore access to the backup vault.
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.
-
ResourceNotFoundException–A resource that is required for the action doesn't exist.
-
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
1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 | |