Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type LByteString = ByteString Source #
type ByteString = ByteString Source #
data RuntimeError Source #
EnvironmentVariableNotSet Text | |
ApiConnectionError | |
ApiHeaderNotSet Text | |
ParseError Text Text | |
InvocationError Text |
Instances
Show RuntimeError Source # | |
Defined in Aws.Lambda.Runtime showsPrec :: Int -> RuntimeError -> ShowS # show :: RuntimeError -> String # showList :: [RuntimeError] -> ShowS # | |
ToJSON RuntimeError Source # | |
Defined in Aws.Lambda.Runtime toJSON :: RuntimeError -> Value # toEncoding :: RuntimeError -> Encoding # toJSONList :: [RuntimeError] -> Value # toEncodingList :: [RuntimeError] -> Encoding # | |
Exception RuntimeError Source # | |
Defined in Aws.Lambda.Runtime |
Context | |
|
Instances
newtype LambdaResult Source #
nextInvocationEndpoint :: Text -> String Source #
getApiData :: Text -> App (Response LByteString) Source #
extractHeader :: Response LByteString -> Text -> Text Source #
extractIntHeader :: Response LByteString -> Text -> App Int Source #
extractBody :: Response LByteString -> Text Source #
propagateXRayTrace :: Text -> App () Source #
publishResult :: Context -> Text -> LambdaResult -> App () Source #
publishError :: Context -> Text -> RuntimeError -> App () Source #
lambdaRunner :: App () Source #