| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GuardDuty.DisassociateMembers
Description
Disassociates GuardDuty member accounts (to the current 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.
Constructors
| DisassociateMembers' | |
Fields
| |
Instances
newDisassociateMembers Source #
Arguments
| :: 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:
DisassociateMembers, disassociateMembers_detectorId - The unique ID of the detector of the GuardDuty account whose members you
want to disassociate from the administrator account.
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.
Constructors
| DisassociateMembersResponse' | |
Fields
| |
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.