title: How do I get a download link for an object I upload to an AWS bucket?
body: <p>I'm using AWS S3 <code>boto3</code> to upload files to my AWS bucket called <code>uploadtesting</code>. Here is an example implementation:</p>
  <pre><code>import boto3
  
  ...
  
  s3 = boto3.resource('s3')
  s3.meta.client.upload_file('files/report.pdf', 'uploadtesting', 'report.pdf')
  </code></pre>
  <p>Accessing the object from the AWS S3 console allows you to see the object URL, however it is not a downloadable link. What I wanted to know is how can I use python to print out a downloadable link to the file I just uploaded?</p>