Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
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 #
requestBodyLength :: Request -> Int Source #
makeListOfHeaders :: [(CI ByteString, ByteString)] -> ByteString Source #
patchedRequestHeaders :: Request -> [(CI ByteString, ByteString)] Source #
makeCredentialScope :: ByteString -> UTCTime -> ByteString -> ByteString Source #
keyedHash :: ByteString -> ByteString -> ByteString Source #