Hi Harshraj,
The latest version of the S3 module has access to the HeadBucket operation now. You can use this operation to get the Region back from a Bucket:
https://marketplace.mendix.com/link/component/120340
The documentation has been updated to reflect this change:
https://docs.mendix.com/appstore/modules/aws/amazon-s3/#headbucket
Hi Harshraj,
It's not possible to get a List of only buckets from a single region. The only way to get a list from a single region is to call ListBuckets and to filter the output afterwards.
This is also not possible within AWS itself (without Mendix): https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html
The reason the Region is being used as an input in Mendix is because we use it for creating the "S3ClientBuilder" in the Java code.