Copyright | (c) 2013-2021 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 |
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
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
- data GetRuleGroup = GetRuleGroup' {
- ruleGroupId :: Text
- newGetRuleGroup :: Text -> GetRuleGroup
- getRuleGroup_ruleGroupId :: Lens' GetRuleGroup Text
- data GetRuleGroupResponse = GetRuleGroupResponse' {
- ruleGroup :: Maybe RuleGroup
- httpStatus :: Int
- newGetRuleGroupResponse :: Int -> GetRuleGroupResponse
- getRuleGroupResponse_ruleGroup :: Lens' GetRuleGroupResponse (Maybe RuleGroup)
- getRuleGroupResponse_httpStatus :: Lens' GetRuleGroupResponse Int
Creating a Request
data GetRuleGroup Source #
See: newGetRuleGroup
smart constructor.
GetRuleGroup' | |
|
Instances
Create a value of GetRuleGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ruleGroupId:GetRuleGroup'
, getRuleGroup_ruleGroupId
- The RuleGroupId
of the RuleGroup that you want to get. RuleGroupId
is returned by CreateRuleGroup and by ListRuleGroups.
Request Lenses
getRuleGroup_ruleGroupId :: 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
data GetRuleGroupResponse Source #
See: newGetRuleGroupResponse
smart constructor.
GetRuleGroupResponse' | |
|
Instances
newGetRuleGroupResponse Source #
Create a value of GetRuleGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ruleGroup:GetRuleGroupResponse'
, getRuleGroupResponse_ruleGroup
- Information about the RuleGroup that you specified in the GetRuleGroup
request.
$sel:httpStatus:GetRuleGroupResponse'
, getRuleGroupResponse_httpStatus
- The response's http status code.
Response Lenses
getRuleGroupResponse_ruleGroup :: Lens' GetRuleGroupResponse (Maybe RuleGroup) Source #
Information about the RuleGroup that you specified in the GetRuleGroup
request.
getRuleGroupResponse_httpStatus :: Lens' GetRuleGroupResponse Int Source #
The response's http status code.