Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Removes the Detective administrator account in the current Region. Deletes the organization behavior graph.
Can only be called by the organization management account.
Removing the Detective administrator account does not affect the delegated administrator account for Detective in Organizations.
To remove the delegated administrator account in Organizations, use the Organizations API. Removing the delegated administrator account also removes the Detective administrator account in all Regions, except for Regions where the Detective administrator account is the organization management account.
Synopsis
- data DisableOrganizationAdminAccount = DisableOrganizationAdminAccount' {
- newDisableOrganizationAdminAccount :: DisableOrganizationAdminAccount
- data DisableOrganizationAdminAccountResponse = DisableOrganizationAdminAccountResponse' {
- newDisableOrganizationAdminAccountResponse :: DisableOrganizationAdminAccountResponse
Creating a Request
data DisableOrganizationAdminAccount Source #
See: newDisableOrganizationAdminAccount
smart constructor.
Instances
newDisableOrganizationAdminAccount :: DisableOrganizationAdminAccount Source #
Create a value of DisableOrganizationAdminAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DisableOrganizationAdminAccountResponse Source #
See: newDisableOrganizationAdminAccountResponse
smart constructor.
Instances
Generic DisableOrganizationAdminAccountResponse Source # | |
Defined in Amazonka.Detective.DisableOrganizationAdminAccount type Rep DisableOrganizationAdminAccountResponse :: Type -> Type # | |
Read DisableOrganizationAdminAccountResponse Source # | |
Show DisableOrganizationAdminAccountResponse Source # | |
NFData DisableOrganizationAdminAccountResponse Source # | |
Eq DisableOrganizationAdminAccountResponse Source # | |
type Rep DisableOrganizationAdminAccountResponse Source # | |
Defined in Amazonka.Detective.DisableOrganizationAdminAccount type Rep DisableOrganizationAdminAccountResponse = D1 ('MetaData "DisableOrganizationAdminAccountResponse" "Amazonka.Detective.DisableOrganizationAdminAccount" "amazonka-detective-2.0-7OiRDHTBp2P6vp0DOMdDcL" 'False) (C1 ('MetaCons "DisableOrganizationAdminAccountResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDisableOrganizationAdminAccountResponse :: DisableOrganizationAdminAccountResponse Source #
Create a value of DisableOrganizationAdminAccountResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.