I want to make a request for the health events on my AWS account. I use this code to do the request:
using (var client = new AmazonAWSHealthClient("accesskey", "privatekey", RegionEndpoint.EUCentral1))
{
var request = new DescribeEventsRequest();
var response = client.DescribeEventsAsync(request).Result;
}
But the response is "No such host is known". What do I need to change? Do I need to alter some settings on my AWS account?