amazonka-wafv2-2.0: Amazon WAFV2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WAFV2.Types.RuleSummary

Description

 
Synopsis

Documentation

data RuleSummary Source #

High-level information about a Rule, returned by operations like DescribeManagedRuleGroup. This provides information like the ID, that you can use to retrieve and manage a RuleGroup, and the ARN, that you provide to the RuleGroupReferenceStatement to use the rule group in a Rule.

See: newRuleSummary smart constructor.

Constructors

RuleSummary' 

Fields

  • action :: Maybe RuleAction

    The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.

  • name :: Maybe Text

    The name of the rule.

Instances

Instances details
FromJSON RuleSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RuleSummary

Generic RuleSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RuleSummary

Associated Types

type Rep RuleSummary :: Type -> Type #

Read RuleSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RuleSummary

Show RuleSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RuleSummary

NFData RuleSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RuleSummary

Methods

rnf :: RuleSummary -> () #

Eq RuleSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RuleSummary

Hashable RuleSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RuleSummary

type Rep RuleSummary Source # 
Instance details

Defined in Amazonka.WAFV2.Types.RuleSummary

type Rep RuleSummary = D1 ('MetaData "RuleSummary" "Amazonka.WAFV2.Types.RuleSummary" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "RuleSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleAction)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newRuleSummary :: RuleSummary 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:action:RuleSummary', ruleSummary_action - The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.

$sel:name:RuleSummary', ruleSummary_name - The name of the rule.

ruleSummary_action :: Lens' RuleSummary (Maybe RuleAction) Source #

The action that WAF should take on a web request when it matches a rule's statement. Settings at the web ACL level can override the rule action setting.

ruleSummary_name :: Lens' RuleSummary (Maybe Text) Source #

The name of the rule.