aws-sdk-geomaps 1.13.0 → 1.14.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e46543b68395653d703b6743596603fdb4f5305b2af84aa2c95ae1d6f92da6b
4
- data.tar.gz: 288a15eb1abc17713ae8faba9eaaad0d4e4123afc97c630551fd50af1da09a53
3
+ metadata.gz: 4da1753d198650d6798ce9dd119b7cd88af519a2694b4ad36322a889594ea4b3
4
+ data.tar.gz: 3d463ba435bb582b07ddc12f73e086def6fa1b5aaadf9dfa296fd71e3069f7c9
5
5
  SHA512:
6
- metadata.gz: a94bbd51f7717f47a33478574737c8c56513e76c9ecd435ef1c1dc170e0f2dc009a5c246bc4071ff6c0140a26a96ecda50f41e59aa28b8e085f5bd955b5ee7c2
7
- data.tar.gz: 9282616162b61d6fc3e357369343f9f7437f5a6bc64c5a1a236ddfb5f1a60f0a0344238f4212026a5985823c615464702eee73e6f77f3576095982fedb4bc43a
6
+ metadata.gz: 3ac1598b32692e2a38070bb63fdda9088c04a4b1c5fc79c87aa3ca5b46e0d802311c29d595a789f363434506130604ed36c934d39e66de3410e0693619d927f5
7
+ data.tar.gz: 4ef3993954710a7c0e2a6221c87acec04e397f2fb959eb7d431ea276ab2ab3cad19104052362980d223ed13c4790588732fdf2bed316ff892b9bdba1cb2e8fe8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.14.0 (2025-10-17)
5
+ ------------------
6
+
7
+ * Feature - Added support for optional style parameters in maps, including Terrain, ContourDensity, Traffic, and TravelModes.
8
+
4
9
  1.13.0 (2025-08-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.0
1
+ 1.14.0
@@ -478,6 +478,13 @@ module Aws::GeoMaps
478
478
 
479
479
  # `GetGlyphs` returns the map's glyphs.
480
480
  #
481
+ # For more information, see [Style labels with glyphs][1] in the *Amazon
482
+ # Location Service Developer Guide*.
483
+ #
484
+ #
485
+ #
486
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/styling-labels-with-glyphs.html
487
+ #
481
488
  # @option params [required, String] :font_stack
482
489
  # Name of the `FontStack` to retrieve.
483
490
  #
@@ -650,7 +657,7 @@ module Aws::GeoMaps
650
657
  # A Unicode range of characters to download glyphs for. This must be
651
658
  # aligned to multiples of 256.
652
659
  #
653
- # Example: `0-255.pdf`
660
+ # Example: `0-255.pbf`
654
661
  #
655
662
  # @return [Types::GetGlyphsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
656
663
  #
@@ -684,6 +691,13 @@ module Aws::GeoMaps
684
691
 
685
692
  # `GetSprites` returns the map's sprites.
686
693
  #
694
+ # For more information, see [Style iconography with sprites][1] in the
695
+ # *Amazon Location Service Developer Guide*.
696
+ #
697
+ #
698
+ #
699
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/styling-iconography-with-sprites.html
700
+ #
687
701
  # @option params [required, String] :file_name
688
702
  # `Sprites` API: The name of the sprite file to retrieve, following
689
703
  # pattern `sprites(@2x)?\.(png|json)`.
@@ -753,17 +767,34 @@ module Aws::GeoMaps
753
767
  # additional information. It's an ideal solution for applications
754
768
  # requiring tailored static map snapshots.
755
769
  #
770
+ # For more information, see the following topics in the *Amazon Location
771
+ # Service Developer Guide*:
772
+ #
773
+ # * [Static maps][1]
774
+ #
775
+ # * [Customize static maps][2]
776
+ #
777
+ # * [Overlay on the static map][3]
778
+ #
779
+ #
780
+ #
781
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/static-maps.html
782
+ # [2]: https://docs.aws.amazon.com/location/latest/developerguide/customizing-static-maps.html
783
+ # [3]: https://docs.aws.amazon.com/location/latest/developerguide/overlaying-static-map.html
784
+ #
756
785
  # @option params [String] :bounding_box
757
- # Takes in two pairs of coordinates, \[Lon, Lat\], denoting
758
- # south-westerly and north-easterly edges of the image. The underlying
759
- # area becomes the view of the image.
786
+ # Takes in two pairs of coordinates in World Geodetic System (WGS 84)
787
+ # format: \[longitude, latitude\], denoting south-westerly and
788
+ # north-easterly edges of the image. The underlying area becomes the
789
+ # view of the image.
760
790
  #
761
791
  # Example: -123.17075,49.26959,-123.08125,49.31429
762
792
  #
763
793
  # @option params [String] :bounded_positions
764
- # Takes in two or more pair of coordinates, \[Lon, Lat\], with each
765
- # coordinate separated by a comma. The API will generate an image to
766
- # encompass all of the provided coordinates.
794
+ # Takes in two or more pair of coordinates in World Geodetic System (WGS
795
+ # 84) format: \[longitude, latitude\], with each coordinate separated by
796
+ # a comma. The API will generate an image to encompass all of the
797
+ # provided coordinates.
767
798
  #
768
799
  # <note markdown="1"> Cannot be used with `Zoom` and or `Radius`
769
800
  #
@@ -772,9 +803,9 @@ module Aws::GeoMaps
772
803
  # Example: 97.170451,78.039098,99.045536,27.176178
773
804
  #
774
805
  # @option params [String] :center
775
- # Takes in a pair of coordinates, \[Lon, Lat\], which becomes the center
776
- # point of the image. This parameter requires that either zoom or radius
777
- # is set.
806
+ # Takes in a pair of coordinates in World Geodetic System (WGS 84)
807
+ # format: \[longitude, latitude\], which becomes the center point of the
808
+ # image. This parameter requires that either zoom or radius is set.
778
809
  #
779
810
  # <note markdown="1"> Cannot be used with `Zoom` and or `Radius`
780
811
  #
@@ -1119,6 +1150,13 @@ module Aws::GeoMaps
1119
1150
 
1120
1151
  # `GetStyleDescriptor` returns information about the style.
1121
1152
  #
1153
+ # For more information, see [Style dynamic maps][1] in the *Amazon
1154
+ # Location Service Developer Guide*.
1155
+ #
1156
+ #
1157
+ #
1158
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/styling-dynamic-maps.html
1159
+ #
1122
1160
  # @option params [required, String] :style
1123
1161
  # Style specifies the desired map style.
1124
1162
  #
@@ -1172,6 +1210,39 @@ module Aws::GeoMaps
1172
1210
  #
1173
1211
  # * `VNM`: Vietnam's view on the Paracel Islands and Spratly Islands
1174
1212
  #
1213
+ # @option params [String] :terrain
1214
+ # Adjusts how physical terrain details are rendered on the map.
1215
+ #
1216
+ # The following terrain styles are currently supported:
1217
+ #
1218
+ # * `Hillshade`: Displays the physical terrain details through shading
1219
+ # and highlighting of elevation change and geographic features.
1220
+ #
1221
+ # ^
1222
+ #
1223
+ # This parameter is valid only for the `Standard` map style.
1224
+ #
1225
+ # @option params [String] :contour_density
1226
+ # Displays the shape and steepness of terrain features using elevation
1227
+ # lines. The density value controls how densely the available contour
1228
+ # line information is rendered on the map.
1229
+ #
1230
+ # This parameter is valid only for the `Standard` map style.
1231
+ #
1232
+ # @option params [String] :traffic
1233
+ # Displays real-time traffic information overlay on map, such as
1234
+ # incident events and flow events.
1235
+ #
1236
+ # This parameter is valid only for the `Standard` map style.
1237
+ #
1238
+ # @option params [Array<String>] :travel_modes
1239
+ # Renders additional map information relevant to selected travel modes.
1240
+ # Information for multiple travel modes can be displayed simultaneously,
1241
+ # although this increases the overall information density rendered on
1242
+ # the map.
1243
+ #
1244
+ # This parameter is valid only for the `Standard` map style.
1245
+ #
1175
1246
  # @option params [String] :key
1176
1247
  # Optional: The API key to be used for authorization. Either an API key
1177
1248
  # or valid SigV4 signature must be provided when making a request.
@@ -1189,6 +1260,10 @@ module Aws::GeoMaps
1189
1260
  # style: "Standard", # required, accepts Standard, Monochrome, Hybrid, Satellite
1190
1261
  # color_scheme: "Light", # accepts Light, Dark
1191
1262
  # political_view: "CountryCode",
1263
+ # terrain: "Hillshade", # accepts Hillshade
1264
+ # contour_density: "Medium", # accepts Medium
1265
+ # traffic: "All", # accepts All
1266
+ # travel_modes: ["Transit"], # accepts Transit, Truck
1192
1267
  # key: "ApiKey",
1193
1268
  # })
1194
1269
  #
@@ -1212,6 +1287,13 @@ module Aws::GeoMaps
1212
1287
  # map. they're addressed using a grid arrangement with an X coordinate,
1213
1288
  # Y coordinate, and Z (zoom) level.
1214
1289
  #
1290
+ # For more information, see [Tiles][1] in the *Amazon Location Service
1291
+ # Developer Guide*.
1292
+ #
1293
+ #
1294
+ #
1295
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/tiles.html
1296
+ #
1215
1297
  # @option params [required, String] :tileset
1216
1298
  # Specifies the desired tile set.
1217
1299
  #
@@ -1283,7 +1365,7 @@ module Aws::GeoMaps
1283
1365
  tracer: tracer
1284
1366
  )
1285
1367
  context[:gem_name] = 'aws-sdk-geomaps'
1286
- context[:gem_version] = '1.13.0'
1368
+ context[:gem_version] = '1.14.0'
1287
1369
  Seahorse::Client::Request.new(handlers, context)
1288
1370
  end
1289
1371
 
@@ -20,6 +20,7 @@ module Aws::GeoMaps
20
20
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
21
21
  ColorScheme = Shapes::StringShape.new(name: 'ColorScheme')
22
22
  CompactOverlay = Shapes::StringShape.new(name: 'CompactOverlay')
23
+ ContourDensity = Shapes::StringShape.new(name: 'ContourDensity')
23
24
  CountryCode = Shapes::StringShape.new(name: 'CountryCode')
24
25
  DistanceMeters = Shapes::IntegerShape.new(name: 'DistanceMeters')
25
26
  GeoJsonOverlay = Shapes::StringShape.new(name: 'GeoJsonOverlay')
@@ -55,8 +56,12 @@ module Aws::GeoMaps
55
56
  SensitiveInteger = Shapes::IntegerShape.new(name: 'SensitiveInteger')
56
57
  StaticMapStyle = Shapes::StringShape.new(name: 'StaticMapStyle')
57
58
  String = Shapes::StringShape.new(name: 'String')
59
+ Terrain = Shapes::StringShape.new(name: 'Terrain')
58
60
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
59
61
  Tileset = Shapes::StringShape.new(name: 'Tileset')
62
+ Traffic = Shapes::StringShape.new(name: 'Traffic')
63
+ TravelMode = Shapes::StringShape.new(name: 'TravelMode')
64
+ TravelModeList = Shapes::ListShape.new(name: 'TravelModeList')
60
65
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
61
66
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
62
67
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
@@ -126,6 +131,10 @@ module Aws::GeoMaps
126
131
  GetStyleDescriptorRequest.add_member(:style, Shapes::ShapeRef.new(shape: MapStyle, required: true, location: "uri", location_name: "Style"))
127
132
  GetStyleDescriptorRequest.add_member(:color_scheme, Shapes::ShapeRef.new(shape: ColorScheme, location: "querystring", location_name: "color-scheme"))
128
133
  GetStyleDescriptorRequest.add_member(:political_view, Shapes::ShapeRef.new(shape: CountryCode, location: "querystring", location_name: "political-view"))
134
+ GetStyleDescriptorRequest.add_member(:terrain, Shapes::ShapeRef.new(shape: Terrain, location: "querystring", location_name: "terrain"))
135
+ GetStyleDescriptorRequest.add_member(:contour_density, Shapes::ShapeRef.new(shape: ContourDensity, location: "querystring", location_name: "contour-density"))
136
+ GetStyleDescriptorRequest.add_member(:traffic, Shapes::ShapeRef.new(shape: Traffic, location: "querystring", location_name: "traffic"))
137
+ GetStyleDescriptorRequest.add_member(:travel_modes, Shapes::ShapeRef.new(shape: TravelModeList, location: "querystring", location_name: "travel-modes"))
129
138
  GetStyleDescriptorRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
130
139
  GetStyleDescriptorRequest.struct_class = Types::GetStyleDescriptorRequest
131
140
 
@@ -162,6 +171,8 @@ module Aws::GeoMaps
162
171
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
163
172
  ThrottlingException.struct_class = Types::ThrottlingException
164
173
 
174
+ TravelModeList.member = Shapes::ShapeRef.new(shape: TravelMode)
175
+
165
176
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
166
177
  ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
167
178
  ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, required: true, location_name: "fieldList"))
@@ -13,22 +13,22 @@ module Aws::GeoMaps
13
13
  # @!attribute use_dual_stack
14
14
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
15
15
  #
16
- # @return [Boolean]
16
+ # @return [boolean]
17
17
  #
18
18
  # @!attribute use_fips
19
19
  # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
20
20
  #
21
- # @return [Boolean]
21
+ # @return [boolean]
22
22
  #
23
23
  # @!attribute endpoint
24
24
  # Override the endpoint used to send this request
25
25
  #
26
- # @return [String]
26
+ # @return [string]
27
27
  #
28
28
  # @!attribute region
29
29
  # The AWS region used to dispatch the request.
30
30
  #
31
- # @return [String]
31
+ # @return [string]
32
32
  #
33
33
  EndpointParameters = Struct.new(
34
34
  :use_dual_stack,
@@ -197,7 +197,7 @@ module Aws::GeoMaps
197
197
  # A Unicode range of characters to download glyphs for. This must be
198
198
  # aligned to multiples of 256.
199
199
  #
200
- # Example: `0-255.pdf`
200
+ # Example: `0-255.pbf`
201
201
  # @return [String]
202
202
  #
203
203
  # @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/GetGlyphsRequest AWS API Documentation
@@ -314,17 +314,19 @@ module Aws::GeoMaps
314
314
  end
315
315
 
316
316
  # @!attribute [rw] bounding_box
317
- # Takes in two pairs of coordinates, \[Lon, Lat\], denoting
318
- # south-westerly and north-easterly edges of the image. The underlying
319
- # area becomes the view of the image.
317
+ # Takes in two pairs of coordinates in World Geodetic System (WGS 84)
318
+ # format: \[longitude, latitude\], denoting south-westerly and
319
+ # north-easterly edges of the image. The underlying area becomes the
320
+ # view of the image.
320
321
  #
321
322
  # Example: -123.17075,49.26959,-123.08125,49.31429
322
323
  # @return [String]
323
324
  #
324
325
  # @!attribute [rw] bounded_positions
325
- # Takes in two or more pair of coordinates, \[Lon, Lat\], with each
326
- # coordinate separated by a comma. The API will generate an image to
327
- # encompass all of the provided coordinates.
326
+ # Takes in two or more pair of coordinates in World Geodetic System
327
+ # (WGS 84) format: \[longitude, latitude\], with each coordinate
328
+ # separated by a comma. The API will generate an image to encompass
329
+ # all of the provided coordinates.
328
330
  #
329
331
  # <note markdown="1"> Cannot be used with `Zoom` and or `Radius`
330
332
  #
@@ -334,9 +336,10 @@ module Aws::GeoMaps
334
336
  # @return [String]
335
337
  #
336
338
  # @!attribute [rw] center
337
- # Takes in a pair of coordinates, \[Lon, Lat\], which becomes the
338
- # center point of the image. This parameter requires that either zoom
339
- # or radius is set.
339
+ # Takes in a pair of coordinates in World Geodetic System (WGS 84)
340
+ # format: \[longitude, latitude\], which becomes the center point of
341
+ # the image. This parameter requires that either zoom or radius is
342
+ # set.
340
343
  #
341
344
  # <note markdown="1"> Cannot be used with `Zoom` and or `Radius`
342
345
  #
@@ -765,6 +768,43 @@ module Aws::GeoMaps
765
768
  # * `VNM`: Vietnam's view on the Paracel Islands and Spratly Islands
766
769
  # @return [String]
767
770
  #
771
+ # @!attribute [rw] terrain
772
+ # Adjusts how physical terrain details are rendered on the map.
773
+ #
774
+ # The following terrain styles are currently supported:
775
+ #
776
+ # * `Hillshade`: Displays the physical terrain details through shading
777
+ # and highlighting of elevation change and geographic features.
778
+ #
779
+ # ^
780
+ #
781
+ # This parameter is valid only for the `Standard` map style.
782
+ # @return [String]
783
+ #
784
+ # @!attribute [rw] contour_density
785
+ # Displays the shape and steepness of terrain features using elevation
786
+ # lines. The density value controls how densely the available contour
787
+ # line information is rendered on the map.
788
+ #
789
+ # This parameter is valid only for the `Standard` map style.
790
+ # @return [String]
791
+ #
792
+ # @!attribute [rw] traffic
793
+ # Displays real-time traffic information overlay on map, such as
794
+ # incident events and flow events.
795
+ #
796
+ # This parameter is valid only for the `Standard` map style.
797
+ # @return [String]
798
+ #
799
+ # @!attribute [rw] travel_modes
800
+ # Renders additional map information relevant to selected travel
801
+ # modes. Information for multiple travel modes can be displayed
802
+ # simultaneously, although this increases the overall information
803
+ # density rendered on the map.
804
+ #
805
+ # This parameter is valid only for the `Standard` map style.
806
+ # @return [Array<String>]
807
+ #
768
808
  # @!attribute [rw] key
769
809
  # Optional: The API key to be used for authorization. Either an API
770
810
  # key or valid SigV4 signature must be provided when making a request.
@@ -776,6 +816,10 @@ module Aws::GeoMaps
776
816
  :style,
777
817
  :color_scheme,
778
818
  :political_view,
819
+ :terrain,
820
+ :contour_density,
821
+ :traffic,
822
+ :travel_modes,
779
823
  :key)
780
824
  SENSITIVE = [:political_view, :key]
781
825
  include Aws::Structure
@@ -54,7 +54,7 @@ module Aws::GeoMaps
54
54
  autoload :EndpointProvider, 'aws-sdk-geomaps/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-geomaps/endpoints'
56
56
 
57
- GEM_VERSION = '1.13.0'
57
+ GEM_VERSION = '1.14.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -153,6 +153,10 @@ module Aws
153
153
  style: ("Standard" | "Monochrome" | "Hybrid" | "Satellite"),
154
154
  ?color_scheme: ("Light" | "Dark"),
155
155
  ?political_view: ::String,
156
+ ?terrain: ("Hillshade"),
157
+ ?contour_density: ("Medium"),
158
+ ?traffic: ("All"),
159
+ ?travel_modes: Array[("Transit" | "Truck")],
156
160
  ?key: ::String
157
161
  ) ?{ (*untyped) -> void } -> _GetStyleDescriptorResponseSuccess
158
162
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetStyleDescriptorResponseSuccess
data/sig/types.rbs CHANGED
@@ -80,6 +80,10 @@ module Aws::GeoMaps
80
80
  attr_accessor style: ("Standard" | "Monochrome" | "Hybrid" | "Satellite")
81
81
  attr_accessor color_scheme: ("Light" | "Dark")
82
82
  attr_accessor political_view: ::String
83
+ attr_accessor terrain: ("Hillshade")
84
+ attr_accessor contour_density: ("Medium")
85
+ attr_accessor traffic: ("All")
86
+ attr_accessor travel_modes: ::Array[("Transit" | "Truck")]
83
87
  attr_accessor key: ::String
84
88
  SENSITIVE: [:political_view, :key]
85
89
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-geomaps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services