elbv2.js (618B)
1 require('../lib/node_loader'); 2 var AWS = require('../lib/core'); 3 var Service = require('../lib/service'); 4 var apiLoader = require('../lib/api_loader'); 5 6 apiLoader.services['elbv2'] = {}; 7 AWS.ELBv2 = Service.defineService('elbv2', ['2015-12-01']); 8 Object.defineProperty(apiLoader.services['elbv2'], '2015-12-01', { 9 get: function get() { 10 var model = require('../apis/elasticloadbalancingv2-2015-12-01.min.json'); 11 model.paginators = require('../apis/elasticloadbalancingv2-2015-12-01.paginators.json').pagination; 12 return model; 13 }, 14 enumerable: true, 15 configurable: true 16 }); 17 18 module.exports = AWS.ELBv2;