$ aws s3 ls Could not connect to the endpoint URL: \"https://s3.us-east-1a.amazonaws.com/\"
What could be the problem?
On Windows run the aws configure command again and reset region without the letter for example if your region is us-east-1a you need to change it to us-east-1 in order for it to work.