disassociate_recovery_point(
backup_vault_name: BackupVaultName,
recovery_point_arn: ARN,
*,
config_overrides: Optional[BackupClientConfig] = None,
) -> None
Deletes the specified continuous backup recovery point from Backup and releases control of that continuous backup to the source service, such as Amazon RDS. The source service will continue to create and retain continuous backups using the lifecycle that you specified in your original backup plan.
Does not support snapshot backup recovery points.
Parameters:
-
backup_vault_name
(BackupVaultName)
–
The unique name of an Backup vault.
-
recovery_point_arn
(ARN)
–
An Amazon Resource Name (ARN) that uniquely identifies an Backup recovery point.
Raises:
Source code in docs_src/capo_backup/_services/backup.py
| def disassociate_recovery_point(
self,
backup_vault_name: "capo_backup.types.backup_vault_name.BackupVaultName",
recovery_point_arn: "capo_backup.types.arn.ARN",
*,
config_overrides: Optional[BackupClientConfig] = None,
) -> None:
"""<p>Deletes the specified continuous backup recovery point from Backup and releases control of that continuous backup to the source service, such as Amazon RDS. The source service will continue to create and retain continuous backups using the lifecycle that you specified in your original backup plan.</p> <p>Does not support snapshot backup recovery points.</p>
Args:
backup_vault_name: <p>The unique name of an Backup vault.</p>
recovery_point_arn: <p>An Amazon Resource Name (ARN) that uniquely identifies an Backup recovery point.</p>
Raises:
capo_backup.errors.invalid_parameter_value_exception.InvalidParameterValueException: <p>Indicates that something is wrong with a parameter's value. For example, the value is out of range.</p>
capo_backup.errors.invalid_request_exception.InvalidRequestException: <p>Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.</p>
capo_backup.errors.invalid_resource_state_exception.InvalidResourceStateException: <p>Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.</p>
capo_backup.errors.missing_parameter_value_exception.MissingParameterValueException: <p>Indicates that a required parameter is missing.</p>
capo_backup.errors.resource_not_found_exception.ResourceNotFoundException: <p>A resource that is required for the action doesn't exist.</p>
capo_backup.errors.service_unavailable_exception.ServiceUnavailableException: <p>The request failed due to a temporary failure of the server.</p>
capo_backup.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_backup.types.disassociate_recovery_point_input.DisassociateRecoveryPointInput]",
) -> OperationResponse[None]:
import capo_backup._operations.cryo_controller_user_manager.disassociate_recovery_point
output, http_response = (
capo_backup._operations.cryo_controller_user_manager.disassociate_recovery_point.disassociate_recovery_point(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DisassociateRecoveryPoint")
)
input_: capo_backup.types.disassociate_recovery_point_input.DisassociateRecoveryPointInput = {
"backup_vault_name": backup_vault_name,
"recovery_point_arn": recovery_point_arn,
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|