Struct rusoto_importexport::ImportExportClient
source · [−]pub struct ImportExportClient { /* private fields */ }
Expand description
A client for the AWS Import/Export API.
Implementations
sourceimpl ImportExportClient
impl ImportExportClient
sourcepub fn new(region: Region) -> ImportExportClient
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.
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,
pub fn new_with_client(client: Client, region: Region) -> ImportExportClient
Trait Implementations
sourceimpl Clone for ImportExportClient
impl Clone for ImportExportClient
sourcefn clone(&self) -> ImportExportClient
fn clone(&self) -> ImportExportClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl ImportExport for ImportExportClient
impl ImportExport for ImportExportClient
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more