aws_sdk_guardduty/client/disassociate_from_master_account.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DisassociateFromMasterAccount`](crate::operation::disassociate_from_master_account::builders::DisassociateFromMasterAccountFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`detector_id(impl Into<String>)`](crate::operation::disassociate_from_master_account::builders::DisassociateFromMasterAccountFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::disassociate_from_master_account::builders::DisassociateFromMasterAccountFluentBuilder::set_detector_id):<br>required: **true**<br><p>The unique ID of the detector of the GuardDuty member account.</p><br>
7 /// - On success, responds with [`DisassociateFromMasterAccountOutput`](crate::operation::disassociate_from_master_account::DisassociateFromMasterAccountOutput)
8 /// - On failure, responds with [`SdkError<DisassociateFromMasterAccountError>`](crate::operation::disassociate_from_master_account::DisassociateFromMasterAccountError)
9 #[deprecated(note = "This operation is deprecated, use DisassociateFromAdministratorAccount instead")]
10 pub fn disassociate_from_master_account(
11 &self,
12 ) -> crate::operation::disassociate_from_master_account::builders::DisassociateFromMasterAccountFluentBuilder {
13 crate::operation::disassociate_from_master_account::builders::DisassociateFromMasterAccountFluentBuilder::new(self.handle.clone())
14 }
15}