Struct aws_sdk_memorydb::client::fluent_builders::CopySnapshot
source · [−]pub struct CopySnapshot<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to CopySnapshot.
Makes a copy of an existing snapshot.
Implementations
impl<C, M, R> CopySnapshot<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CopySnapshot<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CopySnapshotOutput, SdkError<CopySnapshotError>> where
R::Policy: SmithyRetryPolicy<CopySnapshotInputOperationOutputAlias, CopySnapshotOutput, CopySnapshotError, CopySnapshotInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CopySnapshotOutput, SdkError<CopySnapshotError>> where
R::Policy: SmithyRetryPolicy<CopySnapshotInputOperationOutputAlias, CopySnapshotOutput, CopySnapshotError, CopySnapshotInputOperationRetryAlias>,
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 name of an existing snapshot from which to make a copy.
The name of an existing snapshot from which to make a copy.
A name for the snapshot copy. MemoryDB does not permit overwriting a snapshot, therefore this name must be unique within its context - MemoryDB or an Amazon S3 bucket if exporting.
A name for the snapshot copy. MemoryDB does not permit overwriting a snapshot, therefore this name must be unique within its context - MemoryDB or an Amazon S3 bucket if exporting.
The Amazon S3 bucket to which the snapshot is exported. This parameter is used only when exporting a snapshot for external access. When using this parameter to export a snapshot, be sure MemoryDB has the needed permissions to this S3 bucket. For more information, see Step 2: Grant MemoryDB Access to Your Amazon S3 Bucket.
The Amazon S3 bucket to which the snapshot is exported. This parameter is used only when exporting a snapshot for external access. When using this parameter to export a snapshot, be sure MemoryDB has the needed permissions to this S3 bucket. For more information, see Step 2: Grant MemoryDB Access to Your Amazon S3 Bucket.
The ID of the KMS key used to encrypt the target snapshot.
The ID of the KMS key used to encrypt the target 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 = DefaultMiddleware, R = Standard> !RefUnwindSafe for CopySnapshot<C, M, R>
impl<C, M, R> Unpin for CopySnapshot<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CopySnapshot<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