libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.Types.HttpContext

Description

 
Synopsis

Documentation

data HttpContext Source #

Specifies the HTTP context to use for the test authorizer request.

See: newHttpContext smart constructor.

Constructors

HttpContext' 

Fields

Instances

Instances details
Eq HttpContext Source # 
Instance details

Defined in Amazonka.IoT.Types.HttpContext

Read HttpContext Source # 
Instance details

Defined in Amazonka.IoT.Types.HttpContext

Show HttpContext Source # 
Instance details

Defined in Amazonka.IoT.Types.HttpContext

Generic HttpContext Source # 
Instance details

Defined in Amazonka.IoT.Types.HttpContext

Associated Types

type Rep HttpContext :: Type -> Type #

NFData HttpContext Source # 
Instance details

Defined in Amazonka.IoT.Types.HttpContext

Methods

rnf :: HttpContext -> () #

Hashable HttpContext Source # 
Instance details

Defined in Amazonka.IoT.Types.HttpContext

ToJSON HttpContext Source # 
Instance details

Defined in Amazonka.IoT.Types.HttpContext

type Rep HttpContext Source # 
Instance details

Defined in Amazonka.IoT.Types.HttpContext

type Rep HttpContext = D1 ('MetaData "HttpContext" "Amazonka.IoT.Types.HttpContext" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "HttpContext'" 'PrefixI 'True) (S1 ('MetaSel ('Just "headers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.