[−][src]Struct rusoto_ebs::EbsClient
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]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> EbsClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
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]
&'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.
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]
&'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.
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]
&'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.
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]
&'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.
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]
&'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.
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]
&'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.
Auto Trait Implementations
impl !RefUnwindSafe for EbsClient
[src]
impl Send for EbsClient
[src]
impl Sync for EbsClient
[src]
impl Unpin for EbsClient
[src]
impl !UnwindSafe for EbsClient
[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, 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>,