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

Contents

Description

Returns an array of IP addresses currently being blocked by the RateBasedRule that is specified by the RuleId . The maximum number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed the rate limit, the 10,000 addresses with the highest rates will be blocked.

Synopsis

Creating a Request

getRateBasedRuleManagedKeys #

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

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

  • grbrmkNextMarker - A null value and not currently used. Do not include this in your request.
  • grbrmkRuleId - The RuleId of the RateBasedRule for which you want to get a list of ManagedKeys . RuleId is returned by CreateRateBasedRule and by ListRateBasedRules .

data GetRateBasedRuleManagedKeys #

See: getRateBasedRuleManagedKeys smart constructor.

Instances

Eq GetRateBasedRuleManagedKeys # 
Data GetRateBasedRuleManagedKeys # 

Methods

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

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

toConstr :: GetRateBasedRuleManagedKeys -> Constr #

dataTypeOf :: GetRateBasedRuleManagedKeys -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetRateBasedRuleManagedKeys # 
Show GetRateBasedRuleManagedKeys # 
Generic GetRateBasedRuleManagedKeys # 
Hashable GetRateBasedRuleManagedKeys # 
ToJSON GetRateBasedRuleManagedKeys # 
NFData GetRateBasedRuleManagedKeys # 
AWSRequest GetRateBasedRuleManagedKeys # 
ToHeaders GetRateBasedRuleManagedKeys # 
ToPath GetRateBasedRuleManagedKeys # 
ToQuery GetRateBasedRuleManagedKeys # 
type Rep GetRateBasedRuleManagedKeys # 
type Rep GetRateBasedRuleManagedKeys = D1 * (MetaData "GetRateBasedRuleManagedKeys" "Network.AWS.WAF.GetRateBasedRuleManagedKeys" "amazonka-waf-1.6.0-K7okww4xWnpBRydji27mKc" False) (C1 * (MetaCons "GetRateBasedRuleManagedKeys'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_grbrmkNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_grbrmkRuleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs GetRateBasedRuleManagedKeys # 

Request Lenses

grbrmkNextMarker :: Lens' GetRateBasedRuleManagedKeys (Maybe Text) #

A null value and not currently used. Do not include this in your request.

grbrmkRuleId :: Lens' GetRateBasedRuleManagedKeys Text #

The RuleId of the RateBasedRule for which you want to get a list of ManagedKeys . RuleId is returned by CreateRateBasedRule and by ListRateBasedRules .

Destructuring the Response

getRateBasedRuleManagedKeysResponse #

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

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

data GetRateBasedRuleManagedKeysResponse #

See: getRateBasedRuleManagedKeysResponse smart constructor.

Instances

Eq GetRateBasedRuleManagedKeysResponse # 
Data GetRateBasedRuleManagedKeysResponse # 

Methods

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

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

toConstr :: GetRateBasedRuleManagedKeysResponse -> Constr #

dataTypeOf :: GetRateBasedRuleManagedKeysResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetRateBasedRuleManagedKeysResponse # 
Show GetRateBasedRuleManagedKeysResponse # 
Generic GetRateBasedRuleManagedKeysResponse # 
NFData GetRateBasedRuleManagedKeysResponse # 
type Rep GetRateBasedRuleManagedKeysResponse # 
type Rep GetRateBasedRuleManagedKeysResponse = D1 * (MetaData "GetRateBasedRuleManagedKeysResponse" "Network.AWS.WAF.GetRateBasedRuleManagedKeys" "amazonka-waf-1.6.0-K7okww4xWnpBRydji27mKc" False) (C1 * (MetaCons "GetRateBasedRuleManagedKeysResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_grbrmkrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_grbrmkrsManagedKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_grbrmkrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

grbrmkrsNextMarker :: Lens' GetRateBasedRuleManagedKeysResponse (Maybe Text) #

A null value and not currently used.

grbrmkrsManagedKeys :: Lens' GetRateBasedRuleManagedKeysResponse [Text] #

An array of IP addresses that currently are blocked by the specified RateBasedRule .