There's a better way to do it now, which uses the Amazon.RegionEndpoint class instead of using the url string. Visual Studio intellisense will provide you with all regions.
AmazonSQS sqs = AWSClientFactory.CreateAmazonSQSClient(RegionEndpoint.USWest2);
In addition, you do not need to pass the appConfig ["AWSAccessKey"] parameter in the parameters if it is defined in app.config. He will find him.
source
share