Skip to content

IAM client

SaltwaterC edited this page Nov 15, 2011 · 3 revisions

Client loader

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

Available low level method

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

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

Available helpers

Usage mode

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

// call something of the IAM query API
iam.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