copy_serverless_cache_snapshot
async
¶
copy_serverless_cache_snapshot(
*,
config_overrides: Optional[AsyncElastiCacheClientConfig] = None,
source_serverless_cache_snapshot_name: Optional[String] = None,
target_serverless_cache_snapshot_name: Optional[String] = None,
kms_key_id: Optional[String] = None,
tags: Optional[TagList] = None,
) -> CopyServerlessCacheSnapshotResponse
Creates a copy of an existing serverless cache’s snapshot. Available for Valkey, Redis OSS and Serverless Memcached only.
Parameters:
-
source_serverless_cache_snapshot_name(Optional[String], default:None) –The identifier of the existing serverless cache’s snapshot to be copied. Available for Valkey, Redis OSS and Serverless Memcached only.
-
target_serverless_cache_snapshot_name(Optional[String], default:None) –The identifier for the snapshot to be created. Available for Valkey, Redis OSS and Serverless Memcached only. This value is stored as a lowercase string.
-
kms_key_id(Optional[String], default:None) –The identifier of the KMS key used to encrypt the target snapshot. Available for Valkey, Redis OSS and Serverless Memcached only.
-
tags(Optional[TagList], default:None) –A list of tags to be added to the target snapshot resource. A tag is a key-value pair. Available for Valkey, Redis OSS and Serverless Memcached only. Default: NULL
Raises:
-
InvalidParameterCombinationException–Two or more incompatible parameters were specified.
-
InvalidParameterValueException–The value for a parameter is invalid.
-
InvalidServerlessCacheSnapshotStateFault–The state of the serverless cache snapshot was not received. Available for Valkey, Redis OSS and Serverless Memcached only.
-
ServerlessCacheSnapshotAlreadyExistsFault–A serverless cache snapshot with this name already exists. Available for Valkey, Redis OSS and Serverless Memcached only.
-
ServerlessCacheSnapshotNotFoundFault–This serverless cache snapshot could not be found or does not exist. Available for Valkey, Redis OSS and Serverless Memcached only.
-
ServerlessCacheSnapshotQuotaExceededFault–The number of serverless cache snapshots exceeds the customer snapshot quota. Available for Valkey, Redis OSS and Serverless Memcached only.
-
ServiceLinkedRoleNotFoundFault–The specified service linked role (SLR) was not found.
-
TagQuotaPerResourceExceeded–The request cannot be processed because it would cause the resource to have more than the allowed number of tags. The maximum number of tags permitted on a resource is 50.
-
UnknownServiceError–The service returned an error code this client does not model.