I'd exactly the same challenge on Windows 10. It transpires to become a result of the aws cli not reading the world wide web proxy location in the Windows registry. Fastened same error by location the atmosphere variables HTTP_PROXY and HTTPS_PROXY to the corporate Online proxy. Hope it helps someone! I bumped into an analogous difficulty on Mac