amazonka-core-1.6.1: Core data types and functionality for Amazonka libraries.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Data.Headers

Description

 
Synopsis

Documentation

class ToHeader a where Source #

Minimal complete definition

Nothing

Methods

toHeader :: HeaderName -> a -> [Header] Source #

toHeader :: ToText a => HeaderName -> a -> [Header] Source #

Instances
ToHeader ByteString Source # 
Instance details

Defined in Network.AWS.Data.Headers

ToHeader Text Source # 
Instance details

Defined in Network.AWS.Data.Headers

ToText a => ToHeader (Maybe a) Source # 
Instance details

Defined in Network.AWS.Data.Headers

Methods

toHeader :: HeaderName -> Maybe a -> [Header] Source #

ToHeader a => ToHeader (Sensitive a) Source # 
Instance details

Defined in Network.AWS.Data.Sensitive

(Eq k, Hashable k, ToByteString k, ToText v) => ToHeader (Map k v) Source # 
Instance details

Defined in Network.AWS.Data.Map

Methods

toHeader :: HeaderName -> Map k v -> [Header] Source #

class ToHeaders a where Source #

Minimal complete definition

Nothing

Methods

toHeaders :: a -> [Header] Source #

(=#) :: ToHeader a => HeaderName -> a -> [Header] infixr 7 Source #

type HeaderName = CI ByteString #

Header name

type Header = (HeaderName, ByteString) #

Header