DataExchange class
AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.
As a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIS to download or copy your entitled data sets to Amazon S3 for use across a variety of AWS analytics and machine learning services.
As a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.
A data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.
Constructors
- DataExchange({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelJob(
{required String jobId}) → Future< void> - This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
-
close(
) → void - Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
-
createDataSet(
{required AssetType assetType, required String description, required String name, Map< String, String> ? tags}) → Future<CreateDataSetResponse> - This operation creates a data set.
-
createJob(
{required RequestDetails details, required Type type}) → Future< CreateJobResponse> - This operation creates a job.
-
createRevision(
{required String dataSetId, String? comment, Map< String, String> ? tags}) → Future<CreateRevisionResponse> - This operation creates a revision for a data set.
-
deleteAsset(
{required String assetId, required String dataSetId, required String revisionId}) → Future< void> - This operation deletes an asset.
-
deleteDataSet(
{required String dataSetId}) → Future< void> - This operation deletes a data set.
-
deleteRevision(
{required String dataSetId, required String revisionId}) → Future< void> - This operation deletes a revision.
-
getAsset(
{required String assetId, required String dataSetId, required String revisionId}) → Future< GetAssetResponse> - This operation returns information about an asset.
-
getDataSet(
{required String dataSetId}) → Future< GetDataSetResponse> - This operation returns information about a data set.
-
getJob(
{required String jobId}) → Future< GetJobResponse> - This operation returns information about a job.
-
getRevision(
{required String dataSetId, required String revisionId}) → Future< GetRevisionResponse> - This operation returns information about a revision.
-
listDataSetRevisions(
{required String dataSetId, int? maxResults, String? nextToken}) → Future< ListDataSetRevisionsResponse> - This operation lists a data set's revisions sorted by CreatedAt in descending order.
-
listDataSets(
{int? maxResults, String? nextToken, String? origin}) → Future< ListDataSetsResponse> - 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.
-
listJobs(
{String? dataSetId, int? maxResults, String? nextToken, String? revisionId}) → Future< ListJobsResponse> - This operation lists your jobs sorted by CreatedAt in descending order.
-
listRevisionAssets(
{required String dataSetId, required String revisionId, int? maxResults, String? nextToken}) → Future< ListRevisionAssetsResponse> - This operation lists a revision's assets sorted alphabetically in descending order.
-
listTagsForResource(
{required String resourceArn}) → Future< ListTagsForResourceResponse> - This operation lists the tags on the resource.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startJob(
{required String jobId}) → Future< void> - This operation starts a job.
-
tagResource(
{required String resourceArn, required Map< String, String> tags}) → Future<void> - This operation tags a resource.
-
toString(
) → String -
A string representation of this object.
inherited
-
untagResource(
{required String resourceArn, required List< String> tagKeys}) → Future<void> - This operation removes one or more tags from a resource.
-
updateAsset(
{required String assetId, required String dataSetId, required String name, required String revisionId}) → Future< UpdateAssetResponse> - This operation updates an asset.
-
updateDataSet(
{required String dataSetId, String? description, String? name}) → Future< UpdateDataSetResponse> - This operation updates a data set.
-
updateRevision(
{required String dataSetId, required String revisionId, String? comment, bool? finalized}) → Future< UpdateRevisionResponse> - This operation updates a revision.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited