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

Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Sign.V2Header.Base

Contents

Description

This module provides auxiliary functions necessary for the AWS compliant V2 Header request signer. See: Network.AWS.Sign.V2Header

Synopsis

Documentation

newSigner :: RequestHeaders -> ByteString -> ByteString -> QueryString -> ByteString Source #

Construct a full header signer following the V2 Header scheme

Testing

toSignerQueryBS :: QueryString -> ByteString Source #

The following function mostly follows the toBS in amazonka QueryString except for single QValue or single QPair keys not being suffixed with an equals.

constructSigningHeader :: Header -> ByteString Source #

Construct a header string for signing

constructSigningQuery :: QueryString -> QueryString Source #

Constructs a query string for signing