Sha256: 4b7a96c4af542f9e292816b06a9fa74c498efdd7196d124b6572070ee2c6143a

Contents?: true

Size: 774 Bytes

Versions: 35

Compression:

Stored size: 774 Bytes

Contents

var AWS = require('../core');

AWS.util.update(AWS.Route53.prototype, {
  /**
   * @api private
   */
  setupRequestListeners: function setupRequestListeners(request) {
    request.on('build', this.sanitizeUrl);
  },

  /**
   * @api private
   */
  sanitizeUrl: function sanitizeUrl(request) {
    var path = request.httpRequest.path;
    request.httpRequest.path = path.replace(/\/%2F\w+%2F/, '/');
  },

  /**
   * @return [Boolean] whether the error can be retried
   * @api private
   */
  retryableError: function retryableError(error) {
    if (error.code === 'PriorRequestNotComplete' &&
        error.statusCode === 400) {
      return true;
    } else {
      var _super = AWS.Service.prototype.retryableError;
      return _super.call(this, error);
    }
  }
});

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
sumomo-0.10.8 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.10.4 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.10.3 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.10.2 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.10.1 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.10.0 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.9.0 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.22 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.21 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.20 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.17 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.16 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.15 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.14 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.13 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.12 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.11 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.10 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.9 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js
sumomo-0.8.8 data/sumomo/api_modules/node_modules/aws-sdk/lib/services/route53.js