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
Documentation
data HttpHeader Source #
The HTTP header.
See: newHttpHeader
smart constructor.
HttpHeader' | |
|
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:headerValue:HttpHeader'
, httpHeader_headerValue
- The header value.
$sel:headerName:HttpHeader'
, httpHeader_headerName
- The header name
httpHeader_headerValue :: Lens' HttpHeader (Maybe Text) Source #
The header value.
httpHeader_headerName :: Lens' HttpHeader (Maybe Text) Source #
The header name