diff --git a/src/dns/route53.js b/src/dns/route53.js index f79622ff7..84097e255 100644 --- a/src/dns/route53.js +++ b/src/dns/route53.js @@ -5,6 +5,7 @@ exports = module.exports = { addSubdomain: addSubdomain, delSubdomain: delSubdomain, + updateSubdomain: updateSubdomain, getChangeStatus: getChangeStatus }; @@ -110,6 +111,16 @@ function addSubdomain(zoneName, subdomain, type, value, callback) { }); } +function updateSubdomain(zoneName, subdomain, type, value, callback) { + assert.strictEqual(typeof zoneName, 'string'); + assert.strictEqual(typeof subdomain, 'string'); + assert.strictEqual(typeof type, 'string'); + assert.strictEqual(typeof value, 'string'); + assert.strictEqual(typeof callback, 'function'); + + addSubdomain(zoneName, subdomain, type, value, callback); +} + function delSubdomain(zoneName, subdomain, type, value, callback) { assert.strictEqual(typeof zoneName, 'string'); assert.strictEqual(typeof subdomain, 'string');