Skip to content

Instantly share code, notes, and snippets.

@jlank
Created May 4, 2012 05:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlank/2592160 to your computer and use it in GitHub Desktop.
Save jlank/2592160 to your computer and use it in GitHub Desktop.
Trying to list S2 objects with awssum
var awssum = require('awssum');
var amazon = awssum.load('amazon/amazon');
var S3Service = awssum.load('amazon/s3');
var s3 = new S3Service(config.aws.accessKeyId,
config.aws.secretAccessKey, config.aws.awsAccountID, amazon.US_EAST_1);
var options1 = { BucketName: 'sdcdntest' };
s3.ListObjects(options1, function (err, data) {
console.dir(data);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment