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

Contents

Description

Generates example findings of types specified by the list of finding types. If NULL is specified for findingTypes, the API generates example findings of all supported finding types.

Synopsis

Creating a Request

createSampleFindings Source #

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

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

data CreateSampleFindings Source #

CreateSampleFindings request body.

See: createSampleFindings smart constructor.

Instances

Eq CreateSampleFindings Source # 
Data CreateSampleFindings Source # 

Methods

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

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

toConstr :: CreateSampleFindings -> Constr #

dataTypeOf :: CreateSampleFindings -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CreateSampleFindings -> () #

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

Request Lenses

csfFindingTypes :: Lens' CreateSampleFindings [Text] Source #

Types of sample findings that you want to generate.

csfDetectorId :: Lens' CreateSampleFindings Text Source #

The ID of the detector to create sample findings for.

Destructuring the Response

createSampleFindingsResponse Source #

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

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

data CreateSampleFindingsResponse Source #

See: createSampleFindingsResponse smart constructor.

Instances

Eq CreateSampleFindingsResponse Source # 
Data CreateSampleFindingsResponse Source # 

Methods

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

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

toConstr :: CreateSampleFindingsResponse -> Constr #

dataTypeOf :: CreateSampleFindingsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses