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 RateBasedRule that is specified by the RuleId
that you
included in the GetRateBasedRule
request.
Synopsis
- data GetRateBasedRule = GetRateBasedRule' {}
- newGetRateBasedRule :: Text -> GetRateBasedRule
- getRateBasedRule_ruleId :: Lens' GetRateBasedRule Text
- data GetRateBasedRuleResponse = GetRateBasedRuleResponse' {
- rule :: Maybe RateBasedRule
- httpStatus :: Int
- newGetRateBasedRuleResponse :: Int -> GetRateBasedRuleResponse
- getRateBasedRuleResponse_rule :: Lens' GetRateBasedRuleResponse (Maybe RateBasedRule)
- getRateBasedRuleResponse_httpStatus :: Lens' GetRateBasedRuleResponse Int
Creating a Request
data GetRateBasedRule Source #
See: newGetRateBasedRule
smart constructor.
Instances
Create a value of GetRateBasedRule
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:ruleId:GetRateBasedRule'
, getRateBasedRule_ruleId
- The RuleId
of the RateBasedRule that you want to get. RuleId
is
returned by CreateRateBasedRule and by ListRateBasedRules.
Request Lenses
getRateBasedRule_ruleId :: Lens' GetRateBasedRule Text Source #
The RuleId
of the RateBasedRule that you want to get. RuleId
is
returned by CreateRateBasedRule and by ListRateBasedRules.
Destructuring the Response
data GetRateBasedRuleResponse Source #
See: newGetRateBasedRuleResponse
smart constructor.
GetRateBasedRuleResponse' | |
|
Instances
newGetRateBasedRuleResponse Source #
Create a value of GetRateBasedRuleResponse
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:rule:GetRateBasedRuleResponse'
, getRateBasedRuleResponse_rule
- Information about the RateBasedRule that you specified in the
GetRateBasedRule
request.
$sel:httpStatus:GetRateBasedRuleResponse'
, getRateBasedRuleResponse_httpStatus
- The response's http status code.
Response Lenses
getRateBasedRuleResponse_rule :: Lens' GetRateBasedRuleResponse (Maybe RateBasedRule) Source #
Information about the RateBasedRule that you specified in the
GetRateBasedRule
request.
getRateBasedRuleResponse_httpStatus :: Lens' GetRateBasedRuleResponse Int Source #
The response's http status code.