aws_sdk_sesv2/client/
delete_contact_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 [`DeleteContactList`](crate::operation::delete_contact_list::builders::DeleteContactListFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`contact_list_name(impl Into<String>)`](crate::operation::delete_contact_list::builders::DeleteContactListFluentBuilder::contact_list_name) / [`set_contact_list_name(Option<String>)`](crate::operation::delete_contact_list::builders::DeleteContactListFluentBuilder::set_contact_list_name):<br>required: **true**<br><p>The name of the contact list.</p><br>
7    /// - On success, responds with [`DeleteContactListOutput`](crate::operation::delete_contact_list::DeleteContactListOutput)
8    /// - On failure, responds with [`SdkError<DeleteContactListError>`](crate::operation::delete_contact_list::DeleteContactListError)
9    pub fn delete_contact_list(&self) -> crate::operation::delete_contact_list::builders::DeleteContactListFluentBuilder {
10        crate::operation::delete_contact_list::builders::DeleteContactListFluentBuilder::new(self.handle.clone())
11    }
12}