aws_sdk_mailmanager/client/
deregister_member_from_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 [`DeregisterMemberFromAddressList`](crate::operation::deregister_member_from_address_list::builders::DeregisterMemberFromAddressListFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`address_list_id(impl Into<String>)`](crate::operation::deregister_member_from_address_list::builders::DeregisterMemberFromAddressListFluentBuilder::address_list_id) / [`set_address_list_id(Option<String>)`](crate::operation::deregister_member_from_address_list::builders::DeregisterMemberFromAddressListFluentBuilder::set_address_list_id):<br>required: **true**<br><p>The unique identifier of the address list to remove the address from.</p><br>
7    ///   - [`address(impl Into<String>)`](crate::operation::deregister_member_from_address_list::builders::DeregisterMemberFromAddressListFluentBuilder::address) / [`set_address(Option<String>)`](crate::operation::deregister_member_from_address_list::builders::DeregisterMemberFromAddressListFluentBuilder::set_address):<br>required: **true**<br><p>The address to be removed from the address list.</p><br>
8    /// - On success, responds with [`DeregisterMemberFromAddressListOutput`](crate::operation::deregister_member_from_address_list::DeregisterMemberFromAddressListOutput)
9    /// - On failure, responds with [`SdkError<DeregisterMemberFromAddressListError>`](crate::operation::deregister_member_from_address_list::DeregisterMemberFromAddressListError)
10    pub fn deregister_member_from_address_list(
11        &self,
12    ) -> crate::operation::deregister_member_from_address_list::builders::DeregisterMemberFromAddressListFluentBuilder {
13        crate::operation::deregister_member_from_address_list::builders::DeregisterMemberFromAddressListFluentBuilder::new(self.handle.clone())
14    }
15}