amazonka-waf-regional-1.6.0: Amazon WAF Regional 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.WAFRegional.GetGeoMatchSet

Contents

Description

Returns the GeoMatchSet that is specified by GeoMatchSetId .

Synopsis

Creating a Request

getGeoMatchSet Source #

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

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

  • ggmsGeoMatchSetId - The GeoMatchSetId of the GeoMatchSet that you want to get. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets .

data GetGeoMatchSet Source #

See: getGeoMatchSet smart constructor.

Instances

Eq GetGeoMatchSet Source # 
Data GetGeoMatchSet Source # 

Methods

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

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

toConstr :: GetGeoMatchSet -> Constr #

dataTypeOf :: GetGeoMatchSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetGeoMatchSet Source # 
Show GetGeoMatchSet Source # 
Generic GetGeoMatchSet Source # 

Associated Types

type Rep GetGeoMatchSet :: * -> * #

Hashable GetGeoMatchSet Source # 
ToJSON GetGeoMatchSet Source # 
NFData GetGeoMatchSet Source # 

Methods

rnf :: GetGeoMatchSet -> () #

AWSRequest GetGeoMatchSet Source # 
ToHeaders GetGeoMatchSet Source # 
ToPath GetGeoMatchSet Source # 
ToQuery GetGeoMatchSet Source # 
type Rep GetGeoMatchSet Source # 
type Rep GetGeoMatchSet = D1 * (MetaData "GetGeoMatchSet" "Network.AWS.WAFRegional.GetGeoMatchSet" "amazonka-waf-regional-1.6.0-8hbXet7pAjcFZLYYuMOYQd" True) (C1 * (MetaCons "GetGeoMatchSet'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ggmsGeoMatchSetId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetGeoMatchSet Source # 

Request Lenses

ggmsGeoMatchSetId :: Lens' GetGeoMatchSet Text Source #

The GeoMatchSetId of the GeoMatchSet that you want to get. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets .

Destructuring the Response

getGeoMatchSetResponse Source #

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

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

  • ggmsrsGeoMatchSet - Information about the GeoMatchSet that you specified in the GetGeoMatchSet request. This includes the Type , which for a GeoMatchContraint is always Country , as well as the Value , which is the identifier for a specific country.
  • ggmsrsResponseStatus - -- | The response status code.

data GetGeoMatchSetResponse Source #

See: getGeoMatchSetResponse smart constructor.

Instances

Eq GetGeoMatchSetResponse Source # 
Data GetGeoMatchSetResponse Source # 

Methods

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

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

toConstr :: GetGeoMatchSetResponse -> Constr #

dataTypeOf :: GetGeoMatchSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetGeoMatchSetResponse Source # 
Show GetGeoMatchSetResponse Source # 
Generic GetGeoMatchSetResponse Source # 
NFData GetGeoMatchSetResponse Source # 

Methods

rnf :: GetGeoMatchSetResponse -> () #

type Rep GetGeoMatchSetResponse Source # 
type Rep GetGeoMatchSetResponse = D1 * (MetaData "GetGeoMatchSetResponse" "Network.AWS.WAFRegional.GetGeoMatchSet" "amazonka-waf-regional-1.6.0-8hbXet7pAjcFZLYYuMOYQd" False) (C1 * (MetaCons "GetGeoMatchSetResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ggmsrsGeoMatchSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe GeoMatchSet))) (S1 * (MetaSel (Just Symbol "_ggmsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

ggmsrsGeoMatchSet :: Lens' GetGeoMatchSetResponse (Maybe GeoMatchSet) Source #

Information about the GeoMatchSet that you specified in the GetGeoMatchSet request. This includes the Type , which for a GeoMatchContraint is always Country , as well as the Value , which is the identifier for a specific country.