Struct rusoto_importexport::ImportExportClient [−][src]
pub struct ImportExportClient { /* fields omitted */ }
Expand description
A client for the AWS Import/Export API.
Implementations
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,
Trait Implementations
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,
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,
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.
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,
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,
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.
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,
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,
This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing.
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,
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,
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.
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,
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,
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.
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,
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,
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
impl !RefUnwindSafe for ImportExportClient
impl Send for ImportExportClient
impl Sync for ImportExportClient
impl Unpin for ImportExportClient
impl !UnwindSafe for ImportExportClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self