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

Class: AWS.Route53

Inherits:
AWS.Service show all
Identifier:
route53
API Version:
2013-04-01
Defined in:
(unknown)

Overview

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

Service Description

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service.

You can use Route 53 to:

Sending a Request Using Route53

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

var route53 = new AWS.Route53({apiVersion: '2013-04-01'});

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

AWS.config.apiVersions = {
  route53: '2013-04-01',
  // other service API versions
};

var route53 = new AWS.Route53();

Version:

  • 2013-04-01

Waiter Resource States

This service supports a list of resource states that can be polled using the waitFor() method. The resource states are:

resourceRecordSetsChanged

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse