create_snapshot
¶
create_snapshot(
cluster_name: String,
snapshot_name: String,
*,
config_overrides: Optional[MemoryDBClientConfig] = None,
kms_key_id: Optional[String] = None,
tags: Optional[TagList] = None,
) -> CreateSnapshotResponse
Creates a copy of an entire cluster at a specific moment in time.
Parameters:
-
cluster_name(String) –The snapshot is created from this cluster.
-
snapshot_name(String) –A name for the snapshot being created.
-
kms_key_id(Optional[String], default:None) –The ID of the KMS key used to encrypt the snapshot.
-
tags(Optional[TagList], default:None) –A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Raises:
-
ClusterNotFoundFault–The specified cluster does not exist.
-
InvalidClusterStateFault–The cluster is not in a valid state for the requested operation.
-
InvalidParameterCombinationException–The specified parameter combination is not valid.
-
InvalidParameterValueException–The specified parameter value is not valid.
-
ServiceLinkedRoleNotFoundFault–The required service-linked role was not found.
-
SnapshotAlreadyExistsFault–A snapshot with the specified name already exists.
-
SnapshotQuotaExceededFault–The request cannot be processed because it would exceed the maximum number of snapshots allowed.
-
TagQuotaPerResourceExceeded–The request cannot be processed because it would exceed the maximum number of tags allowed per resource.
-
UnknownServiceError–The service returned an error code this client does not model.