amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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 #

Read HttpContext Source # 
Instance details

Defined in Amazonka.IoT.Types.HttpContext

Show HttpContext Source # 
Instance details

Defined in Amazonka.IoT.Types.HttpContext

NFData HttpContext Source # 
Instance details

Defined in Amazonka.IoT.Types.HttpContext

Methods

rnf :: HttpContext -> () #

Eq HttpContext Source # 
Instance details

Defined in Amazonka.IoT.Types.HttpContext

Hashable 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" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" '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.