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

Contents

Description

Returns a paginated list of the current filters.

This operation returns paginated results.

Synopsis

Creating a Request

listFilters Source #

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

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

  • lNextToken - Paginates results. Set the value of this parameter to NULL on your first call to the ListFilters operation.For subsequent calls to the operation, fill nextToken in the request with the value of nextToken from the previous response to continue listing data.
  • lMaxResults - Indicates the maximum number of items that you want in the response. The maximum value is 50.
  • lDetectorId - The ID of the detector that specifies the GuardDuty service where you want to list filters.

data ListFilters Source #

See: listFilters smart constructor.

Instances

Eq ListFilters Source # 
Data ListFilters Source # 

Methods

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

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

toConstr :: ListFilters -> Constr #

dataTypeOf :: ListFilters -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListFilters Source # 
Show ListFilters Source # 
Generic ListFilters Source # 

Associated Types

type Rep ListFilters :: * -> * #

Hashable ListFilters Source # 
NFData ListFilters Source # 

Methods

rnf :: ListFilters -> () #

AWSPager ListFilters Source # 
AWSRequest ListFilters Source # 
ToHeaders ListFilters Source # 

Methods

toHeaders :: ListFilters -> [Header] #

ToPath ListFilters Source # 
ToQuery ListFilters Source # 
type Rep ListFilters Source # 
type Rep ListFilters = D1 * (MetaData "ListFilters" "Network.AWS.GuardDuty.ListFilters" "amazonka-guardduty-1.6.0-KbE83ZKqiO93fxfUnyqRWA" False) (C1 * (MetaCons "ListFilters'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_lDetectorId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListFilters Source # 

Request Lenses

lNextToken :: Lens' ListFilters (Maybe Text) Source #

Paginates results. Set the value of this parameter to NULL on your first call to the ListFilters operation.For subsequent calls to the operation, fill nextToken in the request with the value of nextToken from the previous response to continue listing data.

lMaxResults :: Lens' ListFilters (Maybe Natural) Source #

Indicates the maximum number of items that you want in the response. The maximum value is 50.

lDetectorId :: Lens' ListFilters Text Source #

The ID of the detector that specifies the GuardDuty service where you want to list filters.

Destructuring the Response

listFiltersResponse Source #

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

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

data ListFiltersResponse Source #

See: listFiltersResponse smart constructor.

Instances

Eq ListFiltersResponse Source # 
Data ListFiltersResponse Source # 

Methods

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

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

toConstr :: ListFiltersResponse -> Constr #

dataTypeOf :: ListFiltersResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListFiltersResponse Source # 
Show ListFiltersResponse Source # 
Generic ListFiltersResponse Source # 
NFData ListFiltersResponse Source # 

Methods

rnf :: ListFiltersResponse -> () #

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

Response Lenses

lrsResponseStatus :: Lens' ListFiltersResponse Int Source #

  • - | The response status code.