Struct ImportExportClient

Source
pub struct ImportExportClient { /* private fields */ }
Expand description

A client for the AWS Import/Export API.

Implementations§

Source§

impl ImportExportClient

Source

pub fn new(region: Region) -> ImportExportClient

Creates a client backed by the default tokio event loop.

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

Source

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

Source

pub fn new_with_client(client: Client, region: Region) -> ImportExportClient

Trait Implementations§

Source§

impl Clone for ImportExportClient

Source§

fn clone(&self) -> ImportExportClient

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl ImportExport for ImportExportClient

Source§

fn cancel_job<'life0, 'async_trait>( &'life0 self, input: CancelJobInput, ) -> Pin<Box<dyn Future<Output = Result<CancelJobOutput, RusotoError<CancelJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete.

Source§

fn create_job<'life0, 'async_trait>( &'life0 self, input: CreateJobInput, ) -> Pin<Box<dyn Future<Output = Result<CreateJobOutput, RusotoError<CreateJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation initiates the process of scheduling an upload or download of your data. You include in the request a manifest that describes the data transfer specifics. The response to the request includes a job ID, which you can use in other operations, a signature that you use to identify your storage device, and the address where you should ship your storage device.

Source§

fn get_shipping_label<'life0, 'async_trait>( &'life0 self, input: GetShippingLabelInput, ) -> Pin<Box<dyn Future<Output = Result<GetShippingLabelOutput, RusotoError<GetShippingLabelError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing.

Source§

fn get_status<'life0, 'async_trait>( &'life0 self, input: GetStatusInput, ) -> Pin<Box<dyn Future<Output = Result<GetStatusOutput, RusotoError<GetStatusError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation returns information about a job, including where the job is in the processing pipeline, the status of the results, and the signature value associated with the job. You can only return information about jobs you own.

Source§

fn list_jobs<'life0, 'async_trait>( &'life0 self, input: ListJobsInput, ) -> Pin<Box<dyn Future<Output = Result<ListJobsOutput, RusotoError<ListJobsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation returns the jobs associated with the requester. AWS Import/Export lists the jobs in reverse chronological order based on the date of creation. For example if Job Test1 was created 2009Dec30 and Test2 was created 2010Feb05, the ListJobs operation would return Test2 followed by Test1.

Source§

fn update_job<'life0, 'async_trait>( &'life0 self, input: UpdateJobInput, ) -> Pin<Box<dyn Future<Output = Result<UpdateJobOutput, RusotoError<UpdateJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

You use this operation to change the parameters specified in the original manifest file by supplying a new manifest file. The manifest file attached to this request replaces the original manifest file. You can only use the operation after a CreateJob request but before the data transfer starts and you can only use it on jobs you own.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,