amazonka-guardduty-1.6.0: Amazon GuardDuty SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.GuardDuty.UpdateFindingsFeedback

Contents

Description

Marks specified Amazon GuardDuty findings as useful or not useful.

Synopsis

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_USEFUL
  • uffDetectorId - 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.

Instances

Eq UpdateFindingsFeedback Source # 
Data UpdateFindingsFeedback Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateFindingsFeedback -> c UpdateFindingsFeedback #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateFindingsFeedback #

toConstr :: UpdateFindingsFeedback -> Constr #

dataTypeOf :: UpdateFindingsFeedback -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateFindingsFeedback) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateFindingsFeedback) #

gmapT :: (forall b. Data b => b -> b) -> UpdateFindingsFeedback -> UpdateFindingsFeedback #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateFindingsFeedback -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateFindingsFeedback -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateFindingsFeedback -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateFindingsFeedback -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateFindingsFeedback -> m UpdateFindingsFeedback #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateFindingsFeedback -> m UpdateFindingsFeedback #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateFindingsFeedback -> m UpdateFindingsFeedback #

Read UpdateFindingsFeedback Source # 
Show UpdateFindingsFeedback Source # 
Generic UpdateFindingsFeedback Source # 
Hashable UpdateFindingsFeedback Source # 
ToJSON UpdateFindingsFeedback Source # 
NFData UpdateFindingsFeedback Source # 

Methods

rnf :: UpdateFindingsFeedback -> () #

AWSRequest UpdateFindingsFeedback Source # 
ToHeaders UpdateFindingsFeedback Source # 
ToPath UpdateFindingsFeedback Source # 
ToQuery UpdateFindingsFeedback Source # 
type Rep UpdateFindingsFeedback Source # 
type Rep UpdateFindingsFeedback = D1 * (MetaData "UpdateFindingsFeedback" "Network.AWS.GuardDuty.UpdateFindingsFeedback" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "UpdateFindingsFeedback'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uffFindingIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_uffComments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uffFeedback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Feedback))) (S1 * (MetaSel (Just Symbol "_uffDetectorId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateFindingsFeedback Source # 

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:

data UpdateFindingsFeedbackResponse Source #

See: updateFindingsFeedbackResponse smart constructor.

Instances

Eq UpdateFindingsFeedbackResponse Source # 
Data UpdateFindingsFeedbackResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateFindingsFeedbackResponse -> c UpdateFindingsFeedbackResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateFindingsFeedbackResponse #

toConstr :: UpdateFindingsFeedbackResponse -> Constr #

dataTypeOf :: UpdateFindingsFeedbackResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateFindingsFeedbackResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateFindingsFeedbackResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateFindingsFeedbackResponse -> UpdateFindingsFeedbackResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateFindingsFeedbackResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateFindingsFeedbackResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateFindingsFeedbackResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateFindingsFeedbackResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateFindingsFeedbackResponse -> m UpdateFindingsFeedbackResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateFindingsFeedbackResponse -> m UpdateFindingsFeedbackResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateFindingsFeedbackResponse -> m UpdateFindingsFeedbackResponse #

Read UpdateFindingsFeedbackResponse Source # 
Show UpdateFindingsFeedbackResponse Source # 
Generic UpdateFindingsFeedbackResponse Source # 
NFData UpdateFindingsFeedbackResponse Source # 
type Rep UpdateFindingsFeedbackResponse Source # 
type Rep UpdateFindingsFeedbackResponse = D1 * (MetaData "UpdateFindingsFeedbackResponse" "Network.AWS.GuardDuty.UpdateFindingsFeedback" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" True) (C1 * (MetaCons "UpdateFindingsFeedbackResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_uffrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses