Struct aws_sdk_ebs::client::fluent_builders::CompleteSnapshot
source ·
[−]pub struct CompleteSnapshot<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CompleteSnapshot
.
Seals and completes the snapshot after all of the required blocks of data have been written to it. Completing the snapshot changes the status to completed
. You cannot write new blocks to a snapshot after it has been completed.
Implementations
impl<C, M, R> CompleteSnapshot<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CompleteSnapshot<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CompleteSnapshotOutput, SdkError<CompleteSnapshotError>> where
R::Policy: SmithyRetryPolicy<CompleteSnapshotInputOperationOutputAlias, CompleteSnapshotOutput, CompleteSnapshotError, CompleteSnapshotInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CompleteSnapshotOutput, SdkError<CompleteSnapshotError>> where
R::Policy: SmithyRetryPolicy<CompleteSnapshotInputOperationOutputAlias, CompleteSnapshotOutput, CompleteSnapshotError, CompleteSnapshotInputOperationRetryAlias>,
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 ID of the snapshot.
The ID of the snapshot.
The number of blocks that were written to the snapshot.
The number of blocks that were written to the snapshot.
An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.
An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.
The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256
.
The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256
.
The aggregation method used to generate the checksum. Currently, the only supported aggregation method is LINEAR
.
pub fn set_checksum_aggregation_method(
self,
input: Option<ChecksumAggregationMethod>
) -> Self
pub fn set_checksum_aggregation_method(
self,
input: Option<ChecksumAggregationMethod>
) -> Self
The aggregation method used to generate the checksum. Currently, the only supported aggregation method is LINEAR
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CompleteSnapshot<C, M, R>
impl<C, M, R> Send for CompleteSnapshot<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CompleteSnapshot<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CompleteSnapshot<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CompleteSnapshot<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