aws_sdk_frauddetector/client/
delete_list.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 [`DeleteList`](crate::operation::delete_list::builders::DeleteListFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::delete_list::builders::DeleteListFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_list::builders::DeleteListFluentBuilder::set_name):<br>required: **true**<br><p>The name of the list to delete.</p><br>
7    /// - On success, responds with [`DeleteListOutput`](crate::operation::delete_list::DeleteListOutput)
8    /// - On failure, responds with [`SdkError<DeleteListError>`](crate::operation::delete_list::DeleteListError)
9    pub fn delete_list(&self) -> crate::operation::delete_list::builders::DeleteListFluentBuilder {
10        crate::operation::delete_list::builders::DeleteListFluentBuilder::new(self.handle.clone())
11    }
12}