Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Lambda
- data JSONError :: *
- data Runtime = Nodejs
- data Mode = Event
- data FunctionCodeLocation
- functionCodeLocation :: FunctionCodeLocation
- fclLocation :: Lens' FunctionCodeLocation (Maybe Text)
- fclRepositoryType :: Lens' FunctionCodeLocation (Maybe Text)
- data FunctionConfiguration
- functionConfiguration :: FunctionConfiguration
- fcCodeSize :: Lens' FunctionConfiguration (Maybe Integer)
- fcConfigurationId :: Lens' FunctionConfiguration (Maybe Text)
- fcDescription :: Lens' FunctionConfiguration (Maybe Text)
- fcFunctionARN :: Lens' FunctionConfiguration (Maybe Text)
- fcFunctionName :: Lens' FunctionConfiguration (Maybe Text)
- fcHandler :: Lens' FunctionConfiguration (Maybe Text)
- fcLastModified :: Lens' FunctionConfiguration (Maybe Text)
- fcMemorySize :: Lens' FunctionConfiguration (Maybe Natural)
- fcMode :: Lens' FunctionConfiguration (Maybe Mode)
- fcRole :: Lens' FunctionConfiguration (Maybe Text)
- fcRuntime :: Lens' FunctionConfiguration (Maybe Runtime)
- fcTimeout :: Lens' FunctionConfiguration (Maybe Natural)
- data EventSourceConfiguration
- eventSourceConfiguration :: EventSourceConfiguration
- escBatchSize :: Lens' EventSourceConfiguration (Maybe Int)
- escEventSource :: Lens' EventSourceConfiguration (Maybe Text)
- escFunctionName :: Lens' EventSourceConfiguration (Maybe Text)
- escIsActive :: Lens' EventSourceConfiguration (Maybe Bool)
- escLastModified :: Lens' EventSourceConfiguration (Maybe Text)
- escParameters :: Lens' EventSourceConfiguration (HashMap Text Text)
- escRole :: Lens' EventSourceConfiguration (Maybe Text)
- escStatus :: Lens' EventSourceConfiguration (Maybe Text)
- escUUID :: Lens' EventSourceConfiguration (Maybe Text)
Service
Version 2014-11-11
of the Amazon Lambda service.
Error
data JSONError :: *
Runtime
Nodejs | nodejs |
Mode
Event | event |
FunctionCodeLocation
functionCodeLocation :: FunctionCodeLocation Source
FunctionCodeLocation
constructor.
The fields accessible through corresponding lenses are:
fclLocation
::
Maybe
Text
fclRepositoryType
::
Maybe
Text
fclLocation :: Lens' FunctionCodeLocation (Maybe Text) Source
The presigned URL you can use to download the function's .zip file that you previously uploaded. The URL is valid for up to 10 minutes.
fclRepositoryType :: Lens' FunctionCodeLocation (Maybe Text) Source
The repository from which you can download the function.
FunctionConfiguration
functionConfiguration :: FunctionConfiguration Source
FunctionConfiguration
constructor.
The fields accessible through corresponding lenses are:
fcCodeSize
::
Maybe
Integer
fcConfigurationId
::
Maybe
Text
fcDescription
::
Maybe
Text
fcFunctionARN
::
Maybe
Text
fcFunctionName
::
Maybe
Text
fcHandler
::
Maybe
Text
fcLastModified
::
Maybe
Text
fcMemorySize
::
Maybe
Natural
fcMode
::
Maybe
Mode
fcRole
::
Maybe
Text
fcRuntime
::
Maybe
Runtime
fcTimeout
::
Maybe
Natural
fcCodeSize :: Lens' FunctionConfiguration (Maybe Integer) Source
The size, in bytes, of the function .zip file you uploaded.
fcConfigurationId :: Lens' FunctionConfiguration (Maybe Text) Source
A Lambda-assigned unique identifier for the current function code and related configuration.
fcDescription :: Lens' FunctionConfiguration (Maybe Text) Source
The user-provided description.
fcFunctionARN :: Lens' FunctionConfiguration (Maybe Text) Source
The Amazon Resource Name (ARN) assigned to the function.
fcFunctionName :: Lens' FunctionConfiguration (Maybe Text) Source
The name of the function.
fcHandler :: Lens' FunctionConfiguration (Maybe Text) Source
The function Lambda calls to begin executing your function.
fcLastModified :: Lens' FunctionConfiguration (Maybe Text) Source
The timestamp of the last time you updated the function.
fcMemorySize :: Lens' FunctionConfiguration (Maybe Natural) Source
The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
fcMode :: Lens' FunctionConfiguration (Maybe Mode) Source
The type of the Lambda function you uploaded.
fcRole :: Lens' FunctionConfiguration (Maybe Text) Source
The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources.
fcRuntime :: Lens' FunctionConfiguration (Maybe Runtime) Source
The runtime environment for the Lambda function.
fcTimeout :: Lens' FunctionConfiguration (Maybe Natural) Source
The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.
EventSourceConfiguration
eventSourceConfiguration :: EventSourceConfiguration Source
EventSourceConfiguration
constructor.
The fields accessible through corresponding lenses are:
escBatchSize
::
Maybe
Int
escEventSource
::
Maybe
Text
escFunctionName
::
Maybe
Text
escIsActive
::
Maybe
Bool
escLastModified
::
Maybe
Text
escParameters
::
HashMap
Text
Text
escRole
::
Maybe
Text
escStatus
::
Maybe
Text
escUUID
::
Maybe
Text
escBatchSize :: Lens' EventSourceConfiguration (Maybe Int) Source
The largest number of records that AWS Lambda will POST in the invocation request to your function.
escEventSource :: Lens' EventSourceConfiguration (Maybe Text) Source
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
escFunctionName :: Lens' EventSourceConfiguration (Maybe Text) Source
The Lambda function to invoke when AWS Lambda detects an event on the stream.
escIsActive :: Lens' EventSourceConfiguration (Maybe Bool) Source
Indicates whether the event source mapping is currently honored. Events are only processes if IsActive is true.
escLastModified :: Lens' EventSourceConfiguration (Maybe Text) Source
The UTC time string indicating the last time the event mapping was updated.
escParameters :: Lens' EventSourceConfiguration (HashMap Text Text) Source
The map (key-value pairs) defining the configuration for AWS Lambda to use when reading the event source.
escRole :: Lens' EventSourceConfiguration (Maybe Text) Source
The ARN of the IAM role (invocation role) that AWS Lambda can assume to read from the stream and invoke the function.
escStatus :: Lens' EventSourceConfiguration (Maybe Text) Source
escUUID :: Lens' EventSourceConfiguration (Maybe Text) Source
The AWS Lambda assigned opaque identifier for the mapping.