| 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.GuardDuty.DisassociateFromMasterAccount
Description
Disassociates the current GuardDuty member account from its administrator account.
Synopsis
- data DisassociateFromMasterAccount = DisassociateFromMasterAccount' {
- detectorId :: Text
- newDisassociateFromMasterAccount :: Text -> DisassociateFromMasterAccount
- disassociateFromMasterAccount_detectorId :: Lens' DisassociateFromMasterAccount Text
- data DisassociateFromMasterAccountResponse = DisassociateFromMasterAccountResponse' {
- httpStatus :: Int
- newDisassociateFromMasterAccountResponse :: Int -> DisassociateFromMasterAccountResponse
- disassociateFromMasterAccountResponse_httpStatus :: Lens' DisassociateFromMasterAccountResponse Int
Creating a Request
data DisassociateFromMasterAccount Source #
See: newDisassociateFromMasterAccount smart constructor.
Constructors
| DisassociateFromMasterAccount' | |
Fields
| |
Instances
newDisassociateFromMasterAccount Source #
Create a value of DisassociateFromMasterAccount 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:detectorId:DisassociateFromMasterAccount', disassociateFromMasterAccount_detectorId - The unique ID of the detector of the GuardDuty member account.
Request Lenses
disassociateFromMasterAccount_detectorId :: Lens' DisassociateFromMasterAccount Text Source #
The unique ID of the detector of the GuardDuty member account.
Destructuring the Response
data DisassociateFromMasterAccountResponse Source #
See: newDisassociateFromMasterAccountResponse smart constructor.
Constructors
| DisassociateFromMasterAccountResponse' | |
Fields
| |
Instances
newDisassociateFromMasterAccountResponse Source #
Arguments
| :: Int | |
| -> DisassociateFromMasterAccountResponse |
Create a value of DisassociateFromMasterAccountResponse 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:DisassociateFromMasterAccountResponse', disassociateFromMasterAccountResponse_httpStatus - The response's http status code.
Response Lenses
disassociateFromMasterAccountResponse_httpStatus :: Lens' DisassociateFromMasterAccountResponse Int Source #
The response's http status code.