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
3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 | |