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 |
Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
Synopsis
- data DeleteMembers = DeleteMembers' {
- detectorId :: Text
- accountIds :: NonEmpty Text
- newDeleteMembers :: Text -> NonEmpty Text -> DeleteMembers
- deleteMembers_detectorId :: Lens' DeleteMembers Text
- deleteMembers_accountIds :: Lens' DeleteMembers (NonEmpty Text)
- data DeleteMembersResponse = DeleteMembersResponse' {}
- newDeleteMembersResponse :: Int -> DeleteMembersResponse
- deleteMembersResponse_httpStatus :: Lens' DeleteMembersResponse Int
- deleteMembersResponse_unprocessedAccounts :: Lens' DeleteMembersResponse [UnprocessedAccount]
Creating a Request
data DeleteMembers Source #
See: newDeleteMembers
smart constructor.
DeleteMembers' | |
|
Instances
Create a value of DeleteMembers
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:DeleteMembers'
, deleteMembers_detectorId
- The unique ID of the detector of the GuardDuty account whose members you
want to delete.
$sel:accountIds:DeleteMembers'
, deleteMembers_accountIds
- A list of account IDs of the GuardDuty member accounts that you want to
delete.
Request Lenses
deleteMembers_detectorId :: Lens' DeleteMembers Text Source #
The unique ID of the detector of the GuardDuty account whose members you want to delete.
deleteMembers_accountIds :: Lens' DeleteMembers (NonEmpty Text) Source #
A list of account IDs of the GuardDuty member accounts that you want to delete.
Destructuring the Response
data DeleteMembersResponse Source #
See: newDeleteMembersResponse
smart constructor.
DeleteMembersResponse' | |
|
Instances
newDeleteMembersResponse Source #
Create a value of DeleteMembersResponse
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:DeleteMembersResponse'
, deleteMembersResponse_httpStatus
- The response's http status code.
$sel:unprocessedAccounts:DeleteMembersResponse'
, deleteMembersResponse_unprocessedAccounts
- The accounts that could not be processed.
Response Lenses
deleteMembersResponse_httpStatus :: Lens' DeleteMembersResponse Int Source #
The response's http status code.
deleteMembersResponse_unprocessedAccounts :: Lens' DeleteMembersResponse [UnprocessedAccount] Source #
The accounts that could not be processed.