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

Description

 
Synopsis

Documentation

data AllowAction Source #

Specifies that WAF should allow the request and optionally defines additional custom handling for the request.

This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.

See: newAllowAction smart constructor.

Constructors

AllowAction' 

Fields

Instances

Instances details
FromJSON AllowAction Source # 
Instance details

Defined in Amazonka.WAFV2.Types.AllowAction

ToJSON AllowAction Source # 
Instance details

Defined in Amazonka.WAFV2.Types.AllowAction

Generic AllowAction Source # 
Instance details

Defined in Amazonka.WAFV2.Types.AllowAction

Associated Types

type Rep AllowAction :: Type -> Type #

Read AllowAction Source # 
Instance details

Defined in Amazonka.WAFV2.Types.AllowAction

Show AllowAction Source # 
Instance details

Defined in Amazonka.WAFV2.Types.AllowAction

NFData AllowAction Source # 
Instance details

Defined in Amazonka.WAFV2.Types.AllowAction

Methods

rnf :: AllowAction -> () #

Eq AllowAction Source # 
Instance details

Defined in Amazonka.WAFV2.Types.AllowAction

Hashable AllowAction Source # 
Instance details

Defined in Amazonka.WAFV2.Types.AllowAction

type Rep AllowAction Source # 
Instance details

Defined in Amazonka.WAFV2.Types.AllowAction

type Rep AllowAction = D1 ('MetaData "AllowAction" "Amazonka.WAFV2.Types.AllowAction" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "AllowAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "customRequestHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomRequestHandling))))

newAllowAction :: AllowAction Source #

Create a value of AllowAction 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:customRequestHandling:AllowAction', allowAction_customRequestHandling - Defines custom handling for the web request.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.

allowAction_customRequestHandling :: Lens' AllowAction (Maybe CustomRequestHandling) Source #

Defines custom handling for the web request.

For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.