I have an S3 bucket that contains millions of objects. I want to set up an AWS S3 inventory for that bucket. However, I want to exclude all objects inside the test/ folder present at the bucket's root from the inventory report (CSV). There is an option in the console while configuring inventory which is:
Prefix which I think is a filter to include objects and not to exclude them.
How can I generate an inventory report of all bucket objects except the objects present inside the test/ folder? Is there any way I can do this from the S3 Inventory console?