amazonka-guardduty-1.6.1: 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.GetFindings

Contents

Description

Describes Amazon GuardDuty findings specified by finding IDs.

Synopsis

Creating a Request

getFindings Source #

Creates a value of GetFindings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gfFindingIds - IDs of the findings that you want to retrieve.
  • gfSortCriteria - Represents the criteria used for sorting findings.
  • gfDetectorId - The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.

data GetFindings Source #

GetFindings request body.

See: getFindings smart constructor.

Instances
Eq GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Data GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Methods

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

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

toConstr :: GetFindings -> Constr #

dataTypeOf :: GetFindings -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Show GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Generic GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Associated Types

type Rep GetFindings :: Type -> Type #

Hashable GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

ToJSON GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

AWSRequest GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Associated Types

type Rs GetFindings :: Type #

ToHeaders GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Methods

toHeaders :: GetFindings -> [Header] #

ToPath GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

ToQuery GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

NFData GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Methods

rnf :: GetFindings -> () #

type Rep GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

type Rep GetFindings = D1 (MetaData "GetFindings" "Network.AWS.GuardDuty.GetFindings" "amazonka-guardduty-1.6.1-K5KFXxug8mfBfLPNNuAp3C" False) (C1 (MetaCons "GetFindings'" PrefixI True) (S1 (MetaSel (Just "_gfFindingIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_gfSortCriteria") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SortCriteria)) :*: S1 (MetaSel (Just "_gfDetectorId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetFindings Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Request Lenses

gfFindingIds :: Lens' GetFindings [Text] Source #

IDs of the findings that you want to retrieve.

gfSortCriteria :: Lens' GetFindings (Maybe SortCriteria) Source #

Represents the criteria used for sorting findings.

gfDetectorId :: Lens' GetFindings Text Source #

The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.

Destructuring the Response

getFindingsResponse Source #

Creates a value of GetFindingsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetFindingsResponse Source #

See: getFindingsResponse smart constructor.

Instances
Eq GetFindingsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Data GetFindingsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Methods

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

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

toConstr :: GetFindingsResponse -> Constr #

dataTypeOf :: GetFindingsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetFindingsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Show GetFindingsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Generic GetFindingsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Associated Types

type Rep GetFindingsResponse :: Type -> Type #

NFData GetFindingsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

Methods

rnf :: GetFindingsResponse -> () #

type Rep GetFindingsResponse Source # 
Instance details

Defined in Network.AWS.GuardDuty.GetFindings

type Rep GetFindingsResponse = D1 (MetaData "GetFindingsResponse" "Network.AWS.GuardDuty.GetFindings" "amazonka-guardduty-1.6.1-K5KFXxug8mfBfLPNNuAp3C" False) (C1 (MetaCons "GetFindingsResponse'" PrefixI True) (S1 (MetaSel (Just "_grsFindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Finding])) :*: S1 (MetaSel (Just "_grsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

grsResponseStatus :: Lens' GetFindingsResponse Int Source #

  • - | The response status code.