Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data HTTPHeader = HTTPHeader' {}
- newHTTPHeader :: HTTPHeader
- hTTPHeader_value :: Lens' HTTPHeader (Maybe Text)
- hTTPHeader_name :: Lens' HTTPHeader (Maybe Text)
Documentation
data HTTPHeader 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.
The response from a GetSampledRequests request includes an HTTPHeader
complex type that appears as Headers
in the response syntax.
HTTPHeader
contains the names and values of all of the headers that
appear in one of the web requests that were returned by
GetSampledRequests
.
See: newHTTPHeader
smart constructor.
Instances
newHTTPHeader :: HTTPHeader Source #
Create a value of HTTPHeader
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:value:HTTPHeader'
, hTTPHeader_value
- The value of one of the headers in the sampled web request.
$sel:name:HTTPHeader'
, hTTPHeader_name
- The name of one of the headers in the sampled web request.
hTTPHeader_value :: Lens' HTTPHeader (Maybe Text) Source #
The value of one of the headers in the sampled web request.
hTTPHeader_name :: Lens' HTTPHeader (Maybe Text) Source #
The name of one of the headers in the sampled web request.