title: Python 3 Boto 3, AWS S3: Get object URL
body: <p>I need to retrieve an public object URL directly after uploading a file, this to be able to store it in a database.
  This is my upload code:</p>
  
  <pre><code>   s3 = boto3.resource('s3')
     s3bucket.upload_file(filepath, objectname, ExtraArgs={'StorageClass': 'STANDARD_IA'})
  </code></pre>
  
  <p>I am not looking for a presigned URL, just the URL that always will be publicly accessable over https.</p>
  
  <p>Any help appreciated.</p>