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 [`UpdateMap`](crate::operation::update_map::builders::UpdateMapFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`map_name(impl Into<String>)`](crate::operation::update_map::builders::UpdateMapFluentBuilder::map_name) / [`set_map_name(Option<String>)`](crate::operation::update_map::builders::UpdateMapFluentBuilder::set_map_name):<br>required: **true**<br><p>The name of the map resource to update.</p><br>
    ///   - [`pricing_plan(PricingPlan)`](crate::operation::update_map::builders::UpdateMapFluentBuilder::pricing_plan) / [`set_pricing_plan(Option<PricingPlan>)`](crate::operation::update_map::builders::UpdateMapFluentBuilder::set_pricing_plan):<br>required: **false**<br><p>No longer used. If included, the only allowed value is <code>RequestBasedUsage</code>.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_map::builders::UpdateMapFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_map::builders::UpdateMapFluentBuilder::set_description):<br>required: **false**<br><p>Updates the description for the map resource.</p><br>
    ///   - [`configuration_update(MapConfigurationUpdate)`](crate::operation::update_map::builders::UpdateMapFluentBuilder::configuration_update) / [`set_configuration_update(Option<MapConfigurationUpdate>)`](crate::operation::update_map::builders::UpdateMapFluentBuilder::set_configuration_update):<br>required: **false**<br><p>Updates the parts of the map configuration that can be updated, including the political view.</p><br>
    /// - On success, responds with [`UpdateMapOutput`](crate::operation::update_map::UpdateMapOutput) with field(s):
    ///   - [`map_name(String)`](crate::operation::update_map::UpdateMapOutput::map_name): <p>The name of the updated map resource.</p>
    ///   - [`map_arn(String)`](crate::operation::update_map::UpdateMapOutput::map_arn): <p>The Amazon Resource Name (ARN) of the updated map resource. Used to specify a resource across AWS.</p> <ul>  <li>   <p>Format example: <code>arn:aws:geo:region:account-id:map/ExampleMap</code></p></li> </ul>
    ///   - [`update_time(DateTime)`](crate::operation::update_map::UpdateMapOutput::update_time): <p>The timestamp for when the map resource was last updated in <a href="https://www.iso.org/iso-8601-date-and-time-format.html"> ISO 8601</a> format: <code>YYYY-MM-DDThh:mm:ss.sssZ</code>.</p>
    /// - On failure, responds with [`SdkError<UpdateMapError>`](crate::operation::update_map::UpdateMapError)
    pub fn update_map(&self) -> crate::operation::update_map::builders::UpdateMapFluentBuilder {
        crate::operation::update_map::builders::UpdateMapFluentBuilder::new(self.handle.clone())
    }
}