1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetContactList`](crate::operation::get_contact_list::builders::GetContactListFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`contact_list_name(impl Into<String>)`](crate::operation::get_contact_list::builders::GetContactListFluentBuilder::contact_list_name) / [`set_contact_list_name(Option<String>)`](crate::operation::get_contact_list::builders::GetContactListFluentBuilder::set_contact_list_name):<br>required: **true**<br><p>The name of the contact list.</p><br>
    /// - On success, responds with [`GetContactListOutput`](crate::operation::get_contact_list::GetContactListOutput) with field(s):
    ///   - [`contact_list_name(Option<String>)`](crate::operation::get_contact_list::GetContactListOutput::contact_list_name): <p>The name of the contact list.</p>
    ///   - [`topics(Option<Vec::<Topic>>)`](crate::operation::get_contact_list::GetContactListOutput::topics): <p>An interest group, theme, or label within a list. A contact list can have multiple topics.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_contact_list::GetContactListOutput::description): <p>A description of what the contact list is about.</p>
    ///   - [`created_timestamp(Option<DateTime>)`](crate::operation::get_contact_list::GetContactListOutput::created_timestamp): <p>A timestamp noting when the contact list was created.</p>
    ///   - [`last_updated_timestamp(Option<DateTime>)`](crate::operation::get_contact_list::GetContactListOutput::last_updated_timestamp): <p>A timestamp noting the last time the contact list was updated.</p>
    ///   - [`tags(Option<Vec::<Tag>>)`](crate::operation::get_contact_list::GetContactListOutput::tags): <p>The tags associated with a contact list.</p>
    /// - On failure, responds with [`SdkError<GetContactListError>`](crate::operation::get_contact_list::GetContactListError)
    pub fn get_contact_list(&self) -> crate::operation::get_contact_list::builders::GetContactListFluentBuilder {
        crate::operation::get_contact_list::builders::GetContactListFluentBuilder::new(self.handle.clone())
    }
}