aws-sdk-geomaps 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-geomaps/client.rb +1070 -0
- data/lib/aws-sdk-geomaps/client_api.rb +231 -0
- data/lib/aws-sdk-geomaps/customizations.rb +0 -0
- data/lib/aws-sdk-geomaps/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-geomaps/endpoint_provider.rb +78 -0
- data/lib/aws-sdk-geomaps/endpoints.rb +20 -0
- data/lib/aws-sdk-geomaps/errors.rb +120 -0
- data/lib/aws-sdk-geomaps/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-geomaps/resource.rb +26 -0
- data/lib/aws-sdk-geomaps/types.rb +740 -0
- data/lib/aws-sdk-geomaps.rb +61 -0
- data/sig/client.rbs +171 -0
- data/sig/errors.rbs +30 -0
- data/sig/resource.rbs +82 -0
- data/sig/types.rbs +130 -0
- data/sig/waiters.rbs +13 -0
- metadata +99 -0
@@ -0,0 +1,740 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::GeoMaps
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# The request was denied because of insufficient access or permissions.
|
14
|
+
# Check with an administrator to verify your permissions.
|
15
|
+
#
|
16
|
+
# @!attribute [rw] message
|
17
|
+
# @return [String]
|
18
|
+
#
|
19
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/AccessDeniedException AWS API Documentation
|
20
|
+
#
|
21
|
+
class AccessDeniedException < Struct.new(
|
22
|
+
:message)
|
23
|
+
SENSITIVE = []
|
24
|
+
include Aws::Structure
|
25
|
+
end
|
26
|
+
|
27
|
+
# @!attribute [rw] font_stack
|
28
|
+
# Name of the `FontStack` to retrieve.
|
29
|
+
#
|
30
|
+
# Example: `Amazon Ember Bold,Noto Sans Bold`.
|
31
|
+
#
|
32
|
+
# The supported font stacks are as follows:
|
33
|
+
#
|
34
|
+
# * Amazon Ember Bold
|
35
|
+
#
|
36
|
+
# * Amazon Ember Bold Italic
|
37
|
+
#
|
38
|
+
# * Amazon Ember Bold,Noto Sans Bold
|
39
|
+
#
|
40
|
+
# * Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold
|
41
|
+
#
|
42
|
+
# * Amazon Ember Condensed RC BdItalic
|
43
|
+
#
|
44
|
+
# * Amazon Ember Condensed RC Bold
|
45
|
+
#
|
46
|
+
# * Amazon Ember Condensed RC Bold Italic
|
47
|
+
#
|
48
|
+
# * Amazon Ember Condensed RC Bold,Noto Sans Bold
|
49
|
+
#
|
50
|
+
# * Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic
|
51
|
+
# Condensed Bold
|
52
|
+
#
|
53
|
+
# * Amazon Ember Condensed RC Light
|
54
|
+
#
|
55
|
+
# * Amazon Ember Condensed RC Light Italic
|
56
|
+
#
|
57
|
+
# * Amazon Ember Condensed RC LtItalic
|
58
|
+
#
|
59
|
+
# * Amazon Ember Condensed RC Regular
|
60
|
+
#
|
61
|
+
# * Amazon Ember Condensed RC Regular Italic
|
62
|
+
#
|
63
|
+
# * Amazon Ember Condensed RC Regular,Noto Sans Regular
|
64
|
+
#
|
65
|
+
# * Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans
|
66
|
+
# Arabic Condensed Regular
|
67
|
+
#
|
68
|
+
# * Amazon Ember Condensed RC RgItalic
|
69
|
+
#
|
70
|
+
# * Amazon Ember Condensed RC ThItalic
|
71
|
+
#
|
72
|
+
# * Amazon Ember Condensed RC Thin
|
73
|
+
#
|
74
|
+
# * Amazon Ember Condensed RC Thin Italic
|
75
|
+
#
|
76
|
+
# * Amazon Ember Heavy
|
77
|
+
#
|
78
|
+
# * Amazon Ember Heavy Italic
|
79
|
+
#
|
80
|
+
# * Amazon Ember Light
|
81
|
+
#
|
82
|
+
# * Amazon Ember Light Italic
|
83
|
+
#
|
84
|
+
# * Amazon Ember Medium
|
85
|
+
#
|
86
|
+
# * Amazon Ember Medium Italic
|
87
|
+
#
|
88
|
+
# * Amazon Ember Medium,Noto Sans Medium
|
89
|
+
#
|
90
|
+
# * Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium
|
91
|
+
#
|
92
|
+
# * Amazon Ember Regular
|
93
|
+
#
|
94
|
+
# * Amazon Ember Regular Italic
|
95
|
+
#
|
96
|
+
# * Amazon Ember Regular Italic,Noto Sans Italic
|
97
|
+
#
|
98
|
+
# * Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic
|
99
|
+
# Regular
|
100
|
+
#
|
101
|
+
# * Amazon Ember Regular,Noto Sans Regular
|
102
|
+
#
|
103
|
+
# * Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular
|
104
|
+
#
|
105
|
+
# * Amazon Ember Thin
|
106
|
+
#
|
107
|
+
# * Amazon Ember Thin Italic
|
108
|
+
#
|
109
|
+
# * AmazonEmberCdRC\_Bd
|
110
|
+
#
|
111
|
+
# * AmazonEmberCdRC\_BdIt
|
112
|
+
#
|
113
|
+
# * AmazonEmberCdRC\_Lt
|
114
|
+
#
|
115
|
+
# * AmazonEmberCdRC\_LtIt
|
116
|
+
#
|
117
|
+
# * AmazonEmberCdRC\_Rg
|
118
|
+
#
|
119
|
+
# * AmazonEmberCdRC\_RgIt
|
120
|
+
#
|
121
|
+
# * AmazonEmberCdRC\_Th
|
122
|
+
#
|
123
|
+
# * AmazonEmberCdRC\_ThIt
|
124
|
+
#
|
125
|
+
# * AmazonEmber\_Bd
|
126
|
+
#
|
127
|
+
# * AmazonEmber\_BdIt
|
128
|
+
#
|
129
|
+
# * AmazonEmber\_He
|
130
|
+
#
|
131
|
+
# * AmazonEmber\_HeIt
|
132
|
+
#
|
133
|
+
# * AmazonEmber\_Lt
|
134
|
+
#
|
135
|
+
# * AmazonEmber\_LtIt
|
136
|
+
#
|
137
|
+
# * AmazonEmber\_Md
|
138
|
+
#
|
139
|
+
# * AmazonEmber\_MdIt
|
140
|
+
#
|
141
|
+
# * AmazonEmber\_Rg
|
142
|
+
#
|
143
|
+
# * AmazonEmber\_RgIt
|
144
|
+
#
|
145
|
+
# * AmazonEmber\_Th
|
146
|
+
#
|
147
|
+
# * AmazonEmber\_ThIt
|
148
|
+
#
|
149
|
+
# * Noto Sans Black
|
150
|
+
#
|
151
|
+
# * Noto Sans Black Italic
|
152
|
+
#
|
153
|
+
# * Noto Sans Bold
|
154
|
+
#
|
155
|
+
# * Noto Sans Bold Italic
|
156
|
+
#
|
157
|
+
# * Noto Sans Extra Bold
|
158
|
+
#
|
159
|
+
# * Noto Sans Extra Bold Italic
|
160
|
+
#
|
161
|
+
# * Noto Sans Extra Light
|
162
|
+
#
|
163
|
+
# * Noto Sans Extra Light Italic
|
164
|
+
#
|
165
|
+
# * Noto Sans Italic
|
166
|
+
#
|
167
|
+
# * Noto Sans Light
|
168
|
+
#
|
169
|
+
# * Noto Sans Light Italic
|
170
|
+
#
|
171
|
+
# * Noto Sans Medium
|
172
|
+
#
|
173
|
+
# * Noto Sans Medium Italic
|
174
|
+
#
|
175
|
+
# * Noto Sans Regular
|
176
|
+
#
|
177
|
+
# * Noto Sans Semi Bold
|
178
|
+
#
|
179
|
+
# * Noto Sans Semi Bold Italic
|
180
|
+
#
|
181
|
+
# * Noto Sans Thin
|
182
|
+
#
|
183
|
+
# * Noto Sans Thin Italic
|
184
|
+
#
|
185
|
+
# * NotoSans-Bold
|
186
|
+
#
|
187
|
+
# * NotoSans-Italic
|
188
|
+
#
|
189
|
+
# * NotoSans-Medium
|
190
|
+
#
|
191
|
+
# * NotoSans-Regular
|
192
|
+
#
|
193
|
+
# * Open Sans Regular,Arial Unicode MS Regular
|
194
|
+
# @return [String]
|
195
|
+
#
|
196
|
+
# @!attribute [rw] font_unicode_range
|
197
|
+
# A Unicode range of characters to download glyphs for. This must be
|
198
|
+
# aligned to multiples of 256.
|
199
|
+
#
|
200
|
+
# Example: `0-255.pdf`
|
201
|
+
# @return [String]
|
202
|
+
#
|
203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/GetGlyphsRequest AWS API Documentation
|
204
|
+
#
|
205
|
+
class GetGlyphsRequest < Struct.new(
|
206
|
+
:font_stack,
|
207
|
+
:font_unicode_range)
|
208
|
+
SENSITIVE = []
|
209
|
+
include Aws::Structure
|
210
|
+
end
|
211
|
+
|
212
|
+
# @!attribute [rw] blob
|
213
|
+
# The Glyph, as a binary blob.
|
214
|
+
# @return [String]
|
215
|
+
#
|
216
|
+
# @!attribute [rw] content_type
|
217
|
+
# Header that represents the format of the response. The response
|
218
|
+
# returns the following as the HTTP body.
|
219
|
+
# @return [String]
|
220
|
+
#
|
221
|
+
# @!attribute [rw] cache_control
|
222
|
+
# Header that instructs caching configuration for the client.
|
223
|
+
# @return [String]
|
224
|
+
#
|
225
|
+
# @!attribute [rw] etag
|
226
|
+
# The glyph's Etag.
|
227
|
+
# @return [String]
|
228
|
+
#
|
229
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/GetGlyphsResponse AWS API Documentation
|
230
|
+
#
|
231
|
+
class GetGlyphsResponse < Struct.new(
|
232
|
+
:blob,
|
233
|
+
:content_type,
|
234
|
+
:cache_control,
|
235
|
+
:etag)
|
236
|
+
SENSITIVE = []
|
237
|
+
include Aws::Structure
|
238
|
+
end
|
239
|
+
|
240
|
+
# @!attribute [rw] file_name
|
241
|
+
# `Sprites` API: The name of the sprite file to retrieve, following
|
242
|
+
# pattern `sprites(@2x)?\.(png|json)`.
|
243
|
+
#
|
244
|
+
# Example: `sprites.png`
|
245
|
+
# @return [String]
|
246
|
+
#
|
247
|
+
# @!attribute [rw] style
|
248
|
+
# Style specifies the desired map style for the `Sprites` APIs.
|
249
|
+
# @return [String]
|
250
|
+
#
|
251
|
+
# @!attribute [rw] color_scheme
|
252
|
+
# Sets color tone for map such as dark and light for specific map
|
253
|
+
# styles. It applies to only vector map styles such as Standard and
|
254
|
+
# Monochrome.
|
255
|
+
#
|
256
|
+
# Example: `Light`
|
257
|
+
#
|
258
|
+
# Default value: `Light`
|
259
|
+
#
|
260
|
+
# <note markdown="1"> Valid values for ColorScheme are case sensitive.
|
261
|
+
#
|
262
|
+
# </note>
|
263
|
+
# @return [String]
|
264
|
+
#
|
265
|
+
# @!attribute [rw] variant
|
266
|
+
# Optimizes map styles for specific use case or industry. You can
|
267
|
+
# choose allowed variant only with Standard map style.
|
268
|
+
#
|
269
|
+
# Example: `Default`
|
270
|
+
#
|
271
|
+
# <note markdown="1"> Valid values for Variant are case sensitive.
|
272
|
+
#
|
273
|
+
# </note>
|
274
|
+
# @return [String]
|
275
|
+
#
|
276
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/GetSpritesRequest AWS API Documentation
|
277
|
+
#
|
278
|
+
class GetSpritesRequest < Struct.new(
|
279
|
+
:file_name,
|
280
|
+
:style,
|
281
|
+
:color_scheme,
|
282
|
+
:variant)
|
283
|
+
SENSITIVE = []
|
284
|
+
include Aws::Structure
|
285
|
+
end
|
286
|
+
|
287
|
+
# @!attribute [rw] blob
|
288
|
+
# The body of the sprite sheet or JSON offset file (image/png or
|
289
|
+
# application/json, depending on input).
|
290
|
+
# @return [String]
|
291
|
+
#
|
292
|
+
# @!attribute [rw] content_type
|
293
|
+
# Header that represents the format of the response. The response
|
294
|
+
# returns the following as the HTTP body.
|
295
|
+
# @return [String]
|
296
|
+
#
|
297
|
+
# @!attribute [rw] cache_control
|
298
|
+
# Header that instructs caching configuration for the client.
|
299
|
+
# @return [String]
|
300
|
+
#
|
301
|
+
# @!attribute [rw] etag
|
302
|
+
# The sprite's Etag.
|
303
|
+
# @return [String]
|
304
|
+
#
|
305
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/GetSpritesResponse AWS API Documentation
|
306
|
+
#
|
307
|
+
class GetSpritesResponse < Struct.new(
|
308
|
+
:blob,
|
309
|
+
:content_type,
|
310
|
+
:cache_control,
|
311
|
+
:etag)
|
312
|
+
SENSITIVE = []
|
313
|
+
include Aws::Structure
|
314
|
+
end
|
315
|
+
|
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.
|
320
|
+
#
|
321
|
+
# Example: -123.17075,49.26959,-123.08125,49.31429
|
322
|
+
# @return [String]
|
323
|
+
#
|
324
|
+
# @!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.
|
328
|
+
#
|
329
|
+
# <note markdown="1"> Cannot be used with `Zoom` and or `Radius`
|
330
|
+
#
|
331
|
+
# </note>
|
332
|
+
#
|
333
|
+
# Example: 97.170451,78.039098,99.045536,27.176178
|
334
|
+
# @return [String]
|
335
|
+
#
|
336
|
+
# @!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.
|
340
|
+
#
|
341
|
+
# <note markdown="1"> Cannot be used with `Zoom` and or `Radius`
|
342
|
+
#
|
343
|
+
# </note>
|
344
|
+
#
|
345
|
+
# Example: 49.295,-123.108
|
346
|
+
# @return [String]
|
347
|
+
#
|
348
|
+
# @!attribute [rw] compact_overlay
|
349
|
+
# Takes in a string to draw geometries on the image. The input is a
|
350
|
+
# comma separated format as follows format: `[Lon, Lat]`
|
351
|
+
#
|
352
|
+
# Example:
|
353
|
+
# `line:-122.407653,37.798557,-122.413291,37.802443;color=%23DD0000;width=7;outline-color=#00DD00;outline-width=5yd|point:-122.40572,37.80004;label=Fog
|
354
|
+
# Hill Market;size=large;text-color=%23DD0000;color=#EE4B2B`
|
355
|
+
#
|
356
|
+
# <note markdown="1"> Currently it supports the following geometry types: point, line and
|
357
|
+
# polygon. It does not support multiPoint , multiLine and
|
358
|
+
# multiPolgyon.
|
359
|
+
#
|
360
|
+
# </note>
|
361
|
+
# @return [String]
|
362
|
+
#
|
363
|
+
# @!attribute [rw] geo_json_overlay
|
364
|
+
# Takes in a string to draw geometries on the image. The input is a
|
365
|
+
# valid GeoJSON collection object.
|
366
|
+
#
|
367
|
+
# Example: `\{"type":"FeatureCollection","features":
|
368
|
+
# [\{"type":"Feature","geometry":\{"type":"MultiPoint","coordinates":
|
369
|
+
# [[-90.076345,51.504107],[-0.074451,51.506892]]\},"properties":
|
370
|
+
# \{"color":"#00DD00"\}\}]\}`
|
371
|
+
# @return [String]
|
372
|
+
#
|
373
|
+
# @!attribute [rw] height
|
374
|
+
# Specifies the height of the map image.
|
375
|
+
# @return [Integer]
|
376
|
+
#
|
377
|
+
# @!attribute [rw] key
|
378
|
+
# Optional: The API key to be used for authorization. Either an API
|
379
|
+
# key or valid SigV4 signature must be provided when making a request.
|
380
|
+
# @return [String]
|
381
|
+
#
|
382
|
+
# @!attribute [rw] padding
|
383
|
+
# Applies additional space (in pixels) around overlay feature to
|
384
|
+
# prevent them from being cut or obscured.
|
385
|
+
#
|
386
|
+
# <note markdown="1"> Value for max and min is determined by:
|
387
|
+
#
|
388
|
+
# Min: `1`
|
389
|
+
#
|
390
|
+
# Max: `min(height, width)/4`
|
391
|
+
#
|
392
|
+
# </note>
|
393
|
+
#
|
394
|
+
# Example: `100`
|
395
|
+
# @return [Integer]
|
396
|
+
#
|
397
|
+
# @!attribute [rw] radius
|
398
|
+
# Used with center parameter, it specifies the zoom of the image where
|
399
|
+
# you can control it on a granular level. Takes in any value `>= 1`.
|
400
|
+
#
|
401
|
+
# Example: `1500`
|
402
|
+
#
|
403
|
+
# <note markdown="1"> Cannot be used with `Zoom`.
|
404
|
+
#
|
405
|
+
# </note>
|
406
|
+
#
|
407
|
+
# **Unit**: `Meters`
|
408
|
+
# @return [Integer]
|
409
|
+
#
|
410
|
+
# @!attribute [rw] file_name
|
411
|
+
# The map scaling parameter to size the image, icons, and labels. It
|
412
|
+
# follows the pattern of `^map(@2x)?$`.
|
413
|
+
#
|
414
|
+
# Example: `map, map@2x`
|
415
|
+
# @return [String]
|
416
|
+
#
|
417
|
+
# @!attribute [rw] scale_bar_unit
|
418
|
+
# Displays a scale on the bottom right of the map image with the unit
|
419
|
+
# specified in the input.
|
420
|
+
#
|
421
|
+
# Example: `KilometersMiles, Miles, Kilometers, MilesKilometers`
|
422
|
+
# @return [String]
|
423
|
+
#
|
424
|
+
# @!attribute [rw] style
|
425
|
+
# Style specifies the desired map style for the `Style` APIs.
|
426
|
+
# @return [String]
|
427
|
+
#
|
428
|
+
# @!attribute [rw] width
|
429
|
+
# Specifies the width of the map image.
|
430
|
+
# @return [Integer]
|
431
|
+
#
|
432
|
+
# @!attribute [rw] zoom
|
433
|
+
# Specifies the zoom level of the map image.
|
434
|
+
#
|
435
|
+
# <note markdown="1"> Cannot be used with `Radius`.
|
436
|
+
#
|
437
|
+
# </note>
|
438
|
+
# @return [Float]
|
439
|
+
#
|
440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/GetStaticMapRequest AWS API Documentation
|
441
|
+
#
|
442
|
+
class GetStaticMapRequest < Struct.new(
|
443
|
+
:bounding_box,
|
444
|
+
:bounded_positions,
|
445
|
+
:center,
|
446
|
+
:compact_overlay,
|
447
|
+
:geo_json_overlay,
|
448
|
+
:height,
|
449
|
+
:key,
|
450
|
+
:padding,
|
451
|
+
:radius,
|
452
|
+
:file_name,
|
453
|
+
:scale_bar_unit,
|
454
|
+
:style,
|
455
|
+
:width,
|
456
|
+
:zoom)
|
457
|
+
SENSITIVE = [:key]
|
458
|
+
include Aws::Structure
|
459
|
+
end
|
460
|
+
|
461
|
+
# @!attribute [rw] blob
|
462
|
+
# The blob represents a map image as a `jpeg` for the `GetStaticMap`
|
463
|
+
# API.
|
464
|
+
# @return [String]
|
465
|
+
#
|
466
|
+
# @!attribute [rw] content_type
|
467
|
+
# Header that represents the format of the response. The response
|
468
|
+
# returns the following as the HTTP body.
|
469
|
+
# @return [String]
|
470
|
+
#
|
471
|
+
# @!attribute [rw] cache_control
|
472
|
+
# Header that instructs caching configuration for the client.
|
473
|
+
# @return [String]
|
474
|
+
#
|
475
|
+
# @!attribute [rw] etag
|
476
|
+
# The static map's Etag.
|
477
|
+
# @return [String]
|
478
|
+
#
|
479
|
+
# @!attribute [rw] pricing_bucket
|
480
|
+
# The pricing bucket for which the request is charged at.
|
481
|
+
# @return [String]
|
482
|
+
#
|
483
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/GetStaticMapResponse AWS API Documentation
|
484
|
+
#
|
485
|
+
class GetStaticMapResponse < Struct.new(
|
486
|
+
:blob,
|
487
|
+
:content_type,
|
488
|
+
:cache_control,
|
489
|
+
:etag,
|
490
|
+
:pricing_bucket)
|
491
|
+
SENSITIVE = []
|
492
|
+
include Aws::Structure
|
493
|
+
end
|
494
|
+
|
495
|
+
# @!attribute [rw] style
|
496
|
+
# Style specifies the desired map style.
|
497
|
+
# @return [String]
|
498
|
+
#
|
499
|
+
# @!attribute [rw] color_scheme
|
500
|
+
# Sets color tone for map such as dark and light for specific map
|
501
|
+
# styles. It applies to only vector map styles such as Standard and
|
502
|
+
# Monochrome.
|
503
|
+
#
|
504
|
+
# Example: `Light`
|
505
|
+
#
|
506
|
+
# Default value: `Light`
|
507
|
+
#
|
508
|
+
# <note markdown="1"> Valid values for ColorScheme are case sensitive.
|
509
|
+
#
|
510
|
+
# </note>
|
511
|
+
# @return [String]
|
512
|
+
#
|
513
|
+
# @!attribute [rw] political_view
|
514
|
+
# Specifies the political view using ISO 3166-2 or ISO 3166-3 country
|
515
|
+
# code format.
|
516
|
+
#
|
517
|
+
# The following political views are currently supported:
|
518
|
+
#
|
519
|
+
# * `ARG`: Argentina's view on the Southern Patagonian Ice Field and
|
520
|
+
# Tierra Del Fuego, including the Falkland Islands, South Georgia,
|
521
|
+
# and South Sandwich Islands
|
522
|
+
#
|
523
|
+
# * `EGY`: Egypt's view on Bir Tawil
|
524
|
+
#
|
525
|
+
# * `IND`: India's view on Gilgit-Baltistan
|
526
|
+
#
|
527
|
+
# * `KEN`: Kenya's view on the Ilemi Triangle
|
528
|
+
#
|
529
|
+
# * `MAR`: Morocco's view on Western Sahara
|
530
|
+
#
|
531
|
+
# * `PAK`: Pakistan's view on Jammu and Kashmir and the Junagadh Area
|
532
|
+
#
|
533
|
+
# * `RUS`: Russia's view on Crimea
|
534
|
+
#
|
535
|
+
# * `SDN`: Sudan's view on the Halaib Triangle
|
536
|
+
#
|
537
|
+
# * `SRB`: Serbia's view on Kosovo, Vukovar, and Sarengrad Islands
|
538
|
+
#
|
539
|
+
# * `SUR`: Suriname's view on the Courantyne Headwaters and Lawa
|
540
|
+
# Headwaters
|
541
|
+
#
|
542
|
+
# * `SYR`: Syria's view on the Golan Heights
|
543
|
+
#
|
544
|
+
# * `TUR`: Turkey's view on Cyprus and Northern Cyprus
|
545
|
+
#
|
546
|
+
# * `TZA`: Tanzania's view on Lake Malawi
|
547
|
+
#
|
548
|
+
# * `URY`: Uruguay's view on Rincon de Artigas
|
549
|
+
#
|
550
|
+
# * `VNM`: Vietnam's view on the Paracel Islands and Spratly Islands
|
551
|
+
# @return [String]
|
552
|
+
#
|
553
|
+
# @!attribute [rw] key
|
554
|
+
# Optional: The API key to be used for authorization. Either an API
|
555
|
+
# key or valid SigV4 signature must be provided when making a request.
|
556
|
+
# @return [String]
|
557
|
+
#
|
558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/GetStyleDescriptorRequest AWS API Documentation
|
559
|
+
#
|
560
|
+
class GetStyleDescriptorRequest < Struct.new(
|
561
|
+
:style,
|
562
|
+
:color_scheme,
|
563
|
+
:political_view,
|
564
|
+
:key)
|
565
|
+
SENSITIVE = [:key]
|
566
|
+
include Aws::Structure
|
567
|
+
end
|
568
|
+
|
569
|
+
# @!attribute [rw] blob
|
570
|
+
# This Blob contains the body of the style descriptor which is in
|
571
|
+
# application/json format.
|
572
|
+
# @return [String]
|
573
|
+
#
|
574
|
+
# @!attribute [rw] content_type
|
575
|
+
# Header that represents the format of the response. The response
|
576
|
+
# returns the following as the HTTP body.
|
577
|
+
# @return [String]
|
578
|
+
#
|
579
|
+
# @!attribute [rw] cache_control
|
580
|
+
# Header that instructs caching configuration for the client.
|
581
|
+
# @return [String]
|
582
|
+
#
|
583
|
+
# @!attribute [rw] etag
|
584
|
+
# The style descriptor's Etag.
|
585
|
+
# @return [String]
|
586
|
+
#
|
587
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/GetStyleDescriptorResponse AWS API Documentation
|
588
|
+
#
|
589
|
+
class GetStyleDescriptorResponse < Struct.new(
|
590
|
+
:blob,
|
591
|
+
:content_type,
|
592
|
+
:cache_control,
|
593
|
+
:etag)
|
594
|
+
SENSITIVE = []
|
595
|
+
include Aws::Structure
|
596
|
+
end
|
597
|
+
|
598
|
+
# @!attribute [rw] tileset
|
599
|
+
# Specifies the desired tile set.
|
600
|
+
#
|
601
|
+
# Valid Values: `raster.satellite | vector.basemap`
|
602
|
+
# @return [String]
|
603
|
+
#
|
604
|
+
# @!attribute [rw] z
|
605
|
+
# The zoom value for the map tile.
|
606
|
+
# @return [String]
|
607
|
+
#
|
608
|
+
# @!attribute [rw] x
|
609
|
+
# The X axis value for the map tile. Must be between 0 and 19.
|
610
|
+
# @return [String]
|
611
|
+
#
|
612
|
+
# @!attribute [rw] y
|
613
|
+
# The Y axis value for the map tile.
|
614
|
+
# @return [String]
|
615
|
+
#
|
616
|
+
# @!attribute [rw] key
|
617
|
+
# Optional: The API key to be used for authorization. Either an API
|
618
|
+
# key or valid SigV4 signature must be provided when making a request.
|
619
|
+
# @return [String]
|
620
|
+
#
|
621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/GetTileRequest AWS API Documentation
|
622
|
+
#
|
623
|
+
class GetTileRequest < Struct.new(
|
624
|
+
:tileset,
|
625
|
+
:z,
|
626
|
+
:x,
|
627
|
+
:y,
|
628
|
+
:key)
|
629
|
+
SENSITIVE = [:key]
|
630
|
+
include Aws::Structure
|
631
|
+
end
|
632
|
+
|
633
|
+
# @!attribute [rw] blob
|
634
|
+
# The blob represents a vector tile in `mvt` format for the `GetTile`
|
635
|
+
# API.
|
636
|
+
# @return [String]
|
637
|
+
#
|
638
|
+
# @!attribute [rw] content_type
|
639
|
+
# Header that represents the format of the response. The response
|
640
|
+
# returns the following as the HTTP body.
|
641
|
+
# @return [String]
|
642
|
+
#
|
643
|
+
# @!attribute [rw] cache_control
|
644
|
+
# Header that instructs caching configuration for the client.
|
645
|
+
# @return [String]
|
646
|
+
#
|
647
|
+
# @!attribute [rw] etag
|
648
|
+
# The pricing bucket for which the request is charged at.
|
649
|
+
# @return [String]
|
650
|
+
#
|
651
|
+
# @!attribute [rw] pricing_bucket
|
652
|
+
# The pricing bucket for which the request is charged at.
|
653
|
+
# @return [String]
|
654
|
+
#
|
655
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/GetTileResponse AWS API Documentation
|
656
|
+
#
|
657
|
+
class GetTileResponse < Struct.new(
|
658
|
+
:blob,
|
659
|
+
:content_type,
|
660
|
+
:cache_control,
|
661
|
+
:etag,
|
662
|
+
:pricing_bucket)
|
663
|
+
SENSITIVE = []
|
664
|
+
include Aws::Structure
|
665
|
+
end
|
666
|
+
|
667
|
+
# The request processing has failed because of an unknown error,
|
668
|
+
# exception or failure.
|
669
|
+
#
|
670
|
+
# @!attribute [rw] message
|
671
|
+
# @return [String]
|
672
|
+
#
|
673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/InternalServerException AWS API Documentation
|
674
|
+
#
|
675
|
+
class InternalServerException < Struct.new(
|
676
|
+
:message)
|
677
|
+
SENSITIVE = []
|
678
|
+
include Aws::Structure
|
679
|
+
end
|
680
|
+
|
681
|
+
# The request was denied due to request throttling.
|
682
|
+
#
|
683
|
+
# @!attribute [rw] message
|
684
|
+
# @return [String]
|
685
|
+
#
|
686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/ThrottlingException AWS API Documentation
|
687
|
+
#
|
688
|
+
class ThrottlingException < Struct.new(
|
689
|
+
:message)
|
690
|
+
SENSITIVE = []
|
691
|
+
include Aws::Structure
|
692
|
+
end
|
693
|
+
|
694
|
+
# The input fails to satisfy the constraints specified by an AWS
|
695
|
+
# service.
|
696
|
+
#
|
697
|
+
# @!attribute [rw] message
|
698
|
+
# @return [String]
|
699
|
+
#
|
700
|
+
# @!attribute [rw] reason
|
701
|
+
# The field where thebb invalid entry was detected.
|
702
|
+
# @return [String]
|
703
|
+
#
|
704
|
+
# @!attribute [rw] field_list
|
705
|
+
# A message with the reason for the validation exception error.
|
706
|
+
# @return [Array<Types::ValidationExceptionField>]
|
707
|
+
#
|
708
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/ValidationException AWS API Documentation
|
709
|
+
#
|
710
|
+
class ValidationException < Struct.new(
|
711
|
+
:message,
|
712
|
+
:reason,
|
713
|
+
:field_list)
|
714
|
+
SENSITIVE = []
|
715
|
+
include Aws::Structure
|
716
|
+
end
|
717
|
+
|
718
|
+
# The input fails to satisfy the constraints specified by the Amazon
|
719
|
+
# Location service.
|
720
|
+
#
|
721
|
+
# @!attribute [rw] name
|
722
|
+
# The name of the resource.
|
723
|
+
# @return [String]
|
724
|
+
#
|
725
|
+
# @!attribute [rw] message
|
726
|
+
# The error message.
|
727
|
+
# @return [String]
|
728
|
+
#
|
729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-maps-2020-11-19/ValidationExceptionField AWS API Documentation
|
730
|
+
#
|
731
|
+
class ValidationExceptionField < Struct.new(
|
732
|
+
:name,
|
733
|
+
:message)
|
734
|
+
SENSITIVE = []
|
735
|
+
include Aws::Structure
|
736
|
+
end
|
737
|
+
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|