| 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.UpdateFindingsFeedback
Description
Marks the specified GuardDuty findings as useful or not useful.
Synopsis
- data UpdateFindingsFeedback = UpdateFindingsFeedback' {
- comments :: Maybe Text
- detectorId :: Text
- findingIds :: [Text]
- feedback :: Feedback
- newUpdateFindingsFeedback :: Text -> Feedback -> UpdateFindingsFeedback
- updateFindingsFeedback_comments :: Lens' UpdateFindingsFeedback (Maybe Text)
- updateFindingsFeedback_detectorId :: Lens' UpdateFindingsFeedback Text
- updateFindingsFeedback_findingIds :: Lens' UpdateFindingsFeedback [Text]
- updateFindingsFeedback_feedback :: Lens' UpdateFindingsFeedback Feedback
- data UpdateFindingsFeedbackResponse = UpdateFindingsFeedbackResponse' {
- httpStatus :: Int
- newUpdateFindingsFeedbackResponse :: Int -> UpdateFindingsFeedbackResponse
- updateFindingsFeedbackResponse_httpStatus :: Lens' UpdateFindingsFeedbackResponse Int
Creating a Request
data UpdateFindingsFeedback Source #
See: newUpdateFindingsFeedback smart constructor.
Constructors
| UpdateFindingsFeedback' | |
Fields
| |
Instances
newUpdateFindingsFeedback Source #
Arguments
| :: Text | |
| -> Feedback | |
| -> UpdateFindingsFeedback |
Create a value of UpdateFindingsFeedback 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:comments:UpdateFindingsFeedback', updateFindingsFeedback_comments - Additional feedback about the GuardDuty findings.
UpdateFindingsFeedback, updateFindingsFeedback_detectorId - The ID of the detector associated with the findings to update feedback
for.
$sel:findingIds:UpdateFindingsFeedback', updateFindingsFeedback_findingIds - The IDs of the findings that you want to mark as useful or not useful.
$sel:feedback:UpdateFindingsFeedback', updateFindingsFeedback_feedback - The feedback for the finding.
Request Lenses
updateFindingsFeedback_comments :: Lens' UpdateFindingsFeedback (Maybe Text) Source #
Additional feedback about the GuardDuty findings.
updateFindingsFeedback_detectorId :: Lens' UpdateFindingsFeedback Text Source #
The ID of the detector associated with the findings to update feedback for.
updateFindingsFeedback_findingIds :: Lens' UpdateFindingsFeedback [Text] Source #
The IDs of the findings that you want to mark as useful or not useful.
updateFindingsFeedback_feedback :: Lens' UpdateFindingsFeedback Feedback Source #
The feedback for the finding.
Destructuring the Response
data UpdateFindingsFeedbackResponse Source #
See: newUpdateFindingsFeedbackResponse smart constructor.
Constructors
| UpdateFindingsFeedbackResponse' | |
Fields
| |
Instances
newUpdateFindingsFeedbackResponse Source #
Create a value of UpdateFindingsFeedbackResponse 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:UpdateFindingsFeedbackResponse', updateFindingsFeedbackResponse_httpStatus - The response's http status code.
Response Lenses
updateFindingsFeedbackResponse_httpStatus :: Lens' UpdateFindingsFeedbackResponse Int Source #
The response's http status code.