|
150 | 150 | "traits": { |
151 | 151 | "smithy.api#documentation": "<p>A Unicode range of characters to download glyphs for. This must be aligned to multiples of 256. </p> <p>Example: <code>0-255.pbf</code> </p>", |
152 | 152 | "smithy.api#httpLabel": {}, |
| 153 | + "smithy.api#length": { |
| 154 | + "max": 50 |
| 155 | + }, |
153 | 156 | "smithy.api#pattern": "^[0-9]+-[0-9]+\\.pbf$", |
154 | 157 | "smithy.api#required": {} |
155 | 158 | } |
|
366 | 369 | "target": "com.amazonaws.geomaps#PositionListString", |
367 | 370 | "traits": { |
368 | 371 | "smithy.api#documentation": "<p>Takes in two pairs of coordinates in World Geodetic System (WGS 84) format: [longitude, latitude], denoting south-westerly and north-easterly edges of the image. The underlying area becomes the view of the image. </p> <p>Example: -123.17075,49.26959,-123.08125,49.31429</p>", |
369 | | - "smithy.api#httpQuery": "bounding-box" |
| 372 | + "smithy.api#httpQuery": "bounding-box", |
| 373 | + "smithy.api#length": { |
| 374 | + "max": 100 |
| 375 | + } |
370 | 376 | } |
371 | 377 | }, |
372 | 378 | "BoundedPositions": { |
373 | 379 | "target": "com.amazonaws.geomaps#PositionListString", |
374 | 380 | "traits": { |
375 | 381 | "smithy.api#documentation": "<p>Takes in two or more pair of coordinates in World Geodetic System (WGS 84) format: [longitude, latitude], with each coordinate separated by a comma. The API will generate an image to encompass all of the provided coordinates. </p> <note> <p>Cannot be used with <code>Zoom</code> and or <code>Radius</code> </p> </note> <p>Example: 97.170451,78.039098,99.045536,27.176178</p>", |
376 | | - "smithy.api#httpQuery": "bounded-positions" |
| 382 | + "smithy.api#httpQuery": "bounded-positions", |
| 383 | + "smithy.api#length": { |
| 384 | + "max": 2000 |
| 385 | + } |
377 | 386 | } |
378 | 387 | }, |
379 | 388 | "Center": { |
|
448 | 457 | "target": "com.amazonaws.geomaps#SensitiveInteger", |
449 | 458 | "traits": { |
450 | 459 | "smithy.api#documentation": "<p>Applies additional space (in pixels) around overlay feature to prevent them from being cut or obscured.</p> <note> <p>Value for max and min is determined by:</p> <p>Min: <code>1</code> </p> <p>Max: <code>min(height, width)/4</code> </p> </note> <p>Example: <code>100</code> </p>", |
451 | | - "smithy.api#httpQuery": "padding" |
| 460 | + "smithy.api#httpQuery": "padding", |
| 461 | + "smithy.api#range": { |
| 462 | + "min": 0, |
| 463 | + "max": 350 |
| 464 | + } |
452 | 465 | } |
453 | 466 | }, |
454 | 467 | "PoliticalView": { |
|
758 | 771 | "com.amazonaws.geomaps#GetTileRequest": { |
759 | 772 | "type": "structure", |
760 | 773 | "members": { |
| 774 | + "AdditionalFeatures": { |
| 775 | + "target": "com.amazonaws.geomaps#TileAdditionalFeatureList", |
| 776 | + "traits": { |
| 777 | + "smithy.api#documentation": "<p>A list of optional additional parameters such as map styles that can be requested for each result.</p>", |
| 778 | + "smithy.api#httpQuery": "additional-features" |
| 779 | + } |
| 780 | + }, |
761 | 781 | "Tileset": { |
762 | 782 | "target": "com.amazonaws.geomaps#Tileset", |
763 | 783 | "traits": { |
|
771 | 791 | "traits": { |
772 | 792 | "smithy.api#documentation": "<p>The zoom value for the map tile.</p>", |
773 | 793 | "smithy.api#httpLabel": {}, |
| 794 | + "smithy.api#length": { |
| 795 | + "max": 2 |
| 796 | + }, |
774 | 797 | "smithy.api#pattern": "\\d+", |
775 | 798 | "smithy.api#required": {} |
776 | 799 | } |
|
780 | 803 | "traits": { |
781 | 804 | "smithy.api#documentation": "<p>The X axis value for the map tile. Must be between 0 and 19.</p>", |
782 | 805 | "smithy.api#httpLabel": {}, |
| 806 | + "smithy.api#length": { |
| 807 | + "max": 7 |
| 808 | + }, |
783 | 809 | "smithy.api#pattern": "\\d+", |
784 | 810 | "smithy.api#required": {} |
785 | 811 | } |
|
789 | 815 | "traits": { |
790 | 816 | "smithy.api#documentation": "<p>The Y axis value for the map tile.</p>", |
791 | 817 | "smithy.api#httpLabel": {}, |
| 818 | + "smithy.api#length": { |
| 819 | + "max": 7 |
| 820 | + }, |
792 | 821 | "smithy.api#pattern": "\\d+", |
793 | 822 | "smithy.api#required": {} |
794 | 823 | } |
|
2030 | 2059 | "type": "string", |
2031 | 2060 | "traits": { |
2032 | 2061 | "smithy.api#length": { |
2033 | | - "min": 7 |
| 2062 | + "min": 7, |
| 2063 | + "max": 7000 |
2034 | 2064 | }, |
2035 | 2065 | "smithy.api#pattern": "^(-?\\d{1,3}(\\.\\d{1,14})?,-?\\d{1,2}(\\.\\d{1,14})?)(,(-?\\d{1,3}(\\.\\d{1,14})?,-?\\d{1,2}(\\.\\d{1,14})?))*$", |
2036 | 2066 | "smithy.api#sensitive": {} |
|
2169 | 2199 | "smithy.api#retryable": {} |
2170 | 2200 | } |
2171 | 2201 | }, |
| 2202 | + "com.amazonaws.geomaps#TileAdditionalFeature": { |
| 2203 | + "type": "string", |
| 2204 | + "traits": { |
| 2205 | + "smithy.api#enum": [ |
| 2206 | + { |
| 2207 | + "name": "CONTOUR_LINES", |
| 2208 | + "value": "ContourLines", |
| 2209 | + "documentation": "Map elevation contour lines." |
| 2210 | + }, |
| 2211 | + { |
| 2212 | + "name": "HILLSHADE", |
| 2213 | + "value": "Hillshade", |
| 2214 | + "documentation": "Map hillshading details for shading elevation changes." |
| 2215 | + }, |
| 2216 | + { |
| 2217 | + "name": "LOGISTICS", |
| 2218 | + "value": "Logistics", |
| 2219 | + "documentation": "Map logistics details, including advanced pois and road networks." |
| 2220 | + }, |
| 2221 | + { |
| 2222 | + "name": "TRANSIT", |
| 2223 | + "value": "Transit", |
| 2224 | + "documentation": "Map transit details." |
| 2225 | + } |
| 2226 | + ] |
| 2227 | + } |
| 2228 | + }, |
| 2229 | + "com.amazonaws.geomaps#TileAdditionalFeatureList": { |
| 2230 | + "type": "list", |
| 2231 | + "member": { |
| 2232 | + "target": "com.amazonaws.geomaps#TileAdditionalFeature" |
| 2233 | + }, |
| 2234 | + "traits": { |
| 2235 | + "smithy.api#length": { |
| 2236 | + "max": 4 |
| 2237 | + }, |
| 2238 | + "smithy.api#uniqueItems": {} |
| 2239 | + } |
| 2240 | + }, |
2172 | 2241 | "com.amazonaws.geomaps#Tileset": { |
2173 | 2242 | "type": "string", |
2174 | 2243 | "traits": { |
|
2211 | 2280 | "target": "com.amazonaws.geomaps#TravelMode" |
2212 | 2281 | }, |
2213 | 2282 | "traits": { |
| 2283 | + "smithy.api#length": { |
| 2284 | + "max": 2 |
| 2285 | + }, |
2214 | 2286 | "smithy.api#uniqueItems": {} |
2215 | 2287 | } |
2216 | 2288 | }, |
|
0 commit comments