amazonka-lambda-0.3.2: Amazon Lambda SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lambda.Types

Contents

Synopsis

Service

data Lambda Source

Version 2014-11-11 of the Amazon Lambda service.

Instances

AWSService Lambda 
type Sg Lambda = V4 
type Er Lambda = JSONError 

Error

data JSONError :: *

Instances

Eq JSONError 
Show JSONError 
Generic JSONError 
AWSErrorCode JSONError 
FromJSON JSONError 
type Rep JSONError = D1 D1JSONError (C1 C1_0JSONError ((:*:) (S1 S1_0_0JSONError (Rec0 (Maybe Text))) ((:*:) (S1 S1_0_1JSONError (Rec0 ErrorCode)) (S1 S1_0_2JSONError (Rec0 Text))))) 

Runtime

data Runtime Source

Constructors

Nodejs

nodejs

Instances

Enum Runtime 
Eq Runtime 
Ord Runtime 
Read Runtime 
Show Runtime 
Generic Runtime 
Hashable Runtime 
ToText Runtime 
FromText Runtime 
ToQuery Runtime 
ToHeader Runtime 
ToByteString Runtime 
ToJSON Runtime 
FromJSON Runtime 
type Rep Runtime 

Mode

data Mode Source

Constructors

Event

event

Instances

Enum Mode 
Eq Mode 
Ord Mode 
Read Mode 
Show Mode 
Generic Mode 
Hashable Mode 
ToText Mode 
FromText Mode 
ToQuery Mode 
ToHeader Mode 
ToByteString Mode 
ToJSON Mode 
FromJSON Mode 
type Rep Mode 

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

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 :: 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

The description of the health of the event source mapping. Valid values are: PENDING, OK, and "PROBLEM:message". Initially this staus is PENDING. When AWS Lambda begins processing events, it changes the status to OK.

escUUID :: Lens' EventSourceConfiguration (Maybe Text) Source

The AWS Lambda assigned opaque identifier for the mapping.