aws_sdk_mailmanager/client/
get_member_of_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 [`GetMemberOfAddressList`](crate::operation::get_member_of_address_list::builders::GetMemberOfAddressListFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`address_list_id(impl Into<String>)`](crate::operation::get_member_of_address_list::builders::GetMemberOfAddressListFluentBuilder::address_list_id) / [`set_address_list_id(Option<String>)`](crate::operation::get_member_of_address_list::builders::GetMemberOfAddressListFluentBuilder::set_address_list_id):<br>required: **true**<br><p>The unique identifier of the address list to retrieve the address from.</p><br>
7    ///   - [`address(impl Into<String>)`](crate::operation::get_member_of_address_list::builders::GetMemberOfAddressListFluentBuilder::address) / [`set_address(Option<String>)`](crate::operation::get_member_of_address_list::builders::GetMemberOfAddressListFluentBuilder::set_address):<br>required: **true**<br><p>The address to be retrieved from the address list.</p><br>
8    /// - On success, responds with [`GetMemberOfAddressListOutput`](crate::operation::get_member_of_address_list::GetMemberOfAddressListOutput) with field(s):
9    ///   - [`address(String)`](crate::operation::get_member_of_address_list::GetMemberOfAddressListOutput::address): <p>The address retrieved from the address list.</p>
10    ///   - [`created_timestamp(DateTime)`](crate::operation::get_member_of_address_list::GetMemberOfAddressListOutput::created_timestamp): <p>The timestamp of when the address was created.</p>
11    /// - On failure, responds with [`SdkError<GetMemberOfAddressListError>`](crate::operation::get_member_of_address_list::GetMemberOfAddressListError)
12    pub fn get_member_of_address_list(&self) -> crate::operation::get_member_of_address_list::builders::GetMemberOfAddressListFluentBuilder {
13        crate::operation::get_member_of_address_list::builders::GetMemberOfAddressListFluentBuilder::new(self.handle.clone())
14    }
15}