aws_sdk_location/client/
update_geofence_collection.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateGeofenceCollection`](crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    ///   - [`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>
9    ///   - [`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>
10    /// - On success, responds with [`UpdateGeofenceCollectionOutput`](crate::operation::update_geofence_collection::UpdateGeofenceCollectionOutput) with field(s):
11    ///   - [`collection_name(String)`](crate::operation::update_geofence_collection::UpdateGeofenceCollectionOutput::collection_name): <p>The name of the updated geofence collection.</p>
12    ///   - [`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>
13    ///   - [`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>
14    /// - On failure, responds with [`SdkError<UpdateGeofenceCollectionError>`](crate::operation::update_geofence_collection::UpdateGeofenceCollectionError)
15    pub fn update_geofence_collection(&self) -> crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder {
16        crate::operation::update_geofence_collection::builders::UpdateGeofenceCollectionFluentBuilder::new(self.handle.clone())
17    }
18}