mime-mail-ses-0.4.3: Send mime-mail messages via Amazon SES

Safe Haskell | Safe-Inferred
Language | Haskell2010

Network.Mail.Mime.SES.Internal

Synopsis

- makeCanonicalRequest :: ByteString -> ByteString -> ByteString -> [(CI ByteString, ByteString)] -> ByteString -> ByteString
- canonicalizeRequest :: Request -> ByteString
- makeStringToSign :: ByteString -> UTCTime -> ByteString -> ByteString -> ByteString
- makeSig :: ByteString -> UTCTime -> ByteString -> ByteString -> ByteString -> ByteString
- makeAuthorizationString :: ByteString -> UTCTime -> ByteString -> [(CI ByteString, ByteString)] -> ByteString -> ByteString -> ByteString
- formatAmazonTime :: UTCTime -> ByteString
- formatAmazonDate :: UTCTime -> ByteString
- buildRequest :: String -> IO Request
- requestBodyAsByteString :: Request -> ByteString
- requestBodyLength :: Request -> Int
- makeListOfHeaders :: [(CI ByteString, ByteString)] -> ByteString
- patchedRequestHeaders :: Request -> [(CI ByteString, ByteString)]
- makeCredentialScope :: ByteString -> UTCTime -> ByteString -> ByteString
- bytesToLowerCase :: ByteString -> ByteString
- unaryHashBase16 :: ByteString -> ByteString
- keyedHash :: ByteString -> ByteString -> ByteString

# Documentation

makeCanonicalRequest :: ByteString -> ByteString -> ByteString -> [(CI ByteString, ByteString)] -> ByteString -> ByteString Source #

Create a canonical request according to https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html.

canonicalizeRequest :: Request -> ByteString Source #

makeStringToSign :: ByteString -> UTCTime -> ByteString -> ByteString -> ByteString Source #

Create a string to sign according to https://docs.aws.amazon.com/general/latest/gr/sigv4-create-string-to-sign.html.

makeSig :: ByteString -> UTCTime -> ByteString -> ByteString -> ByteString -> ByteString Source #

Create a signature according to https://docs.aws.amazon.com/general/latest/gr/sigv4-calculate-signature.html.

makeAuthorizationString :: ByteString -> UTCTime -> ByteString -> [(CI ByteString, ByteString)] -> ByteString -> ByteString -> ByteString Source #

Create an authorization string according to https://docs.aws.amazon.com/general/latest/gr/sigv4-add-signature-to-request.html.

formatAmazonTime :: UTCTime -> ByteString Source #

formatAmazonDate :: UTCTime -> ByteString Source #

buildRequest :: String -> IO Request Source #

requestBodyAsByteString :: Request -> ByteString Source #

requestBodyLength :: Request -> Int Source #

makeListOfHeaders :: [(CI ByteString, ByteString)] -> ByteString Source #

patchedRequestHeaders :: Request -> [(CI ByteString, ByteString)] Source #

makeCredentialScope :: ByteString -> UTCTime -> ByteString -> ByteString Source #

bytesToLowerCase :: ByteString -> ByteString Source #

unaryHashBase16 :: ByteString -> ByteString Source #

keyedHash :: ByteString -> ByteString -> ByteString Source #