git ssb

0+

cel-desktop / ssb-pkg



Tree: d456a6cc8589489e558e6164750474ed2cfc961e

Files: d456a6cc8589489e558e6164750474ed2cfc961e / 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