Class: AWS.DataExchange
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.DataExchange
- Identifier:
- dataexchange
- API Version:
- 2017-07-25
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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 Simple Storage Service (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, Redshift datashare, API Gateway API, AWS Lake Formation data permission, or Amazon S3 data access. 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.
Sending a Request Using DataExchange
var dataexchange = new AWS.DataExchange();
dataexchange.cancelJob(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the DataExchange object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var dataexchange = new AWS.DataExchange({apiVersion: '2017-07-25'});
You can also set the API version globally in AWS.config.apiVersions using
the dataexchange service identifier:
AWS.config.apiVersions = {
dataexchange: '2017-07-25',
// other service API versions
};
var dataexchange = new AWS.DataExchange();
Constructor Summary collapse
-
new AWS.DataExchange(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
cancelJob(params = {}, callback) ⇒ AWS.Request
This operation cancels a job.
-
createDataSet(params = {}, callback) ⇒ AWS.Request
This operation creates a data set.
.
-
createEventAction(params = {}, callback) ⇒ AWS.Request
This operation creates an event action.
.
-
createJob(params = {}, callback) ⇒ AWS.Request
This operation creates a job.
.
-
createRevision(params = {}, callback) ⇒ AWS.Request
This operation creates a revision for a data set.
.
-
deleteAsset(params = {}, callback) ⇒ AWS.Request
This operation deletes an asset.
.
-
deleteDataSet(params = {}, callback) ⇒ AWS.Request
This operation deletes a data set.
.
-
deleteEventAction(params = {}, callback) ⇒ AWS.Request
This operation deletes the event action.
.
-
deleteRevision(params = {}, callback) ⇒ AWS.Request
This operation deletes a revision.
.
-
getAsset(params = {}, callback) ⇒ AWS.Request
This operation returns information about an asset.
.
-
getDataSet(params = {}, callback) ⇒ AWS.Request
This operation returns information about a data set.
.
-
getEventAction(params = {}, callback) ⇒ AWS.Request
This operation retrieves information about an event action.
.
-
getJob(params = {}, callback) ⇒ AWS.Request
This operation returns information about a job.
.
-
getRevision(params = {}, callback) ⇒ AWS.Request
This operation returns information about a revision.
.
-
listDataSetRevisions(params = {}, callback) ⇒ AWS.Request
This operation lists a data set's revisions sorted by CreatedAt in descending order.
.
-
listDataSets(params = {}, callback) ⇒ AWS.Request
This operation lists your data sets.
-
listEventActions(params = {}, callback) ⇒ AWS.Request
This operation lists your event actions.
.
-
listJobs(params = {}, callback) ⇒ AWS.Request
This operation lists your jobs sorted by CreatedAt in descending order.
.
-
listRevisionAssets(params = {}, callback) ⇒ AWS.Request
This operation lists a revision's assets sorted alphabetically in descending order.
.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
This operation lists the tags on the resource.
.
-
revokeRevision(params = {}, callback) ⇒ AWS.Request
This operation revokes subscribers' access to a revision.
.
-
sendApiAsset(params = {}, callback) ⇒ AWS.Request
This operation invokes an API Gateway API asset.
-
sendDataSetNotification(params = {}, callback) ⇒ AWS.Request
The type of event associated with the data set.
.
-
startJob(params = {}, callback) ⇒ AWS.Request
This operation starts a job.
.
-
tagResource(params = {}, callback) ⇒ AWS.Request
This operation tags a resource.
.
-
untagResource(params = {}, callback) ⇒ AWS.Request
This operation removes one or more tags from a resource.
.
-
updateAsset(params = {}, callback) ⇒ AWS.Request
This operation updates an asset.
.
-
updateDataSet(params = {}, callback) ⇒ AWS.Request
This operation updates a data set.
.
-
updateEventAction(params = {}, callback) ⇒ AWS.Request
This operation updates the event action.
.
-
updateRevision(params = {}, callback) ⇒ AWS.Request
This operation updates a revision.
.
-
waitFor(state, params = {}, callback) ⇒ AWS.Request
Waits for a given DataExchange resource.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, setupRequestListeners, defineService
Constructor Details
new AWS.DataExchange(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.