add updateSubdomain in route53 backend

This commit is contained in:
Girish Ramakrishnan
2015-10-29 15:37:42 -07:00
parent f0295c5dc5
commit 71c0945607

View File

@@ -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');