Skip to content

ElastiCache client

SaltwaterC edited this page Nov 15, 2011 · 1 revision

Client loader

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

Available low level method

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

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

Available helpers

Usage mode

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

// call something of the ElastiCache query API
elasticache.request('action', {foo: 'bar'}, function (error, response) {
	if (error) {
		console.error(error);
	} else {
		console.log(response);
	}
});

Notice

This client doesn't have region support.