aws_sdk_location/client/delete_place_index.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 [`DeletePlaceIndex`](crate::operation::delete_place_index::builders::DeletePlaceIndexFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`index_name(impl Into<String>)`](crate::operation::delete_place_index::builders::DeletePlaceIndexFluentBuilder::index_name) / [`set_index_name(Option<String>)`](crate::operation::delete_place_index::builders::DeletePlaceIndexFluentBuilder::set_index_name):<br>required: **true**<br><p>The name of the place index resource to be deleted.</p><br>
7 /// - On success, responds with [`DeletePlaceIndexOutput`](crate::operation::delete_place_index::DeletePlaceIndexOutput)
8 /// - On failure, responds with [`SdkError<DeletePlaceIndexError>`](crate::operation::delete_place_index::DeletePlaceIndexError)
9 pub fn delete_place_index(&self) -> crate::operation::delete_place_index::builders::DeletePlaceIndexFluentBuilder {
10 crate::operation::delete_place_index::builders::DeletePlaceIndexFluentBuilder::new(self.handle.clone())
11 }
12}