amazonka-lambda-0.3.4: Amazon Lambda SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lambda.Types

Contents

Synopsis

Service

data Lambda Source

Version 2015-03-31 of the Amazon Lambda service.

Instances

Error

data JSONError :: *

Instances

Eq JSONError 
Show JSONError 
Generic JSONError 
FromJSON JSONError 
AWSErrorCode 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

EventSourcePosition

InvocationType

LogType

FunctionCode

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

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.

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

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.

esmcUUID :: Lens' EventSourceMappingConfiguration (Maybe Text) Source

The AWS Lambda assigned opaque identifier for the mapping.