EMR Client

SaltwaterC edited this page Jul 13, 2012 · 1 revision

Client loader

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

Available low level method

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

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

Available helpers

Usage mode

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

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