aws_sdk_location/client/batch_put_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 [`BatchPutGeofence`](crate::operation::batch_put_geofence::builders::BatchPutGeofenceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`collection_name(impl Into<String>)`](crate::operation::batch_put_geofence::builders::BatchPutGeofenceFluentBuilder::collection_name) / [`set_collection_name(Option<String>)`](crate::operation::batch_put_geofence::builders::BatchPutGeofenceFluentBuilder::set_collection_name):<br>required: **true**<br><p>The geofence collection storing the geofences.</p><br>
7 /// - [`entries(BatchPutGeofenceRequestEntry)`](crate::operation::batch_put_geofence::builders::BatchPutGeofenceFluentBuilder::entries) / [`set_entries(Option<Vec::<BatchPutGeofenceRequestEntry>>)`](crate::operation::batch_put_geofence::builders::BatchPutGeofenceFluentBuilder::set_entries):<br>required: **true**<br><p>The batch of geofences to be stored in a geofence collection.</p><br>
8 /// - On success, responds with [`BatchPutGeofenceOutput`](crate::operation::batch_put_geofence::BatchPutGeofenceOutput) with field(s):
9 /// - [`successes(Vec::<BatchPutGeofenceSuccess>)`](crate::operation::batch_put_geofence::BatchPutGeofenceOutput::successes): <p>Contains each geofence that was successfully stored in a geofence collection.</p>
10 /// - [`errors(Vec::<BatchPutGeofenceError>)`](crate::operation::batch_put_geofence::BatchPutGeofenceOutput::errors): <p>Contains additional error details for each geofence that failed to be stored in a geofence collection.</p>
11 /// - On failure, responds with [`SdkError<BatchPutGeofenceError>`](crate::operation::batch_put_geofence::BatchPutGeofenceError)
12 pub fn batch_put_geofence(&self) -> crate::operation::batch_put_geofence::builders::BatchPutGeofenceFluentBuilder {
13 crate::operation::batch_put_geofence::builders::BatchPutGeofenceFluentBuilder::new(self.handle.clone())
14 }
15}