-
Notifications
You must be signed in to change notification settings - Fork 35
SES Client
SaltwaterC edited this page Nov 15, 2011
·
8 revisions
aws.load('ses', [accessKeyId], [secretAccessKey])
ses.request(action, [query], callback)
The 'action' argument is the action required by the SES query API itself.
- ses.setCredentials(accessKeyId, secretAccessKey)
- ses.setMaxSockets(numberOfSockets)
- ses.getEndPoint()
- ses.getApiVersion()
- ses.setApiVersion(apiVersion)
// init the client
var ses = require('aws2js').load('ses', accessKeyId, secretAccessKey);
// call something of the SES query API
ses.request('action', {foo: 'bar'}, function (error, response) {
if (error) {
console.error(error);
} else {
console.log(response);
}
});
This client doesn't have region support.