| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.WAF.GetRuleGroup
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 .
Creating a Request
Arguments
| :: Text | |
| -> 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- TheRuleGroupIdof theRuleGroupthat you want to get.RuleGroupIdis returned byCreateRuleGroupand byListRuleGroups.
data GetRuleGroup Source #
See: getRuleGroup smart constructor.
Instances
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
Arguments
| :: Int | |
| -> 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:
grgrsRuleGroup- Information about theRuleGroupthat you specified in theGetRuleGrouprequest.grgrsResponseStatus- -- | The response status code.
data GetRuleGroupResponse Source #
See: getRuleGroupResponse smart constructor.
Instances
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.