I had a similar concern on Home windows 10. It occurs to be a result of the aws cli not studying the online market place proxy setting within the Windows registry. Fastened same error by placing the environment variables HTTP_PROXY and HTTPS_PROXY to the corporate World wide web proxy. Hope it can help any person!when you have proxy extra to the ec