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