I had to set the region to get rid of the error "No such host is known".
https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-region-selection.html