How can I set quotas for S3 object storage?

I don't want to overrun the bills if I accidentally uploaded many files in a loop