[][src]Trait rusoto_ebs::Ebs

pub trait Ebs {
#[must_use]    pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
; }

Trait representing the capabilities of the Amazon EBS API. Amazon EBS clients implement this trait.

Required methods

#[must_use]pub 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, 
[src]

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.

#[must_use]pub 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, 
[src]

Returns the data in a block in an Amazon Elastic Block Store snapshot.

#[must_use]pub 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, 
[src]

Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.

#[must_use]pub 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, 
[src]

Returns information about the blocks in an Amazon Elastic Block Store snapshot.

#[must_use]pub 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, 
[src]

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.

#[must_use]pub 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, 
[src]

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.

Loading content...

Implementors

impl Ebs for EbsClient[src]

pub 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, 
[src]

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.

pub 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, 
[src]

Returns the data in a block in an Amazon Elastic Block Store snapshot.

pub 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, 
[src]

Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.

pub 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, 
[src]

Returns information about the blocks in an Amazon Elastic Block Store snapshot.

pub 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, 
[src]

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.

pub 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, 
[src]

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.

Loading content...