title: Boto + Python + AWS S3: How to get last_modified attribute of specific file?
body: <p>It’s possible to get last_modified attribute:</p>
  
  <pre><code>import boto3
  
  s3 = boto3.resource('s3')
  
  bucket_name = 'bucket-one'
  bucket = s3.Bucket(bucket_name)
  
  for obj in bucket.objects.all():
      print obj.last_modified
  </code></pre>
  
  <p>But it does so for all the objects in a bucket. How can I get the <code>last_modified</code> attribute for one specific object/file under a bucket?</p>