revoke_restore_access_backup_vault
async
¶
revoke_restore_access_backup_vault(
backup_vault_name: BackupVaultName,
restore_access_backup_vault_arn: ARN,
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
requester_comment: Optional[RequesterComment] = None,
) -> None
Revokes access to a restore access backup vault, removing the ability to restore from its recovery points and permanently deleting the vault.
Parameters:
-
backup_vault_name(BackupVaultName) –The name of the source backup vault associated with the restore access backup vault to be revoked.
-
restore_access_backup_vault_arn(ARN) –The ARN of the restore access backup vault to revoke.
-
requester_comment(Optional[RequesterComment], default:None) –A comment explaining the reason for revoking access to the restore access backup vault.
Raises:
-
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.
-
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/async_backup.py
7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 | |