I understand that you are getting an "AccessDenied" error when trying to access your URL and you want to remove permanent redirect in Amplify.
Redirects enable a web server to reroute navigation from one URL to another. In AWS Amplify redirects and writes have special configurations. Check the Rewrites and redirects settings in the left navigation pane:
AWS Amplify Console > App Settings > Rewrites and Redirects
From there, you can edit your Rewrites and redirects by adding a new rule depending on your use case. Refer  for more information on redirect and write in AWS Amplify.
I hope this will help.
Amplify redirect www to apexasked 8 months ago
Amplify push overriding my schema.graphql schema for an input type?asked 2 years ago
AWS Amplify Status 301asked 2 months ago
slash is getting appended at the end of the url path in amplify hosted webappasked 2 months ago
Connecting code commit from one aws account to amplify in other aws accountasked a month ago
Amplify and Google Searchasked 6 months ago
Amplify: redirect based on environmentasked 6 months ago
How to protect AWS Amplify subdomains using AWS Shieldasked 2 days ago
Add a custom domain to AWS Amplify react-appasked 2 years ago
Wildcard subdomains in AWS AmplifyAccepted Answerasked 3 years ago