aws-sdk-locationservice 1.26.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-locationservice/client.rb +95 -33
- data/lib/aws-sdk-locationservice/client_api.rb +4 -0
- data/lib/aws-sdk-locationservice/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-locationservice/endpoint_provider.rb +35 -94
- data/lib/aws-sdk-locationservice/types.rb +121 -32
- data/lib/aws-sdk-locationservice.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8a8ffea913d4617b1453dcf6258a479c6d752a5ac4555a80f997e768bd05c87
|
4
|
+
data.tar.gz: fd5ce5da36380f2cd81a6cbc5de6c1c109b9ebbf317483a3226ffa40f8f672e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca592c4f1741b32994cb3dd7fd69058a42a1d5f4da62aca71dd00d7e59e96515f7ceed1980dce5293bad025b12c4f6d64dc4e0ff89be38f3b255b11c1ca7e3c5
|
7
|
+
data.tar.gz: 8407a999855d16983f7d2b8e9510680fdaa9ac5bb995bc42daa8e34e783a9f4f836918cdb01f8cc0761d4f0d13dc72576ac6cf15b9f72ea326d6d45e117d6364
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.28.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.27.0 (2023-01-10)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - This release adds support for two new route travel models, Bicycle and Motorcycle which can be used with Grab data source.
|
15
|
+
|
4
16
|
1.26.0 (2022-12-15)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
@@ -884,7 +884,19 @@ module Aws::LocationService
|
|
884
884
|
# @option params [String] :travel_mode
|
885
885
|
# Specifies the mode of transport when calculating a route. Used in
|
886
886
|
# estimating the speed of travel and road compatibility. You can choose
|
887
|
-
# `Car`, `Truck`, or `
|
887
|
+
# `Car`, `Truck`, `Walking`, `Bicycle` or `Motorcycle` as options for
|
888
|
+
# the `TravelMode`.
|
889
|
+
#
|
890
|
+
# <note markdown="1"> `Bicycle` and `Motorcycle` are only valid when using Grab as a data
|
891
|
+
# provider, and only within Southeast Asia.
|
892
|
+
#
|
893
|
+
# `Truck` is not available for Grab.
|
894
|
+
#
|
895
|
+
# For more details on the using Grab for routing, including areas of
|
896
|
+
# coverage, see [GrabMaps][1] in the *Amazon Location Service Developer
|
897
|
+
# Guide*.
|
898
|
+
#
|
899
|
+
# </note>
|
888
900
|
#
|
889
901
|
# The `TravelMode` you specify also determines how you specify route
|
890
902
|
# preferences:
|
@@ -895,6 +907,10 @@ module Aws::LocationService
|
|
895
907
|
#
|
896
908
|
# Default Value: `Car`
|
897
909
|
#
|
910
|
+
#
|
911
|
+
#
|
912
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html
|
913
|
+
#
|
898
914
|
# @option params [Types::CalculateRouteTruckModeOptions] :truck_mode_options
|
899
915
|
# Specifies route preferences when traveling by `Truck`, such as
|
900
916
|
# avoiding routes that use ferries or tolls, and truck specifications to
|
@@ -950,7 +966,7 @@ module Aws::LocationService
|
|
950
966
|
# destination_position: [1.0], # required
|
951
967
|
# distance_unit: "Kilometers", # accepts Kilometers, Miles
|
952
968
|
# include_leg_geometry: false,
|
953
|
-
# travel_mode: "Car", # accepts Car, Truck, Walking
|
969
|
+
# travel_mode: "Car", # accepts Car, Truck, Walking, Bicycle, Motorcycle
|
954
970
|
# truck_mode_options: {
|
955
971
|
# avoid_ferries: false,
|
956
972
|
# avoid_tolls: false,
|
@@ -1158,8 +1174,22 @@ module Aws::LocationService
|
|
1158
1174
|
#
|
1159
1175
|
# * If traveling by `Truck` use the `TruckModeOptions` parameter.
|
1160
1176
|
#
|
1177
|
+
# <note markdown="1"> `Bicycle` or `Motorcycle` are only valid when using `Grab` as a data
|
1178
|
+
# provider, and only within Southeast Asia.
|
1179
|
+
#
|
1180
|
+
# `Truck` is not available for Grab.
|
1181
|
+
#
|
1182
|
+
# For more information about using Grab as a data provider, see
|
1183
|
+
# [GrabMaps][1] in the *Amazon Location Service Developer Guide*.
|
1184
|
+
#
|
1185
|
+
# </note>
|
1186
|
+
#
|
1161
1187
|
# Default Value: `Car`
|
1162
1188
|
#
|
1189
|
+
#
|
1190
|
+
#
|
1191
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html
|
1192
|
+
#
|
1163
1193
|
# @option params [Types::CalculateRouteTruckModeOptions] :truck_mode_options
|
1164
1194
|
# Specifies route preferences when traveling by `Truck`, such as
|
1165
1195
|
# avoiding routes that use ferries or tolls, and truck specifications to
|
@@ -1191,7 +1221,7 @@ module Aws::LocationService
|
|
1191
1221
|
# [1.0],
|
1192
1222
|
# ],
|
1193
1223
|
# distance_unit: "Kilometers", # accepts Kilometers, Miles
|
1194
|
-
# travel_mode: "Car", # accepts Car, Truck, Walking
|
1224
|
+
# travel_mode: "Car", # accepts Car, Truck, Walking, Bicycle, Motorcycle
|
1195
1225
|
# truck_mode_options: {
|
1196
1226
|
# avoid_ferries: false,
|
1197
1227
|
# avoid_tolls: false,
|
@@ -1328,8 +1358,8 @@ module Aws::LocationService
|
|
1328
1358
|
# of different styles sourced from global location data providers.
|
1329
1359
|
#
|
1330
1360
|
# <note markdown="1"> If your application is tracking or routing assets you use in your
|
1331
|
-
# business, such as delivery vehicles or employees, you
|
1332
|
-
#
|
1361
|
+
# business, such as delivery vehicles or employees, you must not use
|
1362
|
+
# Esri as your geolocation provider. See section 82 of the [AWS service
|
1333
1363
|
# terms][1] for more details.
|
1334
1364
|
#
|
1335
1365
|
# </note>
|
@@ -1427,8 +1457,8 @@ module Aws::LocationService
|
|
1427
1457
|
# operation.
|
1428
1458
|
#
|
1429
1459
|
# <note markdown="1"> If your application is tracking or routing assets you use in your
|
1430
|
-
# business, such as delivery vehicles or employees, you
|
1431
|
-
#
|
1460
|
+
# business, such as delivery vehicles or employees, you must not use
|
1461
|
+
# Esri as your geolocation provider. See section 82 of the [AWS service
|
1432
1462
|
# terms][1] for more details.
|
1433
1463
|
#
|
1434
1464
|
# </note>
|
@@ -1451,27 +1481,33 @@ module Aws::LocationService
|
|
1451
1481
|
# your region of interest, see [Esri details on geocoding
|
1452
1482
|
# coverage][2].
|
1453
1483
|
#
|
1454
|
-
# * `
|
1484
|
+
# * `Grab` – Grab provides place index functionality for Southeast Asia.
|
1485
|
+
# For additional information about [GrabMaps][3]' coverage, see
|
1486
|
+
# [GrabMaps countries and areas covered][4].
|
1487
|
+
#
|
1488
|
+
# * `Here` – For additional information about [HERE Technologies][5]'
|
1455
1489
|
# coverage in your region of interest, see [HERE details on goecoding
|
1456
|
-
# coverage][
|
1490
|
+
# coverage][6].
|
1457
1491
|
#
|
1458
1492
|
# If you specify HERE Technologies (`Here`) as the data provider, you
|
1459
|
-
# may not [store results][
|
1460
|
-
# information, see the [AWS Service Terms][
|
1493
|
+
# may not [store results][7] for locations in Japan. For more
|
1494
|
+
# information, see the [AWS Service Terms][8] for Amazon Location
|
1461
1495
|
# Service.
|
1462
1496
|
#
|
1463
|
-
# For additional information , see [Data providers][
|
1497
|
+
# For additional information , see [Data providers][9] on the *Amazon
|
1464
1498
|
# Location Service Developer Guide*.
|
1465
1499
|
#
|
1466
1500
|
#
|
1467
1501
|
#
|
1468
1502
|
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
|
1469
1503
|
# [2]: https://developers.arcgis.com/rest/geocode/api-reference/geocode-coverage.htm
|
1470
|
-
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/
|
1471
|
-
# [4]: https://
|
1472
|
-
# [5]: https://docs.aws.amazon.com/location
|
1473
|
-
# [6]: https://
|
1474
|
-
# [7]: https://docs.aws.amazon.com/location/latest/
|
1504
|
+
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html
|
1505
|
+
# [4]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html#grab-coverage-area
|
1506
|
+
# [5]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
|
1507
|
+
# [6]: https://developer.here.com/documentation/geocoder/dev_guide/topics/coverage-geocoder.html
|
1508
|
+
# [7]: https://docs.aws.amazon.com/location-places/latest/APIReference/API_DataSourceConfiguration.html
|
1509
|
+
# [8]: https://aws.amazon.com/service-terms/
|
1510
|
+
# [9]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
|
1475
1511
|
#
|
1476
1512
|
# @option params [Types::DataSourceConfiguration] :data_source_configuration
|
1477
1513
|
# Specifies the data storage option requesting Places.
|
@@ -1561,8 +1597,8 @@ module Aws::LocationService
|
|
1561
1597
|
# traffic and road network data from your chosen data provider.
|
1562
1598
|
#
|
1563
1599
|
# <note markdown="1"> If your application is tracking or routing assets you use in your
|
1564
|
-
# business, such as delivery vehicles or employees, you
|
1565
|
-
#
|
1600
|
+
# business, such as delivery vehicles or employees, you must not use
|
1601
|
+
# Esri as your geolocation provider. See section 82 of the [AWS service
|
1566
1602
|
# terms][1] for more details.
|
1567
1603
|
#
|
1568
1604
|
# </note>
|
@@ -1587,9 +1623,7 @@ module Aws::LocationService
|
|
1587
1623
|
# Specifies the data provider of traffic and road network data.
|
1588
1624
|
#
|
1589
1625
|
# <note markdown="1"> This field is case-sensitive. Enter the valid values as shown. For
|
1590
|
-
# example, entering `HERE` returns an error.
|
1591
|
-
# Esri as a data source only calculate routes that are shorter than 400
|
1592
|
-
# km.
|
1626
|
+
# example, entering `HERE` returns an error.
|
1593
1627
|
#
|
1594
1628
|
# </note>
|
1595
1629
|
#
|
@@ -1599,21 +1633,30 @@ module Aws::LocationService
|
|
1599
1633
|
# your region of interest, see [Esri details on street networks and
|
1600
1634
|
# traffic coverage][2].
|
1601
1635
|
#
|
1602
|
-
#
|
1636
|
+
# Route calculators that use Esri as a data source only calculate
|
1637
|
+
# routes that are shorter than 400 km.
|
1638
|
+
#
|
1639
|
+
# * `Grab` – Grab provides routing functionality for Southeast Asia. For
|
1640
|
+
# additional information about [GrabMaps][3]' coverage, see [GrabMaps
|
1641
|
+
# countries and areas covered][4].
|
1642
|
+
#
|
1643
|
+
# * `Here` – For additional information about [HERE Technologies][5]'
|
1603
1644
|
# coverage in your region of interest, see [HERE car routing
|
1604
|
-
# coverage][
|
1645
|
+
# coverage][6] and [HERE truck routing coverage][7].
|
1605
1646
|
#
|
1606
|
-
# For additional information , see [Data providers][
|
1647
|
+
# For additional information , see [Data providers][8] on the *Amazon
|
1607
1648
|
# Location Service Developer Guide*.
|
1608
1649
|
#
|
1609
1650
|
#
|
1610
1651
|
#
|
1611
1652
|
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
|
1612
1653
|
# [2]: https://doc.arcgis.com/en/arcgis-online/reference/network-coverage.htm
|
1613
|
-
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/
|
1614
|
-
# [4]: https://
|
1615
|
-
# [5]: https://
|
1616
|
-
# [6]: https://
|
1654
|
+
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html
|
1655
|
+
# [4]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html#grab-coverage-area
|
1656
|
+
# [5]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
|
1657
|
+
# [6]: https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/car-routing.html
|
1658
|
+
# [7]: https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/truck-routing.html
|
1659
|
+
# [8]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
|
1617
1660
|
#
|
1618
1661
|
# @option params [String] :description
|
1619
1662
|
# The optional description for the route calculator resource.
|
@@ -2428,7 +2471,14 @@ module Aws::LocationService
|
|
2428
2471
|
# `Fira GO Map Bold` \| `Noto Sans CJK JP Bold` \| `Noto Sans CJK JP
|
2429
2472
|
# Light` \| `Noto Sans CJK JP Regular`
|
2430
2473
|
#
|
2431
|
-
# Valid font stacks for [
|
2474
|
+
# Valid font stacks for [GrabMaps][3] styles:
|
2475
|
+
#
|
2476
|
+
# * VectorGrabStandardLight, VectorGrabStandardDark – `Noto Sans
|
2477
|
+
# Regular` \| `Noto Sans Medium` \| `Noto Sans Bold`
|
2478
|
+
#
|
2479
|
+
# ^
|
2480
|
+
#
|
2481
|
+
# Valid font stacks for [Open Data (Preview)][4] styles:
|
2432
2482
|
#
|
2433
2483
|
# * VectorOpenDataStandardLight – `Amazon Ember Regular,Noto Sans
|
2434
2484
|
# Regular` \| `Amazon Ember Bold,Noto Sans Bold` \| `Amazon Ember
|
@@ -2448,7 +2498,8 @@ module Aws::LocationService
|
|
2448
2498
|
#
|
2449
2499
|
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
|
2450
2500
|
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
|
2451
|
-
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/
|
2501
|
+
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html
|
2502
|
+
# [4]: https://docs.aws.amazon.com/location/latest/developerguide/open-data.html
|
2452
2503
|
#
|
2453
2504
|
# @option params [required, String] :font_unicode_range
|
2454
2505
|
# A Unicode range of characters to download glyphs for. Each response
|
@@ -3602,7 +3653,18 @@ module Aws::LocationService
|
|
3602
3653
|
# Assigns one or more tags (key-value pairs) to the specified Amazon
|
3603
3654
|
# Location Service resource.
|
3604
3655
|
#
|
3605
|
-
#
|
3656
|
+
# Tags can help you organize and categorize your resources. You can also
|
3657
|
+
# use them to scope user permissions, by granting a user permission to
|
3658
|
+
# access or change only resources with certain tag values.
|
3659
|
+
#
|
3660
|
+
# You can use the `TagResource` operation with an Amazon Location
|
3661
|
+
# Service resource that already has tags. If you specify a new tag key
|
3662
|
+
# for the resource, this tag is appended to the tags already associated
|
3663
|
+
# with the resource. If you specify a tag key that's already associated
|
3664
|
+
# with the resource, the new tag value that you specify replaces the
|
3665
|
+
# previous value for that tag.
|
3666
|
+
#
|
3667
|
+
# You can associate up to 50 tags with a resource.
|
3606
3668
|
#
|
3607
3669
|
# @option params [required, String] :resource_arn
|
3608
3670
|
# The Amazon Resource Name (ARN) of the resource whose tags you want to
|
@@ -3950,7 +4012,7 @@ module Aws::LocationService
|
|
3950
4012
|
params: params,
|
3951
4013
|
config: config)
|
3952
4014
|
context[:gem_name] = 'aws-sdk-locationservice'
|
3953
|
-
context[:gem_version] = '1.
|
4015
|
+
context[:gem_version] = '1.28.0'
|
3954
4016
|
Seahorse::Client::Request.new(handlers, context)
|
3955
4017
|
end
|
3956
4018
|
|
@@ -1346,6 +1346,7 @@ module Aws::LocationService
|
|
1346
1346
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1347
1347
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1348
1348
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1349
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1349
1350
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1350
1351
|
end)
|
1351
1352
|
|
@@ -1362,6 +1363,7 @@ module Aws::LocationService
|
|
1362
1363
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1363
1364
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1364
1365
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1366
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1365
1367
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1366
1368
|
end)
|
1367
1369
|
|
@@ -1378,6 +1380,7 @@ module Aws::LocationService
|
|
1378
1380
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1379
1381
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1380
1382
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1383
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1381
1384
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1382
1385
|
end)
|
1383
1386
|
|
@@ -1394,6 +1397,7 @@ module Aws::LocationService
|
|
1394
1397
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1395
1398
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1396
1399
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1400
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1397
1401
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1398
1402
|
end)
|
1399
1403
|
|
@@ -50,6 +50,9 @@ module Aws::LocationService
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -9,102 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::LocationService
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://geo-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://geo-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://geo.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://geo.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
|
38
|
-
ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
|
39
|
-
aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
|
40
|
-
OiJCb29sZWFuIn0sIlVzZUZJUFM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l
|
102
|
-
ZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3Rh
|
103
|
-
Y2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBv
|
104
|
-
aW50Ijp7InVybCI6Imh0dHBzOi8vZ2VvLntSZWdpb259LntQYXJ0aXRpb25S
|
105
|
-
ZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7
|
106
|
-
fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
107
|
-
|
108
|
-
JSON
|
109
50
|
end
|
110
51
|
end
|
@@ -625,7 +625,21 @@ module Aws::LocationService
|
|
625
625
|
#
|
626
626
|
# * If traveling by `Truck` use the `TruckModeOptions` parameter.
|
627
627
|
#
|
628
|
+
# <note markdown="1"> `Bicycle` or `Motorcycle` are only valid when using `Grab` as a data
|
629
|
+
# provider, and only within Southeast Asia.
|
630
|
+
#
|
631
|
+
# `Truck` is not available for Grab.
|
632
|
+
#
|
633
|
+
# For more information about using Grab as a data provider, see
|
634
|
+
# [GrabMaps][1] in the *Amazon Location Service Developer Guide*.
|
635
|
+
#
|
636
|
+
# </note>
|
637
|
+
#
|
628
638
|
# Default Value: `Car`
|
639
|
+
#
|
640
|
+
#
|
641
|
+
#
|
642
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html
|
629
643
|
# @return [String]
|
630
644
|
#
|
631
645
|
# @!attribute [rw] truck_mode_options
|
@@ -698,6 +712,8 @@ module Aws::LocationService
|
|
698
712
|
#
|
699
713
|
# * `Esri`
|
700
714
|
#
|
715
|
+
# * `Grab`
|
716
|
+
#
|
701
717
|
# * `Here`
|
702
718
|
#
|
703
719
|
# For more information about data providers, see [Amazon Location
|
@@ -838,7 +854,19 @@ module Aws::LocationService
|
|
838
854
|
# @!attribute [rw] travel_mode
|
839
855
|
# Specifies the mode of transport when calculating a route. Used in
|
840
856
|
# estimating the speed of travel and road compatibility. You can
|
841
|
-
# choose `Car`, `Truck`, or `
|
857
|
+
# choose `Car`, `Truck`, `Walking`, `Bicycle` or `Motorcycle` as
|
858
|
+
# options for the `TravelMode`.
|
859
|
+
#
|
860
|
+
# <note markdown="1"> `Bicycle` and `Motorcycle` are only valid when using Grab as a data
|
861
|
+
# provider, and only within Southeast Asia.
|
862
|
+
#
|
863
|
+
# `Truck` is not available for Grab.
|
864
|
+
#
|
865
|
+
# For more details on the using Grab for routing, including areas of
|
866
|
+
# coverage, see [GrabMaps][1] in the *Amazon Location Service
|
867
|
+
# Developer Guide*.
|
868
|
+
#
|
869
|
+
# </note>
|
842
870
|
#
|
843
871
|
# The `TravelMode` you specify also determines how you specify route
|
844
872
|
# preferences:
|
@@ -848,6 +876,10 @@ module Aws::LocationService
|
|
848
876
|
# * If traveling by `Truck` use the `TruckModeOptions` parameter.
|
849
877
|
#
|
850
878
|
# Default Value: `Car`
|
879
|
+
#
|
880
|
+
#
|
881
|
+
#
|
882
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html
|
851
883
|
# @return [String]
|
852
884
|
#
|
853
885
|
# @!attribute [rw] truck_mode_options
|
@@ -961,6 +993,8 @@ module Aws::LocationService
|
|
961
993
|
#
|
962
994
|
# * `Esri`
|
963
995
|
#
|
996
|
+
# * `Grab`
|
997
|
+
#
|
964
998
|
# * `Here`
|
965
999
|
#
|
966
1000
|
# For more information about data providers, see [Amazon Location
|
@@ -1318,27 +1352,33 @@ module Aws::LocationService
|
|
1318
1352
|
# your region of interest, see [Esri details on geocoding
|
1319
1353
|
# coverage][2].
|
1320
1354
|
#
|
1321
|
-
# * `
|
1355
|
+
# * `Grab` – Grab provides place index functionality for Southeast
|
1356
|
+
# Asia. For additional information about [GrabMaps][3]' coverage,
|
1357
|
+
# see [GrabMaps countries and areas covered][4].
|
1358
|
+
#
|
1359
|
+
# * `Here` – For additional information about [HERE Technologies][5]'
|
1322
1360
|
# coverage in your region of interest, see [HERE details on
|
1323
|
-
# goecoding coverage][
|
1361
|
+
# goecoding coverage][6].
|
1324
1362
|
#
|
1325
1363
|
# If you specify HERE Technologies (`Here`) as the data provider,
|
1326
|
-
# you may not [store results][
|
1327
|
-
# information, see the [AWS Service Terms][
|
1364
|
+
# you may not [store results][7] for locations in Japan. For more
|
1365
|
+
# information, see the [AWS Service Terms][8] for Amazon Location
|
1328
1366
|
# Service.
|
1329
1367
|
#
|
1330
|
-
# For additional information , see [Data providers][
|
1368
|
+
# For additional information , see [Data providers][9] on the *Amazon
|
1331
1369
|
# Location Service Developer Guide*.
|
1332
1370
|
#
|
1333
1371
|
#
|
1334
1372
|
#
|
1335
1373
|
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
|
1336
1374
|
# [2]: https://developers.arcgis.com/rest/geocode/api-reference/geocode-coverage.htm
|
1337
|
-
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/
|
1338
|
-
# [4]: https://
|
1339
|
-
# [5]: https://docs.aws.amazon.com/location
|
1340
|
-
# [6]: https://
|
1341
|
-
# [7]: https://docs.aws.amazon.com/location/latest/
|
1375
|
+
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html
|
1376
|
+
# [4]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html#grab-coverage-area
|
1377
|
+
# [5]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
|
1378
|
+
# [6]: https://developer.here.com/documentation/geocoder/dev_guide/topics/coverage-geocoder.html
|
1379
|
+
# [7]: https://docs.aws.amazon.com/location-places/latest/APIReference/API_DataSourceConfiguration.html
|
1380
|
+
# [8]: https://aws.amazon.com/service-terms/
|
1381
|
+
# [9]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
|
1342
1382
|
# @return [String]
|
1343
1383
|
#
|
1344
1384
|
# @!attribute [rw] data_source_configuration
|
@@ -1454,9 +1494,7 @@ module Aws::LocationService
|
|
1454
1494
|
# Specifies the data provider of traffic and road network data.
|
1455
1495
|
#
|
1456
1496
|
# <note markdown="1"> This field is case-sensitive. Enter the valid values as shown. For
|
1457
|
-
# example, entering `HERE` returns an error.
|
1458
|
-
# use Esri as a data source only calculate routes that are shorter
|
1459
|
-
# than 400 km.
|
1497
|
+
# example, entering `HERE` returns an error.
|
1460
1498
|
#
|
1461
1499
|
# </note>
|
1462
1500
|
#
|
@@ -1466,21 +1504,30 @@ module Aws::LocationService
|
|
1466
1504
|
# your region of interest, see [Esri details on street networks and
|
1467
1505
|
# traffic coverage][2].
|
1468
1506
|
#
|
1469
|
-
#
|
1507
|
+
# Route calculators that use Esri as a data source only calculate
|
1508
|
+
# routes that are shorter than 400 km.
|
1509
|
+
#
|
1510
|
+
# * `Grab` – Grab provides routing functionality for Southeast Asia.
|
1511
|
+
# For additional information about [GrabMaps][3]' coverage, see
|
1512
|
+
# [GrabMaps countries and areas covered][4].
|
1513
|
+
#
|
1514
|
+
# * `Here` – For additional information about [HERE Technologies][5]'
|
1470
1515
|
# coverage in your region of interest, see [HERE car routing
|
1471
|
-
# coverage][
|
1516
|
+
# coverage][6] and [HERE truck routing coverage][7].
|
1472
1517
|
#
|
1473
|
-
# For additional information , see [Data providers][
|
1518
|
+
# For additional information , see [Data providers][8] on the *Amazon
|
1474
1519
|
# Location Service Developer Guide*.
|
1475
1520
|
#
|
1476
1521
|
#
|
1477
1522
|
#
|
1478
1523
|
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
|
1479
1524
|
# [2]: https://doc.arcgis.com/en/arcgis-online/reference/network-coverage.htm
|
1480
|
-
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/
|
1481
|
-
# [4]: https://
|
1482
|
-
# [5]: https://
|
1483
|
-
# [6]: https://
|
1525
|
+
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html
|
1526
|
+
# [4]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html#grab-coverage-area
|
1527
|
+
# [5]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
|
1528
|
+
# [6]: https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/car-routing.html
|
1529
|
+
# [7]: https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/truck-routing.html
|
1530
|
+
# [8]: https://docs.aws.amazon.com/location/latest/developerguide/what-is-data-provider.html
|
1484
1531
|
# @return [String]
|
1485
1532
|
#
|
1486
1533
|
# @!attribute [rw] description
|
@@ -2022,6 +2069,8 @@ module Aws::LocationService
|
|
2022
2069
|
#
|
2023
2070
|
# * `Esri`
|
2024
2071
|
#
|
2072
|
+
# * `Grab`
|
2073
|
+
#
|
2025
2074
|
# * `Here`
|
2026
2075
|
#
|
2027
2076
|
# For more information about data providers, see [Amazon Location
|
@@ -2132,6 +2181,8 @@ module Aws::LocationService
|
|
2132
2181
|
#
|
2133
2182
|
# * `Esri`
|
2134
2183
|
#
|
2184
|
+
# * `Grab`
|
2185
|
+
#
|
2135
2186
|
# * `Here`
|
2136
2187
|
#
|
2137
2188
|
# For more information about data providers, see [Amazon Location
|
@@ -2703,7 +2754,14 @@ module Aws::LocationService
|
|
2703
2754
|
# `Fira GO Map Bold` \| `Noto Sans CJK JP Bold` \| `Noto Sans CJK JP
|
2704
2755
|
# Light` \| `Noto Sans CJK JP Regular`
|
2705
2756
|
#
|
2706
|
-
# Valid font stacks for [
|
2757
|
+
# Valid font stacks for [GrabMaps][3] styles:
|
2758
|
+
#
|
2759
|
+
# * VectorGrabStandardLight, VectorGrabStandardDark – `Noto Sans
|
2760
|
+
# Regular` \| `Noto Sans Medium` \| `Noto Sans Bold`
|
2761
|
+
#
|
2762
|
+
# ^
|
2763
|
+
#
|
2764
|
+
# Valid font stacks for [Open Data (Preview)][4] styles:
|
2707
2765
|
#
|
2708
2766
|
# * VectorOpenDataStandardLight – `Amazon Ember Regular,Noto Sans
|
2709
2767
|
# Regular` \| `Amazon Ember Bold,Noto Sans Bold` \| `Amazon Ember
|
@@ -2723,7 +2781,8 @@ module Aws::LocationService
|
|
2723
2781
|
#
|
2724
2782
|
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
|
2725
2783
|
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
|
2726
|
-
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/
|
2784
|
+
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html
|
2785
|
+
# [4]: https://docs.aws.amazon.com/location/latest/developerguide/open-data.html
|
2727
2786
|
# @return [String]
|
2728
2787
|
#
|
2729
2788
|
# @!attribute [rw] font_unicode_range
|
@@ -3512,6 +3571,8 @@ module Aws::LocationService
|
|
3512
3571
|
#
|
3513
3572
|
# * `Esri`
|
3514
3573
|
#
|
3574
|
+
# * `Grab`
|
3575
|
+
#
|
3515
3576
|
# * `Here`
|
3516
3577
|
#
|
3517
3578
|
# For more information about data providers, see [Amazon Location
|
@@ -3623,6 +3684,8 @@ module Aws::LocationService
|
|
3623
3684
|
#
|
3624
3685
|
# * `Esri`
|
3625
3686
|
#
|
3687
|
+
# * `Grab`
|
3688
|
+
#
|
3626
3689
|
# * `Here`
|
3627
3690
|
#
|
3628
3691
|
# For more information about data providers, see [Amazon Location
|
@@ -3918,7 +3981,23 @@ module Aws::LocationService
|
|
3918
3981
|
#
|
3919
3982
|
# </note>
|
3920
3983
|
#
|
3921
|
-
# Valid [
|
3984
|
+
# Valid [GrabMaps map styles][3]\:
|
3985
|
+
#
|
3986
|
+
# * `VectorGrabStandardLight` – The Grab Standard Light map style
|
3987
|
+
# provides a basemap with detailed land use coloring, area names,
|
3988
|
+
# roads, landmarks, and points of interest covering Southeast Asia.
|
3989
|
+
#
|
3990
|
+
# * `VectorGrabStandardDark` – The Grab Standard Dark map style
|
3991
|
+
# provides a dark variation of the standard basemap covering
|
3992
|
+
# Southeast Asia.
|
3993
|
+
#
|
3994
|
+
# <note markdown="1"> Grab provides maps only for countries in Southeast Asia, and is only
|
3995
|
+
# available in the Asia Pacific (Singapore) Region (`ap-southeast-1`).
|
3996
|
+
# For more information, see [GrabMaps countries and area covered][4].
|
3997
|
+
#
|
3998
|
+
# </note>
|
3999
|
+
#
|
4000
|
+
# Valid [Open Data (Preview) map styles][5]\:
|
3922
4001
|
#
|
3923
4002
|
# * `VectorOpenDataStandardLight` – The Open Data Standard Light
|
3924
4003
|
# (preview) map style provides a detailed basemap for the world
|
@@ -3929,14 +4008,16 @@ module Aws::LocationService
|
|
3929
4008
|
#
|
3930
4009
|
# Open Data maps is in preview. We may add, change, or remove
|
3931
4010
|
# features before announcing general availability. For more
|
3932
|
-
# information, see [Open Data is in preview release][
|
4011
|
+
# information, see [Open Data is in preview release][6].
|
3933
4012
|
#
|
3934
4013
|
#
|
3935
4014
|
#
|
3936
4015
|
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
|
3937
4016
|
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
|
3938
|
-
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/
|
3939
|
-
# [4]: https://docs.aws.amazon.com/location/latest/developerguide/
|
4017
|
+
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html
|
4018
|
+
# [4]: https://docs.aws.amazon.com/location/latest/developerguide/grab.html#grab-coverage-area
|
4019
|
+
# [5]: https://docs.aws.amazon.com/location/latest/developerguide/open-data.html
|
4020
|
+
# [6]: https://docs.aws.amazon.com/location/latest/developerguide/open-data.html#open-data-preview
|
3940
4021
|
# @return [String]
|
3941
4022
|
#
|
3942
4023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/MapConfiguration AWS API Documentation
|
@@ -4013,7 +4094,7 @@ module Aws::LocationService
|
|
4013
4094
|
# @return [String]
|
4014
4095
|
#
|
4015
4096
|
# @!attribute [rw] sub_region
|
4016
|
-
# A
|
4097
|
+
# A county, or an area that's part of a larger region. For example,
|
4017
4098
|
# `Metro Vancouver`.
|
4018
4099
|
# @return [String]
|
4019
4100
|
#
|
@@ -4278,7 +4359,8 @@ module Aws::LocationService
|
|
4278
4359
|
# `GetPlace` operation to find the place again later.
|
4279
4360
|
#
|
4280
4361
|
# <note markdown="1"> For `SearchPlaceIndexForPosition` operations, the `PlaceId` is
|
4281
|
-
# returned only by place indexes that use HERE as a data
|
4362
|
+
# returned only by place indexes that use HERE or Grab as a data
|
4363
|
+
# provider.
|
4282
4364
|
#
|
4283
4365
|
# </note>
|
4284
4366
|
# @return [String]
|
@@ -4301,7 +4383,8 @@ module Aws::LocationService
|
|
4301
4383
|
# `GetPlace` operation to find the place again later.
|
4302
4384
|
#
|
4303
4385
|
# <note markdown="1"> For `SearchPlaceIndexForSuggestions` operations, the `PlaceId` is
|
4304
|
-
# returned by place indexes that use
|
4386
|
+
# returned by place indexes that use Esri, Grab, or HERE as data
|
4387
|
+
# providers.
|
4305
4388
|
#
|
4306
4389
|
# </note>
|
4307
4390
|
# @return [String]
|
@@ -4343,7 +4426,7 @@ module Aws::LocationService
|
|
4343
4426
|
# `GetPlace` operation to find the place again later.
|
4344
4427
|
#
|
4345
4428
|
# <note markdown="1"> For `SearchPlaceIndexForText` operations, the `PlaceId` is returned
|
4346
|
-
# only by place indexes that use HERE as a data provider.
|
4429
|
+
# only by place indexes that use HERE or Grab as a data provider.
|
4347
4430
|
#
|
4348
4431
|
# </note>
|
4349
4432
|
# @return [String]
|
@@ -4354,7 +4437,7 @@ module Aws::LocationService
|
|
4354
4437
|
# (including house number, street, city, country/region, and postal
|
4355
4438
|
# code), the relevance score is closer to 1.
|
4356
4439
|
#
|
4357
|
-
# Returned only when the partner selected is Esri.
|
4440
|
+
# Returned only when the partner selected is Esri or Grab.
|
4358
4441
|
# @return [Float]
|
4359
4442
|
#
|
4360
4443
|
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchForTextResult AWS API Documentation
|
@@ -4454,6 +4537,8 @@ module Aws::LocationService
|
|
4454
4537
|
#
|
4455
4538
|
# * Esri
|
4456
4539
|
#
|
4540
|
+
# * Grab
|
4541
|
+
#
|
4457
4542
|
# * Here
|
4458
4543
|
#
|
4459
4544
|
# For more information about data providers, see [Amazon Location
|
@@ -4644,6 +4729,8 @@ module Aws::LocationService
|
|
4644
4729
|
#
|
4645
4730
|
# * Esri
|
4646
4731
|
#
|
4732
|
+
# * Grab
|
4733
|
+
#
|
4647
4734
|
# * Here
|
4648
4735
|
#
|
4649
4736
|
# For more information about data providers, see [Amazon Location
|
@@ -4847,6 +4934,8 @@ module Aws::LocationService
|
|
4847
4934
|
#
|
4848
4935
|
# * Esri
|
4849
4936
|
#
|
4937
|
+
# * Grab
|
4938
|
+
#
|
4850
4939
|
# * Here
|
4851
4940
|
#
|
4852
4941
|
# For more information about data providers, see [Amazon Location
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-locationservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|