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.GetRuleGroup

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 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

Creating a Request

data GetRuleGroup Source #

See: newGetRuleGroup smart constructor.

Constructors

GetRuleGroup' 

Fields

  • ruleGroupId :: Text

    The RuleGroupId of the RuleGroup that you want to get. RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.

Instances

Instances details
Eq GetRuleGroup Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

Read GetRuleGroup Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

Show GetRuleGroup Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

Generic GetRuleGroup Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

Associated Types

type Rep GetRuleGroup :: Type -> Type #

NFData GetRuleGroup Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

Methods

rnf :: GetRuleGroup -> () #

Hashable GetRuleGroup Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

ToJSON GetRuleGroup Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

AWSRequest GetRuleGroup Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

Associated Types

type AWSResponse GetRuleGroup #

ToHeaders GetRuleGroup Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

ToPath GetRuleGroup Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

ToQuery GetRuleGroup Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

type Rep GetRuleGroup Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

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

Defined in Amazonka.WAF.GetRuleGroup

newGetRuleGroup Source #

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.

Constructors

GetRuleGroupResponse' 

Fields

Instances

Instances details
Eq GetRuleGroupResponse Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

Read GetRuleGroupResponse Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

Show GetRuleGroupResponse Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

Generic GetRuleGroupResponse Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

Associated Types

type Rep GetRuleGroupResponse :: Type -> Type #

NFData GetRuleGroupResponse Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

Methods

rnf :: GetRuleGroupResponse -> () #

type Rep GetRuleGroupResponse Source # 
Instance details

Defined in Amazonka.WAF.GetRuleGroup

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

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.