pub struct DataExchangeClient { /* private fields */ }Expand description
A client for the AWS Data Exchange API.
Implementations§
Source§impl 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,
) -> DataExchangeClientwhere
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> DataExchangeClient
Trait Implementations§
Source§impl Clone for DataExchangeClient
impl Clone for DataExchangeClient
Source§fn clone(&self) -> DataExchangeClient
fn clone(&self) -> DataExchangeClient
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl DataExchange for DataExchangeClient
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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.
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,
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,
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,
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,
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,
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,
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.