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 |
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.
UpdateFindingsFeedback' | |
|
Instances
newUpdateFindingsFeedback Source #
:: 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.
$sel:detectorId: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.
UpdateFindingsFeedbackResponse' | |
|
Instances
Eq UpdateFindingsFeedbackResponse Source # | |
Read UpdateFindingsFeedbackResponse Source # | |
Show UpdateFindingsFeedbackResponse Source # | |
Defined in Amazonka.GuardDuty.UpdateFindingsFeedback | |
Generic UpdateFindingsFeedbackResponse Source # | |
NFData UpdateFindingsFeedbackResponse Source # | |
Defined in Amazonka.GuardDuty.UpdateFindingsFeedback rnf :: UpdateFindingsFeedbackResponse -> () # | |
type Rep UpdateFindingsFeedbackResponse Source # | |
Defined in Amazonka.GuardDuty.UpdateFindingsFeedback type Rep UpdateFindingsFeedbackResponse = D1 ('MetaData "UpdateFindingsFeedbackResponse" "Amazonka.GuardDuty.UpdateFindingsFeedback" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "UpdateFindingsFeedbackResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.