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 #

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 #

See: getRuleGroup smart constructor.

Instances
Eq GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

Data GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

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 # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

Show GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

Generic GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

Associated Types

type Rep GetRuleGroup :: * -> * #

Hashable GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

ToJSON GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

AWSRequest GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

Associated Types

type Rs GetRuleGroup :: * #

ToHeaders GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

ToPath GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

ToQuery GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

NFData GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

Methods

rnf :: GetRuleGroup -> () #

type Rep GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

type Rep GetRuleGroup = D1 (MetaData "GetRuleGroup" "Network.AWS.WAF.GetRuleGroup" "amazonka-waf-1.6.0-8vJWOdEr4mb8Ak9o7JGEhy" True) (C1 (MetaCons "GetRuleGroup'" PrefixI True) (S1 (MetaSel (Just "_grgRuleGroupId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetRuleGroup # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

Request Lenses

grgRuleGroupId :: Lens' GetRuleGroup Text #

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

Destructuring the Response

getRuleGroupResponse #

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 #

See: getRuleGroupResponse smart constructor.

Instances
Eq GetRuleGroupResponse # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

Data GetRuleGroupResponse # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

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 # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

Show GetRuleGroupResponse # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

Generic GetRuleGroupResponse # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

Associated Types

type Rep GetRuleGroupResponse :: * -> * #

NFData GetRuleGroupResponse # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

Methods

rnf :: GetRuleGroupResponse -> () #

type Rep GetRuleGroupResponse # 
Instance details

Defined in Network.AWS.WAF.GetRuleGroup

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

Response Lenses

grgrsRuleGroup :: Lens' GetRuleGroupResponse (Maybe RuleGroup) #

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

grgrsResponseStatus :: Lens' GetRuleGroupResponse Int #

  • - | The response status code.