aws_sdk_gamelift/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_name(impl Into<String>)`](crate::operation::delete_location::builders::DeleteLocationFluentBuilder::location_name) / [`set_location_name(Option<String>)`](crate::operation::delete_location::builders::DeleteLocationFluentBuilder::set_location_name):<br>required: **true**<br><p>The location name of the custom location to be deleted.</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}