| Copyright | (c) Nike Inc. 2018 |
|---|---|
| License | BSD3 |
| Maintainer | nathan.fairhurst@nike.com, fernando.freire@nike.com |
| Stability | stable |
| Safe Haskell | None |
| Language | Haskell2010 |
AWS.Lambda.Context
Description
Documentation
data ClientApplication Source #
Constructors
| ClientApplication | |
Fields
| |
Instances
data ClientContext Source #
Constructors
| ClientContext | |
Fields
| |
Instances
| FromJSON ClientContext Source # | |||||
Defined in AWS.Lambda.Context Methods parseJSON :: Value -> Parser ClientContext # parseJSONList :: Value -> Parser [ClientContext] # | |||||
| ToJSON ClientContext Source # | |||||
Defined in AWS.Lambda.Context Methods toJSON :: ClientContext -> Value # toEncoding :: ClientContext -> Encoding # toJSONList :: [ClientContext] -> Value # toEncodingList :: [ClientContext] -> Encoding # omitField :: ClientContext -> Bool # | |||||
| Generic ClientContext Source # | |||||
Defined in AWS.Lambda.Context Associated Types
| |||||
| Show ClientContext Source # | |||||
Defined in AWS.Lambda.Context Methods showsPrec :: Int -> ClientContext -> ShowS # show :: ClientContext -> String # showList :: [ClientContext] -> ShowS # | |||||
| Eq ClientContext Source # | |||||
Defined in AWS.Lambda.Context Methods (==) :: ClientContext -> ClientContext -> Bool # (/=) :: ClientContext -> ClientContext -> Bool # | |||||
| type Rep ClientContext Source # | |||||
Defined in AWS.Lambda.Context type Rep ClientContext = D1 ('MetaData "ClientContext" "AWS.Lambda.Context" "hal-1.1-H3BwUxUpi0n4cC5jC6b6lO" 'False) (C1 ('MetaCons "ClientContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "client") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ClientApplication) :*: (S1 ('MetaSel ('Just "custom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text Text)) :*: S1 ('MetaSel ('Just "environment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text Text))))) | |||||
data CognitoIdentity Source #
Constructors
| CognitoIdentity | |
Fields
| |
Instances
| FromJSON CognitoIdentity Source # | |||||
Defined in AWS.Lambda.Context Methods parseJSON :: Value -> Parser CognitoIdentity # parseJSONList :: Value -> Parser [CognitoIdentity] # | |||||
| ToJSON CognitoIdentity Source # | |||||
Defined in AWS.Lambda.Context Methods toJSON :: CognitoIdentity -> Value # toEncoding :: CognitoIdentity -> Encoding # toJSONList :: [CognitoIdentity] -> Value # toEncodingList :: [CognitoIdentity] -> Encoding # omitField :: CognitoIdentity -> Bool # | |||||
| Generic CognitoIdentity Source # | |||||
Defined in AWS.Lambda.Context Associated Types
Methods from :: CognitoIdentity -> Rep CognitoIdentity x # to :: Rep CognitoIdentity x -> CognitoIdentity # | |||||
| Show CognitoIdentity Source # | |||||
Defined in AWS.Lambda.Context Methods showsPrec :: Int -> CognitoIdentity -> ShowS # show :: CognitoIdentity -> String # showList :: [CognitoIdentity] -> ShowS # | |||||
| Eq CognitoIdentity Source # | |||||
Defined in AWS.Lambda.Context Methods (==) :: CognitoIdentity -> CognitoIdentity -> Bool # (/=) :: CognitoIdentity -> CognitoIdentity -> Bool # | |||||
| type Rep CognitoIdentity Source # | |||||
Defined in AWS.Lambda.Context type Rep CognitoIdentity = D1 ('MetaData "CognitoIdentity" "AWS.Lambda.Context" "hal-1.1-H3BwUxUpi0n4cC5jC6b6lO" 'False) (C1 ('MetaCons "CognitoIdentity" 'PrefixI 'True) (S1 ('MetaSel ('Just "identityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "identityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
data LambdaContext Source #
Constructors
| LambdaContext | |
Fields
| |
Instances
| Generic LambdaContext Source # | |||||
Defined in AWS.Lambda.Context Associated Types
| |||||
| Show LambdaContext Source # | |||||
Defined in AWS.Lambda.Context Methods showsPrec :: Int -> LambdaContext -> ShowS # show :: LambdaContext -> String # showList :: [LambdaContext] -> ShowS # | |||||
| Eq LambdaContext Source # | |||||
Defined in AWS.Lambda.Context Methods (==) :: LambdaContext -> LambdaContext -> Bool # (/=) :: LambdaContext -> LambdaContext -> Bool # | |||||
| type Rep LambdaContext Source # | |||||
Defined in AWS.Lambda.Context type Rep LambdaContext = D1 ('MetaData "LambdaContext" "AWS.Lambda.Context" "hal-1.1-H3BwUxUpi0n4cC5jC6b6lO" 'False) (C1 ('MetaCons "LambdaContext" 'PrefixI 'True) (((S1 ('MetaSel ('Just "functionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "functionVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "functionMemorySize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "logStreamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "awsRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "invokedFunctionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "xRayTraceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "deadline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "clientContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ClientContext)) :*: S1 ('MetaSel ('Just "identity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CognitoIdentity))))))) | |||||
getRemainingTime :: MonadIO m => LambdaContext -> m DiffTime Source #