With boto3, one can delete files in a bucket as below
for object in bucket.objects.all():
if 'xyz' in object.key:
object.delete()
This sends one REST API call per file. If you have a large number of files, this can take a long time.
Is there a faster way to do this?