libZSservicesZSamazonka-wafZSamazonka-waf
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WAF.GetRateBasedRule

Description

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

Creating a Request

data GetRateBasedRule Source #

See: newGetRateBasedRule smart constructor.

Constructors

GetRateBasedRule' 

Fields

  • ruleId :: Text

    The RuleId of the RateBasedRule that you want to get. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.

Instances

Instances details
Eq GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

Read GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

Show GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

Generic GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

Associated Types

type Rep GetRateBasedRule :: Type -> Type #

NFData GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

Methods

rnf :: GetRateBasedRule -> () #

Hashable GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

ToJSON GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

AWSRequest GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

Associated Types

type AWSResponse GetRateBasedRule #

ToHeaders GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

ToPath GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

ToQuery GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

type Rep GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

type Rep GetRateBasedRule = D1 ('MetaData "GetRateBasedRule" "Amazonka.WAF.GetRateBasedRule" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "GetRateBasedRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetRateBasedRule Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

newGetRateBasedRule Source #

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.

Constructors

GetRateBasedRuleResponse' 

Fields

Instances

Instances details
Eq GetRateBasedRuleResponse Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

Read GetRateBasedRuleResponse Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

Show GetRateBasedRuleResponse Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

Generic GetRateBasedRuleResponse Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

Associated Types

type Rep GetRateBasedRuleResponse :: Type -> Type #

NFData GetRateBasedRuleResponse Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

type Rep GetRateBasedRuleResponse Source # 
Instance details

Defined in Amazonka.WAF.GetRateBasedRule

type Rep GetRateBasedRuleResponse = D1 ('MetaData "GetRateBasedRuleResponse" "Amazonka.WAF.GetRateBasedRule" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "GetRateBasedRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RateBasedRule)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.