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