create_snapshot_copy_configuration
async
¶
create_snapshot_copy_configuration(
namespace_name: NamespaceName,
destination_region: str,
*,
config_overrides: Optional[AsyncRedshiftServerlessClientConfig] = None,
snapshot_retention_period: Optional[int] = None,
destination_kms_key_id: Optional[KmsKeyId] = None,
) -> CreateSnapshotCopyConfigurationResponse
Creates a snapshot copy configuration that lets you copy snapshots to another Amazon Web Services Region.
Parameters:
-
namespace_name(NamespaceName) –The name of the namespace to copy snapshots from.
-
destination_region(str) –The destination Amazon Web Services Region that you want to copy snapshots to.
-
snapshot_retention_period(Optional[int], default:None) –The retention period of the snapshots that you copy to the destination Amazon Web Services Region.
-
destination_kms_key_id(Optional[KmsKeyId], default:None) –The KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
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.
-
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
3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 | |