1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetMapSprites`](crate::operation::get_map_sprites::builders::GetMapSpritesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`map_name(impl Into<String>)`](crate::operation::get_map_sprites::builders::GetMapSpritesFluentBuilder::map_name) / [`set_map_name(Option<String>)`](crate::operation::get_map_sprites::builders::GetMapSpritesFluentBuilder::set_map_name):<br>required: **true**<br><p>The map resource associated with the sprite file.</p><br>
    ///   - [`file_name(impl Into<String>)`](crate::operation::get_map_sprites::builders::GetMapSpritesFluentBuilder::file_name) / [`set_file_name(Option<String>)`](crate::operation::get_map_sprites::builders::GetMapSpritesFluentBuilder::set_file_name):<br>required: **true**<br><p>The name of the sprite file. Use the following file names for the sprite sheet:</p> <ul>  <li>   <p><code>sprites.png</code></p></li>  <li>   <p><code>sprites@2x.png</code> for high pixel density displays</p></li> </ul> <p>For the JSON document containing image offsets. Use the following file names:</p> <ul>  <li>   <p><code>sprites.json</code></p></li>  <li>   <p><code>sprites@2x.json</code> for high pixel density displays</p></li> </ul><br>
    ///   - [`key(impl Into<String>)`](crate::operation::get_map_sprites::builders::GetMapSpritesFluentBuilder::key) / [`set_key(Option<String>)`](crate::operation::get_map_sprites::builders::GetMapSpritesFluentBuilder::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 [`GetMapSpritesOutput`](crate::operation::get_map_sprites::GetMapSpritesOutput) with field(s):
    ///   - [`blob(Option<Blob>)`](crate::operation::get_map_sprites::GetMapSpritesOutput::blob): <p>Contains the body of the sprite sheet or JSON offset file.</p>
    ///   - [`content_type(Option<String>)`](crate::operation::get_map_sprites::GetMapSpritesOutput::content_type): <p>The content type of the sprite sheet and offsets. For example, the sprite sheet content type is <code>image/png</code>, and the sprite offset JSON document is <code>application/json</code>.</p>
    ///   - [`cache_control(Option<String>)`](crate::operation::get_map_sprites::GetMapSpritesOutput::cache_control): <p>The HTTP Cache-Control directive for the value.</p>
    /// - On failure, responds with [`SdkError<GetMapSpritesError>`](crate::operation::get_map_sprites::GetMapSpritesError)
    pub fn get_map_sprites(&self) -> crate::operation::get_map_sprites::builders::GetMapSpritesFluentBuilder {
        crate::operation::get_map_sprites::builders::GetMapSpritesFluentBuilder::new(self.handle.clone())
    }
}