| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.GuardDuty.DisassociateMembers
Description
Disassociates GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
Synopsis
- disassociateMembers :: Text -> DisassociateMembers
- data DisassociateMembers
- dmsAccountIds :: Lens' DisassociateMembers [Text]
- dmsDetectorId :: Lens' DisassociateMembers Text
- disassociateMembersResponse :: Int -> DisassociateMembersResponse
- data DisassociateMembersResponse
- dmrsUnprocessedAccounts :: Lens' DisassociateMembersResponse [UnprocessedAccount]
- dmrsResponseStatus :: Lens' DisassociateMembersResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DisassociateMembers |
Creates a value of DisassociateMembers with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmsAccountIds- A list of account IDs of the GuardDuty member accounts that you want to disassociate from master.dmsDetectorId- The unique ID of the detector of the GuardDuty account whose members you want to disassociate from master.
data DisassociateMembers Source #
DisassociateMembers request body.
See: disassociateMembers smart constructor.
Instances
Request Lenses
dmsAccountIds :: Lens' DisassociateMembers [Text] Source #
A list of account IDs of the GuardDuty member accounts that you want to disassociate from master.
dmsDetectorId :: Lens' DisassociateMembers Text Source #
The unique ID of the detector of the GuardDuty account whose members you want to disassociate from master.
Destructuring the Response
disassociateMembersResponse Source #
Arguments
| :: Int | |
| -> DisassociateMembersResponse |
Creates a value of DisassociateMembersResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmrsUnprocessedAccounts- A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.dmrsResponseStatus- -- | The response status code.
data DisassociateMembersResponse Source #
See: disassociateMembersResponse smart constructor.
Instances
Response Lenses
dmrsUnprocessedAccounts :: Lens' DisassociateMembersResponse [UnprocessedAccount] Source #
A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
dmrsResponseStatus :: Lens' DisassociateMembersResponse Int Source #
- - | The response status code.