Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

STS Client

SaltwaterC edited this page · 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.

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);
    }
});
Something went wrong with that request. Please try again.