[][src]Struct rusoto_ebs::EbsClient

pub struct EbsClient { /* fields omitted */ }

A client for the Amazon EBS API.

Implementations

impl EbsClient[src]

pub fn new(region: Region) -> EbsClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> EbsClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> EbsClient[src]

Trait Implementations

impl Clone for EbsClient[src]

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.

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, 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.