aws-lambda-haskell-runtime-1.0.10: Haskell runtime for AWS Lambda

Safe HaskellNone
LanguageHaskell2010

Aws.Lambda.Configuration

Synopsis

Documentation

data LambdaOptions Source #

Instances
Generic LambdaOptions Source # 
Instance details

Defined in Aws.Lambda.Configuration

Associated Types

type Rep LambdaOptions :: Type -> Type #

ParseRecord LambdaOptions Source # 
Instance details

Defined in Aws.Lambda.Configuration

type Rep LambdaOptions Source # 
Instance details

Defined in Aws.Lambda.Configuration

type Rep LambdaOptions = D1 (MetaData "LambdaOptions" "Aws.Lambda.Configuration" "aws-lambda-haskell-runtime-1.0.10-5hVuhhKyFJG4YID96KFBlQ" False) (C1 (MetaCons "LambdaOptions" PrefixI True) ((S1 (MetaSel (Just "eventObject") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "contextObject") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "functionHandler") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "executionUuid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))

returnAndFail :: ToJSON a => Text -> a -> IO () Source #

returnAndSucceed :: ToJSON a => Text -> a -> IO () Source #

getRecord #

Arguments

:: (MonadIO io, ParseRecord a) 
=> Text

Program description

-> io a 

Marshal any value that implements ParseRecord from the command line

If you need to modify the top-level ParserInfo or ParserPrefs use the getRecordWith function.