Skip to content

Commit 03e2ef6

Browse files
author
AWS
committed
Amazon Location Service Update: This release adds support for two new route travel models, Bicycle and Motorcycle which can be used with Grab data source.
1 parent b6bd73b commit 03e2ef6

File tree

4 files changed

+153
-386
lines changed

4 files changed

+153
-386
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",
4+
"contributor": "",
5+
"description": "This release adds support for two new route travel models, Bicycle and Motorcycle which can be used with Grab data source."
6+
}

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

Lines changed: 49 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"parameters": {
44
"Region": {
55
"builtIn": "AWS::Region",
6-
"required": false,
6+
"required": true,
77
"documentation": "The AWS region used to dispatch the request.",
88
"type": "String"
99
},
@@ -52,15 +52,6 @@
5252
"ref": "Endpoint"
5353
}
5454
]
55-
},
56-
{
57-
"fn": "parseURL",
58-
"argv": [
59-
{
60-
"ref": "Endpoint"
61-
}
62-
],
63-
"assign": "url"
6455
}
6556
],
6657
"type": "tree",
@@ -174,12 +165,18 @@
174165
"rules": [
175166
{
176167
"conditions": [],
177-
"endpoint": {
178-
"url": "https://geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
179-
"properties": {},
180-
"headers": {}
181-
},
182-
"type": "endpoint"
168+
"type": "tree",
169+
"rules": [
170+
{
171+
"conditions": [],
172+
"endpoint": {
173+
"url": "https://geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
174+
"properties": {},
175+
"headers": {}
176+
},
177+
"type": "endpoint"
178+
}
179+
]
183180
}
184181
]
185182
},
@@ -226,12 +223,18 @@
226223
"rules": [
227224
{
228225
"conditions": [],
229-
"endpoint": {
230-
"url": "https://geo-fips.{Region}.{PartitionResult#dnsSuffix}",
231-
"properties": {},
232-
"headers": {}
233-
},
234-
"type": "endpoint"
226+
"type": "tree",
227+
"rules": [
228+
{
229+
"conditions": [],
230+
"endpoint": {
231+
"url": "https://geo-fips.{Region}.{PartitionResult#dnsSuffix}",
232+
"properties": {},
233+
"headers": {}
234+
},
235+
"type": "endpoint"
236+
}
237+
]
235238
}
236239
]
237240
},
@@ -278,12 +281,18 @@
278281
"rules": [
279282
{
280283
"conditions": [],
281-
"endpoint": {
282-
"url": "https://geo.{Region}.{PartitionResult#dualStackDnsSuffix}",
283-
"properties": {},
284-
"headers": {}
285-
},
286-
"type": "endpoint"
284+
"type": "tree",
285+
"rules": [
286+
{
287+
"conditions": [],
288+
"endpoint": {
289+
"url": "https://geo.{Region}.{PartitionResult#dualStackDnsSuffix}",
290+
"properties": {},
291+
"headers": {}
292+
},
293+
"type": "endpoint"
294+
}
295+
]
287296
}
288297
]
289298
},
@@ -296,12 +305,18 @@
296305
},
297306
{
298307
"conditions": [],
299-
"endpoint": {
300-
"url": "https://geo.{Region}.{PartitionResult#dnsSuffix}",
301-
"properties": {},
302-
"headers": {}
303-
},
304-
"type": "endpoint"
308+
"type": "tree",
309+
"rules": [
310+
{
311+
"conditions": [],
312+
"endpoint": {
313+
"url": "https://geo.{Region}.{PartitionResult#dnsSuffix}",
314+
"properties": {},
315+
"headers": {}
316+
},
317+
"type": "endpoint"
318+
}
319+
]
305320
}
306321
]
307322
}

0 commit comments

Comments
 (0)