1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetMapGlyphs`](crate::operation::get_map_glyphs::builders::GetMapGlyphsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`map_name(impl Into<String>)`](crate::operation::get_map_glyphs::builders::GetMapGlyphsFluentBuilder::map_name) / [`set_map_name(Option<String>)`](crate::operation::get_map_glyphs::builders::GetMapGlyphsFluentBuilder::set_map_name):<br>required: **true**<br><p>The map resource associated with the glyph file.</p><br>
    ///   - [`font_stack(impl Into<String>)`](crate::operation::get_map_glyphs::builders::GetMapGlyphsFluentBuilder::font_stack) / [`set_font_stack(Option<String>)`](crate::operation::get_map_glyphs::builders::GetMapGlyphsFluentBuilder::set_font_stack):<br>required: **true**<br><p>A comma-separated list of fonts to load glyphs from in order of preference. For example, <code>Noto Sans Regular, Arial Unicode</code>.</p> <p>Valid font stacks for <a href="https://docs.aws.amazon.com/location/latest/developerguide/esri.html">Esri</a> styles:</p> <ul>  <li>   <p>VectorEsriDarkGrayCanvas – <code>Ubuntu Medium Italic</code> | <code>Ubuntu Medium</code> | <code>Ubuntu Italic</code> | <code>Ubuntu Regular</code> | <code>Ubuntu Bold</code></p></li>  <li>   <p>VectorEsriLightGrayCanvas – <code>Ubuntu Italic</code> | <code>Ubuntu Regular</code> | <code>Ubuntu Light</code> | <code>Ubuntu Bold</code></p></li>  <li>   <p>VectorEsriTopographic – <code>Noto Sans Italic</code> | <code>Noto Sans Regular</code> | <code>Noto Sans Bold</code> | <code>Noto Serif Regular</code> | <code>Roboto Condensed Light Italic</code></p></li>  <li>   <p>VectorEsriStreets – <code>Arial Regular</code> | <code>Arial Italic</code> | <code>Arial Bold</code></p></li>  <li>   <p>VectorEsriNavigation – <code>Arial Regular</code> | <code>Arial Italic</code> | <code>Arial Bold</code></p></li> </ul> <p>Valid font stacks for <a href="https://docs.aws.amazon.com/location/latest/developerguide/HERE.html">HERE Technologies</a> styles:</p> <ul>  <li>   <p>VectorHereContrast – <code>Fira GO Regular</code> | <code>Fira GO Bold</code></p></li>  <li>   <p>VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite – <code>Fira GO Italic</code> | <code>Fira GO Map</code> | <code>Fira GO Map Bold</code> | <code>Noto Sans CJK JP Bold</code> | <code>Noto Sans CJK JP Light</code> | <code>Noto Sans CJK JP Regular</code></p></li> </ul> <p>Valid font stacks for <a href="https://docs.aws.amazon.com/location/latest/developerguide/grab.html">GrabMaps</a> styles:</p> <ul>  <li>   <p>VectorGrabStandardLight, VectorGrabStandardDark – <code>Noto Sans Regular</code> | <code>Noto Sans Medium</code> | <code>Noto Sans Bold</code></p></li> </ul> <p>Valid font stacks for <a href="https://docs.aws.amazon.com/location/latest/developerguide/open-data.html">Open Data</a> styles:</p> <ul>  <li>   <p>VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, VectorOpenDataVisualizationDark – <code>Amazon Ember Regular,Noto Sans Regular</code> | <code>Amazon Ember Bold,Noto Sans Bold</code> | <code>Amazon Ember Medium,Noto Sans Medium</code> | <code>Amazon Ember Regular Italic,Noto Sans Italic</code> | <code>Amazon Ember Condensed RC Regular,Noto Sans Regular</code> | <code>Amazon Ember Condensed RC Bold,Noto Sans Bold</code> | <code>Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular</code> | <code>Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold</code> | <code>Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold</code> | <code>Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular</code> | <code>Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular</code> | <code>Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium</code></p></li> </ul><note>  <p>The fonts used by the Open Data map styles are combined fonts that use <code>Amazon Ember</code> for most glyphs but <code>Noto Sans</code> for glyphs unsupported by <code>Amazon Ember</code>.</p> </note><br>
    ///   - [`font_unicode_range(impl Into<String>)`](crate::operation::get_map_glyphs::builders::GetMapGlyphsFluentBuilder::font_unicode_range) / [`set_font_unicode_range(Option<String>)`](crate::operation::get_map_glyphs::builders::GetMapGlyphsFluentBuilder::set_font_unicode_range):<br>required: **true**<br><p>A Unicode range of characters to download glyphs for. Each response will contain 256 characters. For example, 0–255 includes all characters from range <code>U+0000</code> to <code>00FF</code>. Must be aligned to multiples of 256.</p><br>
    ///   - [`key(impl Into<String>)`](crate::operation::get_map_glyphs::builders::GetMapGlyphsFluentBuilder::key) / [`set_key(Option<String>)`](crate::operation::get_map_glyphs::builders::GetMapGlyphsFluentBuilder::set_key):<br>required: **false**<br><p>The optional <a href="https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html">API key</a> to authorize the request.</p><br>
    /// - On success, responds with [`GetMapGlyphsOutput`](crate::operation::get_map_glyphs::GetMapGlyphsOutput) with field(s):
    ///   - [`blob(Option<Blob>)`](crate::operation::get_map_glyphs::GetMapGlyphsOutput::blob): <p>The glyph, as binary blob.</p>
    ///   - [`content_type(Option<String>)`](crate::operation::get_map_glyphs::GetMapGlyphsOutput::content_type): <p>The map glyph content type. For example, <code>application/octet-stream</code>.</p>
    ///   - [`cache_control(Option<String>)`](crate::operation::get_map_glyphs::GetMapGlyphsOutput::cache_control): <p>The HTTP Cache-Control directive for the value.</p>
    /// - On failure, responds with [`SdkError<GetMapGlyphsError>`](crate::operation::get_map_glyphs::GetMapGlyphsError)
    pub fn get_map_glyphs(&self) -> crate::operation::get_map_glyphs::builders::GetMapGlyphsFluentBuilder {
        crate::operation::get_map_glyphs::builders::GetMapGlyphsFluentBuilder::new(self.handle.clone())
    }
}