| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WAFRegional.Types.RuleSummary
Description
Synopsis
- data RuleSummary = RuleSummary' {}
- newRuleSummary :: Text -> Text -> RuleSummary
- ruleSummary_ruleId :: Lens' RuleSummary Text
- ruleSummary_name :: Lens' RuleSummary Text
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
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> RuleSummary |
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.