Trait rusoto_ebs::Ebs
source · [−]pub trait Ebs {
fn complete_snapshot<'life0, 'async_trait>(
&'life0 self,
input: CompleteSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<CompleteSnapshotResponse, RusotoError<CompleteSnapshotError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_snapshot_block<'life0, 'async_trait>(
&'life0 self,
input: GetSnapshotBlockRequest
) -> Pin<Box<dyn Future<Output = Result<GetSnapshotBlockResponse, RusotoError<GetSnapshotBlockError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn list_changed_blocks<'life0, 'async_trait>(
&'life0 self,
input: ListChangedBlocksRequest
) -> Pin<Box<dyn Future<Output = Result<ListChangedBlocksResponse, RusotoError<ListChangedBlocksError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn list_snapshot_blocks<'life0, 'async_trait>(
&'life0 self,
input: ListSnapshotBlocksRequest
) -> Pin<Box<dyn Future<Output = Result<ListSnapshotBlocksResponse, RusotoError<ListSnapshotBlocksError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn put_snapshot_block<'life0, 'async_trait>(
&'life0 self,
input: PutSnapshotBlockRequest
) -> Pin<Box<dyn Future<Output = Result<PutSnapshotBlockResponse, RusotoError<PutSnapshotBlockError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn start_snapshot<'life0, 'async_trait>(
&'life0 self,
input: StartSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<StartSnapshotResponse, RusotoError<StartSnapshotError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Trait representing the capabilities of the Amazon EBS API. Amazon EBS clients implement this trait.
Required Methods
fn complete_snapshot<'life0, 'async_trait>(
&'life0 self,
input: CompleteSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<CompleteSnapshotResponse, RusotoError<CompleteSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn complete_snapshot<'life0, 'async_trait>(
&'life0 self,
input: CompleteSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<CompleteSnapshotResponse, RusotoError<CompleteSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
fn get_snapshot_block<'life0, 'async_trait>(
&'life0 self,
input: GetSnapshotBlockRequest
) -> Pin<Box<dyn Future<Output = Result<GetSnapshotBlockResponse, RusotoError<GetSnapshotBlockError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_snapshot_block<'life0, 'async_trait>(
&'life0 self,
input: GetSnapshotBlockRequest
) -> Pin<Box<dyn Future<Output = Result<GetSnapshotBlockResponse, RusotoError<GetSnapshotBlockError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns the data in a block in an Amazon Elastic Block Store snapshot.
fn list_changed_blocks<'life0, 'async_trait>(
&'life0 self,
input: ListChangedBlocksRequest
) -> Pin<Box<dyn Future<Output = Result<ListChangedBlocksResponse, RusotoError<ListChangedBlocksError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_changed_blocks<'life0, 'async_trait>(
&'life0 self,
input: ListChangedBlocksRequest
) -> Pin<Box<dyn Future<Output = Result<ListChangedBlocksResponse, RusotoError<ListChangedBlocksError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.
fn list_snapshot_blocks<'life0, 'async_trait>(
&'life0 self,
input: ListSnapshotBlocksRequest
) -> Pin<Box<dyn Future<Output = Result<ListSnapshotBlocksResponse, RusotoError<ListSnapshotBlocksError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_snapshot_blocks<'life0, 'async_trait>(
&'life0 self,
input: ListSnapshotBlocksRequest
) -> Pin<Box<dyn Future<Output = Result<ListSnapshotBlocksResponse, RusotoError<ListSnapshotBlocksError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about the blocks in an Amazon Elastic Block Store snapshot.
fn put_snapshot_block<'life0, 'async_trait>(
&'life0 self,
input: PutSnapshotBlockRequest
) -> Pin<Box<dyn Future<Output = Result<PutSnapshotBlockResponse, RusotoError<PutSnapshotBlockError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn put_snapshot_block<'life0, 'async_trait>(
&'life0 self,
input: PutSnapshotBlockRequest
) -> Pin<Box<dyn Future<Output = Result<PutSnapshotBlockResponse, RusotoError<PutSnapshotBlockError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Writes a block of data to a snapshot. If the specified block contains data, the existing data is overwritten. The target snapshot must be in the pending
state.
Data written to a snapshot must be aligned with 512-byte sectors.
fn start_snapshot<'life0, 'async_trait>(
&'life0 self,
input: StartSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<StartSnapshotResponse, RusotoError<StartSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn start_snapshot<'life0, 'async_trait>(
&'life0 self,
input: StartSnapshotRequest
) -> Pin<Box<dyn Future<Output = Result<StartSnapshotResponse, RusotoError<StartSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new Amazon EBS snapshot. The new snapshot enters the pending
state after the request completes.
After creating the snapshot, use PutSnapshotBlock to write blocks of data to the snapshot.