I had the same situation on Windows ten. It happens being as a result of aws cli not examining the world wide web proxy setting through the Home windows registry. Mounted exact error by placing the atmosphere variables HTTP_PROXY and HTTPS_PROXY to the company internet proxy. Hope it helps anyone! I bumped into the same challenge on Mac OSX in t