Skip to content

Commit b495cf2

Browse files
This release adds support for two new route travel models, Bicycle and Motorcycle which can be used with Grab data source.
1 parent 4b392b8 commit b495cf2

File tree

41 files changed

+6919
-896
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+6919
-896
lines changed

generator/ServiceModels/location/location-2020-11-19.api.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@
190190
{"shape":"ConflictException"},
191191
{"shape":"AccessDeniedException"},
192192
{"shape":"ValidationException"},
193+
{"shape":"ServiceQuotaExceededException"},
193194
{"shape":"ThrottlingException"}
194195
],
195196
"endpoint":{"hostPrefix":"geofencing."},
@@ -209,6 +210,7 @@
209210
{"shape":"ConflictException"},
210211
{"shape":"AccessDeniedException"},
211212
{"shape":"ValidationException"},
213+
{"shape":"ServiceQuotaExceededException"},
212214
{"shape":"ThrottlingException"}
213215
],
214216
"endpoint":{"hostPrefix":"maps."},
@@ -228,6 +230,7 @@
228230
{"shape":"ConflictException"},
229231
{"shape":"AccessDeniedException"},
230232
{"shape":"ValidationException"},
233+
{"shape":"ServiceQuotaExceededException"},
231234
{"shape":"ThrottlingException"}
232235
],
233236
"endpoint":{"hostPrefix":"places."},
@@ -247,6 +250,7 @@
247250
{"shape":"ConflictException"},
248251
{"shape":"AccessDeniedException"},
249252
{"shape":"ValidationException"},
253+
{"shape":"ServiceQuotaExceededException"},
250254
{"shape":"ThrottlingException"}
251255
],
252256
"endpoint":{"hostPrefix":"routes."},
@@ -3418,7 +3422,9 @@
34183422
"enum":[
34193423
"Car",
34203424
"Truck",
3421-
"Walking"
3425+
"Walking",
3426+
"Bicycle",
3427+
"Motorcycle"
34223428
]
34233429
},
34243430
"TruckDimensions":{

generator/ServiceModels/location/location-2020-11-19.docs.json

Lines changed: 24 additions & 24 deletions
Large diffs are not rendered by default.

generator/ServiceModels/location/location-2020-11-19.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)