aws-sdk-geomaps 1.28.0 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-geomaps/client.rb +75 -12
- data/lib/aws-sdk-geomaps/client_api.rb +12 -5
- data/lib/aws-sdk-geomaps/endpoint_provider.rb +8 -8
- data/lib/aws-sdk-geomaps/types.rb +70 -0
- data/lib/aws-sdk-geomaps.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/types.rbs +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 92860d6f39fb78b3bf9ca406ad403b2ec8c3ddb54a5fa98ca189245f2f66f01d
|
|
4
|
+
data.tar.gz: d025ef267b857eea871292bdbfed44353ba5da6a7cc3f02be9678a9f98a4ac94
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1fccff361c44e50ab9701842c9e7065271948770fb4b5e035a3d7b135b9fe8a3c014fb4a7068b2c6ac9917dc879fe471c482e4588dfcc3da21fd23224b6f0be5
|
|
7
|
+
data.tar.gz: 0162dad143600d01396ee8e063902149a0e3cfca0cb27c57af132f5aa55f31811f6117a57adfde477b128b0e046fcfe5f8e60113da0587edbaa49c9203794313
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.29.0 (2026-08-17)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon Location Service now supports POI density and category filtering on dynamic maps. The GetStyleDescriptor API adds two optional parameters. PoiDensity (Off to VeryDense) controls POI volume, and PoiCategories filters by up to nine categories. Available on HERE and Grab map styles.
|
|
8
|
+
|
|
4
9
|
1.28.0 (2026-07-09)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.29.0
|
|
@@ -758,22 +758,17 @@ module Aws::GeoMaps
|
|
|
758
758
|
req.send_request(options, &block)
|
|
759
759
|
end
|
|
760
760
|
|
|
761
|
-
#
|
|
762
|
-
# `ap-southeast-1` and
|
|
763
|
-
# `ap-southeast-5` regions for [GrabMaps][1] customers.
|
|
764
|
-
#
|
|
765
|
-
# </note>
|
|
766
|
-
#
|
|
767
|
-
# `GetStaticMap` provides high-quality static map images with
|
|
761
|
+
# `GetStaticMap` provides high-quality static map images with
|
|
768
762
|
# customizable options. You can modify the map's appearance and overlay
|
|
769
763
|
# additional information. It's an ideal solution for applications
|
|
770
|
-
# requiring tailored static map snapshots.
|
|
764
|
+
# requiring tailored static map snapshots. Not supported in
|
|
765
|
+
# `ap-southeast-1` and `ap-southeast-5` regions for [GrabMaps][1]
|
|
766
|
+
# customers.
|
|
771
767
|
#
|
|
772
|
-
#
|
|
773
|
-
# Location
|
|
768
|
+
# For more information, see the following topics in the *Amazon Location
|
|
774
769
|
# Service Developer Guide*:
|
|
775
770
|
#
|
|
776
|
-
#
|
|
771
|
+
# * [Static maps][2]
|
|
777
772
|
#
|
|
778
773
|
# * [Customize static maps][3]
|
|
779
774
|
#
|
|
@@ -1292,6 +1287,72 @@ module Aws::GeoMaps
|
|
|
1292
1287
|
# `Buildings3D` is valid only for the `Standard` and `Monochrome` map
|
|
1293
1288
|
# styles.
|
|
1294
1289
|
#
|
|
1290
|
+
# @option params [String] :poi_density
|
|
1291
|
+
# Controls how densely points of interest are rendered on the map. The
|
|
1292
|
+
# density value controls the zoom level at which each category of points
|
|
1293
|
+
# of interest appears, and how quickly less prominent points of interest
|
|
1294
|
+
# are revealed as you zoom in. Denser values display more points of
|
|
1295
|
+
# interest at lower zoom levels.
|
|
1296
|
+
#
|
|
1297
|
+
# Use `Off` to hide all points of interest. When you omit this
|
|
1298
|
+
# parameter, the map renders at `Default` density.
|
|
1299
|
+
#
|
|
1300
|
+
# <note markdown="1"> The difference between density values is most noticeable at mid-range
|
|
1301
|
+
# zoom levels. At high zoom levels, all density values converge on
|
|
1302
|
+
# displaying every available point of interest.
|
|
1303
|
+
#
|
|
1304
|
+
# </note>
|
|
1305
|
+
#
|
|
1306
|
+
# This parameter is valid only for the `Standard` and `Hybrid` map
|
|
1307
|
+
# styles. In `ap-southeast-1` and `ap-southeast-5` regions for
|
|
1308
|
+
# [GrabMaps][1] customers, this parameter is valid only for the
|
|
1309
|
+
# `Standard` map style.
|
|
1310
|
+
#
|
|
1311
|
+
#
|
|
1312
|
+
#
|
|
1313
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1314
|
+
#
|
|
1315
|
+
# @option params [Array<String>] :poi_categories
|
|
1316
|
+
# Renders only the specified categories of points of interest. When you
|
|
1317
|
+
# omit this parameter, the map renders all categories.
|
|
1318
|
+
#
|
|
1319
|
+
# The following categories are currently supported:
|
|
1320
|
+
#
|
|
1321
|
+
# * `FoodAndDrink`
|
|
1322
|
+
#
|
|
1323
|
+
# * `Entertainment`
|
|
1324
|
+
#
|
|
1325
|
+
# * `SightsAndMuseums`
|
|
1326
|
+
#
|
|
1327
|
+
# * `Transportation`
|
|
1328
|
+
#
|
|
1329
|
+
# * `Accommodations`
|
|
1330
|
+
#
|
|
1331
|
+
# * `LeisureAndOutdoor`
|
|
1332
|
+
#
|
|
1333
|
+
# * `Shopping`
|
|
1334
|
+
#
|
|
1335
|
+
# * `BusinessAndServices`
|
|
1336
|
+
#
|
|
1337
|
+
# * `FacilitiesAndBuildings`
|
|
1338
|
+
#
|
|
1339
|
+
# Specify each category as a separate `poi-categories` query parameter.
|
|
1340
|
+
# Duplicate values are rejected.
|
|
1341
|
+
#
|
|
1342
|
+
# <note markdown="1"> This parameter has no effect when `poi-density` is set to `Off`, which
|
|
1343
|
+
# hides all points of interest regardless of category.
|
|
1344
|
+
#
|
|
1345
|
+
# </note>
|
|
1346
|
+
#
|
|
1347
|
+
# This parameter is valid only for the `Standard` and `Hybrid` map
|
|
1348
|
+
# styles. In `ap-southeast-1` and `ap-southeast-5` regions for
|
|
1349
|
+
# [GrabMaps][1] customers, this parameter is valid only for the
|
|
1350
|
+
# `Standard` map style.
|
|
1351
|
+
#
|
|
1352
|
+
#
|
|
1353
|
+
#
|
|
1354
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1355
|
+
#
|
|
1295
1356
|
# @option params [String] :key
|
|
1296
1357
|
# Optional: The API key to be used for authorization. Either an API key
|
|
1297
1358
|
# or valid SigV4 signature must be provided when making a request.
|
|
@@ -1314,6 +1375,8 @@ module Aws::GeoMaps
|
|
|
1314
1375
|
# traffic: "All", # accepts All, Congestion
|
|
1315
1376
|
# travel_modes: ["Transit"], # accepts Transit, Truck
|
|
1316
1377
|
# buildings: "Buildings3D", # accepts Buildings3D
|
|
1378
|
+
# poi_density: "Off", # accepts Off, VerySparse, Sparse, Default, Dense, VeryDense
|
|
1379
|
+
# poi_categories: ["FoodAndDrink"], # accepts FoodAndDrink, Entertainment, SightsAndMuseums, Transportation, Accommodations, LeisureAndOutdoor, Shopping, BusinessAndServices, FacilitiesAndBuildings
|
|
1317
1380
|
# key: "ApiKey",
|
|
1318
1381
|
# })
|
|
1319
1382
|
#
|
|
@@ -1432,7 +1495,7 @@ module Aws::GeoMaps
|
|
|
1432
1495
|
tracer: tracer
|
|
1433
1496
|
)
|
|
1434
1497
|
context[:gem_name] = 'aws-sdk-geomaps'
|
|
1435
|
-
context[:gem_version] = '1.
|
|
1498
|
+
context[:gem_version] = '1.29.0'
|
|
1436
1499
|
Seahorse::Client::Request.new(handlers, context)
|
|
1437
1500
|
end
|
|
1438
1501
|
|
|
@@ -53,6 +53,9 @@ module Aws::GeoMaps
|
|
|
53
53
|
LanguageTag = Shapes::StringShape.new(name: 'LanguageTag')
|
|
54
54
|
MapFeatureMode = Shapes::StringShape.new(name: 'MapFeatureMode')
|
|
55
55
|
MapStyle = Shapes::StringShape.new(name: 'MapStyle')
|
|
56
|
+
PoiCategory = Shapes::StringShape.new(name: 'PoiCategory')
|
|
57
|
+
PoiCategoryList = Shapes::ListShape.new(name: 'PoiCategoryList')
|
|
58
|
+
PoiDensity = Shapes::StringShape.new(name: 'PoiDensity')
|
|
56
59
|
PositionString = Shapes::StringShape.new(name: 'PositionString')
|
|
57
60
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
58
61
|
ScaleBarUnit = Shapes::StringShape.new(name: 'ScaleBarUnit')
|
|
@@ -140,6 +143,8 @@ module Aws::GeoMaps
|
|
|
140
143
|
GetStyleDescriptorRequest.add_member(:traffic, Shapes::ShapeRef.new(shape: Traffic, location: "querystring", location_name: "traffic"))
|
|
141
144
|
GetStyleDescriptorRequest.add_member(:travel_modes, Shapes::ShapeRef.new(shape: TravelModeList, location: "querystring", location_name: "travel-modes"))
|
|
142
145
|
GetStyleDescriptorRequest.add_member(:buildings, Shapes::ShapeRef.new(shape: Buildings, location: "querystring", location_name: "buildings"))
|
|
146
|
+
GetStyleDescriptorRequest.add_member(:poi_density, Shapes::ShapeRef.new(shape: PoiDensity, location: "querystring", location_name: "poi-density"))
|
|
147
|
+
GetStyleDescriptorRequest.add_member(:poi_categories, Shapes::ShapeRef.new(shape: PoiCategoryList, location: "querystring", location_name: "poi-categories"))
|
|
143
148
|
GetStyleDescriptorRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
|
|
144
149
|
GetStyleDescriptorRequest.struct_class = Types::GetStyleDescriptorRequest
|
|
145
150
|
|
|
@@ -171,6 +176,8 @@ module Aws::GeoMaps
|
|
|
171
176
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
172
177
|
InternalServerException.struct_class = Types::InternalServerException
|
|
173
178
|
|
|
179
|
+
PoiCategoryList.member = Shapes::ShapeRef.new(shape: PoiCategory)
|
|
180
|
+
|
|
174
181
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
175
182
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
176
183
|
|
|
@@ -214,7 +221,7 @@ module Aws::GeoMaps
|
|
|
214
221
|
api.add_operation(:get_glyphs, Seahorse::Model::Operation.new.tap do |o|
|
|
215
222
|
o.name = "GetGlyphs"
|
|
216
223
|
o.http_method = "GET"
|
|
217
|
-
o.http_request_uri = "/glyphs/{FontStack}/{FontUnicodeRange}"
|
|
224
|
+
o.http_request_uri = "/v2/glyphs/{FontStack}/{FontUnicodeRange}"
|
|
218
225
|
o.input = Shapes::ShapeRef.new(shape: GetGlyphsRequest)
|
|
219
226
|
o.output = Shapes::ShapeRef.new(shape: GetGlyphsResponse)
|
|
220
227
|
end)
|
|
@@ -222,7 +229,7 @@ module Aws::GeoMaps
|
|
|
222
229
|
api.add_operation(:get_sprites, Seahorse::Model::Operation.new.tap do |o|
|
|
223
230
|
o.name = "GetSprites"
|
|
224
231
|
o.http_method = "GET"
|
|
225
|
-
o.http_request_uri = "/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}"
|
|
232
|
+
o.http_request_uri = "/v2/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}"
|
|
226
233
|
o.input = Shapes::ShapeRef.new(shape: GetSpritesRequest)
|
|
227
234
|
o.output = Shapes::ShapeRef.new(shape: GetSpritesResponse)
|
|
228
235
|
end)
|
|
@@ -230,7 +237,7 @@ module Aws::GeoMaps
|
|
|
230
237
|
api.add_operation(:get_static_map, Seahorse::Model::Operation.new.tap do |o|
|
|
231
238
|
o.name = "GetStaticMap"
|
|
232
239
|
o.http_method = "GET"
|
|
233
|
-
o.http_request_uri = "/static/{FileName}"
|
|
240
|
+
o.http_request_uri = "/v2/static/{FileName}"
|
|
234
241
|
o.input = Shapes::ShapeRef.new(shape: GetStaticMapRequest)
|
|
235
242
|
o.output = Shapes::ShapeRef.new(shape: GetStaticMapResponse)
|
|
236
243
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -242,7 +249,7 @@ module Aws::GeoMaps
|
|
|
242
249
|
api.add_operation(:get_style_descriptor, Seahorse::Model::Operation.new.tap do |o|
|
|
243
250
|
o.name = "GetStyleDescriptor"
|
|
244
251
|
o.http_method = "GET"
|
|
245
|
-
o.http_request_uri = "/styles/{Style}/descriptor"
|
|
252
|
+
o.http_request_uri = "/v2/styles/{Style}/descriptor"
|
|
246
253
|
o.input = Shapes::ShapeRef.new(shape: GetStyleDescriptorRequest)
|
|
247
254
|
o.output = Shapes::ShapeRef.new(shape: GetStyleDescriptorResponse)
|
|
248
255
|
end)
|
|
@@ -250,7 +257,7 @@ module Aws::GeoMaps
|
|
|
250
257
|
api.add_operation(:get_tile, Seahorse::Model::Operation.new.tap do |o|
|
|
251
258
|
o.name = "GetTile"
|
|
252
259
|
o.http_method = "GET"
|
|
253
|
-
o.http_request_uri = "/tiles/{Tileset}/{Z}/{X}/{Y}"
|
|
260
|
+
o.http_request_uri = "/v2/tiles/{Tileset}/{Z}/{X}/{Y}"
|
|
254
261
|
o.input = Shapes::ShapeRef.new(shape: GetTileRequest)
|
|
255
262
|
o.output = Shapes::ShapeRef.new(shape: GetTileResponse)
|
|
256
263
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -22,28 +22,28 @@ module Aws::GeoMaps
|
|
|
22
22
|
if Aws::Endpoints::Matchers.set?(parameters.region)
|
|
23
23
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
|
24
24
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo.#{parameters.region}.#{partition_result['dnsSuffix']}
|
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
26
26
|
end
|
|
27
27
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
28
|
-
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}
|
|
28
|
+
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
29
29
|
end
|
|
30
30
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
|
31
|
-
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo-fips.#{parameters.region}.#{partition_result['dnsSuffix']}
|
|
31
|
+
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
32
32
|
end
|
|
33
33
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
34
|
-
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}
|
|
34
|
+
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
35
35
|
end
|
|
36
36
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
|
37
|
-
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo.#{parameters.region}.#{partition_result['dnsSuffix']}
|
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
38
38
|
end
|
|
39
39
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
40
|
-
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}
|
|
40
|
+
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
41
41
|
end
|
|
42
42
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
|
43
|
-
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo-fips.#{parameters.region}.#{partition_result['dnsSuffix']}
|
|
43
|
+
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
44
44
|
end
|
|
45
45
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
46
|
-
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}
|
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
47
47
|
end
|
|
48
48
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
49
49
|
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"))
|
|
@@ -849,6 +849,74 @@ module Aws::GeoMaps
|
|
|
849
849
|
# styles.
|
|
850
850
|
# @return [String]
|
|
851
851
|
#
|
|
852
|
+
# @!attribute [rw] poi_density
|
|
853
|
+
# Controls how densely points of interest are rendered on the map. The
|
|
854
|
+
# density value controls the zoom level at which each category of
|
|
855
|
+
# points of interest appears, and how quickly less prominent points of
|
|
856
|
+
# interest are revealed as you zoom in. Denser values display more
|
|
857
|
+
# points of interest at lower zoom levels.
|
|
858
|
+
#
|
|
859
|
+
# Use `Off` to hide all points of interest. When you omit this
|
|
860
|
+
# parameter, the map renders at `Default` density.
|
|
861
|
+
#
|
|
862
|
+
# <note markdown="1"> The difference between density values is most noticeable at
|
|
863
|
+
# mid-range zoom levels. At high zoom levels, all density values
|
|
864
|
+
# converge on displaying every available point of interest.
|
|
865
|
+
#
|
|
866
|
+
# </note>
|
|
867
|
+
#
|
|
868
|
+
# This parameter is valid only for the `Standard` and `Hybrid` map
|
|
869
|
+
# styles. In `ap-southeast-1` and `ap-southeast-5` regions for
|
|
870
|
+
# [GrabMaps][1] customers, this parameter is valid only for the
|
|
871
|
+
# `Standard` map style.
|
|
872
|
+
#
|
|
873
|
+
#
|
|
874
|
+
#
|
|
875
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
876
|
+
# @return [String]
|
|
877
|
+
#
|
|
878
|
+
# @!attribute [rw] poi_categories
|
|
879
|
+
# Renders only the specified categories of points of interest. When
|
|
880
|
+
# you omit this parameter, the map renders all categories.
|
|
881
|
+
#
|
|
882
|
+
# The following categories are currently supported:
|
|
883
|
+
#
|
|
884
|
+
# * `FoodAndDrink`
|
|
885
|
+
#
|
|
886
|
+
# * `Entertainment`
|
|
887
|
+
#
|
|
888
|
+
# * `SightsAndMuseums`
|
|
889
|
+
#
|
|
890
|
+
# * `Transportation`
|
|
891
|
+
#
|
|
892
|
+
# * `Accommodations`
|
|
893
|
+
#
|
|
894
|
+
# * `LeisureAndOutdoor`
|
|
895
|
+
#
|
|
896
|
+
# * `Shopping`
|
|
897
|
+
#
|
|
898
|
+
# * `BusinessAndServices`
|
|
899
|
+
#
|
|
900
|
+
# * `FacilitiesAndBuildings`
|
|
901
|
+
#
|
|
902
|
+
# Specify each category as a separate `poi-categories` query
|
|
903
|
+
# parameter. Duplicate values are rejected.
|
|
904
|
+
#
|
|
905
|
+
# <note markdown="1"> This parameter has no effect when `poi-density` is set to `Off`,
|
|
906
|
+
# which hides all points of interest regardless of category.
|
|
907
|
+
#
|
|
908
|
+
# </note>
|
|
909
|
+
#
|
|
910
|
+
# This parameter is valid only for the `Standard` and `Hybrid` map
|
|
911
|
+
# styles. In `ap-southeast-1` and `ap-southeast-5` regions for
|
|
912
|
+
# [GrabMaps][1] customers, this parameter is valid only for the
|
|
913
|
+
# `Standard` map style.
|
|
914
|
+
#
|
|
915
|
+
#
|
|
916
|
+
#
|
|
917
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
918
|
+
# @return [Array<String>]
|
|
919
|
+
#
|
|
852
920
|
# @!attribute [rw] key
|
|
853
921
|
# Optional: The API key to be used for authorization. Either an API
|
|
854
922
|
# key or valid SigV4 signature must be provided when making a request.
|
|
@@ -865,6 +933,8 @@ module Aws::GeoMaps
|
|
|
865
933
|
:traffic,
|
|
866
934
|
:travel_modes,
|
|
867
935
|
:buildings,
|
|
936
|
+
:poi_density,
|
|
937
|
+
:poi_categories,
|
|
868
938
|
:key)
|
|
869
939
|
SENSITIVE = [:political_view, :key]
|
|
870
940
|
include Aws::Structure
|
data/lib/aws-sdk-geomaps.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -158,6 +158,8 @@ module Aws
|
|
|
158
158
|
?traffic: ("All" | "Congestion"),
|
|
159
159
|
?travel_modes: Array[("Transit" | "Truck")],
|
|
160
160
|
?buildings: ("Buildings3D"),
|
|
161
|
+
?poi_density: ("Off" | "VerySparse" | "Sparse" | "Default" | "Dense" | "VeryDense"),
|
|
162
|
+
?poi_categories: Array[("FoodAndDrink" | "Entertainment" | "SightsAndMuseums" | "Transportation" | "Accommodations" | "LeisureAndOutdoor" | "Shopping" | "BusinessAndServices" | "FacilitiesAndBuildings")],
|
|
161
163
|
?key: ::String
|
|
162
164
|
) ?{ (*untyped) -> void } -> _GetStyleDescriptorResponseSuccess
|
|
163
165
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetStyleDescriptorResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -85,6 +85,8 @@ module Aws::GeoMaps
|
|
|
85
85
|
attr_accessor traffic: ("All" | "Congestion")
|
|
86
86
|
attr_accessor travel_modes: ::Array[("Transit" | "Truck")]
|
|
87
87
|
attr_accessor buildings: ("Buildings3D")
|
|
88
|
+
attr_accessor poi_density: ("Off" | "VerySparse" | "Sparse" | "Default" | "Dense" | "VeryDense")
|
|
89
|
+
attr_accessor poi_categories: ::Array[("FoodAndDrink" | "Entertainment" | "SightsAndMuseums" | "Transportation" | "Accommodations" | "LeisureAndOutdoor" | "Shopping" | "BusinessAndServices" | "FacilitiesAndBuildings")]
|
|
88
90
|
attr_accessor key: ::String
|
|
89
91
|
SENSITIVE: [:political_view, :key]
|
|
90
92
|
end
|