Copyright | (c) Nike Inc. 2018 |
---|---|
License | BSD3 |
Maintainer | nathan.fairhurst@nike.com, fernando.freire@nike.com |
Stability | stable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data ClientApplication = ClientApplication {}
- data ClientContext = ClientContext {
- client :: ClientApplication
- custom :: Map Text Text
- environment :: Map Text Text
- data CognitoIdentity = CognitoIdentity {
- identityId :: Text
- identityPoolId :: Text
- data LambdaContext = LambdaContext {}
- getRemainingTime :: MonadIO m => LambdaContext -> m DiffTime
- class HasLambdaContext r where
- withContext :: LambdaContext -> r -> r
- defConfig :: DefConfig a => a
- runReaderTLambdaContext :: ReaderT LambdaContext m a -> m a
Documentation
data ClientApplication Source #
ClientApplication | |
|
Instances
data ClientContext Source #
ClientContext | |
|
Instances
data CognitoIdentity Source #
Instances
data LambdaContext Source #
Instances
getRemainingTime :: MonadIO m => LambdaContext -> m DiffTime Source #
class HasLambdaContext r where Source #
Deprecated: HasLambdaContext will be removed along with the original mRuntimeWithContext. This utility is no longer necessary without it.
withContext :: LambdaContext -> r -> r Source #
Instances
HasLambdaContext LambdaContext Source # | |
Defined in AWS.Lambda.Context |
runReaderTLambdaContext :: ReaderT LambdaContext m a -> m a Source #
Deprecated: runReaderTLambdaContext will be removed along with the original mRuntimeWithContext. This particular approach was problematic, in that it required a default LambdaContext, when in reality, there is no valid instance.
Helper for using arbitrary monads with only the LambdaContext in its Reader