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 |
Disassociates the current Security Hub member account from the associated administrator account.
This operation is only used by accounts that are not part of an organization. For organization accounts, only the administrator account can disassociate a member account.
Synopsis
- data DisassociateFromAdministratorAccount = DisassociateFromAdministratorAccount' {
- newDisassociateFromAdministratorAccount :: DisassociateFromAdministratorAccount
- data DisassociateFromAdministratorAccountResponse = DisassociateFromAdministratorAccountResponse' {
- httpStatus :: Int
- newDisassociateFromAdministratorAccountResponse :: Int -> DisassociateFromAdministratorAccountResponse
- disassociateFromAdministratorAccountResponse_httpStatus :: Lens' DisassociateFromAdministratorAccountResponse Int
Creating a Request
data DisassociateFromAdministratorAccount Source #
See: newDisassociateFromAdministratorAccount
smart constructor.
Instances
newDisassociateFromAdministratorAccount :: DisassociateFromAdministratorAccount Source #
Create a value of DisassociateFromAdministratorAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DisassociateFromAdministratorAccountResponse Source #
See: newDisassociateFromAdministratorAccountResponse
smart constructor.
DisassociateFromAdministratorAccountResponse' | |
|
Instances
Eq DisassociateFromAdministratorAccountResponse Source # | |
Read DisassociateFromAdministratorAccountResponse Source # | |
Show DisassociateFromAdministratorAccountResponse Source # | |
Generic DisassociateFromAdministratorAccountResponse Source # | |
NFData DisassociateFromAdministratorAccountResponse Source # | |
type Rep DisassociateFromAdministratorAccountResponse Source # | |
Defined in Amazonka.SecurityHub.DisassociateFromAdministratorAccount type Rep DisassociateFromAdministratorAccountResponse = D1 ('MetaData "DisassociateFromAdministratorAccountResponse" "Amazonka.SecurityHub.DisassociateFromAdministratorAccount" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DisassociateFromAdministratorAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateFromAdministratorAccountResponse Source #
:: Int |
|
-> DisassociateFromAdministratorAccountResponse |
Create a value of DisassociateFromAdministratorAccountResponse
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:DisassociateFromAdministratorAccountResponse'
, disassociateFromAdministratorAccountResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateFromAdministratorAccountResponse_httpStatus :: Lens' DisassociateFromAdministratorAccountResponse Int Source #
The response's http status code.