1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListAccountLinks`](crate::operation::list_account_links::builders::ListAccountLinksFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_account_links::builders::ListAccountLinksFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`link_status_filter(AccountLinkStatusEnum)`](crate::operation::list_account_links::builders::ListAccountLinksFluentBuilder::link_status_filter) / [`set_link_status_filter(Option<Vec::<AccountLinkStatusEnum>>)`](crate::operation::list_account_links::builders::ListAccountLinksFluentBuilder::set_link_status_filter):<br>required: **false**<br><p>Filters the account based on their link status.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_account_links::builders::ListAccountLinksFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_account_links::builders::ListAccountLinksFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_account_links::builders::ListAccountLinksFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_account_links::builders::ListAccountLinksFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of accounts to return.</p><br>
    /// - On success, responds with [`ListAccountLinksOutput`](crate::operation::list_account_links::ListAccountLinksOutput) with field(s):
    ///   - [`account_links(Option<Vec::<AccountLink>>)`](crate::operation::list_account_links::ListAccountLinksOutput::account_links): <p>Information about the account links.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_account_links::ListAccountLinksOutput::next_token): <p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>
    /// - On failure, responds with [`SdkError<ListAccountLinksError>`](crate::operation::list_account_links::ListAccountLinksError)
    pub fn list_account_links(&self) -> crate::operation::list_account_links::builders::ListAccountLinksFluentBuilder {
        crate::operation::list_account_links::builders::ListAccountLinksFluentBuilder::new(self.handle.clone())
    }
}