aws-sdk-geomaps 1.15.0 → 1.16.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 +8 -3
- data/lib/aws-sdk-geomaps/client_api.rb +11 -5
- data/lib/aws-sdk-geomaps/types.rb +6 -0
- data/lib/aws-sdk-geomaps.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/types.rbs +1 -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: 69041b80cb437f78e0d85a2615d293bb75bbdbf033a4d62da76303ac407ca38e
|
|
4
|
+
data.tar.gz: 7e805228e9415aacc6b4970ba8c5cbed84f3be32c9cffeefe0ad33a6b53f4dc6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d566a533a877a28ba3256ed2826d83b9737780d46a8fb58acd0756db9e9de5e29eb5800883f73467cd92fbac689e9c0c1f4783d7f98ae68d634fed2a5c804d90
|
|
7
|
+
data.tar.gz: b363e8308f9f6eaa675d55c15429d66b8d2e265997d17822ed421b913d44c87bae8a00ea7cd910d31368210ace3a0ab293d5e2532328cb34853ec0acc4d03f17
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.16.0
|
|
@@ -1109,8 +1109,8 @@ module Aws::GeoMaps
|
|
|
1109
1109
|
# @example Request syntax with placeholder values
|
|
1110
1110
|
#
|
|
1111
1111
|
# resp = client.get_static_map({
|
|
1112
|
-
# bounding_box: "
|
|
1113
|
-
# bounded_positions: "
|
|
1112
|
+
# bounding_box: "GetStaticMapRequestBoundingBoxString",
|
|
1113
|
+
# bounded_positions: "GetStaticMapRequestBoundedPositionsString",
|
|
1114
1114
|
# center: "PositionString",
|
|
1115
1115
|
# color_scheme: "Light", # accepts Light, Dark
|
|
1116
1116
|
# compact_overlay: "CompactOverlay",
|
|
@@ -1294,6 +1294,10 @@ module Aws::GeoMaps
|
|
|
1294
1294
|
#
|
|
1295
1295
|
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/tiles.html
|
|
1296
1296
|
#
|
|
1297
|
+
# @option params [Array<String>] :additional_features
|
|
1298
|
+
# A list of optional additional parameters such as map styles that can
|
|
1299
|
+
# be requested for each result.
|
|
1300
|
+
#
|
|
1297
1301
|
# @option params [required, String] :tileset
|
|
1298
1302
|
# Specifies the desired tile set.
|
|
1299
1303
|
#
|
|
@@ -1323,6 +1327,7 @@ module Aws::GeoMaps
|
|
|
1323
1327
|
# @example Request syntax with placeholder values
|
|
1324
1328
|
#
|
|
1325
1329
|
# resp = client.get_tile({
|
|
1330
|
+
# additional_features: ["ContourLines"], # accepts ContourLines, Hillshade, Logistics, Transit
|
|
1326
1331
|
# tileset: "Tileset", # required
|
|
1327
1332
|
# z: "GetTileRequestZString", # required
|
|
1328
1333
|
# x: "GetTileRequestXString", # required
|
|
@@ -1365,7 +1370,7 @@ module Aws::GeoMaps
|
|
|
1365
1370
|
tracer: tracer
|
|
1366
1371
|
)
|
|
1367
1372
|
context[:gem_name] = 'aws-sdk-geomaps'
|
|
1368
|
-
context[:gem_version] = '1.
|
|
1373
|
+
context[:gem_version] = '1.16.0'
|
|
1369
1374
|
Seahorse::Client::Request.new(handlers, context)
|
|
1370
1375
|
end
|
|
1371
1376
|
|
|
@@ -32,8 +32,11 @@ module Aws::GeoMaps
|
|
|
32
32
|
GetSpritesRequestFileNameString = Shapes::StringShape.new(name: 'GetSpritesRequestFileNameString')
|
|
33
33
|
GetSpritesResponse = Shapes::StructureShape.new(name: 'GetSpritesResponse')
|
|
34
34
|
GetStaticMapRequest = Shapes::StructureShape.new(name: 'GetStaticMapRequest')
|
|
35
|
+
GetStaticMapRequestBoundedPositionsString = Shapes::StringShape.new(name: 'GetStaticMapRequestBoundedPositionsString')
|
|
36
|
+
GetStaticMapRequestBoundingBoxString = Shapes::StringShape.new(name: 'GetStaticMapRequestBoundingBoxString')
|
|
35
37
|
GetStaticMapRequestFileNameString = Shapes::StringShape.new(name: 'GetStaticMapRequestFileNameString')
|
|
36
38
|
GetStaticMapRequestHeightInteger = Shapes::IntegerShape.new(name: 'GetStaticMapRequestHeightInteger')
|
|
39
|
+
GetStaticMapRequestPaddingInteger = Shapes::IntegerShape.new(name: 'GetStaticMapRequestPaddingInteger')
|
|
37
40
|
GetStaticMapRequestWidthInteger = Shapes::IntegerShape.new(name: 'GetStaticMapRequestWidthInteger')
|
|
38
41
|
GetStaticMapRequestZoomFloat = Shapes::FloatShape.new(name: 'GetStaticMapRequestZoomFloat')
|
|
39
42
|
GetStaticMapResponse = Shapes::StructureShape.new(name: 'GetStaticMapResponse')
|
|
@@ -49,15 +52,15 @@ module Aws::GeoMaps
|
|
|
49
52
|
LanguageTag = Shapes::StringShape.new(name: 'LanguageTag')
|
|
50
53
|
MapFeatureMode = Shapes::StringShape.new(name: 'MapFeatureMode')
|
|
51
54
|
MapStyle = Shapes::StringShape.new(name: 'MapStyle')
|
|
52
|
-
PositionListString = Shapes::StringShape.new(name: 'PositionListString')
|
|
53
55
|
PositionString = Shapes::StringShape.new(name: 'PositionString')
|
|
54
56
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
55
57
|
ScaleBarUnit = Shapes::StringShape.new(name: 'ScaleBarUnit')
|
|
56
|
-
SensitiveInteger = Shapes::IntegerShape.new(name: 'SensitiveInteger')
|
|
57
58
|
StaticMapStyle = Shapes::StringShape.new(name: 'StaticMapStyle')
|
|
58
59
|
String = Shapes::StringShape.new(name: 'String')
|
|
59
60
|
Terrain = Shapes::StringShape.new(name: 'Terrain')
|
|
60
61
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
62
|
+
TileAdditionalFeature = Shapes::StringShape.new(name: 'TileAdditionalFeature')
|
|
63
|
+
TileAdditionalFeatureList = Shapes::ListShape.new(name: 'TileAdditionalFeatureList')
|
|
61
64
|
Tileset = Shapes::StringShape.new(name: 'Tileset')
|
|
62
65
|
Traffic = Shapes::StringShape.new(name: 'Traffic')
|
|
63
66
|
TravelMode = Shapes::StringShape.new(name: 'TravelMode')
|
|
@@ -97,8 +100,8 @@ module Aws::GeoMaps
|
|
|
97
100
|
GetSpritesResponse[:payload] = :blob
|
|
98
101
|
GetSpritesResponse[:payload_member] = GetSpritesResponse.member(:blob)
|
|
99
102
|
|
|
100
|
-
GetStaticMapRequest.add_member(:bounding_box, Shapes::ShapeRef.new(shape:
|
|
101
|
-
GetStaticMapRequest.add_member(:bounded_positions, Shapes::ShapeRef.new(shape:
|
|
103
|
+
GetStaticMapRequest.add_member(:bounding_box, Shapes::ShapeRef.new(shape: GetStaticMapRequestBoundingBoxString, location: "querystring", location_name: "bounding-box"))
|
|
104
|
+
GetStaticMapRequest.add_member(:bounded_positions, Shapes::ShapeRef.new(shape: GetStaticMapRequestBoundedPositionsString, location: "querystring", location_name: "bounded-positions"))
|
|
102
105
|
GetStaticMapRequest.add_member(:center, Shapes::ShapeRef.new(shape: PositionString, location: "querystring", location_name: "center"))
|
|
103
106
|
GetStaticMapRequest.add_member(:color_scheme, Shapes::ShapeRef.new(shape: ColorScheme, location: "querystring", location_name: "color-scheme"))
|
|
104
107
|
GetStaticMapRequest.add_member(:compact_overlay, Shapes::ShapeRef.new(shape: CompactOverlay, location: "querystring", location_name: "compact-overlay"))
|
|
@@ -108,7 +111,7 @@ module Aws::GeoMaps
|
|
|
108
111
|
GetStaticMapRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
|
|
109
112
|
GetStaticMapRequest.add_member(:label_size, Shapes::ShapeRef.new(shape: LabelSize, location: "querystring", location_name: "label-size"))
|
|
110
113
|
GetStaticMapRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location: "querystring", location_name: "lang"))
|
|
111
|
-
GetStaticMapRequest.add_member(:padding, Shapes::ShapeRef.new(shape:
|
|
114
|
+
GetStaticMapRequest.add_member(:padding, Shapes::ShapeRef.new(shape: GetStaticMapRequestPaddingInteger, location: "querystring", location_name: "padding"))
|
|
112
115
|
GetStaticMapRequest.add_member(:political_view, Shapes::ShapeRef.new(shape: CountryCode, location: "querystring", location_name: "political-view"))
|
|
113
116
|
GetStaticMapRequest.add_member(:points_of_interests, Shapes::ShapeRef.new(shape: MapFeatureMode, location: "querystring", location_name: "pois"))
|
|
114
117
|
GetStaticMapRequest.add_member(:radius, Shapes::ShapeRef.new(shape: DistanceMeters, location: "querystring", location_name: "radius", metadata: {"box" => true}))
|
|
@@ -146,6 +149,7 @@ module Aws::GeoMaps
|
|
|
146
149
|
GetStyleDescriptorResponse[:payload] = :blob
|
|
147
150
|
GetStyleDescriptorResponse[:payload_member] = GetStyleDescriptorResponse.member(:blob)
|
|
148
151
|
|
|
152
|
+
GetTileRequest.add_member(:additional_features, Shapes::ShapeRef.new(shape: TileAdditionalFeatureList, location: "querystring", location_name: "additional-features"))
|
|
149
153
|
GetTileRequest.add_member(:tileset, Shapes::ShapeRef.new(shape: Tileset, required: true, location: "uri", location_name: "Tileset"))
|
|
150
154
|
GetTileRequest.add_member(:z, Shapes::ShapeRef.new(shape: GetTileRequestZString, required: true, location: "uri", location_name: "Z"))
|
|
151
155
|
GetTileRequest.add_member(:x, Shapes::ShapeRef.new(shape: GetTileRequestXString, required: true, location: "uri", location_name: "X"))
|
|
@@ -171,6 +175,8 @@ module Aws::GeoMaps
|
|
|
171
175
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
172
176
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
173
177
|
|
|
178
|
+
TileAdditionalFeatureList.member = Shapes::ShapeRef.new(shape: TileAdditionalFeature)
|
|
179
|
+
|
|
174
180
|
TravelModeList.member = Shapes::ShapeRef.new(shape: TravelMode)
|
|
175
181
|
|
|
176
182
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
@@ -854,6 +854,11 @@ module Aws::GeoMaps
|
|
|
854
854
|
include Aws::Structure
|
|
855
855
|
end
|
|
856
856
|
|
|
857
|
+
# @!attribute [rw] additional_features
|
|
858
|
+
# A list of optional additional parameters such as map styles that can
|
|
859
|
+
# be requested for each result.
|
|
860
|
+
# @return [Array<String>]
|
|
861
|
+
#
|
|
857
862
|
# @!attribute [rw] tileset
|
|
858
863
|
# Specifies the desired tile set.
|
|
859
864
|
#
|
|
@@ -880,6 +885,7 @@ module Aws::GeoMaps
|
|
|
880
885
|
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/GetTileRequest AWS API Documentation
|
|
881
886
|
#
|
|
882
887
|
class GetTileRequest < Struct.new(
|
|
888
|
+
:additional_features,
|
|
883
889
|
:tileset,
|
|
884
890
|
:z,
|
|
885
891
|
:x,
|
data/lib/aws-sdk-geomaps.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -171,6 +171,7 @@ module Aws
|
|
|
171
171
|
end
|
|
172
172
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GeoMaps/Client.html#get_tile-instance_method
|
|
173
173
|
def get_tile: (
|
|
174
|
+
?additional_features: Array[("ContourLines" | "Hillshade" | "Logistics" | "Transit")],
|
|
174
175
|
tileset: ::String,
|
|
175
176
|
z: ::String,
|
|
176
177
|
x: ::String,
|
data/sig/types.rbs
CHANGED