aws-sdk-geomaps 1.4.0 → 1.5.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 +224 -15
- data/lib/aws-sdk-geomaps/client_api.rb +10 -0
- data/lib/aws-sdk-geomaps/endpoint_provider.rb +4 -4
- data/lib/aws-sdk-geomaps/types.rb +221 -6
- data/lib/aws-sdk-geomaps.rb +1 -1
- data/sig/client.rbs +7 -1
- data/sig/types.rbs +7 -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: d41ffac075a30021b0a9d41b7d45e0de49d00a071d3a2442fa6d11ece92e94e3
|
4
|
+
data.tar.gz: 5e82c4cc975891c68847a5764dcb3f9ce1107024baee14aa34823534c7acba91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b78968d3f36448151a963ff31b5813df591d67f0dce921e15f8a61c5e94b66ee6d531e3101d12dcb12d16801b256d920642bb02822027307cf949e52bae09f03
|
7
|
+
data.tar.gz: 71ad706ed12c9d71f86fd62c251a2f91cc98a0f6c171bc79485ed93e7225e32aae03cdfaf7f91eae722efa9364141102a0a3784237ac7a3a0d66a2e74898ac86
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
@@ -470,7 +470,7 @@ module Aws::GeoMaps
|
|
470
470
|
|
471
471
|
# @!group API Operations
|
472
472
|
|
473
|
-
#
|
473
|
+
# `GetGlyphs` returns the map's glyphs.
|
474
474
|
#
|
475
475
|
# @option params [required, String] :font_stack
|
476
476
|
# Name of the `FontStack` to retrieve.
|
@@ -676,7 +676,7 @@ module Aws::GeoMaps
|
|
676
676
|
req.send_request(options, &block)
|
677
677
|
end
|
678
678
|
|
679
|
-
#
|
679
|
+
# `GetSprites` returns the map's sprites.
|
680
680
|
#
|
681
681
|
# @option params [required, String] :file_name
|
682
682
|
# `Sprites` API: The name of the sprite file to retrieve, following
|
@@ -742,10 +742,10 @@ module Aws::GeoMaps
|
|
742
742
|
req.send_request(options, &block)
|
743
743
|
end
|
744
744
|
|
745
|
-
#
|
746
|
-
# can modify the map's appearance and overlay
|
747
|
-
# It's an ideal solution for applications
|
748
|
-
# snapshots.
|
745
|
+
# `GetStaticMap` provides high-quality static map images with
|
746
|
+
# customizable options. You can modify the map's appearance and overlay
|
747
|
+
# additional information. It's an ideal solution for applications
|
748
|
+
# requiring tailored static map snapshots.
|
749
749
|
#
|
750
750
|
# @option params [String] :bounding_box
|
751
751
|
# Takes in two pairs of coordinates, \[Lon, Lat\], denoting
|
@@ -776,6 +776,18 @@ module Aws::GeoMaps
|
|
776
776
|
#
|
777
777
|
# Example: 49.295,-123.108
|
778
778
|
#
|
779
|
+
# @option params [String] :color_scheme
|
780
|
+
# Sets color tone for map, such as dark and light for specific map
|
781
|
+
# styles. It only applies to vector map styles, such as Standard.
|
782
|
+
#
|
783
|
+
# Example: `Light`
|
784
|
+
#
|
785
|
+
# Default value: `Light`
|
786
|
+
#
|
787
|
+
# <note markdown="1"> Valid values for `ColorScheme` are case sensitive.
|
788
|
+
#
|
789
|
+
# </note>
|
790
|
+
#
|
779
791
|
# @option params [String] :compact_overlay
|
780
792
|
# Takes in a string to draw geometries on the image. The input is a
|
781
793
|
# comma separated format as follows format: `[Lon, Lat]`
|
@@ -789,6 +801,10 @@ module Aws::GeoMaps
|
|
789
801
|
#
|
790
802
|
# </note>
|
791
803
|
#
|
804
|
+
# @option params [Boolean] :crop_labels
|
805
|
+
# It is a flag that takes in true or false. It prevents the labels that
|
806
|
+
# are on the edge of the image from being cut or obscured.
|
807
|
+
#
|
792
808
|
# @option params [String] :geo_json_overlay
|
793
809
|
# Takes in a string to draw geometries on the image. The input is a
|
794
810
|
# valid GeoJSON collection object.
|
@@ -805,6 +821,154 @@ module Aws::GeoMaps
|
|
805
821
|
# Optional: The API key to be used for authorization. Either an API key
|
806
822
|
# or valid SigV4 signature must be provided when making a request.
|
807
823
|
#
|
824
|
+
# @option params [String] :label_size
|
825
|
+
# Overrides the label size auto-calculated by `FileName`. Takes in one
|
826
|
+
# of the values - `Small` or `Large`.
|
827
|
+
#
|
828
|
+
# @option params [String] :language
|
829
|
+
# Specifies the language on the map labels using the BCP 47 language
|
830
|
+
# tag, limited to ISO 639-1 two-letter language codes. If the specified
|
831
|
+
# language data isn't available for the map image, the labels will
|
832
|
+
# default to the regional primary language.
|
833
|
+
#
|
834
|
+
# Supported codes:
|
835
|
+
#
|
836
|
+
# * `ar`
|
837
|
+
#
|
838
|
+
# * `as`
|
839
|
+
#
|
840
|
+
# * `az`
|
841
|
+
#
|
842
|
+
# * `be`
|
843
|
+
#
|
844
|
+
# * `bg`
|
845
|
+
#
|
846
|
+
# * `bn`
|
847
|
+
#
|
848
|
+
# * `bs`
|
849
|
+
#
|
850
|
+
# * `ca`
|
851
|
+
#
|
852
|
+
# * `cs`
|
853
|
+
#
|
854
|
+
# * `cy`
|
855
|
+
#
|
856
|
+
# * `da`
|
857
|
+
#
|
858
|
+
# * `de`
|
859
|
+
#
|
860
|
+
# * `el`
|
861
|
+
#
|
862
|
+
# * `en`
|
863
|
+
#
|
864
|
+
# * `es`
|
865
|
+
#
|
866
|
+
# * `et`
|
867
|
+
#
|
868
|
+
# * `eu`
|
869
|
+
#
|
870
|
+
# * `fi`
|
871
|
+
#
|
872
|
+
# * `fo`
|
873
|
+
#
|
874
|
+
# * `fr`
|
875
|
+
#
|
876
|
+
# * `ga`
|
877
|
+
#
|
878
|
+
# * `gl`
|
879
|
+
#
|
880
|
+
# * `gn`
|
881
|
+
#
|
882
|
+
# * `gu`
|
883
|
+
#
|
884
|
+
# * `he`
|
885
|
+
#
|
886
|
+
# * `hi`
|
887
|
+
#
|
888
|
+
# * `hr`
|
889
|
+
#
|
890
|
+
# * `hu`
|
891
|
+
#
|
892
|
+
# * `hy`
|
893
|
+
#
|
894
|
+
# * `id`
|
895
|
+
#
|
896
|
+
# * `is`
|
897
|
+
#
|
898
|
+
# * `it`
|
899
|
+
#
|
900
|
+
# * `ja`
|
901
|
+
#
|
902
|
+
# * `ka`
|
903
|
+
#
|
904
|
+
# * `kk`
|
905
|
+
#
|
906
|
+
# * `km`
|
907
|
+
#
|
908
|
+
# * `kn`
|
909
|
+
#
|
910
|
+
# * `ko`
|
911
|
+
#
|
912
|
+
# * `ky`
|
913
|
+
#
|
914
|
+
# * `lt`
|
915
|
+
#
|
916
|
+
# * `lv`
|
917
|
+
#
|
918
|
+
# * `mk`
|
919
|
+
#
|
920
|
+
# * `ml`
|
921
|
+
#
|
922
|
+
# * `mr`
|
923
|
+
#
|
924
|
+
# * `ms`
|
925
|
+
#
|
926
|
+
# * `mt`
|
927
|
+
#
|
928
|
+
# * `my`
|
929
|
+
#
|
930
|
+
# * `nl`
|
931
|
+
#
|
932
|
+
# * `no`
|
933
|
+
#
|
934
|
+
# * `or`
|
935
|
+
#
|
936
|
+
# * `pa`
|
937
|
+
#
|
938
|
+
# * `pl`
|
939
|
+
#
|
940
|
+
# * `pt`
|
941
|
+
#
|
942
|
+
# * `ro`
|
943
|
+
#
|
944
|
+
# * `ru`
|
945
|
+
#
|
946
|
+
# * `sk`
|
947
|
+
#
|
948
|
+
# * `sl`
|
949
|
+
#
|
950
|
+
# * `sq`
|
951
|
+
#
|
952
|
+
# * `sr`
|
953
|
+
#
|
954
|
+
# * `sv`
|
955
|
+
#
|
956
|
+
# * `ta`
|
957
|
+
#
|
958
|
+
# * `te`
|
959
|
+
#
|
960
|
+
# * `th`
|
961
|
+
#
|
962
|
+
# * `tr`
|
963
|
+
#
|
964
|
+
# * `uk`
|
965
|
+
#
|
966
|
+
# * `uz`
|
967
|
+
#
|
968
|
+
# * `vi`
|
969
|
+
#
|
970
|
+
# * `zh`
|
971
|
+
#
|
808
972
|
# @option params [Integer] :padding
|
809
973
|
# Applies additional space (in pixels) around overlay feature to prevent
|
810
974
|
# them from being cut or obscured.
|
@@ -819,6 +983,47 @@ module Aws::GeoMaps
|
|
819
983
|
#
|
820
984
|
# Example: `100`
|
821
985
|
#
|
986
|
+
# @option params [String] :political_view
|
987
|
+
# Specifies the political view, using ISO 3166-2 or ISO 3166-3 country
|
988
|
+
# code format.
|
989
|
+
#
|
990
|
+
# The following political views are currently supported:
|
991
|
+
#
|
992
|
+
# * `ARG`: Argentina's view on the Southern Patagonian Ice Field and
|
993
|
+
# Tierra Del Fuego, including the Falkland Islands, South Georgia, and
|
994
|
+
# South Sandwich Islands
|
995
|
+
#
|
996
|
+
# * `EGY`: Egypt's view on Bir Tawil
|
997
|
+
#
|
998
|
+
# * `IND`: India's view on Gilgit-Baltistan
|
999
|
+
#
|
1000
|
+
# * `KEN`: Kenya's view on the Ilemi Triangle
|
1001
|
+
#
|
1002
|
+
# * `MAR`: Morocco's view on Western Sahara
|
1003
|
+
#
|
1004
|
+
# * `RUS`: Russia's view on Crimea
|
1005
|
+
#
|
1006
|
+
# * `SDN`: Sudan's view on the Halaib Triangle
|
1007
|
+
#
|
1008
|
+
# * `SRB`: Serbia's view on Kosovo, Vukovar, and Sarengrad Islands
|
1009
|
+
#
|
1010
|
+
# * `SUR`: Suriname's view on the Courantyne Headwaters and Lawa
|
1011
|
+
# Headwaters
|
1012
|
+
#
|
1013
|
+
# * `SYR`: Syria's view on the Golan Heights
|
1014
|
+
#
|
1015
|
+
# * `TUR`: Turkey's view on Cyprus and Northern Cyprus
|
1016
|
+
#
|
1017
|
+
# * `TZA`: Tanzania's view on Lake Malawi
|
1018
|
+
#
|
1019
|
+
# * `URY`: Uruguay's view on Rincon de Artigas
|
1020
|
+
#
|
1021
|
+
# * `VNM`: Vietnam's view on the Paracel Islands and Spratly Islands
|
1022
|
+
#
|
1023
|
+
# @option params [String] :points_of_interests
|
1024
|
+
# Determines if the result image will display icons representing points
|
1025
|
+
# of interest on the map.
|
1026
|
+
#
|
822
1027
|
# @option params [Integer] :radius
|
823
1028
|
# Used with center parameter, it specifies the zoom of the image where
|
824
1029
|
# you can control it on a granular level. Takes in any value `>= 1`.
|
@@ -844,7 +1049,7 @@ module Aws::GeoMaps
|
|
844
1049
|
# Example: `KilometersMiles, Miles, Kilometers, MilesKilometers`
|
845
1050
|
#
|
846
1051
|
# @option params [String] :style
|
847
|
-
# Style specifies the desired map style
|
1052
|
+
# `Style` specifies the desired map style.
|
848
1053
|
#
|
849
1054
|
# @option params [required, Integer] :width
|
850
1055
|
# Specifies the width of the map image.
|
@@ -870,15 +1075,21 @@ module Aws::GeoMaps
|
|
870
1075
|
# bounding_box: "PositionListString",
|
871
1076
|
# bounded_positions: "PositionListString",
|
872
1077
|
# center: "PositionString",
|
1078
|
+
# color_scheme: "Light", # accepts Light, Dark
|
873
1079
|
# compact_overlay: "CompactOverlay",
|
1080
|
+
# crop_labels: false,
|
874
1081
|
# geo_json_overlay: "GeoJsonOverlay",
|
875
1082
|
# height: 1, # required
|
876
1083
|
# key: "ApiKey",
|
1084
|
+
# label_size: "Small", # accepts Small, Large
|
1085
|
+
# language: "LanguageTag",
|
877
1086
|
# padding: 1,
|
1087
|
+
# political_view: "CountryCode",
|
1088
|
+
# points_of_interests: "Enabled", # accepts Enabled, Disabled
|
878
1089
|
# radius: 1,
|
879
1090
|
# file_name: "GetStaticMapRequestFileNameString", # required
|
880
1091
|
# scale_bar_unit: "Kilometers", # accepts Kilometers, KilometersMiles, Miles, MilesKilometers
|
881
|
-
# style: "Satellite", # accepts Satellite
|
1092
|
+
# style: "Satellite", # accepts Satellite, Standard
|
882
1093
|
# width: 1, # required
|
883
1094
|
# zoom: 1.0,
|
884
1095
|
# })
|
@@ -900,7 +1111,7 @@ module Aws::GeoMaps
|
|
900
1111
|
req.send_request(options, &block)
|
901
1112
|
end
|
902
1113
|
|
903
|
-
#
|
1114
|
+
# `GetStyleDescriptor` returns information about the style.
|
904
1115
|
#
|
905
1116
|
# @option params [required, String] :style
|
906
1117
|
# Style specifies the desired map style.
|
@@ -936,8 +1147,6 @@ module Aws::GeoMaps
|
|
936
1147
|
#
|
937
1148
|
# * `MAR`: Morocco's view on Western Sahara
|
938
1149
|
#
|
939
|
-
# * `PAK`: Pakistan's view on Jammu and Kashmir and the Junagadh Area
|
940
|
-
#
|
941
1150
|
# * `RUS`: Russia's view on Crimea
|
942
1151
|
#
|
943
1152
|
# * `SDN`: Sudan's view on the Halaib Triangle
|
@@ -993,9 +1202,9 @@ module Aws::GeoMaps
|
|
993
1202
|
req.send_request(options, &block)
|
994
1203
|
end
|
995
1204
|
|
996
|
-
#
|
997
|
-
# they're addressed using a grid arrangement with an X coordinate,
|
998
|
-
# coordinate, and Z (zoom) level.
|
1205
|
+
# `GetTile` returns a tile. Map tiles are used by clients to render a
|
1206
|
+
# map. they're addressed using a grid arrangement with an X coordinate,
|
1207
|
+
# Y coordinate, and Z (zoom) level.
|
999
1208
|
#
|
1000
1209
|
# @option params [required, String] :tileset
|
1001
1210
|
# Specifies the desired tile set.
|
@@ -1068,7 +1277,7 @@ module Aws::GeoMaps
|
|
1068
1277
|
tracer: tracer
|
1069
1278
|
)
|
1070
1279
|
context[:gem_name] = 'aws-sdk-geomaps'
|
1071
|
-
context[:gem_version] = '1.
|
1280
|
+
context[:gem_version] = '1.5.0'
|
1072
1281
|
Seahorse::Client::Request.new(handlers, context)
|
1073
1282
|
end
|
1074
1283
|
|
@@ -17,6 +17,7 @@ module Aws::GeoMaps
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
18
|
ApiKey = Shapes::StringShape.new(name: 'ApiKey')
|
19
19
|
Blob = Shapes::BlobShape.new(name: 'Blob')
|
20
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
20
21
|
ColorScheme = Shapes::StringShape.new(name: 'ColorScheme')
|
21
22
|
CompactOverlay = Shapes::StringShape.new(name: 'CompactOverlay')
|
22
23
|
CountryCode = Shapes::StringShape.new(name: 'CountryCode')
|
@@ -44,6 +45,9 @@ module Aws::GeoMaps
|
|
44
45
|
GetTileResponse = Shapes::StructureShape.new(name: 'GetTileResponse')
|
45
46
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
46
47
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
48
|
+
LabelSize = Shapes::StringShape.new(name: 'LabelSize')
|
49
|
+
LanguageTag = Shapes::StringShape.new(name: 'LanguageTag')
|
50
|
+
MapFeatureMode = Shapes::StringShape.new(name: 'MapFeatureMode')
|
47
51
|
MapStyle = Shapes::StringShape.new(name: 'MapStyle')
|
48
52
|
PositionListString = Shapes::StringShape.new(name: 'PositionListString')
|
49
53
|
PositionString = Shapes::StringShape.new(name: 'PositionString')
|
@@ -90,11 +94,17 @@ module Aws::GeoMaps
|
|
90
94
|
GetStaticMapRequest.add_member(:bounding_box, Shapes::ShapeRef.new(shape: PositionListString, location: "querystring", location_name: "bounding-box"))
|
91
95
|
GetStaticMapRequest.add_member(:bounded_positions, Shapes::ShapeRef.new(shape: PositionListString, location: "querystring", location_name: "bounded-positions"))
|
92
96
|
GetStaticMapRequest.add_member(:center, Shapes::ShapeRef.new(shape: PositionString, location: "querystring", location_name: "center"))
|
97
|
+
GetStaticMapRequest.add_member(:color_scheme, Shapes::ShapeRef.new(shape: ColorScheme, location: "querystring", location_name: "color-scheme"))
|
93
98
|
GetStaticMapRequest.add_member(:compact_overlay, Shapes::ShapeRef.new(shape: CompactOverlay, location: "querystring", location_name: "compact-overlay"))
|
99
|
+
GetStaticMapRequest.add_member(:crop_labels, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "crop-labels"))
|
94
100
|
GetStaticMapRequest.add_member(:geo_json_overlay, Shapes::ShapeRef.new(shape: GeoJsonOverlay, location: "querystring", location_name: "geojson-overlay"))
|
95
101
|
GetStaticMapRequest.add_member(:height, Shapes::ShapeRef.new(shape: GetStaticMapRequestHeightInteger, required: true, location: "querystring", location_name: "height"))
|
96
102
|
GetStaticMapRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
|
103
|
+
GetStaticMapRequest.add_member(:label_size, Shapes::ShapeRef.new(shape: LabelSize, location: "querystring", location_name: "label-size"))
|
104
|
+
GetStaticMapRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location: "querystring", location_name: "lang"))
|
97
105
|
GetStaticMapRequest.add_member(:padding, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "padding"))
|
106
|
+
GetStaticMapRequest.add_member(:political_view, Shapes::ShapeRef.new(shape: CountryCode, location: "querystring", location_name: "political-view"))
|
107
|
+
GetStaticMapRequest.add_member(:points_of_interests, Shapes::ShapeRef.new(shape: MapFeatureMode, location: "querystring", location_name: "pois"))
|
98
108
|
GetStaticMapRequest.add_member(:radius, Shapes::ShapeRef.new(shape: DistanceMeters, location: "querystring", location_name: "radius", metadata: {"box"=>true}))
|
99
109
|
GetStaticMapRequest.add_member(:file_name, Shapes::ShapeRef.new(shape: GetStaticMapRequestFileNameString, required: true, location: "uri", location_name: "FileName"))
|
100
110
|
GetStaticMapRequest.add_member(:scale_bar_unit, Shapes::ShapeRef.new(shape: ScaleBarUnit, location: "querystring", location_name: "scale-unit"))
|
@@ -34,16 +34,16 @@ module Aws::GeoMaps
|
|
34
34
|
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}/v2", 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}
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo.#{parameters.region}.#{partition_result['dnsSuffix']}/v2", 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}
|
40
|
+
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}/v2", 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}
|
43
|
+
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo-fips.#{parameters.region}.#{partition_result['dnsSuffix']}/v2", 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}
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://maps.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}/v2", 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"))
|
@@ -345,6 +345,19 @@ module Aws::GeoMaps
|
|
345
345
|
# Example: 49.295,-123.108
|
346
346
|
# @return [String]
|
347
347
|
#
|
348
|
+
# @!attribute [rw] color_scheme
|
349
|
+
# Sets color tone for map, such as dark and light for specific map
|
350
|
+
# styles. It only applies to vector map styles, such as Standard.
|
351
|
+
#
|
352
|
+
# Example: `Light`
|
353
|
+
#
|
354
|
+
# Default value: `Light`
|
355
|
+
#
|
356
|
+
# <note markdown="1"> Valid values for `ColorScheme` are case sensitive.
|
357
|
+
#
|
358
|
+
# </note>
|
359
|
+
# @return [String]
|
360
|
+
#
|
348
361
|
# @!attribute [rw] compact_overlay
|
349
362
|
# Takes in a string to draw geometries on the image. The input is a
|
350
363
|
# comma separated format as follows format: `[Lon, Lat]`
|
@@ -360,6 +373,11 @@ module Aws::GeoMaps
|
|
360
373
|
# </note>
|
361
374
|
# @return [String]
|
362
375
|
#
|
376
|
+
# @!attribute [rw] crop_labels
|
377
|
+
# It is a flag that takes in true or false. It prevents the labels
|
378
|
+
# that are on the edge of the image from being cut or obscured.
|
379
|
+
# @return [Boolean]
|
380
|
+
#
|
363
381
|
# @!attribute [rw] geo_json_overlay
|
364
382
|
# Takes in a string to draw geometries on the image. The input is a
|
365
383
|
# valid GeoJSON collection object.
|
@@ -379,6 +397,156 @@ module Aws::GeoMaps
|
|
379
397
|
# key or valid SigV4 signature must be provided when making a request.
|
380
398
|
# @return [String]
|
381
399
|
#
|
400
|
+
# @!attribute [rw] label_size
|
401
|
+
# Overrides the label size auto-calculated by `FileName`. Takes in one
|
402
|
+
# of the values - `Small` or `Large`.
|
403
|
+
# @return [String]
|
404
|
+
#
|
405
|
+
# @!attribute [rw] language
|
406
|
+
# Specifies the language on the map labels using the BCP 47 language
|
407
|
+
# tag, limited to ISO 639-1 two-letter language codes. If the
|
408
|
+
# specified language data isn't available for the map image, the
|
409
|
+
# labels will default to the regional primary language.
|
410
|
+
#
|
411
|
+
# Supported codes:
|
412
|
+
#
|
413
|
+
# * `ar`
|
414
|
+
#
|
415
|
+
# * `as`
|
416
|
+
#
|
417
|
+
# * `az`
|
418
|
+
#
|
419
|
+
# * `be`
|
420
|
+
#
|
421
|
+
# * `bg`
|
422
|
+
#
|
423
|
+
# * `bn`
|
424
|
+
#
|
425
|
+
# * `bs`
|
426
|
+
#
|
427
|
+
# * `ca`
|
428
|
+
#
|
429
|
+
# * `cs`
|
430
|
+
#
|
431
|
+
# * `cy`
|
432
|
+
#
|
433
|
+
# * `da`
|
434
|
+
#
|
435
|
+
# * `de`
|
436
|
+
#
|
437
|
+
# * `el`
|
438
|
+
#
|
439
|
+
# * `en`
|
440
|
+
#
|
441
|
+
# * `es`
|
442
|
+
#
|
443
|
+
# * `et`
|
444
|
+
#
|
445
|
+
# * `eu`
|
446
|
+
#
|
447
|
+
# * `fi`
|
448
|
+
#
|
449
|
+
# * `fo`
|
450
|
+
#
|
451
|
+
# * `fr`
|
452
|
+
#
|
453
|
+
# * `ga`
|
454
|
+
#
|
455
|
+
# * `gl`
|
456
|
+
#
|
457
|
+
# * `gn`
|
458
|
+
#
|
459
|
+
# * `gu`
|
460
|
+
#
|
461
|
+
# * `he`
|
462
|
+
#
|
463
|
+
# * `hi`
|
464
|
+
#
|
465
|
+
# * `hr`
|
466
|
+
#
|
467
|
+
# * `hu`
|
468
|
+
#
|
469
|
+
# * `hy`
|
470
|
+
#
|
471
|
+
# * `id`
|
472
|
+
#
|
473
|
+
# * `is`
|
474
|
+
#
|
475
|
+
# * `it`
|
476
|
+
#
|
477
|
+
# * `ja`
|
478
|
+
#
|
479
|
+
# * `ka`
|
480
|
+
#
|
481
|
+
# * `kk`
|
482
|
+
#
|
483
|
+
# * `km`
|
484
|
+
#
|
485
|
+
# * `kn`
|
486
|
+
#
|
487
|
+
# * `ko`
|
488
|
+
#
|
489
|
+
# * `ky`
|
490
|
+
#
|
491
|
+
# * `lt`
|
492
|
+
#
|
493
|
+
# * `lv`
|
494
|
+
#
|
495
|
+
# * `mk`
|
496
|
+
#
|
497
|
+
# * `ml`
|
498
|
+
#
|
499
|
+
# * `mr`
|
500
|
+
#
|
501
|
+
# * `ms`
|
502
|
+
#
|
503
|
+
# * `mt`
|
504
|
+
#
|
505
|
+
# * `my`
|
506
|
+
#
|
507
|
+
# * `nl`
|
508
|
+
#
|
509
|
+
# * `no`
|
510
|
+
#
|
511
|
+
# * `or`
|
512
|
+
#
|
513
|
+
# * `pa`
|
514
|
+
#
|
515
|
+
# * `pl`
|
516
|
+
#
|
517
|
+
# * `pt`
|
518
|
+
#
|
519
|
+
# * `ro`
|
520
|
+
#
|
521
|
+
# * `ru`
|
522
|
+
#
|
523
|
+
# * `sk`
|
524
|
+
#
|
525
|
+
# * `sl`
|
526
|
+
#
|
527
|
+
# * `sq`
|
528
|
+
#
|
529
|
+
# * `sr`
|
530
|
+
#
|
531
|
+
# * `sv`
|
532
|
+
#
|
533
|
+
# * `ta`
|
534
|
+
#
|
535
|
+
# * `te`
|
536
|
+
#
|
537
|
+
# * `th`
|
538
|
+
#
|
539
|
+
# * `tr`
|
540
|
+
#
|
541
|
+
# * `uk`
|
542
|
+
#
|
543
|
+
# * `uz`
|
544
|
+
#
|
545
|
+
# * `vi`
|
546
|
+
#
|
547
|
+
# * `zh`
|
548
|
+
# @return [String]
|
549
|
+
#
|
382
550
|
# @!attribute [rw] padding
|
383
551
|
# Applies additional space (in pixels) around overlay feature to
|
384
552
|
# prevent them from being cut or obscured.
|
@@ -394,6 +562,49 @@ module Aws::GeoMaps
|
|
394
562
|
# Example: `100`
|
395
563
|
# @return [Integer]
|
396
564
|
#
|
565
|
+
# @!attribute [rw] political_view
|
566
|
+
# Specifies the political view, using ISO 3166-2 or ISO 3166-3 country
|
567
|
+
# code format.
|
568
|
+
#
|
569
|
+
# The following political views are currently supported:
|
570
|
+
#
|
571
|
+
# * `ARG`: Argentina's view on the Southern Patagonian Ice Field and
|
572
|
+
# Tierra Del Fuego, including the Falkland Islands, South Georgia,
|
573
|
+
# and South Sandwich Islands
|
574
|
+
#
|
575
|
+
# * `EGY`: Egypt's view on Bir Tawil
|
576
|
+
#
|
577
|
+
# * `IND`: India's view on Gilgit-Baltistan
|
578
|
+
#
|
579
|
+
# * `KEN`: Kenya's view on the Ilemi Triangle
|
580
|
+
#
|
581
|
+
# * `MAR`: Morocco's view on Western Sahara
|
582
|
+
#
|
583
|
+
# * `RUS`: Russia's view on Crimea
|
584
|
+
#
|
585
|
+
# * `SDN`: Sudan's view on the Halaib Triangle
|
586
|
+
#
|
587
|
+
# * `SRB`: Serbia's view on Kosovo, Vukovar, and Sarengrad Islands
|
588
|
+
#
|
589
|
+
# * `SUR`: Suriname's view on the Courantyne Headwaters and Lawa
|
590
|
+
# Headwaters
|
591
|
+
#
|
592
|
+
# * `SYR`: Syria's view on the Golan Heights
|
593
|
+
#
|
594
|
+
# * `TUR`: Turkey's view on Cyprus and Northern Cyprus
|
595
|
+
#
|
596
|
+
# * `TZA`: Tanzania's view on Lake Malawi
|
597
|
+
#
|
598
|
+
# * `URY`: Uruguay's view on Rincon de Artigas
|
599
|
+
#
|
600
|
+
# * `VNM`: Vietnam's view on the Paracel Islands and Spratly Islands
|
601
|
+
# @return [String]
|
602
|
+
#
|
603
|
+
# @!attribute [rw] points_of_interests
|
604
|
+
# Determines if the result image will display icons representing
|
605
|
+
# points of interest on the map.
|
606
|
+
# @return [String]
|
607
|
+
#
|
397
608
|
# @!attribute [rw] radius
|
398
609
|
# Used with center parameter, it specifies the zoom of the image where
|
399
610
|
# you can control it on a granular level. Takes in any value `>= 1`.
|
@@ -422,7 +633,7 @@ module Aws::GeoMaps
|
|
422
633
|
# @return [String]
|
423
634
|
#
|
424
635
|
# @!attribute [rw] style
|
425
|
-
# Style specifies the desired map style
|
636
|
+
# `Style` specifies the desired map style.
|
426
637
|
# @return [String]
|
427
638
|
#
|
428
639
|
# @!attribute [rw] width
|
@@ -443,11 +654,17 @@ module Aws::GeoMaps
|
|
443
654
|
:bounding_box,
|
444
655
|
:bounded_positions,
|
445
656
|
:center,
|
657
|
+
:color_scheme,
|
446
658
|
:compact_overlay,
|
659
|
+
:crop_labels,
|
447
660
|
:geo_json_overlay,
|
448
661
|
:height,
|
449
662
|
:key,
|
663
|
+
:label_size,
|
664
|
+
:language,
|
450
665
|
:padding,
|
666
|
+
:political_view,
|
667
|
+
:points_of_interests,
|
451
668
|
:radius,
|
452
669
|
:file_name,
|
453
670
|
:scale_bar_unit,
|
@@ -528,8 +745,6 @@ module Aws::GeoMaps
|
|
528
745
|
#
|
529
746
|
# * `MAR`: Morocco's view on Western Sahara
|
530
747
|
#
|
531
|
-
# * `PAK`: Pakistan's view on Jammu and Kashmir and the Junagadh Area
|
532
|
-
#
|
533
748
|
# * `RUS`: Russia's view on Crimea
|
534
749
|
#
|
535
750
|
# * `SDN`: Sudan's view on the Halaib Triangle
|
@@ -631,8 +846,8 @@ module Aws::GeoMaps
|
|
631
846
|
end
|
632
847
|
|
633
848
|
# @!attribute [rw] blob
|
634
|
-
# The blob represents a vector tile in `mvt`
|
635
|
-
#
|
849
|
+
# The blob represents a vector tile in `mvt` or a raster tile in an
|
850
|
+
# image format.
|
636
851
|
# @return [String]
|
637
852
|
#
|
638
853
|
# @!attribute [rw] content_type
|
@@ -698,7 +913,7 @@ module Aws::GeoMaps
|
|
698
913
|
# @return [String]
|
699
914
|
#
|
700
915
|
# @!attribute [rw] reason
|
701
|
-
# The field where
|
916
|
+
# The field where the invalid entry was detected.
|
702
917
|
# @return [String]
|
703
918
|
#
|
704
919
|
# @!attribute [rw] field_list
|
data/lib/aws-sdk-geomaps.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -120,15 +120,21 @@ module Aws
|
|
120
120
|
?bounding_box: ::String,
|
121
121
|
?bounded_positions: ::String,
|
122
122
|
?center: ::String,
|
123
|
+
?color_scheme: ("Light" | "Dark"),
|
123
124
|
?compact_overlay: ::String,
|
125
|
+
?crop_labels: bool,
|
124
126
|
?geo_json_overlay: ::String,
|
125
127
|
height: ::Integer,
|
126
128
|
?key: ::String,
|
129
|
+
?label_size: ("Small" | "Large"),
|
130
|
+
?language: ::String,
|
127
131
|
?padding: ::Integer,
|
132
|
+
?political_view: ::String,
|
133
|
+
?points_of_interests: ("Enabled" | "Disabled"),
|
128
134
|
?radius: ::Integer,
|
129
135
|
file_name: ::String,
|
130
136
|
?scale_bar_unit: ("Kilometers" | "KilometersMiles" | "Miles" | "MilesKilometers"),
|
131
|
-
?style: ("Satellite"),
|
137
|
+
?style: ("Satellite" | "Standard"),
|
132
138
|
width: ::Integer,
|
133
139
|
?zoom: ::Float
|
134
140
|
) ?{ (*untyped) -> void } -> _GetStaticMapResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -47,15 +47,21 @@ module Aws::GeoMaps
|
|
47
47
|
attr_accessor bounding_box: ::String
|
48
48
|
attr_accessor bounded_positions: ::String
|
49
49
|
attr_accessor center: ::String
|
50
|
+
attr_accessor color_scheme: ("Light" | "Dark")
|
50
51
|
attr_accessor compact_overlay: ::String
|
52
|
+
attr_accessor crop_labels: bool
|
51
53
|
attr_accessor geo_json_overlay: ::String
|
52
54
|
attr_accessor height: ::Integer
|
53
55
|
attr_accessor key: ::String
|
56
|
+
attr_accessor label_size: ("Small" | "Large")
|
57
|
+
attr_accessor language: ::String
|
54
58
|
attr_accessor padding: ::Integer
|
59
|
+
attr_accessor political_view: ::String
|
60
|
+
attr_accessor points_of_interests: ("Enabled" | "Disabled")
|
55
61
|
attr_accessor radius: ::Integer
|
56
62
|
attr_accessor file_name: ::String
|
57
63
|
attr_accessor scale_bar_unit: ("Kilometers" | "KilometersMiles" | "Miles" | "MilesKilometers")
|
58
|
-
attr_accessor style: ("Satellite")
|
64
|
+
attr_accessor style: ("Satellite" | "Standard")
|
59
65
|
attr_accessor width: ::Integer
|
60
66
|
attr_accessor zoom: ::Float
|
61
67
|
SENSITIVE: [:key]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-geomaps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.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: 2025-
|
11
|
+
date: 2025-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|