title: How to clean up S3 files that is used by AWS Firehose after loading the files?
body: <p>AWS Firehose uses S3 as an intermittent storage before the data is copied to redshift. Once the data is transferred to redshift, how to clean them up automatically if it succeeds. </p>
  
  <p>I deleted those files manually, it went out of state complaining that files got deleted, I had to delete and recreate Firehose again to resume.</p>
  
  <p>Deleting those files after 7 days with S3 rules will work? or Is there any automated way, that Firehose can delete the successful files that got moved to redshift.</p>