How to delete folder and its content in a AWS bucket using boto3

Viewed 16685

The documentation is a bit ambiguous when it comes to how to delete the content of a folder. If you take a look at how it's done for boto3, key isn't defined in boto3 antecedent sections, it's only defined in boto2 examples.

What's a flexible (more than a 1000 files) idiom that deletes the content of a folder?

2 Answers
Related