aws-sdk-geomaps 1.12.0 → 1.13.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 +1 -1
- data/lib/aws-sdk-geomaps/client_api.rb +7 -2
- data/lib/aws-sdk-geomaps/errors.rb +16 -0
- data/lib/aws-sdk-geomaps/types.rb +16 -3
- data/lib/aws-sdk-geomaps.rb +1 -1
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +8 -3
- 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: 0e46543b68395653d703b6743596603fdb4f5305b2af84aa2c95ae1d6f92da6b
|
4
|
+
data.tar.gz: 288a15eb1abc17713ae8faba9eaaad0d4e4123afc97c630551fd50af1da09a53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a94bbd51f7717f47a33478574737c8c56513e76c9ecd435ef1c1dc170e0f2dc009a5c246bc4071ff6c0140a26a96ecda50f41e59aa28b8e085f5bd955b5ee7c2
|
7
|
+
data.tar.gz: 9282616162b61d6fc3e357369343f9f7437f5a6bc64c5a1a236ddfb5f1a60f0a0344238f4212026a5985823c615464702eee73e6f77f3576095982fedb4bc43a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.13.0
|
@@ -43,7 +43,6 @@ module Aws::GeoMaps
|
|
43
43
|
GetTileRequestYString = Shapes::StringShape.new(name: 'GetTileRequestYString')
|
44
44
|
GetTileRequestZString = Shapes::StringShape.new(name: 'GetTileRequestZString')
|
45
45
|
GetTileResponse = Shapes::StructureShape.new(name: 'GetTileResponse')
|
46
|
-
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
47
46
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
48
47
|
LabelSize = Shapes::StringShape.new(name: 'LabelSize')
|
49
48
|
LanguageTag = Shapes::StringShape.new(name: 'LanguageTag')
|
@@ -51,7 +50,9 @@ module Aws::GeoMaps
|
|
51
50
|
MapStyle = Shapes::StringShape.new(name: 'MapStyle')
|
52
51
|
PositionListString = Shapes::StringShape.new(name: 'PositionListString')
|
53
52
|
PositionString = Shapes::StringShape.new(name: 'PositionString')
|
53
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
54
54
|
ScaleBarUnit = Shapes::StringShape.new(name: 'ScaleBarUnit')
|
55
|
+
SensitiveInteger = Shapes::IntegerShape.new(name: 'SensitiveInteger')
|
55
56
|
StaticMapStyle = Shapes::StringShape.new(name: 'StaticMapStyle')
|
56
57
|
String = Shapes::StringShape.new(name: 'String')
|
57
58
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
@@ -102,7 +103,7 @@ module Aws::GeoMaps
|
|
102
103
|
GetStaticMapRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
|
103
104
|
GetStaticMapRequest.add_member(:label_size, Shapes::ShapeRef.new(shape: LabelSize, location: "querystring", location_name: "label-size"))
|
104
105
|
GetStaticMapRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location: "querystring", location_name: "lang"))
|
105
|
-
GetStaticMapRequest.add_member(:padding, Shapes::ShapeRef.new(shape:
|
106
|
+
GetStaticMapRequest.add_member(:padding, Shapes::ShapeRef.new(shape: SensitiveInteger, location: "querystring", location_name: "padding"))
|
106
107
|
GetStaticMapRequest.add_member(:political_view, Shapes::ShapeRef.new(shape: CountryCode, location: "querystring", location_name: "political-view"))
|
107
108
|
GetStaticMapRequest.add_member(:points_of_interests, Shapes::ShapeRef.new(shape: MapFeatureMode, location: "querystring", location_name: "pois"))
|
108
109
|
GetStaticMapRequest.add_member(:radius, Shapes::ShapeRef.new(shape: DistanceMeters, location: "querystring", location_name: "radius", metadata: {"box" => true}))
|
@@ -155,6 +156,9 @@ module Aws::GeoMaps
|
|
155
156
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
156
157
|
InternalServerException.struct_class = Types::InternalServerException
|
157
158
|
|
159
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
160
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
161
|
+
|
158
162
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
159
163
|
ThrottlingException.struct_class = Types::ThrottlingException
|
160
164
|
|
@@ -231,6 +235,7 @@ module Aws::GeoMaps
|
|
231
235
|
o.input = Shapes::ShapeRef.new(shape: GetTileRequest)
|
232
236
|
o.output = Shapes::ShapeRef.new(shape: GetTileResponse)
|
233
237
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
238
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
234
239
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
235
240
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
236
241
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
@@ -29,6 +29,7 @@ module Aws::GeoMaps
|
|
29
29
|
# ## Error Classes
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {InternalServerException}
|
32
|
+
# * {ResourceNotFoundException}
|
32
33
|
# * {ThrottlingException}
|
33
34
|
# * {ValidationException}
|
34
35
|
#
|
@@ -72,6 +73,21 @@ module Aws::GeoMaps
|
|
72
73
|
end
|
73
74
|
end
|
74
75
|
|
76
|
+
class ResourceNotFoundException < ServiceError
|
77
|
+
|
78
|
+
# @param [Seahorse::Client::RequestContext] context
|
79
|
+
# @param [String] message
|
80
|
+
# @param [Aws::GeoMaps::Types::ResourceNotFoundException] data
|
81
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
82
|
+
super(context, message, data)
|
83
|
+
end
|
84
|
+
|
85
|
+
# @return [String]
|
86
|
+
def message
|
87
|
+
@message || @data[:message]
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
75
91
|
class ThrottlingException < ServiceError
|
76
92
|
|
77
93
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -671,7 +671,7 @@ module Aws::GeoMaps
|
|
671
671
|
:style,
|
672
672
|
:width,
|
673
673
|
:zoom)
|
674
|
-
SENSITIVE = [:key]
|
674
|
+
SENSITIVE = [:bounding_box, :bounded_positions, :center, :compact_overlay, :geo_json_overlay, :height, :key, :padding, :political_view, :radius, :width, :zoom]
|
675
675
|
include Aws::Structure
|
676
676
|
end
|
677
677
|
|
@@ -777,7 +777,7 @@ module Aws::GeoMaps
|
|
777
777
|
:color_scheme,
|
778
778
|
:political_view,
|
779
779
|
:key)
|
780
|
-
SENSITIVE = [:key]
|
780
|
+
SENSITIVE = [:political_view, :key]
|
781
781
|
include Aws::Structure
|
782
782
|
end
|
783
783
|
|
@@ -841,7 +841,7 @@ module Aws::GeoMaps
|
|
841
841
|
:x,
|
842
842
|
:y,
|
843
843
|
:key)
|
844
|
-
SENSITIVE = [:key]
|
844
|
+
SENSITIVE = [:z, :x, :y, :key]
|
845
845
|
include Aws::Structure
|
846
846
|
end
|
847
847
|
|
@@ -893,6 +893,19 @@ module Aws::GeoMaps
|
|
893
893
|
include Aws::Structure
|
894
894
|
end
|
895
895
|
|
896
|
+
# Exception thrown when the associated resource could not be found.
|
897
|
+
#
|
898
|
+
# @!attribute [rw] message
|
899
|
+
# @return [String]
|
900
|
+
#
|
901
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/ResourceNotFoundException AWS API Documentation
|
902
|
+
#
|
903
|
+
class ResourceNotFoundException < Struct.new(
|
904
|
+
:message)
|
905
|
+
SENSITIVE = []
|
906
|
+
include Aws::Structure
|
907
|
+
end
|
908
|
+
|
896
909
|
# The request was denied due to request throttling.
|
897
910
|
#
|
898
911
|
# @!attribute [rw] message
|
data/lib/aws-sdk-geomaps.rb
CHANGED
data/sig/errors.rbs
CHANGED
@@ -17,6 +17,9 @@ module Aws
|
|
17
17
|
class InternalServerException < ::Aws::Errors::ServiceError
|
18
18
|
def message: () -> ::String
|
19
19
|
end
|
20
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
20
23
|
class ThrottlingException < ::Aws::Errors::ServiceError
|
21
24
|
def message: () -> ::String
|
22
25
|
end
|
data/sig/types.rbs
CHANGED
@@ -64,7 +64,7 @@ module Aws::GeoMaps
|
|
64
64
|
attr_accessor style: ("Satellite" | "Standard")
|
65
65
|
attr_accessor width: ::Integer
|
66
66
|
attr_accessor zoom: ::Float
|
67
|
-
SENSITIVE: [:key]
|
67
|
+
SENSITIVE: [:bounding_box, :bounded_positions, :center, :compact_overlay, :geo_json_overlay, :height, :key, :padding, :political_view, :radius, :width, :zoom]
|
68
68
|
end
|
69
69
|
|
70
70
|
class GetStaticMapResponse
|
@@ -81,7 +81,7 @@ module Aws::GeoMaps
|
|
81
81
|
attr_accessor color_scheme: ("Light" | "Dark")
|
82
82
|
attr_accessor political_view: ::String
|
83
83
|
attr_accessor key: ::String
|
84
|
-
SENSITIVE: [:key]
|
84
|
+
SENSITIVE: [:political_view, :key]
|
85
85
|
end
|
86
86
|
|
87
87
|
class GetStyleDescriptorResponse
|
@@ -98,7 +98,7 @@ module Aws::GeoMaps
|
|
98
98
|
attr_accessor x: ::String
|
99
99
|
attr_accessor y: ::String
|
100
100
|
attr_accessor key: ::String
|
101
|
-
SENSITIVE: [:key]
|
101
|
+
SENSITIVE: [:z, :x, :y, :key]
|
102
102
|
end
|
103
103
|
|
104
104
|
class GetTileResponse
|
@@ -115,6 +115,11 @@ module Aws::GeoMaps
|
|
115
115
|
SENSITIVE: []
|
116
116
|
end
|
117
117
|
|
118
|
+
class ResourceNotFoundException
|
119
|
+
attr_accessor message: ::String
|
120
|
+
SENSITIVE: []
|
121
|
+
end
|
122
|
+
|
118
123
|
class ThrottlingException
|
119
124
|
attr_accessor message: ::String
|
120
125
|
SENSITIVE: []
|