Skip to content

kofno/purescript-aws-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-aws-lambda

Purescript integration for AWS Lambda.

Context

foreign import data Context :: *

Wraps the context object provided by AWS Lambda.

LAMBDA

foreign import data LAMBDA :: !

Defines side effects for dealing with AWS Lambda.

forall eff. Eff (lambda :: LAMBDA | eff)

succeed

foreign import succeed :: forall eff. Context -> String -> Eff (lambda :: LAMBDA | eff) Unit

Called when your Lambda has finished processing successfully.

fail

foreign import fail :: forall eff. Context -> String -> Eff (lambda :: LAMBDA | eff) Unit

Called when your Lambda has completed processing with an error.

About

Write your AWS Lambda in PureScript!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published