[][src]Struct rusoto_importexport::ImportExportClient

pub struct ImportExportClient { /* fields omitted */ }

A client for the AWS Import/Export API.

Implementations

impl ImportExportClient[src]

pub fn new(region: Region) -> ImportExportClient[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
) -> ImportExportClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

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

Trait Implementations

impl Clone for ImportExportClient[src]

impl ImportExport for ImportExportClient[src]

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

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.

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

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.

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

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

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

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.

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

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.

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

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

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