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

Contents

Description

Returns the RuleGroup that is specified by the RuleGroupId that you included in the GetRuleGroup request.

To view the rules in a rule group, use ListActivatedRulesInRuleGroup .

Synopsis

Creating a Request

getRuleGroup Source #

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

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

  • grgRuleGroupId - The RuleGroupId of the RuleGroup that you want to get. RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups .

data GetRuleGroup Source #

See: getRuleGroup smart constructor.

Instances

Eq GetRuleGroup Source # 
Data GetRuleGroup Source # 

Methods

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

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

toConstr :: GetRuleGroup -> Constr #

dataTypeOf :: GetRuleGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetRuleGroup Source # 
Show GetRuleGroup Source # 
Generic GetRuleGroup Source # 

Associated Types

type Rep GetRuleGroup :: * -> * #

Hashable GetRuleGroup Source # 
ToJSON GetRuleGroup Source # 
NFData GetRuleGroup Source # 

Methods

rnf :: GetRuleGroup -> () #

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

Request Lenses

grgRuleGroupId :: Lens' GetRuleGroup Text Source #

The RuleGroupId of the RuleGroup that you want to get. RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups .

Destructuring the Response

getRuleGroupResponse Source #

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

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

data GetRuleGroupResponse Source #

See: getRuleGroupResponse smart constructor.

Instances

Eq GetRuleGroupResponse Source # 
Data GetRuleGroupResponse Source # 

Methods

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

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

toConstr :: GetRuleGroupResponse -> Constr #

dataTypeOf :: GetRuleGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetRuleGroupResponse Source # 
Show GetRuleGroupResponse Source # 
Generic GetRuleGroupResponse Source # 
NFData GetRuleGroupResponse Source # 

Methods

rnf :: GetRuleGroupResponse -> () #

type Rep GetRuleGroupResponse Source # 
type Rep GetRuleGroupResponse = D1 * (MetaData "GetRuleGroupResponse" "Network.AWS.WAF.GetRuleGroup" "amazonka-waf-1.6.0-3fCImJDdtLm395kgBUHRQd" False) (C1 * (MetaCons "GetRuleGroupResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_grgrsRuleGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe RuleGroup))) (S1 * (MetaSel (Just Symbol "_grgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

grgrsRuleGroup :: Lens' GetRuleGroupResponse (Maybe RuleGroup) Source #

Information about the RuleGroup that you specified in the GetRuleGroup request.

grgrsResponseStatus :: Lens' GetRuleGroupResponse Int Source #

  • - | The response status code.