[−][src]Struct rusoto_ebs::PutSnapshotBlockRequest
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]
pub fn clone(&self) -> PutSnapshotBlockRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PutSnapshotBlockRequest
[src]
impl Default for PutSnapshotBlockRequest
[src]
pub fn default() -> PutSnapshotBlockRequest
[src]
impl PartialEq<PutSnapshotBlockRequest> for PutSnapshotBlockRequest
[src]
pub fn eq(&self, other: &PutSnapshotBlockRequest) -> bool
[src]
pub fn ne(&self, other: &PutSnapshotBlockRequest) -> bool
[src]
impl Serialize for PutSnapshotBlockRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for PutSnapshotBlockRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for PutSnapshotBlockRequest
[src]
impl Send for PutSnapshotBlockRequest
[src]
impl Sync for PutSnapshotBlockRequest
[src]
impl Unpin for PutSnapshotBlockRequest
[src]
impl UnwindSafe for PutSnapshotBlockRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,