Struct aws_sdk_elasticache::client::fluent_builders::CreateSnapshot [−][src]
pub struct CreateSnapshot<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateSnapshot
.
Creates a copy of an entire cluster or replication group at a specific moment in time.
This operation is valid for Redis only.
Implementations
impl<C, M, R> CreateSnapshot<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateSnapshot<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateSnapshotOutput, SdkError<CreateSnapshotError>> where
R::Policy: SmithyRetryPolicy<CreateSnapshotInputOperationOutputAlias, CreateSnapshotOutput, CreateSnapshotError, CreateSnapshotInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateSnapshotOutput, SdkError<CreateSnapshotError>> where
R::Policy: SmithyRetryPolicy<CreateSnapshotInputOperationOutputAlias, CreateSnapshotOutput, CreateSnapshotError, CreateSnapshotInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The identifier of an existing replication group. The snapshot is created from this replication group.
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.
The identifier of an existing cluster. The snapshot is created from this cluster.
A name for the snapshot being created.
A name for the snapshot being created.
The ID of the KMS key used to encrypt the snapshot.
The ID of the KMS key used to encrypt the snapshot.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateSnapshot<C, M, R>
impl<C, M, R> Send for CreateSnapshot<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateSnapshot<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateSnapshot<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateSnapshot<C, M, R>
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