// 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 is configurable:
/// - [`detector_id(impl Into<String>)`](crate::operation::get_master_account::builders::GetMasterAccountFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::get_master_account::builders::GetMasterAccountFluentBuilder::set_detector_id):<br>required: **true**<br><p>The unique ID of the detector of the GuardDuty member account.</p><br>
/// - On success, responds with [`GetMasterAccountOutput`](crate::operation::get_master_account::GetMasterAccountOutput) with field(s):
/// - [`master(Option<Master>)`](crate::operation::get_master_account::GetMasterAccountOutput::master): <p>The administrator account details.</p>
/// - On failure, responds with [`SdkError<GetMasterAccountError>`](crate::operation::get_master_account::GetMasterAccountError)
#[deprecated(note = "This operation is deprecated, use GetAdministratorAccount 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())
}
}