aws_sdk_mailmanager/client/
get_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 [`GetAddressList`](crate::operation::get_address_list::builders::GetAddressListFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`address_list_id(impl Into<String>)`](crate::operation::get_address_list::builders::GetAddressListFluentBuilder::address_list_id) / [`set_address_list_id(Option<String>)`](crate::operation::get_address_list::builders::GetAddressListFluentBuilder::set_address_list_id):<br>required: **true**<br><p>The identifier of an existing address list resource to be retrieved.</p><br>
7    /// - On success, responds with [`GetAddressListOutput`](crate::operation::get_address_list::GetAddressListOutput) with field(s):
8    ///   - [`address_list_id(String)`](crate::operation::get_address_list::GetAddressListOutput::address_list_id): <p>The identifier of the address list resource.</p>
9    ///   - [`address_list_arn(String)`](crate::operation::get_address_list::GetAddressListOutput::address_list_arn): <p>The Amazon Resource Name (ARN) of the address list resource.</p>
10    ///   - [`address_list_name(String)`](crate::operation::get_address_list::GetAddressListOutput::address_list_name): <p>A user-friendly name for the address list resource.</p>
11    ///   - [`created_timestamp(DateTime)`](crate::operation::get_address_list::GetAddressListOutput::created_timestamp): <p>The date of when then address list was created.</p>
12    ///   - [`last_updated_timestamp(DateTime)`](crate::operation::get_address_list::GetAddressListOutput::last_updated_timestamp): <p>The date of when the address list was last updated.</p>
13    /// - On failure, responds with [`SdkError<GetAddressListError>`](crate::operation::get_address_list::GetAddressListError)
14    pub fn get_address_list(&self) -> crate::operation::get_address_list::builders::GetAddressListFluentBuilder {
15        crate::operation::get_address_list::builders::GetAddressListFluentBuilder::new(self.handle.clone())
16    }
17}