amazonka-waf-regional-1.5.0: Amazon WAF Regional SDK.

Copyright(c) 2013-2017 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.WAFRegional.ListGeoMatchSets

Contents

Description

Returns an array of GeoMatchSetSummary objects in the response.

Synopsis

Creating a Request

listGeoMatchSets :: ListGeoMatchSets Source #

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

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

  • lgmsNextMarker - If you specify a value for Limit and you have more GeoMatchSet s than the value of Limit , AWS WAF returns a NextMarker value in the response that allows you to list another group of GeoMatchSet objects. For the second and subsequent ListGeoMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of GeoMatchSet objects.
  • lgmsLimit - Specifies the number of GeoMatchSet objects that you want AWS WAF to return for this request. If you have more GeoMatchSet objects than the number you specify for Limit , the response includes a NextMarker value that you can use to get another batch of GeoMatchSet objects.

data ListGeoMatchSets Source #

See: listGeoMatchSets smart constructor.

Instances

Eq ListGeoMatchSets Source # 
Data ListGeoMatchSets Source # 

Methods

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

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

toConstr :: ListGeoMatchSets -> Constr #

dataTypeOf :: ListGeoMatchSets -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListGeoMatchSets -> () #

AWSRequest ListGeoMatchSets Source # 
ToQuery ListGeoMatchSets Source # 
ToPath ListGeoMatchSets Source # 
ToHeaders ListGeoMatchSets Source # 
type Rep ListGeoMatchSets Source # 
type Rep ListGeoMatchSets = D1 (MetaData "ListGeoMatchSets" "Network.AWS.WAFRegional.ListGeoMatchSets" "amazonka-waf-regional-1.5.0-Kn8HIfa7qWEERHHaTClrk5" False) (C1 (MetaCons "ListGeoMatchSets'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lgmsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lgmsLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListGeoMatchSets Source # 

Request Lenses

lgmsNextMarker :: Lens' ListGeoMatchSets (Maybe Text) Source #

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

lgmsLimit :: Lens' ListGeoMatchSets (Maybe Natural) Source #

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

Destructuring the Response

listGeoMatchSetsResponse Source #

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

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

  • lgmsrsGeoMatchSets - An array of GeoMatchSetSummary objects.
  • lgmsrsNextMarker - If you have more GeoMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more GeoMatchSet objects, submit another ListGeoMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.
  • lgmsrsResponseStatus - -- | The response status code.

data ListGeoMatchSetsResponse Source #

See: listGeoMatchSetsResponse smart constructor.

Instances

Eq ListGeoMatchSetsResponse Source # 
Data ListGeoMatchSetsResponse Source # 

Methods

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

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

toConstr :: ListGeoMatchSetsResponse -> Constr #

dataTypeOf :: ListGeoMatchSetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListGeoMatchSetsResponse Source # 
Show ListGeoMatchSetsResponse Source # 
Generic ListGeoMatchSetsResponse Source # 
NFData ListGeoMatchSetsResponse Source # 
type Rep ListGeoMatchSetsResponse Source # 
type Rep ListGeoMatchSetsResponse = D1 (MetaData "ListGeoMatchSetsResponse" "Network.AWS.WAFRegional.ListGeoMatchSets" "amazonka-waf-regional-1.5.0-Kn8HIfa7qWEERHHaTClrk5" False) (C1 (MetaCons "ListGeoMatchSetsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lgmsrsGeoMatchSets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GeoMatchSetSummary]))) ((:*:) (S1 (MetaSel (Just Symbol "_lgmsrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lgmsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lgmsrsNextMarker :: Lens' ListGeoMatchSetsResponse (Maybe Text) Source #

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