Could you please advise how to set endpoint_url outside of the code by setting an environment variable or a ~/.aws/config file?