var aws = require('aws-sdk'); var sdb = new aws.SimpleDB({apiVersion: '2009-04-15', region: 'ap-northeast-1'}); exports.handler = function(event, context) { var params = { SelectExpression: "select * from hoge", ConsistentRead: false, NextToken: null }; sdb.select(params, function(err, data) { }); };