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
3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 | |