1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisableDelegatedAdminAccount`](crate::operation::disable_delegated_admin_account::builders::DisableDelegatedAdminAccountFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`delegated_admin_account_id(impl Into<String>)`](crate::operation::disable_delegated_admin_account::builders::DisableDelegatedAdminAccountFluentBuilder::delegated_admin_account_id) / [`set_delegated_admin_account_id(Option<String>)`](crate::operation::disable_delegated_admin_account::builders::DisableDelegatedAdminAccountFluentBuilder::set_delegated_admin_account_id): <p>The Amazon Web Services account ID of the current Amazon Inspector delegated administrator.</p>
    /// - On success, responds with [`DisableDelegatedAdminAccountOutput`](crate::operation::disable_delegated_admin_account::DisableDelegatedAdminAccountOutput) with field(s):
    ///   - [`delegated_admin_account_id(Option<String>)`](crate::operation::disable_delegated_admin_account::DisableDelegatedAdminAccountOutput::delegated_admin_account_id): <p>The Amazon Web Services account ID of the successfully disabled delegated administrator.</p>
    /// - On failure, responds with [`SdkError<DisableDelegatedAdminAccountError>`](crate::operation::disable_delegated_admin_account::DisableDelegatedAdminAccountError)
    pub fn disable_delegated_admin_account(
        &self,
    ) -> crate::operation::disable_delegated_admin_account::builders::DisableDelegatedAdminAccountFluentBuilder {
        crate::operation::disable_delegated_admin_account::builders::DisableDelegatedAdminAccountFluentBuilder::new(self.handle.clone())
    }
}