1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchGetAccountStatus`](crate::operation::batch_get_account_status::builders::BatchGetAccountStatusFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_ids(impl Into<String>)`](crate::operation::batch_get_account_status::builders::BatchGetAccountStatusFluentBuilder::account_ids) / [`set_account_ids(Option<Vec<String>>)`](crate::operation::batch_get_account_status::builders::BatchGetAccountStatusFluentBuilder::set_account_ids): <p>The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.</p>
    /// - On success, responds with [`BatchGetAccountStatusOutput`](crate::operation::batch_get_account_status::BatchGetAccountStatusOutput) with field(s):
    ///   - [`accounts(Option<Vec<AccountState>>)`](crate::operation::batch_get_account_status::BatchGetAccountStatusOutput::accounts): <p>An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.</p>
    ///   - [`failed_accounts(Option<Vec<FailedAccount>>)`](crate::operation::batch_get_account_status::BatchGetAccountStatusOutput::failed_accounts): <p>An array of objects detailing any accounts that failed to enable Amazon Inspector and why.</p>
    /// - On failure, responds with [`SdkError<BatchGetAccountStatusError>`](crate::operation::batch_get_account_status::BatchGetAccountStatusError)
    pub fn batch_get_account_status(&self) -> crate::operation::batch_get_account_status::builders::BatchGetAccountStatusFluentBuilder {
        crate::operation::batch_get_account_status::builders::BatchGetAccountStatusFluentBuilder::new(self.handle.clone())
    }
}