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

Contents

Description

Lists Amazon GuardDuty findings for the specified detector ID.

This operation returns paginated results.

Synopsis

Creating a Request

listFindings Source #

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

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

  • lfFindingCriteria - Represents the criteria used for querying findings.
  • lfSortCriteria - Represents the criteria used for sorting findings.
  • lfNextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. For subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.
  • lfMaxResults - You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.
  • lfDetectorId - The ID of the detector that specifies the GuardDuty service whose findings you want to list.

data ListFindings Source #

ListFindings request body.

See: listFindings smart constructor.

Instances

Eq ListFindings Source # 
Data ListFindings Source # 

Methods

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

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

toConstr :: ListFindings -> Constr #

dataTypeOf :: ListFindings -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListFindings Source # 
Show ListFindings Source # 
Generic ListFindings Source # 

Associated Types

type Rep ListFindings :: * -> * #

Hashable ListFindings Source # 
ToJSON ListFindings Source # 
NFData ListFindings Source # 

Methods

rnf :: ListFindings -> () #

AWSPager ListFindings Source # 
AWSRequest ListFindings Source # 
ToHeaders ListFindings Source # 
ToPath ListFindings Source # 
ToQuery ListFindings Source # 
type Rep ListFindings Source # 
type Rep ListFindings = D1 * (MetaData "ListFindings" "Network.AWS.GuardDuty.ListFindings" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "ListFindings'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_lfFindingCriteria") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe FindingCriteria))) (S1 * (MetaSel (Just Symbol "_lfSortCriteria") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe SortCriteria)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lfNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lfMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_lfDetectorId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs ListFindings Source # 

Request Lenses

lfFindingCriteria :: Lens' ListFindings (Maybe FindingCriteria) Source #

Represents the criteria used for querying findings.

lfSortCriteria :: Lens' ListFindings (Maybe SortCriteria) Source #

Represents the criteria used for sorting findings.

lfNextToken :: Lens' ListFindings (Maybe Text) Source #

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. For subsequent calls to the action fill nextToken in the request with the value of nextToken from the previous response to continue listing data.

lfMaxResults :: Lens' ListFindings (Maybe Natural) Source #

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

lfDetectorId :: Lens' ListFindings Text Source #

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

Destructuring the Response

listFindingsResponse Source #

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

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

data ListFindingsResponse Source #

See: listFindingsResponse smart constructor.

Instances

Eq ListFindingsResponse Source # 
Data ListFindingsResponse Source # 

Methods

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

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

toConstr :: ListFindingsResponse -> Constr #

dataTypeOf :: ListFindingsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListFindingsResponse Source # 
Show ListFindingsResponse Source # 
Generic ListFindingsResponse Source # 
NFData ListFindingsResponse Source # 

Methods

rnf :: ListFindingsResponse -> () #

type Rep ListFindingsResponse Source # 
type Rep ListFindingsResponse = D1 * (MetaData "ListFindingsResponse" "Network.AWS.GuardDuty.ListFindings" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "ListFindingsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lfrsFindingIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lfrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lfrsResponseStatus :: Lens' ListFindingsResponse Int Source #

  • - | The response status code.