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

Description

 
Synopsis

Documentation

data CustomRequestHandling Source #

Custom request handling behavior that inserts custom headers into a web request. You can add custom request handling for WAF to use when the rule action doesn't block the request. For example, CaptchaAction for requests with valid t okens, and AllowAction.

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

See: newCustomRequestHandling smart constructor.

Constructors

CustomRequestHandling' 

Fields

Instances

Instances details
FromJSON CustomRequestHandling Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CustomRequestHandling

ToJSON CustomRequestHandling Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CustomRequestHandling

Generic CustomRequestHandling Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CustomRequestHandling

Associated Types

type Rep CustomRequestHandling :: Type -> Type #

Read CustomRequestHandling Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CustomRequestHandling

Show CustomRequestHandling Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CustomRequestHandling

NFData CustomRequestHandling Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CustomRequestHandling

Methods

rnf :: CustomRequestHandling -> () #

Eq CustomRequestHandling Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CustomRequestHandling

Hashable CustomRequestHandling Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CustomRequestHandling

type Rep CustomRequestHandling Source # 
Instance details

Defined in Amazonka.WAFV2.Types.CustomRequestHandling

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

newCustomRequestHandling Source #

Create a value of CustomRequestHandling 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:insertHeaders:CustomRequestHandling', customRequestHandling_insertHeaders - The HTTP headers to insert into the request. Duplicate header names are not allowed.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

customRequestHandling_insertHeaders :: Lens' CustomRequestHandling (NonEmpty CustomHTTPHeader) Source #

The HTTP headers to insert into the request. Duplicate header names are not allowed.

For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.