I had a similar problem on Home windows ten. It occurs to get due to the aws cli not reading through the online market place proxy setting through the Home windows registry. Fixed identical mistake by location the environment variables HTTP_PROXY and HTTPS_PROXY to the corporate Net proxy. Hope it can help anyone! I bumped into the same concern