title: Using AWS S3 API with react native
body: <p>I am studying React Native, I played with AWS S3 before, I have set some images in my buckets, I want to do a GET, from my code, and that images are set to private.</p>
  
  <p>I want to call S3 API using the React Native way just like I did on my Angular2 Project. I checked online, only found that there are third party plugin used for upload images to S3.</p>
  
  <p>How would I be able to create a new S3 object in react native<code>var s3 = new AWS.S3();</code> and call a function like <code>s3.listBuckets(function(err, data) {
    if (err) console.log(err, err.stack); // an error occurred
    else     console.log(data);           // successful response
  });</code> or simply get a private image on my bucket.</p>
  
  <p>Many thanks!</p>