title: Boto3 delete object inside directory
body: <p>I have the following snippet: </p>
  
  <pre><code>import boto3
  
  session = boto3.Session(
      aws_access_key_id="id",
      aws_secret_access_key="secret",
      region_name="us-east-1"
  )
  
  s3 = session.resource("s3")
  obj = s3.Object("mybucket", "test.txt")
  
  
  obj.delete()
  </code></pre>
  
  <p>It works fine if the file is on the root of the bucket, but I need to delete a file inside a directory. My file is under: <code>mybucket/media/private/test.txt</code></p>
  
  <p>Adding the path to <code>"mybucket"</code> or <code>"test.txt"</code> in the <code>s3.Object()</code> is not working </p>