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

Contents

Description

Returns the RegexPatternSet specified by RegexPatternSetId .

Synopsis

Creating a Request

getRegexPatternSet Source #

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

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

data GetRegexPatternSet Source #

See: getRegexPatternSet smart constructor.

Instances

Eq GetRegexPatternSet Source # 
Data GetRegexPatternSet Source # 

Methods

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

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

toConstr :: GetRegexPatternSet -> Constr #

dataTypeOf :: GetRegexPatternSet -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetRegexPatternSet -> () #

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

Request Lenses

grpsRegexPatternSetId :: Lens' GetRegexPatternSet Text Source #

The RegexPatternSetId of the RegexPatternSet that you want to get. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets .

Destructuring the Response

getRegexPatternSetResponse Source #

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

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

  • grpsrsRegexPatternSet - Information about the RegexPatternSet that you specified in the GetRegexPatternSet request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.
  • grpsrsResponseStatus - -- | The response status code.

data GetRegexPatternSetResponse Source #

See: getRegexPatternSetResponse smart constructor.

Instances

Eq GetRegexPatternSetResponse Source # 
Data GetRegexPatternSetResponse Source # 

Methods

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

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

toConstr :: GetRegexPatternSetResponse -> Constr #

dataTypeOf :: GetRegexPatternSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetRegexPatternSetResponse Source # 
Show GetRegexPatternSetResponse Source # 
Generic GetRegexPatternSetResponse Source # 
NFData GetRegexPatternSetResponse Source # 
type Rep GetRegexPatternSetResponse Source # 
type Rep GetRegexPatternSetResponse = D1 * (MetaData "GetRegexPatternSetResponse" "Network.AWS.WAFRegional.GetRegexPatternSet" "amazonka-waf-regional-1.6.0-8hbXet7pAjcFZLYYuMOYQd" False) (C1 * (MetaCons "GetRegexPatternSetResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_grpsrsRegexPatternSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe RegexPatternSet))) (S1 * (MetaSel (Just Symbol "_grpsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

grpsrsRegexPatternSet :: Lens' GetRegexPatternSetResponse (Maybe RegexPatternSet) Source #

Information about the RegexPatternSet that you specified in the GetRegexPatternSet request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.