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

Contents

Description

Returns the RateBasedRule that is specified by the RuleId that you included in the GetRateBasedRule request.

Synopsis

Creating a Request

getRateBasedRule Source #

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

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

  • grbrRuleId - The RuleId of the RateBasedRule that you want to get. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules .

data GetRateBasedRule Source #

See: getRateBasedRule smart constructor.

Instances

Eq GetRateBasedRule Source # 
Data GetRateBasedRule Source # 

Methods

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

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

toConstr :: GetRateBasedRule -> Constr #

dataTypeOf :: GetRateBasedRule -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetRateBasedRule -> () #

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

Request Lenses

grbrRuleId :: Lens' GetRateBasedRule Text Source #

The RuleId of the RateBasedRule that you want to get. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules .

Destructuring the Response

getRateBasedRuleResponse Source #

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

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

data GetRateBasedRuleResponse Source #

See: getRateBasedRuleResponse smart constructor.

Instances

Eq GetRateBasedRuleResponse Source # 
Data GetRateBasedRuleResponse Source # 

Methods

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

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

toConstr :: GetRateBasedRuleResponse -> Constr #

dataTypeOf :: GetRateBasedRuleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetRateBasedRuleResponse Source # 
Show GetRateBasedRuleResponse Source # 
Generic GetRateBasedRuleResponse Source # 
NFData GetRateBasedRuleResponse Source # 
type Rep GetRateBasedRuleResponse Source # 
type Rep GetRateBasedRuleResponse = D1 * (MetaData "GetRateBasedRuleResponse" "Network.AWS.WAF.GetRateBasedRule" "amazonka-waf-1.6.0-3fCImJDdtLm395kgBUHRQd" False) (C1 * (MetaCons "GetRateBasedRuleResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_grbrrsRule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe RateBasedRule))) (S1 * (MetaSel (Just Symbol "_grbrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

grbrrsRule :: Lens' GetRateBasedRuleResponse (Maybe RateBasedRule) Source #

Information about the RateBasedRule that you specified in the GetRateBasedRule request.