Struct rusoto_dataexchange::DataExchangeClient
source · [−]pub struct DataExchangeClient { /* private fields */ }
Expand description
A client for the AWS Data Exchange API.
Implementations
sourceimpl DataExchangeClient
impl DataExchangeClient
sourcepub fn new(region: Region) -> DataExchangeClient
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.
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,
pub fn new_with_client(client: Client, region: Region) -> DataExchangeClient
Trait Implementations
sourceimpl Clone for DataExchangeClient
impl Clone for DataExchangeClient
sourcefn clone(&self) -> DataExchangeClient
fn clone(&self) -> DataExchangeClient
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 DataExchange for DataExchangeClient
impl DataExchange for DataExchangeClient
sourcefn cancel_job<'life0, 'async_trait>(
&'life0 self,
input: CancelJobRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<CancelJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn cancel_job<'life0, 'async_trait>(
&'life0 self,
input: CancelJobRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<CancelJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
sourcefn create_data_set<'life0, 'async_trait>(
&'life0 self,
input: CreateDataSetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDataSetResponse, RusotoError<CreateDataSetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_data_set<'life0, 'async_trait>(
&'life0 self,
input: CreateDataSetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDataSetResponse, RusotoError<CreateDataSetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation creates a data set.
sourcefn create_job<'life0, 'async_trait>(
&'life0 self,
input: CreateJobRequest
) -> Pin<Box<dyn Future<Output = Result<CreateJobResponse, RusotoError<CreateJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_job<'life0, 'async_trait>(
&'life0 self,
input: CreateJobRequest
) -> Pin<Box<dyn Future<Output = Result<CreateJobResponse, RusotoError<CreateJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation creates a job.
sourcefn create_revision<'life0, 'async_trait>(
&'life0 self,
input: CreateRevisionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateRevisionResponse, RusotoError<CreateRevisionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_revision<'life0, 'async_trait>(
&'life0 self,
input: CreateRevisionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateRevisionResponse, RusotoError<CreateRevisionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation creates a revision for a data set.
sourcefn delete_asset<'life0, 'async_trait>(
&'life0 self,
input: DeleteAssetRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteAssetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_asset<'life0, 'async_trait>(
&'life0 self,
input: DeleteAssetRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteAssetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation deletes an asset.
sourcefn delete_data_set<'life0, 'async_trait>(
&'life0 self,
input: DeleteDataSetRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDataSetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_data_set<'life0, 'async_trait>(
&'life0 self,
input: DeleteDataSetRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDataSetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation deletes a data set.
sourcefn delete_revision<'life0, 'async_trait>(
&'life0 self,
input: DeleteRevisionRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteRevisionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_revision<'life0, 'async_trait>(
&'life0 self,
input: DeleteRevisionRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteRevisionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation deletes a revision.
sourcefn get_asset<'life0, 'async_trait>(
&'life0 self,
input: GetAssetRequest
) -> Pin<Box<dyn Future<Output = Result<GetAssetResponse, RusotoError<GetAssetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_asset<'life0, 'async_trait>(
&'life0 self,
input: GetAssetRequest
) -> Pin<Box<dyn Future<Output = Result<GetAssetResponse, RusotoError<GetAssetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation returns information about an asset.
sourcefn get_data_set<'life0, 'async_trait>(
&'life0 self,
input: GetDataSetRequest
) -> Pin<Box<dyn Future<Output = Result<GetDataSetResponse, RusotoError<GetDataSetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_data_set<'life0, 'async_trait>(
&'life0 self,
input: GetDataSetRequest
) -> Pin<Box<dyn Future<Output = Result<GetDataSetResponse, RusotoError<GetDataSetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation returns information about a data set.
sourcefn get_job<'life0, 'async_trait>(
&'life0 self,
input: GetJobRequest
) -> Pin<Box<dyn Future<Output = Result<GetJobResponse, RusotoError<GetJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_job<'life0, 'async_trait>(
&'life0 self,
input: GetJobRequest
) -> Pin<Box<dyn Future<Output = Result<GetJobResponse, RusotoError<GetJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation returns information about a job.
sourcefn get_revision<'life0, 'async_trait>(
&'life0 self,
input: GetRevisionRequest
) -> Pin<Box<dyn Future<Output = Result<GetRevisionResponse, RusotoError<GetRevisionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_revision<'life0, 'async_trait>(
&'life0 self,
input: GetRevisionRequest
) -> Pin<Box<dyn Future<Output = Result<GetRevisionResponse, RusotoError<GetRevisionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation returns information about a revision.
sourcefn list_data_set_revisions<'life0, 'async_trait>(
&'life0 self,
input: ListDataSetRevisionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDataSetRevisionsResponse, RusotoError<ListDataSetRevisionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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
'life0: 'async_trait,
Self: 'async_trait,
This operation lists a data set's revisions sorted by CreatedAt in descending order.
sourcefn list_data_sets<'life0, 'async_trait>(
&'life0 self,
input: ListDataSetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDataSetsResponse, RusotoError<ListDataSetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_data_sets<'life0, 'async_trait>(
&'life0 self,
input: ListDataSetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDataSetsResponse, RusotoError<ListDataSetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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.
sourcefn list_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListJobsResponse, RusotoError<ListJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListJobsResponse, RusotoError<ListJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation lists your jobs sorted by CreatedAt in descending order.
sourcefn list_revision_assets<'life0, 'async_trait>(
&'life0 self,
input: ListRevisionAssetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListRevisionAssetsResponse, RusotoError<ListRevisionAssetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_revision_assets<'life0, 'async_trait>(
&'life0 self,
input: ListRevisionAssetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListRevisionAssetsResponse, RusotoError<ListRevisionAssetsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation lists a revision's assets sorted alphabetically in descending order.
This operation lists the tags on the resource.
sourcefn start_job<'life0, 'async_trait>(
&'life0 self,
input: StartJobRequest
) -> Pin<Box<dyn Future<Output = Result<StartJobResponse, RusotoError<StartJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn start_job<'life0, 'async_trait>(
&'life0 self,
input: StartJobRequest
) -> Pin<Box<dyn Future<Output = Result<StartJobResponse, RusotoError<StartJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation starts a job.
sourcefn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation tags a resource.
sourcefn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation removes one or more tags from a resource.
sourcefn update_asset<'life0, 'async_trait>(
&'life0 self,
input: UpdateAssetRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateAssetResponse, RusotoError<UpdateAssetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_asset<'life0, 'async_trait>(
&'life0 self,
input: UpdateAssetRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateAssetResponse, RusotoError<UpdateAssetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation updates an asset.
sourcefn update_data_set<'life0, 'async_trait>(
&'life0 self,
input: UpdateDataSetRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateDataSetResponse, RusotoError<UpdateDataSetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_data_set<'life0, 'async_trait>(
&'life0 self,
input: UpdateDataSetRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateDataSetResponse, RusotoError<UpdateDataSetError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation updates a data set.
sourcefn update_revision<'life0, 'async_trait>(
&'life0 self,
input: UpdateRevisionRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateRevisionResponse, RusotoError<UpdateRevisionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_revision<'life0, 'async_trait>(
&'life0 self,
input: UpdateRevisionRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateRevisionResponse, RusotoError<UpdateRevisionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This operation updates a revision.
Auto Trait Implementations
impl !RefUnwindSafe for DataExchangeClient
impl Send for DataExchangeClient
impl Sync for DataExchangeClient
impl Unpin for DataExchangeClient
impl !UnwindSafe for DataExchangeClient
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