amazonka-waf-1.6.0: Amazon WAF 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.WAF.GetRegexPatternSet

Contents

Description

Returns the RegexPatternSet specified by RegexPatternSetId .

Synopsis

Creating a Request

getRegexPatternSet #

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 #

See: getRegexPatternSet smart constructor.

Instances

Eq GetRegexPatternSet # 
Data GetRegexPatternSet # 

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 # 
Show GetRegexPatternSet # 
Generic GetRegexPatternSet # 
Hashable GetRegexPatternSet # 
ToJSON GetRegexPatternSet # 
NFData GetRegexPatternSet # 

Methods

rnf :: GetRegexPatternSet -> () #

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

Request Lenses

grpsRegexPatternSetId :: Lens' GetRegexPatternSet Text #

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

Destructuring the Response

getRegexPatternSetResponse #

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 #

See: getRegexPatternSetResponse smart constructor.

Instances

Eq GetRegexPatternSetResponse # 
Data GetRegexPatternSetResponse # 

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 # 
Show GetRegexPatternSetResponse # 
Generic GetRegexPatternSetResponse # 
NFData GetRegexPatternSetResponse # 
type Rep GetRegexPatternSetResponse # 
type Rep GetRegexPatternSetResponse = D1 * (MetaData "GetRegexPatternSetResponse" "Network.AWS.WAF.GetRegexPatternSet" "amazonka-waf-1.6.0-K7okww4xWnpBRydji27mKc" 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) #

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.