I'd the identical difficulty on Home windows 10. It transpires for being due to the aws cli not looking at the net proxy location through the Home windows registry. Mounted same error by placing the ecosystem variables HTTP_PROXY and HTTPS_PROXY to the corporate World-wide-web proxy. Hope it helps any person!If you still come across the mistake aft