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.Neptunedata

Inherits:
AWS.Service show all
Identifier:
neptunedata
API Version:
2023-08-01
Defined in:
(unknown)

Overview

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

Service Description

The Amazon Neptune data API provides SDK support for more than 40 of Neptune's data operations, including data loading, query execution, data inquiry, and machine learning. It supports the Gremlin and openCypher query languages, and is available in all SDK languages. It automatically signs API requests and greatly simplifies integrating Neptune into your applications.

Sending a Request Using Neptunedata

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

var neptunedata = new AWS.Neptunedata({apiVersion: '2023-08-01'});

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

AWS.config.apiVersions = {
  neptunedata: '2023-08-01',
  // other service API versions
};

var neptunedata = new AWS.Neptunedata();

Version:

  • 2023-08-01

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse