Skip to content

Auto Scaling Client

SaltwaterC edited this page Nov 15, 2011 · 4 revisions

Client loader

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

Available low level method

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

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

Available helpers

Usage mode

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

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