Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.AuditManager.DeregisterOrganizationAdminAccount
Description
Removes the specified member Amazon Web Services account as a delegated administrator for Audit Manager.
When you remove a delegated administrator from your Audit Manager settings, or when you deregister a delegated administrator from Organizations, you continue to have access to the evidence that you previously collected under that account. However, Audit Manager will stop collecting and attaching evidence to that delegated administrator account moving forward.
Synopsis
- data DeregisterOrganizationAdminAccount = DeregisterOrganizationAdminAccount' {}
- newDeregisterOrganizationAdminAccount :: DeregisterOrganizationAdminAccount
- deregisterOrganizationAdminAccount_adminAccountId :: Lens' DeregisterOrganizationAdminAccount (Maybe Text)
- data DeregisterOrganizationAdminAccountResponse = DeregisterOrganizationAdminAccountResponse' {
- httpStatus :: Int
- newDeregisterOrganizationAdminAccountResponse :: Int -> DeregisterOrganizationAdminAccountResponse
- deregisterOrganizationAdminAccountResponse_httpStatus :: Lens' DeregisterOrganizationAdminAccountResponse Int
Creating a Request
data DeregisterOrganizationAdminAccount Source #
See: newDeregisterOrganizationAdminAccount
smart constructor.
Constructors
DeregisterOrganizationAdminAccount' | |
Fields
|
Instances
newDeregisterOrganizationAdminAccount :: DeregisterOrganizationAdminAccount Source #
Create a value of DeregisterOrganizationAdminAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:adminAccountId:DeregisterOrganizationAdminAccount'
, deregisterOrganizationAdminAccount_adminAccountId
- The identifier for the specified administrator account.
Request Lenses
deregisterOrganizationAdminAccount_adminAccountId :: Lens' DeregisterOrganizationAdminAccount (Maybe Text) Source #
The identifier for the specified administrator account.
Destructuring the Response
data DeregisterOrganizationAdminAccountResponse Source #
See: newDeregisterOrganizationAdminAccountResponse
smart constructor.
Constructors
DeregisterOrganizationAdminAccountResponse' | |
Fields
|
Instances
newDeregisterOrganizationAdminAccountResponse Source #
Arguments
:: Int | |
-> DeregisterOrganizationAdminAccountResponse |
Create a value of DeregisterOrganizationAdminAccountResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeregisterOrganizationAdminAccountResponse'
, deregisterOrganizationAdminAccountResponse_httpStatus
- The response's http status code.
Response Lenses
deregisterOrganizationAdminAccountResponse_httpStatus :: Lens' DeregisterOrganizationAdminAccountResponse Int Source #
The response's http status code.