1 Answer
- Newest
- Most votes
- Most comments
1
Yes
You can run something like
select count(key) from <your_table>
where key like 'your_prefix%'
Lets say you have 3 objects
- prefix1/prefix2/object1.txt
- prefix1/prefix2/object2.txt
- prefix1/prefix3/object3.txt
select count(key) from <your_table>
where key like 'prefix1/prefix2/%'
This would return 2
Check out this blog post for more examples
Relevant content
- asked a year ago
- Accepted Answerasked 6 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 7 months ago