We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4283776 commit 3570207Copy full SHA for 3570207
src/Aws/Lambda/Configuration.hs
@@ -1,7 +1,7 @@
1
{-# OPTIONS_GHC -fno-warn-unused-pattern-binds #-}
2
module Aws.Lambda.Configuration
3
( Main.LambdaOptions(..)
4
- , configureLambda
+ , generateLambdaDispatcher
5
, Dispatch.decodeObj
6
, Dispatch.encodeObj
7
)
@@ -15,8 +15,8 @@ import qualified Aws.Lambda.Meta.Run as Run
15
16
{-| Generates a @main@ function that acts as a dispatcher
17
-}
18
-configureLambda :: Meta.DecsQ
19
-configureLambda = do
+generateLambdaDispatcher :: Meta.DecsQ
+generateLambdaDispatcher = do
20
main <- Main.generate
21
run <- Run.generate
22
return (main <> [run])
0 commit comments