Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- runLambda :: forall context. IO context -> RunCallback context -> IO ()
- data LambdaResult
- = StandaloneLambdaResult LambdaResponseBody
- | ApiGatewayResult (ApiGatewayResponse ApiGatewayResponseBody)
- data DispatcherStrategy
- newtype DispatcherOptions = DispatcherOptions {}
- newtype ApiGatewayDispatcherOptions = ApiGatewayDispatcherOptions {}
- defaultDispatcherOptions :: DispatcherOptions
- data Parsing = Parsing {}
Documentation
runLambda :: forall context. IO context -> RunCallback context -> IO () Source #
Runs the user haskell_lambda
executable and posts back the
results. This is called from the layer's main
function.
data LambdaResult Source #
Wrapper type to handle the result of the user
StandaloneLambdaResult LambdaResponseBody | |
ApiGatewayResult (ApiGatewayResponse ApiGatewayResponseBody) |
data DispatcherStrategy Source #
A strategy on how to generate the dispatcher functions
Instances
Lift DispatcherStrategy Source # | |
Defined in Aws.Lambda.Runtime.Common lift :: DispatcherStrategy -> Q Exp # |
newtype DispatcherOptions Source #
Options that the dispatcher generator expects
Instances
Lift DispatcherOptions Source # | |
Defined in Aws.Lambda.Runtime.Common lift :: DispatcherOptions -> Q Exp # |
newtype ApiGatewayDispatcherOptions Source #
API Gateway specific dispatcher options
ApiGatewayDispatcherOptions | |
|
Instances
Lift ApiGatewayDispatcherOptions Source # | |
Defined in Aws.Lambda.Runtime.Common lift :: ApiGatewayDispatcherOptions -> Q Exp # |
Parsing | |
|
Instances
Show Parsing Source # | |
ToJSON Parsing Source # | |
Defined in Aws.Lambda.Runtime.Error | |
Exception Parsing Source # | |
Defined in Aws.Lambda.Runtime.Error toException :: Parsing -> SomeException # fromException :: SomeException -> Maybe Parsing # displayException :: Parsing -> String # |