libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional
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.WAFRegional.Types.RuleSummary

Description

 
Synopsis

Documentation

data RuleSummary Source #

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.

Contains the identifier and the friendly name or description of the Rule.

See: newRuleSummary smart constructor.

Constructors

RuleSummary' 

Fields

  • ruleId :: Text

    A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

    RuleId is returned by CreateRule and by ListRules.

  • name :: Text

    A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

Instances

Instances details
Eq RuleSummary Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleSummary

Read RuleSummary Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleSummary

Show RuleSummary Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleSummary

Generic RuleSummary Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleSummary

Associated Types

type Rep RuleSummary :: Type -> Type #

NFData RuleSummary Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleSummary

Methods

rnf :: RuleSummary -> () #

Hashable RuleSummary Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleSummary

FromJSON RuleSummary Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleSummary

type Rep RuleSummary Source # 
Instance details

Defined in Amazonka.WAFRegional.Types.RuleSummary

type Rep RuleSummary = D1 ('MetaData "RuleSummary" "Amazonka.WAFRegional.Types.RuleSummary" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "RuleSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRuleSummary Source #

Create a value of RuleSummary 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:RuleSummary', ruleSummary_ruleId - A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

RuleId is returned by CreateRule and by ListRules.

$sel:name:RuleSummary', ruleSummary_name - A friendly name or description of the Rule. You can't change the name of a Rule after you create it.

ruleSummary_ruleId :: Lens' RuleSummary Text Source #

A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).

RuleId is returned by CreateRule and by ListRules.

ruleSummary_name :: Lens' RuleSummary Text Source #

A friendly name or description of the Rule. You can't change the name of a Rule after you create it.