Safe Haskell | None |
---|---|
Language | Haskell2010 |
Aws.Lambda.Wai
Documentation
runWaiAsLambda :: WaiLambdaProxyType -> DispatcherOptions -> HandlerName -> IO Application -> IO () Source #
runWaiAsProxiedHttpLambda :: DispatcherOptions -> Maybe ALBIgnoredPathPortion -> HandlerName -> IO Application -> IO () Source #
data WaiLambdaProxyType Source #
Constructors
APIGateway | |
ALB (Maybe ALBIgnoredPathPortion) |
type ApiGatewayWaiHandler = ApiGatewayRequest Text -> Context Application -> IO (Either (ApiGatewayResponse Text) (ApiGatewayResponse Text)) Source #
albWaiHandler :: Maybe ALBIgnoredPathPortion -> ALBWaiHandler Source #
type ALBWaiHandler = ALBRequest Text -> Context Application -> IO (Either (ALBResponse Text) (ALBResponse Text)) Source #
ignoreALBPathPart :: Text -> Maybe ALBIgnoredPathPortion Source #
ignoreNothing :: Maybe ALBIgnoredPathPortion Source #
waiHandler :: Maybe ALBIgnoredPathPortion -> GenericWaiHandler Source #
runMultipleWaiApplications :: DispatcherOptions -> HashMap HandlerName (Maybe ALBIgnoredPathPortion, IO Application) -> IO () Source #