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
7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 | |