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

Contents

Description

Lists the IPSets of the GuardDuty service specified by the detector ID.

This operation returns paginated results.

Synopsis

Creating a Request

listIPSets Source #

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

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

  • lisNextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListIPSet 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.
  • lisMaxResults - You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 7. The maximum value is 7.
  • lisDetectorId - The unique ID of the detector that you want to retrieve.

data ListIPSets Source #

See: listIPSets smart constructor.

Instances

Eq ListIPSets Source # 
Data ListIPSets Source # 

Methods

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

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

toConstr :: ListIPSets -> Constr #

dataTypeOf :: ListIPSets -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListIPSets Source # 
Show ListIPSets Source # 
Generic ListIPSets Source # 

Associated Types

type Rep ListIPSets :: * -> * #

Hashable ListIPSets Source # 
NFData ListIPSets Source # 

Methods

rnf :: ListIPSets -> () #

AWSPager ListIPSets Source # 
AWSRequest ListIPSets Source # 
ToHeaders ListIPSets Source # 

Methods

toHeaders :: ListIPSets -> [Header] #

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

Request Lenses

lisNextToken :: Lens' ListIPSets (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 ListIPSet 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.

lisMaxResults :: Lens' ListIPSets (Maybe Natural) Source #

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

lisDetectorId :: Lens' ListIPSets Text Source #

The unique ID of the detector that you want to retrieve.

Destructuring the Response

listIPSetsResponse Source #

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

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

data ListIPSetsResponse Source #

See: listIPSetsResponse smart constructor.

Instances

Eq ListIPSetsResponse Source # 
Data ListIPSetsResponse Source # 

Methods

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

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

toConstr :: ListIPSetsResponse -> Constr #

dataTypeOf :: ListIPSetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListIPSetsResponse Source # 
Show ListIPSetsResponse Source # 
Generic ListIPSetsResponse Source # 
NFData ListIPSetsResponse Source # 

Methods

rnf :: ListIPSetsResponse -> () #

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

Response Lenses

lisrsResponseStatus :: Lens' ListIPSetsResponse Int Source #

  • - | The response status code.