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 |
Disables GuardDuty from monitoring findings of the member accounts specified by the account IDs. After running this command, a master GuardDuty account can run StartMonitoringMembers to re-enable GuardDuty to monitor these members’ findings.
- stopMonitoringMembers :: Text -> StopMonitoringMembers
- data StopMonitoringMembers
- smmAccountIds :: Lens' StopMonitoringMembers [Text]
- smmDetectorId :: Lens' StopMonitoringMembers Text
- stopMonitoringMembersResponse :: Int -> StopMonitoringMembersResponse
- data StopMonitoringMembersResponse
- smmrsUnprocessedAccounts :: Lens' StopMonitoringMembersResponse [UnprocessedAccount]
- smmrsResponseStatus :: Lens' StopMonitoringMembersResponse Int
Creating a Request
stopMonitoringMembers Source #
Creates a value of StopMonitoringMembers
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smmAccountIds
- A list of account IDs of the GuardDuty member accounts whose findings you want the master account to stop monitoring.smmDetectorId
- The unique ID of the detector of the GuardDuty account that you want to stop from monitor members' findings.
data StopMonitoringMembers Source #
StopMonitoringMembers request body.
See: stopMonitoringMembers
smart constructor.
Request Lenses
smmAccountIds :: Lens' StopMonitoringMembers [Text] Source #
A list of account IDs of the GuardDuty member accounts whose findings you want the master account to stop monitoring.
smmDetectorId :: Lens' StopMonitoringMembers Text Source #
The unique ID of the detector of the GuardDuty account that you want to stop from monitor members' findings.
Destructuring the Response
stopMonitoringMembersResponse Source #
Creates a value of StopMonitoringMembersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smmrsUnprocessedAccounts
- A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.smmrsResponseStatus
- -- | The response status code.
data StopMonitoringMembersResponse Source #
See: stopMonitoringMembersResponse
smart constructor.
Response Lenses
smmrsUnprocessedAccounts :: Lens' StopMonitoringMembersResponse [UnprocessedAccount] Source #
A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.
smmrsResponseStatus :: Lens' StopMonitoringMembersResponse Int Source #
- - | The response status code.