{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-net/issues/1122","repository_url":"https://api.github.com/repos/aws/aws-sdk-net","labels_url":"https://api.github.com/repos/aws/aws-sdk-net/issues/1122/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-net/issues/1122/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-net/issues/1122/events","html_url":"https://github.com/aws/aws-sdk-net/issues/1122","id":379319584,"node_id":"MDU6SXNzdWUzNzkzMTk1ODQ=","number":1122,"title":"RegionEndpoint has incorrect display names for several regions","user":{"login":"chrismgunn","id":44908800,"node_id":"MDQ6VXNlcjQ0OTA4ODAw","avatar_url":"https://avatars1.githubusercontent.com/u/44908800?v=4","gravatar_id":"","url":"https://api.github.com/users/chrismgunn","html_url":"https://github.com/chrismgunn","followers_url":"https://api.github.com/users/chrismgunn/followers","following_url":"https://api.github.com/users/chrismgunn/following{/other_user}","gists_url":"https://api.github.com/users/chrismgunn/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismgunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismgunn/subscriptions","organizations_url":"https://api.github.com/users/chrismgunn/orgs","repos_url":"https://api.github.com/users/chrismgunn/repos","events_url":"https://api.github.com/users/chrismgunn/events{/privacy}","received_events_url":"https://api.github.com/users/chrismgunn/received_events","type":"User","site_admin":false},"labels":[{"id":130111443,"node_id":"MDU6TGFiZWwxMzAxMTE0NDM=","url":"https://api.github.com/repos/aws/aws-sdk-net/labels/Question","name":"Question","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-09T20:58:57Z","updated_at":"2018-11-09T21:43:10Z","closed_at":null,"author_association":"NONE","body":"USEast1 and all of the EU regions have incorrect display names which prevents filtering by the location attribute when querying for pricing data.  The location attribute is populated with the display name of the region.\r\n\r\n## Expected Behavior\r\nThe DisplayName property should return the following values:\r\n* RegionEndpoint.EUWest1.DisplayName should return \"EU (Ireland)\"\r\n* RegionEndpoint.EUWest2.DisplayName should return \"EU (London)\"\r\n* RegionEndpoint.EUWest3.DisplayName should return \"EU (Paris)\"\r\n* RegionEndpoint.EUCentral1.DisplayName should return \"EU (Frankfurt)\"\r\n* RegionEndpoint.USEast1.DisplayName should return \"US East (N. Virginia)\"\r\n\r\nThese values are in the region pickers through out the AWS site.  You can look at the region picker on the [EC2 Pricing Page](https://aws.amazon.com/ec2/pricing/on-demand/) for the expected values.\r\n\r\n## Current Behavior\r\nThe DisplayName property currrently return the following values:\r\n* RegionEndpoint.EUWest1.DisplayName should return \"EU West (Ireland)\"\r\n* RegionEndpoint.EUWest2.DisplayName should return \"EU West (London)\"\r\n* RegionEndpoint.EUWest3.DisplayName should return \"EU West (Paris)\"\r\n* RegionEndpoint.EUCentral1.DisplayName should return \"EU Central (Frankfurt)\"\r\n* RegionEndpoint.USEast1.DisplayName should return \"US East (Virginia)\"\r\n\r\n## Steps to Reproduce (for bugs)\r\n```c#\r\nvar client = new AmazonPricingClient(\"YOUR_KEY\", \"YOUR_SECRET\", RegionEndpoint.USEast1);\r\n\r\nforeach (var region in RegionEndpoint.EnumerableAllRegions)\r\n{\r\n\tvar resp = client.GetProducts(new GetProductsRequest()\r\n\t{\r\n\t\tServiceCode = \"AmazonEC2\",\r\n\t\tFilters = new List<Amazon.Pricing.Model.Filter>()\r\n\t\t{\r\n\t\t\tnew Amazon.Pricing.Model.Filter(){Field = \"location\", Type = FilterType.TERM_MATCH, Value = region.DisplayName}\r\n\t\t}\r\n\t});\r\n\r\n\t//any region that does not have values in the price has the wrong display name.  Exceptions are the China and US Gov Cloud regions which appear to be tied to specific account types.\r\n\tConsole.WriteLine($\"({region.SystemName}) {region.DisplayName} : {resp.PriceList.Count}\");\r\n}\r\n```\r\n\r\n## Context\r\nI am trying to retrieve the pricing information for specific regions.  While the sample does not show it, my code is adding additional filters to the request.\r\n\r\n## Your Environment\r\n* AWSSDK.Core version 3.3.29.7\r\n* AWSSDK.Pricing version 3.3.0.32\r\n* Targeted .NET platform: .NET Framework 4.6.2\r\n"},"comment":{"url":"https://api.github.com/repos/aws/aws-sdk-net/issues/comments/437504276","html_url":"https://github.com/aws/aws-sdk-net/issues/1122#issuecomment-437504276","issue_url":"https://api.github.com/repos/aws/aws-sdk-net/issues/1122","id":437504276,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzUwNDI3Ng==","user":{"login":"sstevenkang","id":19806888,"node_id":"MDQ6VXNlcjE5ODA2ODg4","avatar_url":"https://avatars2.githubusercontent.com/u/19806888?v=4","gravatar_id":"","url":"https://api.github.com/users/sstevenkang","html_url":"https://github.com/sstevenkang","followers_url":"https://api.github.com/users/sstevenkang/followers","following_url":"https://api.github.com/users/sstevenkang/following{/other_user}","gists_url":"https://api.github.com/users/sstevenkang/gists{/gist_id}","starred_url":"https://api.github.com/users/sstevenkang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstevenkang/subscriptions","organizations_url":"https://api.github.com/users/sstevenkang/orgs","repos_url":"https://api.github.com/users/sstevenkang/repos","events_url":"https://api.github.com/users/sstevenkang/events{/privacy}","received_events_url":"https://api.github.com/users/sstevenkang/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T21:43:10Z","updated_at":"2018-11-09T21:43:10Z","author_association":"CONTRIBUTOR","body":"The display name for `RegionEndpoint` is not meant to be used by  `AmazonPricingClient`.  Also, it would be breaking change to make this change."}}
{"actor":{"display_login":"sstevenkang"}}