Skip to content

Commit 0dc442f

Browse files
author
AWS
committed
Amazon Location Service Places V2 Update: Geocode, ReverseGeocode, and GetPlace APIs added Intersections and SecondaryAddresses. To use, add to the AdditionalFeatures list in your request. This provides info about nearby intersections and secondary addresses that are associated with a main address. Also added MainAddress and ParsedQuery.
1 parent 2383c63 commit 0dc442f

File tree

4 files changed

+624
-171
lines changed

4 files changed

+624
-171
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Location Service Places V2",
4+
"contributor": "",
5+
"description": "Geocode, ReverseGeocode, and GetPlace APIs added Intersections and SecondaryAddresses. To use, add to the AdditionalFeatures list in your request. This provides info about nearby intersections and secondary addresses that are associated with a main address. Also added MainAddress and ParsedQuery."
6+
}

services/geoplaces/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
}
329329
],
330330
"endpoint": {
331-
"url": "https://places.geo.{Region}.us-gov.{PartitionResult#dnsSuffix}/v2",
331+
"url": "https://places.geo.{Region}.{PartitionResult#dnsSuffix}/v2",
332332
"properties": {},
333333
"headers": {}
334334
},
@@ -371,7 +371,7 @@
371371
}
372372
],
373373
"endpoint": {
374-
"url": "https://places.geo-fips.{Region}.us-gov.{PartitionResult#dualStackDnsSuffix}/v2",
374+
"url": "https://places.geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}/v2",
375375
"properties": {},
376376
"headers": {}
377377
},
@@ -414,7 +414,7 @@
414414
}
415415
],
416416
"endpoint": {
417-
"url": "https://places.geo-fips.{Region}.us-gov.{PartitionResult#dnsSuffix}/v2",
417+
"url": "https://places.geo-fips.{Region}.{PartitionResult#dnsSuffix}/v2",
418418
"properties": {},
419419
"headers": {}
420420
},
@@ -457,7 +457,7 @@
457457
}
458458
],
459459
"endpoint": {
460-
"url": "https://places.geo.{Region}.us-gov.{PartitionResult#dualStackDnsSuffix}/v2",
460+
"url": "https://places.geo.{Region}.{PartitionResult#dualStackDnsSuffix}/v2",
461461
"properties": {},
462462
"headers": {}
463463
},

services/geoplaces/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
142142
"expect": {
143143
"endpoint": {
144-
"url": "https://places.geo-fips.us-gov-west-1.us-gov.api.aws/v2"
144+
"url": "https://places.geo-fips.us-gov-west-1.api.aws/v2"
145145
}
146146
},
147147
"params": {
@@ -154,7 +154,7 @@
154154
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
155155
"expect": {
156156
"endpoint": {
157-
"url": "https://places.geo-fips.us-gov-west-1.us-gov.amazonaws.com/v2"
157+
"url": "https://places.geo-fips.us-gov-west-1.amazonaws.com/v2"
158158
}
159159
},
160160
"params": {
@@ -167,7 +167,7 @@
167167
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
168168
"expect": {
169169
"endpoint": {
170-
"url": "https://places.geo.us-gov-west-1.us-gov.api.aws/v2"
170+
"url": "https://places.geo.us-gov-west-1.api.aws/v2"
171171
}
172172
},
173173
"params": {
@@ -180,7 +180,7 @@
180180
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
181181
"expect": {
182182
"endpoint": {
183-
"url": "https://places.geo.us-gov-west-1.us-gov.amazonaws.com/v2"
183+
"url": "https://places.geo.us-gov-west-1.amazonaws.com/v2"
184184
}
185185
},
186186
"params": {

0 commit comments

Comments
 (0)