title: Using react-native-aws3 to upload to S3
body: <p>I am uploading images to s3 using the react-native-aws3 library.  the component is RNS3.
  I successfully upload and I am able to access the url and view the image, however, I am unable to find the object in my S3 bucket using the AWS console.  here is the code:</p>
  
  <pre><code>import React from 'react';
  import {View, Text, Button, Image} from 'react-native';
  import {region, bucket, accessKey, secretKey} from '../auth';
  import image from '../assets/background.png';
  import { RNS3 } from 'react-native-aws3';
  
  const upload = () =&gt; {
  
      const file = {
          uri : 'file:///Users/ayunas/Documents/lambda/cooking-recipe-source-control-fe/CookingRecipesExpo/assets/background.png',
          name : 'my_logo.png',
          type: 'image/png'
      }
  
      console.log(file.uri);
  
  
      const options = {
          keyPrefix : "public/",
          bucket,
          region,
          accessKey,
          secretKey,
          successActionStatus: 201
      }
  
      RNS3.put(file, options)
          .progress(event =&gt; {
              console.log(`percent: ${event.percent}`);
          })
          .then(res =&gt; {
              if (res.status === 201) {
                  console.log('response from successful upload to s3:', res.body);
              } else {
                  console.log('status code: ', res.status);
              }
          })
          .catch(err =&gt; {
              console.log('error uploading to s3', err)
          })
  }
  
  const get = () =&gt; {
      Storage.get('amir.txt')
          .then(res =&gt; console.log('result get', res))
          .catch(err =&gt; console.log('err getting', err))
  }
  
  function ImageUpload(props) {
  
      return (
          &lt;View style={{alignItems : 'center'}}&gt;
              &lt;Image style={{width: 100, height: 100}} source={image} /&gt;
              &lt;Text&gt;Click button to upload above image to S3&lt;/Text&gt;
              &lt;Button title="Upload to S3" onPress={upload}/&gt;
              &lt;Button title="Get from S3" onPress={get}/&gt;
          &lt;/View&gt;
      )
  
  }
  
  export default ImageUpload;
  </code></pre>
  
  <p>any insights into how to find the image in the AWS console?  I can click on the res.location and navigate to the object using the URL.  but that's about it.</p>