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 |
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.
DeregisterOrganizationAdminAccount' | |
|
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.
DeregisterOrganizationAdminAccountResponse' | |
|
Instances
Eq DeregisterOrganizationAdminAccountResponse Source # | |
Read DeregisterOrganizationAdminAccountResponse Source # | |
Show DeregisterOrganizationAdminAccountResponse Source # | |
Generic DeregisterOrganizationAdminAccountResponse Source # | |
NFData DeregisterOrganizationAdminAccountResponse Source # | |
type Rep DeregisterOrganizationAdminAccountResponse Source # | |
Defined in Amazonka.AuditManager.DeregisterOrganizationAdminAccount type Rep DeregisterOrganizationAdminAccountResponse = D1 ('MetaData "DeregisterOrganizationAdminAccountResponse" "Amazonka.AuditManager.DeregisterOrganizationAdminAccount" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "DeregisterOrganizationAdminAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeregisterOrganizationAdminAccountResponse Source #
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.