1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAdminAccount`](crate::operation::get_admin_account::builders::GetAdminAccountFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_admin_account::builders::GetAdminAccountFluentBuilder::send) it.
    /// - On success, responds with [`GetAdminAccountOutput`](crate::operation::get_admin_account::GetAdminAccountOutput) with field(s):
    ///   - [`admin_account(Option<String>)`](crate::operation::get_admin_account::GetAdminAccountOutput::admin_account): <p>The account that is set as the Firewall Manager default administrator.</p>
    ///   - [`role_status(Option<AccountRoleStatus>)`](crate::operation::get_admin_account::GetAdminAccountOutput::role_status): <p>The status of the account that you set as the Firewall Manager default administrator.</p>
    /// - On failure, responds with [`SdkError<GetAdminAccountError>`](crate::operation::get_admin_account::GetAdminAccountError)
    pub fn get_admin_account(&self) -> crate::operation::get_admin_account::builders::GetAdminAccountFluentBuilder {
        crate::operation::get_admin_account::builders::GetAdminAccountFluentBuilder::new(self.handle.clone())
    }
}