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 |
Marks specified Amazon GuardDuty findings as useful or not useful.
- updateFindingsFeedback :: Text -> UpdateFindingsFeedback
- data UpdateFindingsFeedback
- uffFindingIds :: Lens' UpdateFindingsFeedback [Text]
- uffComments :: Lens' UpdateFindingsFeedback (Maybe Text)
- uffFeedback :: Lens' UpdateFindingsFeedback (Maybe Feedback)
- uffDetectorId :: Lens' UpdateFindingsFeedback Text
- updateFindingsFeedbackResponse :: Int -> UpdateFindingsFeedbackResponse
- data UpdateFindingsFeedbackResponse
- uffrsResponseStatus :: Lens' UpdateFindingsFeedbackResponse Int
Creating a Request
updateFindingsFeedback Source #
Creates a value of UpdateFindingsFeedback
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uffFindingIds
- IDs of the findings that you want to mark as useful or not useful.uffComments
- Additional feedback about the GuardDuty findings.uffFeedback
- Valid values: USEFUL | NOT_USEFULuffDetectorId
- The ID of the detector that specifies the GuardDuty service whose findings you want to mark as useful or not useful.
data UpdateFindingsFeedback Source #
UpdateFindingsFeedback request body.
See: updateFindingsFeedback
smart constructor.
Request Lenses
uffFindingIds :: Lens' UpdateFindingsFeedback [Text] Source #
IDs of the findings that you want to mark as useful or not useful.
uffComments :: Lens' UpdateFindingsFeedback (Maybe Text) Source #
Additional feedback about the GuardDuty findings.
uffFeedback :: Lens' UpdateFindingsFeedback (Maybe Feedback) Source #
Valid values: USEFUL | NOT_USEFUL
uffDetectorId :: Lens' UpdateFindingsFeedback Text Source #
The ID of the detector that specifies the GuardDuty service whose findings you want to mark as useful or not useful.
Destructuring the Response
updateFindingsFeedbackResponse Source #
Creates a value of UpdateFindingsFeedbackResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uffrsResponseStatus
- -- | The response status code.
data UpdateFindingsFeedbackResponse Source #
See: updateFindingsFeedbackResponse
smart constructor.
Response Lenses
uffrsResponseStatus :: Lens' UpdateFindingsFeedbackResponse Int Source #
- - | The response status code.