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 GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
Synopsis
- data DisassociateMembers = DisassociateMembers' {
- detectorId :: Text
- accountIds :: NonEmpty Text
- newDisassociateMembers :: Text -> NonEmpty Text -> DisassociateMembers
- disassociateMembers_detectorId :: Lens' DisassociateMembers Text
- disassociateMembers_accountIds :: Lens' DisassociateMembers (NonEmpty Text)
- data DisassociateMembersResponse = DisassociateMembersResponse' {}
- newDisassociateMembersResponse :: Int -> DisassociateMembersResponse
- disassociateMembersResponse_httpStatus :: Lens' DisassociateMembersResponse Int
- disassociateMembersResponse_unprocessedAccounts :: Lens' DisassociateMembersResponse [UnprocessedAccount]
Creating a Request
data DisassociateMembers Source #
See: newDisassociateMembers
smart constructor.
DisassociateMembers' | |
|
Instances
newDisassociateMembers Source #
:: Text | |
-> NonEmpty Text | |
-> DisassociateMembers |
Create a value of DisassociateMembers
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:DisassociateMembers'
, disassociateMembers_detectorId
- The unique ID of the detector of the GuardDuty account whose members you
want to disassociate from the administrator account.
$sel:accountIds:DisassociateMembers'
, disassociateMembers_accountIds
- A list of account IDs of the GuardDuty member accounts that you want to
disassociate from the administrator account.
Request Lenses
disassociateMembers_detectorId :: Lens' DisassociateMembers Text Source #
The unique ID of the detector of the GuardDuty account whose members you want to disassociate from the administrator account.
disassociateMembers_accountIds :: Lens' DisassociateMembers (NonEmpty Text) Source #
A list of account IDs of the GuardDuty member accounts that you want to disassociate from the administrator account.
Destructuring the Response
data DisassociateMembersResponse Source #
See: newDisassociateMembersResponse
smart constructor.
DisassociateMembersResponse' | |
|
Instances
newDisassociateMembersResponse Source #
Create a value of DisassociateMembersResponse
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:DisassociateMembersResponse'
, disassociateMembersResponse_httpStatus
- The response's http status code.
$sel:unprocessedAccounts:DisassociateMembersResponse'
, disassociateMembersResponse_unprocessedAccounts
- A list of objects that contain the unprocessed account and a result
string that explains why it was unprocessed.
Response Lenses
disassociateMembersResponse_httpStatus :: Lens' DisassociateMembersResponse Int Source #
The response's http status code.
disassociateMembersResponse_unprocessedAccounts :: Lens' DisassociateMembersResponse [UnprocessedAccount] Source #
A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.