Skip to content

ELB Client

SaltwaterC edited this page Nov 15, 2011 · 7 revisions

Client loader

aws.load('elb', [accessKeyId], [secretAccessKey])

Available low level method

elb.request(action, [query], callback)

The 'action' argument is the action required by the ELB query API itself.

Available helpers

Usage mode

// init the client
var elb = require('aws2js').load('elb', accessKeyId, secretAccessKey);

// call something of the ELB query API
elb.request('action', {foo: 'bar'}, function (error, response) {
	if (error) {
		console.error(error);
	} else {
		console.log(response);
	}
});
Clone this wiki locally