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 |
Re-enables GuardDuty to monitor findings of the member accounts specified by the account IDs. A master GuardDuty account can run this command after disabling GuardDuty from monitoring these members' findings by running StopMonitoringMembers.
- startMonitoringMembers :: Text -> StartMonitoringMembers
- data StartMonitoringMembers
- sAccountIds :: Lens' StartMonitoringMembers [Text]
- sDetectorId :: Lens' StartMonitoringMembers Text
- startMonitoringMembersResponse :: Int -> StartMonitoringMembersResponse
- data StartMonitoringMembersResponse
- srsUnprocessedAccounts :: Lens' StartMonitoringMembersResponse [UnprocessedAccount]
- srsResponseStatus :: Lens' StartMonitoringMembersResponse Int
Creating a Request
startMonitoringMembers Source #
Creates a value of StartMonitoringMembers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sAccountIds
- A list of account IDs of the GuardDuty member accounts whose findings you want the master account to monitor.sDetectorId
- The unique ID of the detector of the GuardDuty account whom you want to re-enable to monitor members' findings.
data StartMonitoringMembers Source #
StartMonitoringMembers request body.
See: startMonitoringMembers
smart constructor.
Request Lenses
sAccountIds :: Lens' StartMonitoringMembers [Text] Source #
A list of account IDs of the GuardDuty member accounts whose findings you want the master account to monitor.
sDetectorId :: Lens' StartMonitoringMembers Text Source #
The unique ID of the detector of the GuardDuty account whom you want to re-enable to monitor members' findings.
Destructuring the Response
startMonitoringMembersResponse Source #
Creates a value of StartMonitoringMembersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srsUnprocessedAccounts
- A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.srsResponseStatus
- -- | The response status code.
data StartMonitoringMembersResponse Source #
See: startMonitoringMembersResponse
smart constructor.
Response Lenses
srsUnprocessedAccounts :: Lens' StartMonitoringMembersResponse [UnprocessedAccount] Source #
A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
srsResponseStatus :: Lens' StartMonitoringMembersResponse Int Source #
- - | The response status code.