| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GuardDuty.StopMonitoringMembers
Description
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.
Constructors
| StopMonitoringMembers' | |
Fields
| |
Instances
newStopMonitoringMembers Source #
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:
StopMonitoringMembers, stopMonitoringMembers_detectorId - The unique ID of the detector associated with the GuardDuty
administrator account that is monitoring member accounts.
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.
Constructors
| StopMonitoringMembersResponse' | |
Fields
| |
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.