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 |
Documentation
data HttpRouteHeader Source #
An object that represents the HTTP header in the request.
See: newHttpRouteHeader
smart constructor.
Instances
Create a value of HttpRouteHeader
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:invert:HttpRouteHeader'
, httpRouteHeader_invert
- Specify True
to match anything except the match criteria. The default
value is False
.
$sel:match:HttpRouteHeader'
, httpRouteHeader_match
- The HeaderMatchMethod
object.
$sel:name:HttpRouteHeader'
, httpRouteHeader_name
- A name for the HTTP header in the client request that will be matched
on.
httpRouteHeader_invert :: Lens' HttpRouteHeader (Maybe Bool) Source #
Specify True
to match anything except the match criteria. The default
value is False
.
httpRouteHeader_match :: Lens' HttpRouteHeader (Maybe HeaderMatchMethod) Source #
The HeaderMatchMethod
object.
httpRouteHeader_name :: Lens' HttpRouteHeader Text Source #
A name for the HTTP header in the client request that will be matched on.