aws_sdk_securityhub/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 takes no input, just [`send`](crate::operation::disassociate_from_master_account::builders::DisassociateFromMasterAccountFluentBuilder::send) it.
6    /// - On success, responds with [`DisassociateFromMasterAccountOutput`](crate::operation::disassociate_from_master_account::DisassociateFromMasterAccountOutput)
7    /// - On failure, responds with [`SdkError<DisassociateFromMasterAccountError>`](crate::operation::disassociate_from_master_account::DisassociateFromMasterAccountError)
8    #[deprecated(note = "This API has been deprecated, use DisassociateFromAdministratorAccount API instead.")]
9    pub fn disassociate_from_master_account(
10        &self,
11    ) -> crate::operation::disassociate_from_master_account::builders::DisassociateFromMasterAccountFluentBuilder {
12        crate::operation::disassociate_from_master_account::builders::DisassociateFromMasterAccountFluentBuilder::new(self.handle.clone())
13    }
14}