title: Do triggers exist for folders in S3 bucket when all objects are deleted?
body: <p>I have a S3 folder structure as below:</p>
  <p>s3://ABC/sample-file.csv</p>
  <p>I want to trigger a lambda function whenever sample-file lands in ABC folder. Now, the requirement is to move(copy and delete) the sample file. Now, when I delete the sample-file using python boto3, even ABC folder is deleted as it has no objects.</p>
  <pre><code>boto3_session = boto3.client('s3')
  boto3_session.delete_object(Bucket = Bucketname, Key = 'ABC/sample-file.csv')
  </code></pre>
  <p>I want to trigger that lambda function whenever I write sample file to ABC folder again. My question is will the previously defined lambda function be triggered as the ABC folder will be created again?</p>
  <p>Alternatively, can I retain ABC folder without any files?</p>