Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Lambda
- data JSONError :: *
- data Runtime
- data EventSourcePosition
- data InvocationType
- data LogType
- data FunctionCode
- functionCode :: FunctionCode
- fcZipFile :: Lens' FunctionCode (Maybe Base64)
- data FunctionCodeLocation
- functionCodeLocation :: FunctionCodeLocation
- fclLocation :: Lens' FunctionCodeLocation (Maybe Text)
- fclRepositoryType :: Lens' FunctionCodeLocation (Maybe Text)
- data FunctionConfiguration
- functionConfiguration :: FunctionConfiguration
- fcCodeSize :: Lens' FunctionConfiguration (Maybe Integer)
- 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)
- fcRole :: Lens' FunctionConfiguration (Maybe Text)
- fcRuntime :: Lens' FunctionConfiguration (Maybe Runtime)
- fcTimeout :: Lens' FunctionConfiguration (Maybe Natural)
- data EventSourceMappingConfiguration
- eventSourceMappingConfiguration :: EventSourceMappingConfiguration
- esmcBatchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural)
- esmcEventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text)
- esmcFunctionArn :: Lens' EventSourceMappingConfiguration (Maybe Text)
- esmcLastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime)
- esmcLastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text)
- esmcState :: Lens' EventSourceMappingConfiguration (Maybe Text)
- esmcStateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text)
- esmcUUID :: Lens' EventSourceMappingConfiguration (Maybe Text)
Service
Version 2015-03-31
of the Amazon Lambda service.
Error
data JSONError :: *
Runtime
EventSourcePosition
data EventSourcePosition Source
Latest | LATEST |
TrimHorizon | TRIM_HORIZON |
InvocationType
data InvocationType Source
DryRun | DryRun |
Event | Event |
RequestResponse | RequestResponse |
LogType
FunctionCode
data FunctionCode Source
functionCode :: FunctionCode Source
FunctionCode
constructor.
The fields accessible through corresponding lenses are:
fcZipFile :: Lens' FunctionCode (Maybe Base64) Source
A base64-encoded .zip file containing your packaged source code. For more information about creating a .zip file, go to Execution Permissions in the AWS Lambda Developer Guide.
FunctionCodeLocation
functionCodeLocation :: FunctionCodeLocation Source
FunctionCodeLocation
constructor.
The fields accessible through corresponding lenses are:
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 :: Lens' FunctionConfiguration (Maybe Integer) Source
The size, in bytes, of the function .zip file you uploaded.
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.
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.
EventSourceMappingConfiguration
eventSourceMappingConfiguration :: EventSourceMappingConfiguration Source
EventSourceMappingConfiguration
constructor.
The fields accessible through corresponding lenses are:
esmcBatchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) Source
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.
esmcEventSourceArn :: Lens' EventSourceMappingConfiguration (Maybe Text) Source
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
esmcFunctionArn :: Lens' EventSourceMappingConfiguration (Maybe Text) Source
The Lambda function to invoke when AWS Lambda detects an event on the stream.
esmcLastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source
The UTC time string indicating the last time the event mapping was updated.
esmcLastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) Source
The result of the last AWS Lambda invocation of your Lambda function.
esmcStateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text) Source
The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.