Created
May 4, 2012 05:03
-
-
Save jlank/2592160 to your computer and use it in GitHub Desktop.
Trying to list S2 objects with awssum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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