| 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.GetMembers
Description
Retrieves GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
- getMembers :: Text -> GetMembers
- data GetMembers
- gmAccountIds :: Lens' GetMembers [Text]
- gmDetectorId :: Lens' GetMembers Text
- getMembersResponse :: Int -> GetMembersResponse
- data GetMembersResponse
- gmrsMembers :: Lens' GetMembersResponse [Member]
- gmrsUnprocessedAccounts :: Lens' GetMembersResponse [UnprocessedAccount]
- gmrsResponseStatus :: Lens' GetMembersResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetMembers |
Creates a value of GetMembers with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gmAccountIds- A list of account IDs of the GuardDuty member accounts that you want to describe.gmDetectorId- The unique ID of the detector of the GuardDuty account whose members you want to retrieve.
data GetMembers Source #
GetMembers request body.
See: getMembers smart constructor.
Instances
Request Lenses
gmAccountIds :: Lens' GetMembers [Text] Source #
A list of account IDs of the GuardDuty member accounts that you want to describe.
gmDetectorId :: Lens' GetMembers Text Source #
The unique ID of the detector of the GuardDuty account whose members you want to retrieve.
Destructuring the Response
Arguments
| :: Int | |
| -> GetMembersResponse |
Creates a value of GetMembersResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gmrsMembers- Undocumented member.gmrsUnprocessedAccounts- A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.gmrsResponseStatus- -- | The response status code.
data GetMembersResponse Source #
See: getMembersResponse smart constructor.
Response Lenses
gmrsMembers :: Lens' GetMembersResponse [Member] Source #
Undocumented member.
gmrsUnprocessedAccounts :: Lens' GetMembersResponse [UnprocessedAccount] Source #
A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
gmrsResponseStatus :: Lens' GetMembersResponse Int Source #
- - | The response status code.