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 [`UpdatePlaceIndex`](crate::operation::update_place_index::builders::UpdatePlaceIndexFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`index_name(impl Into<String>)`](crate::operation::update_place_index::builders::UpdatePlaceIndexFluentBuilder::index_name) / [`set_index_name(Option<String>)`](crate::operation::update_place_index::builders::UpdatePlaceIndexFluentBuilder::set_index_name):<br>required: **true**<br><p>The name of the place index resource to update.</p><br>
    ///   - [`pricing_plan(PricingPlan)`](crate::operation::update_place_index::builders::UpdatePlaceIndexFluentBuilder::pricing_plan) / [`set_pricing_plan(Option<PricingPlan>)`](crate::operation::update_place_index::builders::UpdatePlaceIndexFluentBuilder::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_place_index::builders::UpdatePlaceIndexFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_place_index::builders::UpdatePlaceIndexFluentBuilder::set_description):<br>required: **false**<br><p>Updates the description for the place index resource.</p><br>
    ///   - [`data_source_configuration(DataSourceConfiguration)`](crate::operation::update_place_index::builders::UpdatePlaceIndexFluentBuilder::data_source_configuration) / [`set_data_source_configuration(Option<DataSourceConfiguration>)`](crate::operation::update_place_index::builders::UpdatePlaceIndexFluentBuilder::set_data_source_configuration):<br>required: **false**<br><p>Updates the data storage option for the place index resource.</p><br>
    /// - On success, responds with [`UpdatePlaceIndexOutput`](crate::operation::update_place_index::UpdatePlaceIndexOutput) with field(s):
    ///   - [`index_name(String)`](crate::operation::update_place_index::UpdatePlaceIndexOutput::index_name): <p>The name of the updated place index resource.</p>
    ///   - [`index_arn(String)`](crate::operation::update_place_index::UpdatePlaceIndexOutput::index_arn): <p>The Amazon Resource Name (ARN) of the upated place index resource. Used to specify a resource across Amazon Web Services.</p> <ul>  <li>   <p>Format example: <code>arn:aws:geo:region:account-id:place- index/ExamplePlaceIndex</code></p></li> </ul>
    ///   - [`update_time(DateTime)`](crate::operation::update_place_index::UpdatePlaceIndexOutput::update_time): <p>The timestamp for when the place index 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<UpdatePlaceIndexError>`](crate::operation::update_place_index::UpdatePlaceIndexError)
    pub fn update_place_index(&self) -> crate::operation::update_place_index::builders::UpdatePlaceIndexFluentBuilder {
        crate::operation::update_place_index::builders::UpdatePlaceIndexFluentBuilder::new(self.handle.clone())
    }
}