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.ArchiveFindings

Contents

Description

Archives Amazon GuardDuty findings specified by the list of finding IDs.

Synopsis

Creating a Request

archiveFindings Source #

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

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

  • afFindingIds - IDs of the findings that you want to archive.
  • afDetectorId - The ID of the detector that specifies the GuardDuty service whose findings you want to archive.

data ArchiveFindings Source #

ArchiveFindings request body.

See: archiveFindings smart constructor.

Instances

Eq ArchiveFindings Source # 
Data ArchiveFindings Source # 

Methods

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

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

toConstr :: ArchiveFindings -> Constr #

dataTypeOf :: ArchiveFindings -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ArchiveFindings -> () #

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

Request Lenses

afFindingIds :: Lens' ArchiveFindings [Text] Source #

IDs of the findings that you want to archive.

afDetectorId :: Lens' ArchiveFindings Text Source #

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

Destructuring the Response

archiveFindingsResponse Source #

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

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

data ArchiveFindingsResponse Source #

See: archiveFindingsResponse smart constructor.

Instances

Eq ArchiveFindingsResponse Source # 
Data ArchiveFindingsResponse Source # 

Methods

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

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

toConstr :: ArchiveFindingsResponse -> Constr #

dataTypeOf :: ArchiveFindingsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ArchiveFindingsResponse Source # 
Show ArchiveFindingsResponse Source # 
Generic ArchiveFindingsResponse Source # 
NFData ArchiveFindingsResponse Source # 

Methods

rnf :: ArchiveFindingsResponse -> () #

type Rep ArchiveFindingsResponse Source # 
type Rep ArchiveFindingsResponse = D1 * (MetaData "ArchiveFindingsResponse" "Network.AWS.GuardDuty.ArchiveFindings" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" True) (C1 * (MetaCons "ArchiveFindingsResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_afrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses