Struct aws_sdk_elasticache::input::CreateSnapshotInput
source ·
[−]#[non_exhaustive]pub struct CreateSnapshotInput {
pub replication_group_id: Option<String>,
pub cache_cluster_id: Option<String>,
pub snapshot_name: Option<String>,
pub kms_key_id: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Represents the input of a CreateSnapshot
operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.replication_group_id: Option<String>
The identifier of an existing replication group. The snapshot is created from this replication group.
cache_cluster_id: Option<String>
The identifier of an existing cluster. The snapshot is created from this cluster.
snapshot_name: Option<String>
A name for the snapshot being created.
kms_key_id: Option<String>
The ID of the KMS key used to encrypt the snapshot.
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateSnapshot, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateSnapshot, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateSnapshot
>
Creates a new builder-style object to manufacture CreateSnapshotInput
The identifier of an existing replication group. The snapshot is created from this replication group.
The identifier of an existing cluster. The snapshot is created from this cluster.
A name for the snapshot being created.
The ID of the KMS key used to encrypt the snapshot.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateSnapshotInput
impl Send for CreateSnapshotInput
impl Sync for CreateSnapshotInput
impl Unpin for CreateSnapshotInput
impl UnwindSafe for CreateSnapshotInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more