How to dynamically select a folder in an s3 bucket to upload media to

System Information
  • Strapi Version: 4.10.6
  • Operating System: windows10
  • Database: sqlite
  • Node Version: 18.15.0
  • NPM Version: 9.5.0
  • Yarn Version: 1.22.19

I am new to strapi.
I have installed @strapi/provider-upload-aws-s3 so that when I upload media, it is uploaded to s3.
I want to dynamically change the folder in the s3 bucket to upload depending on the user who operated the media when it is uploaded.
For example,
UserA uploads → uploaded to “s3BucketName/sampleFolderA”
UserB uploads → uploaded to “s3BucketName/sampleFolderB”

We are looking for a way to achieve this.
Is it possible to extend @strapi/provider-upload-aws-s3?
If you have any other ideas, it would be greatly appreciated.