git ssb

0+

cel-desktop / ssb-pkg



Tree: 65191f9a9664f013ebe726bb95a1a54b086e1bd5

Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / test / test-79-npm / aws-sdk / aws-sdk.js

345 bytesRaw
1'use strict';
2
3var aws = require('aws-sdk');
4
5var s3 = new aws.S3({
6 accessKeyId: 'ABRACADABRABRACADABR',
7 secretAccessKey: 'TdTdTdTdTdTdTdTdTdTdTdTdTdTdTdTdTdTdTdTd'
8});
9
10s3.listObjects({
11 Bucket: 'enclosejs'
12}, function (error) {
13 if (error) {
14 if (error.message.indexOf('does not exist') >= 0) {
15 console.log('ok');
16 }
17 }
18});
19

Built with git-ssb-web