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 |
Stops GuardDuty monitoring for the specified member accounts. Use the
StartMonitoringMembers
operation to restart monitoring for those
accounts.
Synopsis
- data StopMonitoringMembers = StopMonitoringMembers' {
- detectorId :: Text
- accountIds :: NonEmpty Text
- newStopMonitoringMembers :: Text -> NonEmpty Text -> StopMonitoringMembers
- stopMonitoringMembers_detectorId :: Lens' StopMonitoringMembers Text
- stopMonitoringMembers_accountIds :: Lens' StopMonitoringMembers (NonEmpty Text)
- data StopMonitoringMembersResponse = StopMonitoringMembersResponse' {}
- newStopMonitoringMembersResponse :: Int -> StopMonitoringMembersResponse
- stopMonitoringMembersResponse_httpStatus :: Lens' StopMonitoringMembersResponse Int
- stopMonitoringMembersResponse_unprocessedAccounts :: Lens' StopMonitoringMembersResponse [UnprocessedAccount]
Creating a Request
data StopMonitoringMembers Source #
See: newStopMonitoringMembers
smart constructor.
StopMonitoringMembers' | |
|
Instances
newStopMonitoringMembers Source #
:: Text | |
-> NonEmpty Text | |
-> StopMonitoringMembers |
Create a value of StopMonitoringMembers
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:StopMonitoringMembers'
, stopMonitoringMembers_detectorId
- The unique ID of the detector associated with the GuardDuty
administrator account that is monitoring member accounts.
$sel:accountIds:StopMonitoringMembers'
, stopMonitoringMembers_accountIds
- A list of account IDs for the member accounts to stop monitoring.
Request Lenses
stopMonitoringMembers_detectorId :: Lens' StopMonitoringMembers Text Source #
The unique ID of the detector associated with the GuardDuty administrator account that is monitoring member accounts.
stopMonitoringMembers_accountIds :: Lens' StopMonitoringMembers (NonEmpty Text) Source #
A list of account IDs for the member accounts to stop monitoring.
Destructuring the Response
data StopMonitoringMembersResponse Source #
See: newStopMonitoringMembersResponse
smart constructor.
StopMonitoringMembersResponse' | |
|
Instances
newStopMonitoringMembersResponse Source #
Create a value of StopMonitoringMembersResponse
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:StopMonitoringMembersResponse'
, stopMonitoringMembersResponse_httpStatus
- The response's http status code.
$sel:unprocessedAccounts:StopMonitoringMembersResponse'
, stopMonitoringMembersResponse_unprocessedAccounts
- A list of objects that contain an accountId for each account that could
not be processed, and a result string that indicates why the account was
not processed.
Response Lenses
stopMonitoringMembersResponse_httpStatus :: Lens' StopMonitoringMembersResponse Int Source #
The response's http status code.
stopMonitoringMembersResponse_unprocessedAccounts :: Lens' StopMonitoringMembersResponse [UnprocessedAccount] Source #
A list of objects that contain an accountId for each account that could not be processed, and a result string that indicates why the account was not processed.