aws_sdk_mailmanager/client/
delete_address_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 [`DeleteAddressList`](crate::operation::delete_address_list::builders::DeleteAddressListFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`address_list_id(impl Into<String>)`](crate::operation::delete_address_list::builders::DeleteAddressListFluentBuilder::address_list_id) / [`set_address_list_id(Option<String>)`](crate::operation::delete_address_list::builders::DeleteAddressListFluentBuilder::set_address_list_id):<br>required: **true**<br><p>The identifier of an existing address list resource to delete.</p><br>
7    /// - On success, responds with [`DeleteAddressListOutput`](crate::operation::delete_address_list::DeleteAddressListOutput)
8    /// - On failure, responds with [`SdkError<DeleteAddressListError>`](crate::operation::delete_address_list::DeleteAddressListError)
9    pub fn delete_address_list(&self) -> crate::operation::delete_address_list::builders::DeleteAddressListFluentBuilder {
10        crate::operation::delete_address_list::builders::DeleteAddressListFluentBuilder::new(self.handle.clone())
11    }
12}