restore_from_recovery_point
async
¶
restore_from_recovery_point(
recovery_point_id: str,
namespace_name: NamespaceName,
workgroup_name: WorkgroupName,
*,
config_overrides: Optional[AsyncRedshiftServerlessClientConfig] = None,
maintain_integration: Optional[bool] = None,
) -> RestoreFromRecoveryPointResponse
Restore the data from a recovery point.
Parameters:
-
recovery_point_id(str) –The unique identifier of the recovery point to restore from.
-
namespace_name(NamespaceName) –The name of the namespace to restore data into.
-
workgroup_name(WorkgroupName) –The name of the workgroup used to restore data.
-
maintain_integration(Optional[bool], default:None) –If
true, maintain existing data sharing, zero-ETL and S3 event integrations when restoring. Otherwise, integrations will not be maintained after the restore operation. Integrations are only maintained when restored to the same serverless namespace.Default: true
Raises:
-
ConflictException–The submitted action has conflicts.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource could not be found.
-
ValidationException–The input failed to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift_serverless/_services/async_redshift_serverless.py
2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 | |