I have configured https://devdocs.magento.com/guides/v2.4/config-guide/remote-storage/config-remote-storage-aws-s3.html
now I want to get the upload file URL in my custom module. from admin files etc are properly uploaded at aws-s3 server but, when I try to get the same using media URL I am getting 404 URL.
So does anyone have an idea how we can get a fully dynamic URL for any aws-s3 files?