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 HttpContext Source #
Specifies the HTTP context to use for the test authorizer request.
See: newHttpContext
smart constructor.
Instances
newHttpContext :: HttpContext Source #
Create a value of HttpContext
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:headers:HttpContext'
, httpContext_headers
- The header keys and values in an HTTP authorization request.
$sel:queryString:HttpContext'
, httpContext_queryString
- The query string keys and values in an HTTP authorization request.
httpContext_headers :: Lens' HttpContext (Maybe (HashMap Text Text)) Source #
The header keys and values in an HTTP authorization request.
httpContext_queryString :: Lens' HttpContext (Maybe Text) Source #
The query string keys and values in an HTTP authorization request.