amazonka-waf-1.4.2: Amazon WAF SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.WAF.ListIPSets

Contents

Description

Returns an array of IPSetSummary objects in the response.

Synopsis

Creating a Request

listIPSets Source #

Arguments

:: Natural

lisLimit

-> ListIPSets 

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:

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 :: * -> * #

ToJSON ListIPSets Source # 
Hashable ListIPSets Source # 
NFData ListIPSets Source # 

Methods

rnf :: ListIPSets -> () #

AWSRequest ListIPSets Source # 
ToPath ListIPSets Source # 
ToHeaders ListIPSets Source # 

Methods

toHeaders :: ListIPSets -> [Header] #

ToQuery ListIPSets Source # 
type Rep ListIPSets Source # 
type Rep ListIPSets = D1 (MetaData "ListIPSets" "Network.AWS.WAF.ListIPSets" "amazonka-waf-1.4.2-GUOLg0Y7f3KJKVyTZ0nfG8" False) (C1 (MetaCons "ListIPSets'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lisNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lisLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat))))
type Rs ListIPSets Source # 

Request Lenses

lisNextMarker :: Lens' ListIPSets (Maybe Text) Source #

If you specify a value for Limit and you have more IPSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of IPSets. For the second and subsequent ListIPSets requests, specify the value of NextMarker from the previous response to get information about another batch of ByteMatchSets.

lisLimit :: Lens' ListIPSets Natural Source #

Specifies the number of IPSet objects that you want AWS WAF to return for this request. If you have more IPSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of IPSet objects.

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.WAF.ListIPSets" "amazonka-waf-1.4.2-GUOLg0Y7f3KJKVyTZ0nfG8" False) (C1 (MetaCons "ListIPSetsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lisrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lisrsIPSets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [IPSetSummary]))) (S1 (MetaSel (Just Symbol "_lisrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lisrsNextMarker :: Lens' ListIPSetsResponse (Maybe Text) Source #

If you have more IPSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more IPSet objects, submit another ListIPSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.