aws_sdk_location/client/
batch_delete_geofence.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 [`BatchDeleteGeofence`](crate::operation::batch_delete_geofence::builders::BatchDeleteGeofenceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`collection_name(impl Into<String>)`](crate::operation::batch_delete_geofence::builders::BatchDeleteGeofenceFluentBuilder::collection_name) / [`set_collection_name(Option<String>)`](crate::operation::batch_delete_geofence::builders::BatchDeleteGeofenceFluentBuilder::set_collection_name):<br>required: **true**<br><p>The geofence collection storing the geofences to be deleted.</p><br>
7    ///   - [`geofence_ids(impl Into<String>)`](crate::operation::batch_delete_geofence::builders::BatchDeleteGeofenceFluentBuilder::geofence_ids) / [`set_geofence_ids(Option<Vec::<String>>)`](crate::operation::batch_delete_geofence::builders::BatchDeleteGeofenceFluentBuilder::set_geofence_ids):<br>required: **true**<br><p>The batch of geofences to be deleted.</p><br>
8    /// - On success, responds with [`BatchDeleteGeofenceOutput`](crate::operation::batch_delete_geofence::BatchDeleteGeofenceOutput) with field(s):
9    ///   - [`errors(Vec::<BatchDeleteGeofenceError>)`](crate::operation::batch_delete_geofence::BatchDeleteGeofenceOutput::errors): <p>Contains error details for each geofence that failed to delete.</p>
10    /// - On failure, responds with [`SdkError<BatchDeleteGeofenceError>`](crate::operation::batch_delete_geofence::BatchDeleteGeofenceError)
11    pub fn batch_delete_geofence(&self) -> crate::operation::batch_delete_geofence::builders::BatchDeleteGeofenceFluentBuilder {
12        crate::operation::batch_delete_geofence::builders::BatchDeleteGeofenceFluentBuilder::new(self.handle.clone())
13    }
14}