aws_sdk_macie2/client/
list_automated_discovery_accounts.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListAutomatedDiscoveryAccounts`](crate::operation::list_automated_discovery_accounts::builders::ListAutomatedDiscoveryAccountsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_automated_discovery_accounts::builders::ListAutomatedDiscoveryAccountsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_ids(impl Into<String>)`](crate::operation::list_automated_discovery_accounts::builders::ListAutomatedDiscoveryAccountsFluentBuilder::account_ids) / [`set_account_ids(Option<Vec::<String>>)`](crate::operation::list_automated_discovery_accounts::builders::ListAutomatedDiscoveryAccountsFluentBuilder::set_account_ids):<br>required: **false**<br><p>The Amazon Web Services account ID for each account, for as many as 50 accounts. To retrieve the status for multiple accounts, append the accountIds parameter and argument for each account, separated by an ampersand (&amp;). To retrieve the status for all the accounts in an organization, omit this parameter.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_automated_discovery_accounts::builders::ListAutomatedDiscoveryAccountsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_automated_discovery_accounts::builders::ListAutomatedDiscoveryAccountsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to include in each page of a paginated response.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_automated_discovery_accounts::builders::ListAutomatedDiscoveryAccountsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_automated_discovery_accounts::builders::ListAutomatedDiscoveryAccountsFluentBuilder::set_next_token):<br>required: **false**<br><p>The nextToken string that specifies which page of results to return in a paginated response.</p><br>
    /// - On success, responds with [`ListAutomatedDiscoveryAccountsOutput`](crate::operation::list_automated_discovery_accounts::ListAutomatedDiscoveryAccountsOutput) with field(s):
    ///   - [`items(Option<Vec::<AutomatedDiscoveryAccount>>)`](crate::operation::list_automated_discovery_accounts::ListAutomatedDiscoveryAccountsOutput::items): <p>An array of objects, one for each account specified in the request. Each object specifies the Amazon Web Services account ID for an account and the current status of automated sensitive data discovery for that account.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_automated_discovery_accounts::ListAutomatedDiscoveryAccountsOutput::next_token): <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
    /// - On failure, responds with [`SdkError<ListAutomatedDiscoveryAccountsError>`](crate::operation::list_automated_discovery_accounts::ListAutomatedDiscoveryAccountsError)
    pub fn list_automated_discovery_accounts(
        &self,
    ) -> crate::operation::list_automated_discovery_accounts::builders::ListAutomatedDiscoveryAccountsFluentBuilder {
        crate::operation::list_automated_discovery_accounts::builders::ListAutomatedDiscoveryAccountsFluentBuilder::new(self.handle.clone())
    }
}