Skip to content
SaltwaterC edited this page Jan 20, 2012 · 2 revisions

Client loader

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

Available low level method

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

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

Available helpers

Usage mode

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

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

Notice

This client doesn't have region support.

Clone this wiki locally