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 |
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
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
- TheRuleGroupId
of theRuleGroup
that you want to get.RuleGroupId
is returned byCreateRuleGroup
and 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
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 theRuleGroup
that you specified in theGetRuleGroup
request.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.