restore_from_recovery_point
¶
restore_from_recovery_point(
recovery_point_id: str,
namespace_name: NamespaceName,
workgroup_name: WorkgroupName,
*,
config_overrides: Optional[RedshiftServerlessClientConfig] = 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/redshift_serverless.py
2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 | |