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 Source #

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 Source #

See: getRateBasedRuleManagedKeys smart constructor.

Instances

Eq GetRateBasedRuleManagedKeys Source # 
Data GetRateBasedRuleManagedKeys Source # 

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 Source # 
Show GetRateBasedRuleManagedKeys Source # 
Generic GetRateBasedRuleManagedKeys Source # 
Hashable GetRateBasedRuleManagedKeys Source # 
ToJSON GetRateBasedRuleManagedKeys Source # 
NFData GetRateBasedRuleManagedKeys Source # 
AWSRequest GetRateBasedRuleManagedKeys Source # 
ToHeaders GetRateBasedRuleManagedKeys Source # 
ToPath GetRateBasedRuleManagedKeys Source # 
ToQuery GetRateBasedRuleManagedKeys Source # 
type Rep GetRateBasedRuleManagedKeys Source # 
type Rep GetRateBasedRuleManagedKeys = D1 * (MetaData "GetRateBasedRuleManagedKeys" "Network.AWS.WAF.GetRateBasedRuleManagedKeys" "amazonka-waf-1.6.0-3fCImJDdtLm395kgBUHRQd" 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 Source # 

Request Lenses

grbrmkNextMarker :: Lens' GetRateBasedRuleManagedKeys (Maybe Text) Source #

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

grbrmkRuleId :: Lens' GetRateBasedRuleManagedKeys Text Source #

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 Source #

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 Source #

See: getRateBasedRuleManagedKeysResponse smart constructor.

Instances

Eq GetRateBasedRuleManagedKeysResponse Source # 
Data GetRateBasedRuleManagedKeysResponse Source # 

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 Source # 
Show GetRateBasedRuleManagedKeysResponse Source # 
Generic GetRateBasedRuleManagedKeysResponse Source # 
NFData GetRateBasedRuleManagedKeysResponse Source # 
type Rep GetRateBasedRuleManagedKeysResponse Source # 
type Rep GetRateBasedRuleManagedKeysResponse = D1 * (MetaData "GetRateBasedRuleManagedKeysResponse" "Network.AWS.WAF.GetRateBasedRuleManagedKeys" "amazonka-waf-1.6.0-3fCImJDdtLm395kgBUHRQd" 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

grbrmkrsManagedKeys :: Lens' GetRateBasedRuleManagedKeysResponse [Text] Source #

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