convert_recovery_point_to_snapshot
async
¶
convert_recovery_point_to_snapshot(
recovery_point_id: str,
snapshot_name: str,
*,
config_overrides: Optional[AsyncRedshiftServerlessClientConfig] = None,
retention_period: Optional[int] = None,
tags: Optional[TagList] = None,
) -> ConvertRecoveryPointToSnapshotResponse
Converts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points.
Parameters:
-
recovery_point_id(str) –The unique identifier of the recovery point.
-
snapshot_name(str) –The name of the snapshot.
-
retention_period(Optional[int], default:None) –How long to retain the snapshot.
-
tags(Optional[TagList], default:None) –An array of Tag objects to associate with the created snapshot.
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.
-
ServiceQuotaExceededException–The service limit was exceeded.
-
TooManyTagsException–The request exceeded the number of tags allowed for a resource.
-
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
2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 | |