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 |
Updates an Amazon GuardDuty detector specified by the detectorId.
Creating a Request
Creates a value of UpdateDetector
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udEnable
- Updated boolean value for the detector that specifies whether the detector is enabled.udDetectorId
- The unique ID of the detector that you want to update.
data UpdateDetector Source #
UpdateDetector request body.
See: updateDetector
smart constructor.
Instances
Request Lenses
udEnable :: Lens' UpdateDetector (Maybe Bool) Source #
Updated boolean value for the detector that specifies whether the detector is enabled.
udDetectorId :: Lens' UpdateDetector Text Source #
The unique ID of the detector that you want to update.
Destructuring the Response
updateDetectorResponse Source #
Creates a value of UpdateDetectorResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udrsResponseStatus
- -- | The response status code.
data UpdateDetectorResponse Source #
See: updateDetectorResponse
smart constructor.
Instances
Response Lenses
udrsResponseStatus :: Lens' UpdateDetectorResponse Int Source #
- - | The response status code.