aws-sign4-1.1.0.0: Amazon Web Services (AWS) Signature v4 HTTP request signer

Safe HaskellNone

Aws.Sign4

Synopsis

Documentation

data Sign4 Source

Signature v4 generator parameters

Constructors

Sign4 

Fields

s4Credentials :: Credentials

AWS credentials used to sign the request

s4Date :: UTCTime

date/time stamp for request

s4Endpoint :: ByteString

service id: ets for Elastic Transcode

s4Service :: ByteString

service id: ets => Elastic Transcode

s4Method :: Method

HTTP request method

s4Path :: ByteString

URI path component (excluding host & query)

s4Headers :: RequestHeaders

The request headers

s4Query :: Query

Parsed query string information

s4Body :: ByteString

Body of request

s4SgndHeaders :: Maybe ByteString

Signed headers (internally calculated)

s4CnclHeaders :: Maybe ByteString

Canonical headers (internally calculated)

Instances

s4Authz :: Sign4 -> ByteStringSource

Generate authorization header (s4Authz) and intermediate steps for diagnostics and validation (s4StringToSign,s4canonicalRequest) from the Sign4 parameters.

s4StringToSign :: Sign4 -> ByteStringSource

Generate authorization header (s4Authz) and intermediate steps for diagnostics and validation (s4StringToSign,s4canonicalRequest) from the Sign4 parameters.

s4CanonicalRequest :: Sign4 -> ByteStringSource

Generate authorization header (s4Authz) and intermediate steps for diagnostics and validation (s4StringToSign,s4canonicalRequest) from the Sign4 parameters.