aws_sdk_datasync/client/delete_location.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 [`DeleteLocation`](crate::operation::delete_location::builders::DeleteLocationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`location_arn(impl Into<String>)`](crate::operation::delete_location::builders::DeleteLocationFluentBuilder::location_arn) / [`set_location_arn(Option<String>)`](crate::operation::delete_location::builders::DeleteLocationFluentBuilder::set_location_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the location to delete.</p><br>
7 /// - On success, responds with [`DeleteLocationOutput`](crate::operation::delete_location::DeleteLocationOutput)
8 /// - On failure, responds with [`SdkError<DeleteLocationError>`](crate::operation::delete_location::DeleteLocationError)
9 pub fn delete_location(&self) -> crate::operation::delete_location::builders::DeleteLocationFluentBuilder {
10 crate::operation::delete_location::builders::DeleteLocationFluentBuilder::new(self.handle.clone())
11 }
12}