Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export StandaloneLambdaResponseBody type and constructors #109

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/Aws/Lambda/Runtime.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ module Aws.Lambda.Runtime
Runtime.LambdaResult (..),
Runtime.ApiGatewayDispatcherOptions (..),
Error.Parsing (..),
StandaloneLambdaResponseBody(..),
toStandaloneLambdaResponse,
)
where

Expand All @@ -17,7 +19,10 @@ import qualified Aws.Lambda.Runtime.Context as Context
import qualified Aws.Lambda.Runtime.Environment as Environment
import qualified Aws.Lambda.Runtime.Error as Error
import qualified Aws.Lambda.Runtime.Publish as Publish
import Aws.Lambda.Runtime.StandaloneLambda.Types (StandaloneLambdaResponseBody (..))
import Aws.Lambda.Runtime.StandaloneLambda.Types
( StandaloneLambdaResponseBody (..)
, toStandaloneLambdaResponse
)
import qualified Control.Exception as Unchecked
import Control.Exception.Safe.Checked (Throws, catch, throw)
import qualified Control.Exception.Safe.Checked as Checked
Expand Down Expand Up @@ -118,4 +123,4 @@ errorParsing Error.Parsing {..} =
flushOutput :: IO ()
flushOutput = do
hFlush stdout
hFlush stderr
hFlush stderr