aws-sdk-location 1.103.0

AWS SDK for Amazon Location Service
Documentation
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 [`UpdateGeofenceCollection`](crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`collection_name(impl Into<String>)`](crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder::collection_name) / [`set_collection_name(Option<String>)`](crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder::set_collection_name):<br>required: **true**<br><p>The name of the geofence collection to update.</p><br>
    ///   - [`pricing_plan(PricingPlan)`](crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder::pricing_plan) / [`set_pricing_plan(Option<PricingPlan>)`](crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder::set_pricing_plan):<br>required: **false**<br><p>No longer used. If included, the only allowed value is <code>RequestBasedUsage</code>.</p><br>
    ///   - [`pricing_plan_data_source(impl Into<String>)`](crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder::pricing_plan_data_source) / [`set_pricing_plan_data_source(Option<String>)`](crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder::set_pricing_plan_data_source):<br>required: **false**<br><p>This parameter is no longer used.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder::set_description):<br>required: **false**<br><p>Updates the description for the geofence collection.</p><br>
    /// - On success, responds with [`UpdateGeofenceCollectionOutput`](crate::operation::update_geofence_collection::UpdateGeofenceCollectionOutput) with field(s):
    ///   - [`collection_name(String)`](crate::operation::update_geofence_collection::UpdateGeofenceCollectionOutput::collection_name): <p>The name of the updated geofence collection.</p>
    ///   - [`collection_arn(String)`](crate::operation::update_geofence_collection::UpdateGeofenceCollectionOutput::collection_arn): <p>The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across Amazon Web Services.</p> <ul>  <li>   <p>Format example: <code>arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection</code></p></li> </ul>
    ///   - [`update_time(DateTime)`](crate::operation::update_geofence_collection::UpdateGeofenceCollectionOutput::update_time): <p>The time when the geofence collection 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<UpdateGeofenceCollectionError>`](crate::operation::update_geofence_collection::UpdateGeofenceCollectionError)
    pub fn update_geofence_collection(&self) -> crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder {
        crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder::new(self.handle.clone())
    }
}