aws_sdk_mailmanager/client/
list_members_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 [`ListMembersOfAddressList`](crate::operation::list_members_of_address_list::builders::ListMembersOfAddressListFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_members_of_address_list::builders::ListMembersOfAddressListFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`address_list_id(impl Into<String>)`](crate::operation::list_members_of_address_list::builders::ListMembersOfAddressListFluentBuilder::address_list_id) / [`set_address_list_id(Option<String>)`](crate::operation::list_members_of_address_list::builders::ListMembersOfAddressListFluentBuilder::set_address_list_id):<br>required: **true**<br><p>The unique identifier of the address list to list the addresses from.</p><br>
8    ///   - [`filter(AddressFilter)`](crate::operation::list_members_of_address_list::builders::ListMembersOfAddressListFluentBuilder::filter) / [`set_filter(Option<AddressFilter>)`](crate::operation::list_members_of_address_list::builders::ListMembersOfAddressListFluentBuilder::set_filter):<br>required: **false**<br><p>Filter to be used to limit the results.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_members_of_address_list::builders::ListMembersOfAddressListFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_members_of_address_list::builders::ListMembersOfAddressListFluentBuilder::set_next_token):<br>required: **false**<br><p>If you received a pagination token from a previous call to this API, you can provide it here to continue paginating through the next page of results.</p><br>
10    ///   - [`page_size(i32)`](crate::operation::list_members_of_address_list::builders::ListMembersOfAddressListFluentBuilder::page_size) / [`set_page_size(Option<i32>)`](crate::operation::list_members_of_address_list::builders::ListMembersOfAddressListFluentBuilder::set_page_size):<br>required: **false**<br><p>The maximum number of address list members that are returned per call. You can use NextToken to retrieve the next page of members.</p><br>
11    /// - On success, responds with [`ListMembersOfAddressListOutput`](crate::operation::list_members_of_address_list::ListMembersOfAddressListOutput) with field(s):
12    ///   - [`addresses(Vec::<SavedAddress>)`](crate::operation::list_members_of_address_list::ListMembersOfAddressListOutput::addresses): <p>The list of addresses.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::list_members_of_address_list::ListMembersOfAddressListOutput::next_token): <p>If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.</p>
14    /// - On failure, responds with [`SdkError<ListMembersOfAddressListError>`](crate::operation::list_members_of_address_list::ListMembersOfAddressListError)
15    pub fn list_members_of_address_list(&self) -> crate::operation::list_members_of_address_list::builders::ListMembersOfAddressListFluentBuilder {
16        crate::operation::list_members_of_address_list::builders::ListMembersOfAddressListFluentBuilder::new(self.handle.clone())
17    }
18}