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 [`ListAdminAccountsForOrganization`](crate::operation::list_admin_accounts_for_organization::builders::ListAdminAccountsForOrganizationFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_admin_accounts_for_organization::builders::ListAdminAccountsForOrganizationFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_admin_accounts_for_organization::builders::ListAdminAccountsForOrganizationFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_admin_accounts_for_organization::builders::ListAdminAccountsForOrganizationFluentBuilder::set_next_token):<br>required: **false**<br><p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_admin_accounts_for_organization::builders::ListAdminAccountsForOrganizationFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_admin_accounts_for_organization::builders::ListAdminAccountsForOrganizationFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p><br>
    /// - On success, responds with [`ListAdminAccountsForOrganizationOutput`](crate::operation::list_admin_accounts_for_organization::ListAdminAccountsForOrganizationOutput) with field(s):
    ///   - [`admin_accounts(Option<Vec::<AdminAccountSummary>>)`](crate::operation::list_admin_accounts_for_organization::ListAdminAccountsForOrganizationOutput::admin_accounts): <p>A list of Firewall Manager administrator accounts within the organization that were onboarded as administrators by <code>AssociateAdminAccount</code> or <code>PutAdminAccount</code>.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_admin_accounts_for_organization::ListAdminAccountsForOrganizationOutput::next_token): <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a <code>NextToken</code> value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.</p>
    /// - On failure, responds with [`SdkError<ListAdminAccountsForOrganizationError>`](crate::operation::list_admin_accounts_for_organization::ListAdminAccountsForOrganizationError)
    pub fn list_admin_accounts_for_organization(
        &self,
    ) -> crate::operation::list_admin_accounts_for_organization::builders::ListAdminAccountsForOrganizationFluentBuilder {
        crate::operation::list_admin_accounts_for_organization::builders::ListAdminAccountsForOrganizationFluentBuilder::new(self.handle.clone())
    }
}