The old REST-style S3 URLs are specifically excluded from being able to redirect:
https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-...
You can create a new bucket or switch your existing one to "Static Website Hosting" mode to enable the ability to 301 your content going forward. But the URL for the "website" version isn't the same as the REST URL. And again, there's no way to redirect from the old naming scheme to the new one.
If you have content that you've ever linked with one of those URLs, it's stuck there forever.