STS Client

Ștefan Rusu edited this page Dec 10, 2013 · 3 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. The list of STS enabled services can be found here.

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.