1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAdministratorAccount`](crate::operation::get_administrator_account::builders::GetAdministratorAccountFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_administrator_account::builders::GetAdministratorAccountFluentBuilder::send) it.
    /// - On success, responds with [`GetAdministratorAccountOutput`](crate::operation::get_administrator_account::GetAdministratorAccountOutput) with field(s):
    ///   - [`administrator(Option<Invitation>)`](crate::operation::get_administrator_account::GetAdministratorAccountOutput::administrator): <p>The Amazon Web Services account ID for the administrator account. If the accounts are associated by an Amazon Macie membership invitation, this object also provides details about the invitation that was sent to establish the relationship between the accounts.</p>
    /// - On failure, responds with [`SdkError<GetAdministratorAccountError>`](crate::operation::get_administrator_account::GetAdministratorAccountError)
    pub fn get_administrator_account(&self) -> crate::operation::get_administrator_account::builders::GetAdministratorAccountFluentBuilder {
        crate::operation::get_administrator_account::builders::GetAdministratorAccountFluentBuilder::new(self.handle.clone())
    }
}