DataExchangeClient

Struct DataExchangeClient 

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

A client for the AWS Data Exchange API.

Implementations§

Source§

impl DataExchangeClient

Source

pub fn new(region: Region) -> DataExchangeClient

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, ) -> DataExchangeClient
where P: ProvideAwsCredentials + Send + Sync + 'static, D: DispatchSignedRequest + Send + Sync + 'static,

Source

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

Trait Implementations§

Source§

impl Clone for DataExchangeClient

Source§

fn clone(&self) -> DataExchangeClient

Returns a duplicate 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 DataExchange for DataExchangeClient

Source§

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

This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.

Source§

fn create_data_set<'life0, 'async_trait>( &'life0 self, input: CreateDataSetRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateDataSetResponse, RusotoError<CreateDataSetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation creates a data set.

Source§

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

This operation creates a job.

Source§

fn create_revision<'life0, 'async_trait>( &'life0 self, input: CreateRevisionRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateRevisionResponse, RusotoError<CreateRevisionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation creates a revision for a data set.

Source§

fn delete_asset<'life0, 'async_trait>( &'life0 self, input: DeleteAssetRequest, ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteAssetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation deletes an asset.

Source§

fn delete_data_set<'life0, 'async_trait>( &'life0 self, input: DeleteDataSetRequest, ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDataSetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation deletes a data set.

Source§

fn delete_revision<'life0, 'async_trait>( &'life0 self, input: DeleteRevisionRequest, ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteRevisionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation deletes a revision.

Source§

fn get_asset<'life0, 'async_trait>( &'life0 self, input: GetAssetRequest, ) -> Pin<Box<dyn Future<Output = Result<GetAssetResponse, RusotoError<GetAssetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation returns information about an asset.

Source§

fn get_data_set<'life0, 'async_trait>( &'life0 self, input: GetDataSetRequest, ) -> Pin<Box<dyn Future<Output = Result<GetDataSetResponse, RusotoError<GetDataSetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation returns information about a data set.

Source§

fn get_job<'life0, 'async_trait>( &'life0 self, input: GetJobRequest, ) -> Pin<Box<dyn Future<Output = Result<GetJobResponse, RusotoError<GetJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation returns information about a job.

Source§

fn get_revision<'life0, 'async_trait>( &'life0 self, input: GetRevisionRequest, ) -> Pin<Box<dyn Future<Output = Result<GetRevisionResponse, RusotoError<GetRevisionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation returns information about a revision.

Source§

fn list_data_set_revisions<'life0, 'async_trait>( &'life0 self, input: ListDataSetRevisionsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListDataSetRevisionsResponse, RusotoError<ListDataSetRevisionsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation lists a data set's revisions sorted by CreatedAt in descending order.

Source§

fn list_data_sets<'life0, 'async_trait>( &'life0 self, input: ListDataSetsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListDataSetsResponse, RusotoError<ListDataSetsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.

Source§

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

This operation lists your jobs sorted by CreatedAt in descending order.

Source§

fn list_revision_assets<'life0, 'async_trait>( &'life0 self, input: ListRevisionAssetsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListRevisionAssetsResponse, RusotoError<ListRevisionAssetsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation lists a revision's assets sorted alphabetically in descending order.

Source§

fn list_tags_for_resource<'life0, 'async_trait>( &'life0 self, input: ListTagsForResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation lists the tags on the resource.

Source§

fn start_job<'life0, 'async_trait>( &'life0 self, input: StartJobRequest, ) -> Pin<Box<dyn Future<Output = Result<StartJobResponse, RusotoError<StartJobError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation starts a job.

Source§

fn tag_resource<'life0, 'async_trait>( &'life0 self, input: TagResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<TagResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation tags a resource.

Source§

fn untag_resource<'life0, 'async_trait>( &'life0 self, input: UntagResourceRequest, ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UntagResourceError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation removes one or more tags from a resource.

Source§

fn update_asset<'life0, 'async_trait>( &'life0 self, input: UpdateAssetRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateAssetResponse, RusotoError<UpdateAssetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation updates an asset.

Source§

fn update_data_set<'life0, 'async_trait>( &'life0 self, input: UpdateDataSetRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateDataSetResponse, RusotoError<UpdateDataSetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation updates a data set.

Source§

fn update_revision<'life0, 'async_trait>( &'life0 self, input: UpdateRevisionRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateRevisionResponse, RusotoError<UpdateRevisionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

This operation updates a revision.

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