[][src]Struct rusoto_ebs::PutSnapshotBlockRequest

pub struct PutSnapshotBlockRequest {
    pub block_data: Bytes,
    pub block_index: i64,
    pub checksum: String,
    pub checksum_algorithm: String,
    pub data_length: i64,
    pub progress: Option<i64>,
    pub snapshot_id: String,
}

Fields

block_data: Bytes

The data to write to the block.

The block data is not signed as part of the Signature Version 4 signing process. As a result, you must generate and provide a Base64-encoded SHA256 checksum for the block data using the x-amz-Checksum header. Also, you must specify the checksum algorithm using the x-amz-Checksum-Algorithm header. The checksum that you provide is part of the Signature Version 4 signing process. It is validated against a checksum generated by Amazon EBS to ensure the validity and authenticity of the data. If the checksums do not correspond, the request fails. For more information, see Using checksums with the EBS direct APIs in the Amazon Elastic Compute Cloud User Guide.

block_index: i64

The block index of the block in which to write the data. A block index is the offset position of a block within a snapshot, and it is used to identify the block. To identify the logical offset of the data in the logical volume, multiply the block index with the block size (Block index * 512 bytes).

checksum: String

A Base64-encoded SHA256 checksum of the data. Only SHA256 checksums are supported.

checksum_algorithm: String

The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.

data_length: i64

The size of the data to write to the block, in bytes. Currently, the only supported size is 524288.

Valid values: 524288

progress: Option<i64>

The progress of the write process, as a percentage.

snapshot_id: String

The ID of the snapshot.

Trait Implementations

impl Clone for PutSnapshotBlockRequest[src]

impl Debug for PutSnapshotBlockRequest[src]

impl Default for PutSnapshotBlockRequest[src]

impl PartialEq<PutSnapshotBlockRequest> for PutSnapshotBlockRequest[src]

impl Serialize for PutSnapshotBlockRequest[src]

impl StructuralPartialEq for PutSnapshotBlockRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.