How to fix botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL in Python | DevErrors