I'd the same situation on Home windows 10. It transpires to be a result of the aws cli not examining the world wide web proxy location from the Windows registry. Fastened same error by placing the environment variables HTTP_PROXY and HTTPS_PROXY to the corporate Online proxy. Hope it helps someone! https://iam99785307.wssblogs.com/29221341/the-2-minute-rule-for-iam997