create_snapshot_copy_configuration
¶
create_snapshot_copy_configuration(
namespace_name: NamespaceName,
destination_region: str,
*,
config_overrides: Optional[RedshiftServerlessClientConfig] = 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/redshift_serverless.py
3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 | |