aws_sdk_detective/client/
disable_organization_admin_account.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisableOrganizationAdminAccount`](crate::operation::disable_organization_admin_account::builders::DisableOrganizationAdminAccountFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::disable_organization_admin_account::builders::DisableOrganizationAdminAccountFluentBuilder::send) it.
    /// - On success, responds with [`DisableOrganizationAdminAccountOutput`](crate::operation::disable_organization_admin_account::DisableOrganizationAdminAccountOutput)
    /// - On failure, responds with [`SdkError<DisableOrganizationAdminAccountError>`](crate::operation::disable_organization_admin_account::DisableOrganizationAdminAccountError)
    pub fn disable_organization_admin_account(
        &self,
    ) -> crate::operation::disable_organization_admin_account::builders::DisableOrganizationAdminAccountFluentBuilder {
        crate::operation::disable_organization_admin_account::builders::DisableOrganizationAdminAccountFluentBuilder::new(self.handle.clone())
    }
}