Replies: 1 comment 2 replies
-
Hi @sabouaram , AFAIK there is no way to achieve service side filtering of buckets based on a prefix (or at all). You'll have to do the filtering on the client side after the result from ListObjectsV2.
The AWS SDKs are code generated from the API models of each service. For this to be added there has to be 1. server side implementation to support this. 2. API model definition updates that the SDK can get regenerated from. In other words, the SDK team cannot "add" this functionality. This has to be implemented on the S3 side. Is there anything stopping you from filtering on the client side? Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello dears,
Hope all is good, am contacting to ask if there is an actual list method(s) mainly for buckets based on a defined regex pattern.
Something that helps filtering => like the prefix in the ListObjectsV2Input.
If not, is it possible to add this feature in the SDK ? ( to open a PR )
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions