1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetMasterAccount`](crate::operation::get_master_account::builders::GetMasterAccountFluentBuilder) operation.
///
/// - The fluent builder takes no input, just [`send`](crate::operation::get_master_account::builders::GetMasterAccountFluentBuilder::send) it.
/// - On success, responds with [`GetMasterAccountOutput`](crate::operation::get_master_account::GetMasterAccountOutput) with field(s):
/// - [`master(Option<Invitation>)`](crate::operation::get_master_account::GetMasterAccountOutput::master): <p>A list of details about the Security Hub administrator account for the current member account. </p>
/// - On failure, responds with [`SdkError<GetMasterAccountError>`](crate::operation::get_master_account::GetMasterAccountError)
#[deprecated(note = "This API has been deprecated, use GetAdministratorAccount API instead.")]
pub fn get_master_account(
&self,
) -> crate::operation::get_master_account::builders::GetMasterAccountFluentBuilder {
crate::operation::get_master_account::builders::GetMasterAccountFluentBuilder::new(
self.handle.clone(),
)
}
}