The AWS SDK for JavaScript v2 has reached end-of-support.
We recommend that you migrate to AWS SDK for JavaScript v3. For additional details and information on how to migrate, please refer to the announcement.

Class: AWS.DataZone

Inherits:
AWS.Service show all
Identifier:
datazone
API Version:
2018-05-10
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

Amazon DataZone is a data management service that enables you to catalog, discover, govern, share, and analyze your data. With Amazon DataZone, you can share and access your data across accounts and supported regions. Amazon DataZone simplifies your experience across Amazon Web Services services, including, but not limited to, Amazon Redshift, Amazon Athena, Amazon Web Services Glue, and Amazon Web Services Lake Formation.

Sending a Request Using DataZone

var datazone = new AWS.DataZone();
datazone.createSubscriptionTarget(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 DataZone object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var datazone = new AWS.DataZone({apiVersion: '2018-05-10'});

You can also set the API version globally in AWS.config.apiVersions using the datazone service identifier:

AWS.config.apiVersions = {
  datazone: '2018-05-10',
  // other service API versions
};

var datazone = new AWS.DataZone();

Version:

  • 2018-05-10

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse