aws_sdk_guardduty/client/disassociate_from_administrator_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 [`DisassociateFromAdministratorAccount`](crate::operation::disassociate_from_administrator_account::builders::DisassociateFromAdministratorAccountFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`detector_id(impl Into<String>)`](crate::operation::disassociate_from_administrator_account::builders::DisassociateFromAdministratorAccountFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::disassociate_from_administrator_account::builders::DisassociateFromAdministratorAccountFluentBuilder::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 [`DisassociateFromAdministratorAccountOutput`](crate::operation::disassociate_from_administrator_account::DisassociateFromAdministratorAccountOutput)
8 /// - On failure, responds with [`SdkError<DisassociateFromAdministratorAccountError>`](crate::operation::disassociate_from_administrator_account::DisassociateFromAdministratorAccountError)
9 pub fn disassociate_from_administrator_account(
10 &self,
11 ) -> crate::operation::disassociate_from_administrator_account::builders::DisassociateFromAdministratorAccountFluentBuilder {
12 crate::operation::disassociate_from_administrator_account::builders::DisassociateFromAdministratorAccountFluentBuilder::new(
13 self.handle.clone(),
14 )
15 }
16}