amazonka-lambda-1.4.4: Amazon Lambda SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lambda.Types

Contents

Description

 

Synopsis

Service Configuration

lambda :: Service Source #

API version '2015-03-31' of the Amazon Lambda SDK configuration.

Errors

_EC2ThrottledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

AWS Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided for the Lambda function.

_PolicyLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Lambda function access policy is limited to 20 KB.

_InvalidSubnetIdException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The Subnet ID provided in the Lambda function VPC configuration is invalid.

_UnsupportedMediaTypeException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The content type of the Invoke request body is not JSON.

_InvalidRequestContentException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request body could not be parsed as JSON.

_ENILimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

AWS Lambda was not able to create an Elastic Network Interface (ENI) in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached.

_InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #

One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.

_RequestTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request payload exceeded the Invoke request body JSON input limit. For more information, see Limits.

_InvalidSecurityGroupIdException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The Security Group ID provided in the Lambda function VPC configuration is invalid.

_SubnetIPAddressLimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

AWS Lambda was not able to set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.

_ServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The AWS Lambda service encountered an internal error.

_CodeStorageExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You have exceeded your maximum total code size per account. Limits

_InvalidZipFileException :: AsError a => Getting (First ServiceError) a ServiceError Source #

AWS Lambda could not unzip the function zip file.

_EC2UnexpectedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

AWS Lambda received an unexpected EC2 client exception while setting up for the Lambda function.

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The resource (for example, a Lambda function or access policy statement) specified in the request does not exist.

EventSourcePosition

data EventSourcePosition Source #

Constructors

Latest 
TrimHorizon 

Instances

Bounded EventSourcePosition Source # 
Enum EventSourcePosition Source # 
Eq EventSourcePosition Source # 
Data EventSourcePosition Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EventSourcePosition -> c EventSourcePosition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EventSourcePosition #

toConstr :: EventSourcePosition -> Constr #

dataTypeOf :: EventSourcePosition -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c EventSourcePosition) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EventSourcePosition) #

gmapT :: (forall b. Data b => b -> b) -> EventSourcePosition -> EventSourcePosition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EventSourcePosition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EventSourcePosition -> r #

gmapQ :: (forall d. Data d => d -> u) -> EventSourcePosition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EventSourcePosition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EventSourcePosition -> m EventSourcePosition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EventSourcePosition -> m EventSourcePosition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EventSourcePosition -> m EventSourcePosition #

Ord EventSourcePosition Source # 
Read EventSourcePosition Source # 
Show EventSourcePosition Source # 
Generic EventSourcePosition Source # 
Hashable EventSourcePosition Source # 
NFData EventSourcePosition Source # 

Methods

rnf :: EventSourcePosition -> () #

ToHeader EventSourcePosition Source # 
ToQuery EventSourcePosition Source # 
ToByteString EventSourcePosition Source # 
ToJSON EventSourcePosition Source # 
FromText EventSourcePosition Source # 

Methods

parser :: Parser EventSourcePosition #

ToText EventSourcePosition Source # 
type Rep EventSourcePosition Source # 
type Rep EventSourcePosition = D1 (MetaData "EventSourcePosition" "Network.AWS.Lambda.Types.Sum" "amazonka-lambda-1.4.4-JoFFgS97CamDNn2CLd77LP" False) ((:+:) (C1 (MetaCons "Latest" PrefixI False) U1) (C1 (MetaCons "TrimHorizon" PrefixI False) U1))

InvocationType

data InvocationType Source #

Constructors

DryRun 
Event 
RequestResponse 

Instances

Bounded InvocationType Source # 
Enum InvocationType Source # 
Eq InvocationType Source # 
Data InvocationType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InvocationType -> c InvocationType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InvocationType #

toConstr :: InvocationType -> Constr #

dataTypeOf :: InvocationType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InvocationType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InvocationType) #

gmapT :: (forall b. Data b => b -> b) -> InvocationType -> InvocationType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InvocationType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InvocationType -> r #

gmapQ :: (forall d. Data d => d -> u) -> InvocationType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InvocationType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InvocationType -> m InvocationType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InvocationType -> m InvocationType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InvocationType -> m InvocationType #

Ord InvocationType Source # 
Read InvocationType Source # 
Show InvocationType Source # 
Generic InvocationType Source # 

Associated Types

type Rep InvocationType :: * -> * #

Hashable InvocationType Source # 
NFData InvocationType Source # 

Methods

rnf :: InvocationType -> () #

ToHeader InvocationType Source # 
ToQuery InvocationType Source # 
ToByteString InvocationType Source # 
ToJSON InvocationType Source # 
FromText InvocationType Source # 

Methods

parser :: Parser InvocationType #

ToText InvocationType Source # 
type Rep InvocationType Source # 
type Rep InvocationType = D1 (MetaData "InvocationType" "Network.AWS.Lambda.Types.Sum" "amazonka-lambda-1.4.4-JoFFgS97CamDNn2CLd77LP" False) ((:+:) (C1 (MetaCons "DryRun" PrefixI False) U1) ((:+:) (C1 (MetaCons "Event" PrefixI False) U1) (C1 (MetaCons "RequestResponse" PrefixI False) U1)))

LogType

data LogType Source #

Constructors

None 
Tail 

Instances

Bounded LogType Source # 
Enum LogType Source # 
Eq LogType Source # 

Methods

(==) :: LogType -> LogType -> Bool #

(/=) :: LogType -> LogType -> Bool #

Data LogType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LogType -> c LogType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LogType #

toConstr :: LogType -> Constr #

dataTypeOf :: LogType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LogType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LogType) #

gmapT :: (forall b. Data b => b -> b) -> LogType -> LogType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LogType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LogType -> r #

gmapQ :: (forall d. Data d => d -> u) -> LogType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LogType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LogType -> m LogType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LogType -> m LogType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LogType -> m LogType #

Ord LogType Source # 
Read LogType Source # 
Show LogType Source # 
Generic LogType Source # 

Associated Types

type Rep LogType :: * -> * #

Methods

from :: LogType -> Rep LogType x #

to :: Rep LogType x -> LogType #

Hashable LogType Source # 

Methods

hashWithSalt :: Int -> LogType -> Int #

hash :: LogType -> Int #

NFData LogType Source # 

Methods

rnf :: LogType -> () #

ToHeader LogType Source # 

Methods

toHeader :: HeaderName -> LogType -> [Header] #

ToQuery LogType Source # 
ToByteString LogType Source # 

Methods

toBS :: LogType -> ByteString #

ToJSON LogType Source # 

Methods

toJSON :: LogType -> Value #

toEncoding :: LogType -> Encoding #

FromText LogType Source # 

Methods

parser :: Parser LogType #

ToText LogType Source # 

Methods

toText :: LogType -> Text #

type Rep LogType Source # 
type Rep LogType = D1 (MetaData "LogType" "Network.AWS.Lambda.Types.Sum" "amazonka-lambda-1.4.4-JoFFgS97CamDNn2CLd77LP" False) ((:+:) (C1 (MetaCons "None" PrefixI False) U1) (C1 (MetaCons "Tail" PrefixI False) U1))

Runtime

data Runtime Source #

Constructors

JAVA8 
NODEJS4_3 
Nodejs 
PYTHON2_7 

Instances

Bounded Runtime Source # 
Enum Runtime Source # 
Eq Runtime Source # 

Methods

(==) :: Runtime -> Runtime -> Bool #

(/=) :: Runtime -> Runtime -> Bool #

Data Runtime Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Runtime -> c Runtime #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Runtime #

toConstr :: Runtime -> Constr #

dataTypeOf :: Runtime -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Runtime) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Runtime) #

gmapT :: (forall b. Data b => b -> b) -> Runtime -> Runtime #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Runtime -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Runtime -> r #

gmapQ :: (forall d. Data d => d -> u) -> Runtime -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Runtime -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Runtime -> m Runtime #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Runtime -> m Runtime #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Runtime -> m Runtime #

Ord Runtime Source # 
Read Runtime Source # 
Show Runtime Source # 
Generic Runtime Source # 

Associated Types

type Rep Runtime :: * -> * #

Methods

from :: Runtime -> Rep Runtime x #

to :: Rep Runtime x -> Runtime #

Hashable Runtime Source # 

Methods

hashWithSalt :: Int -> Runtime -> Int #

hash :: Runtime -> Int #

NFData Runtime Source # 

Methods

rnf :: Runtime -> () #

ToHeader Runtime Source # 

Methods

toHeader :: HeaderName -> Runtime -> [Header] #

ToQuery Runtime Source # 
ToByteString Runtime Source # 

Methods

toBS :: Runtime -> ByteString #

FromJSON Runtime Source # 

Methods

parseJSON :: Value -> Parser Runtime #

ToJSON Runtime Source # 

Methods

toJSON :: Runtime -> Value #

toEncoding :: Runtime -> Encoding #

FromText Runtime Source # 

Methods

parser :: Parser Runtime #

ToText Runtime Source # 

Methods

toText :: Runtime -> Text #

type Rep Runtime Source # 
type Rep Runtime = D1 (MetaData "Runtime" "Network.AWS.Lambda.Types.Sum" "amazonka-lambda-1.4.4-JoFFgS97CamDNn2CLd77LP" False) ((:+:) ((:+:) (C1 (MetaCons "JAVA8" PrefixI False) U1) (C1 (MetaCons "NODEJS4_3" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Nodejs" PrefixI False) U1) (C1 (MetaCons "PYTHON2_7" PrefixI False) U1)))

AliasConfiguration

data AliasConfiguration Source #

Provides configuration information about a Lambda function version alias.

See: aliasConfiguration smart constructor.

Instances

Eq AliasConfiguration Source # 
Data AliasConfiguration Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AliasConfiguration -> c AliasConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AliasConfiguration #

toConstr :: AliasConfiguration -> Constr #

dataTypeOf :: AliasConfiguration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AliasConfiguration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AliasConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> AliasConfiguration -> AliasConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AliasConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AliasConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> AliasConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AliasConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AliasConfiguration -> m AliasConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AliasConfiguration -> m AliasConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AliasConfiguration -> m AliasConfiguration #

Read AliasConfiguration Source # 
Show AliasConfiguration Source # 
Generic AliasConfiguration Source # 
Hashable AliasConfiguration Source # 
NFData AliasConfiguration Source # 

Methods

rnf :: AliasConfiguration -> () #

FromJSON AliasConfiguration Source # 

Methods

parseJSON :: Value -> Parser AliasConfiguration #

type Rep AliasConfiguration Source # 
type Rep AliasConfiguration = D1 (MetaData "AliasConfiguration" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.4-JoFFgS97CamDNn2CLd77LP" False) (C1 (MetaCons "AliasConfiguration'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_acName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_acFunctionVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_acAliasARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_acDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

aliasConfiguration :: AliasConfiguration Source #

Creates a value of AliasConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acFunctionVersion :: Lens' AliasConfiguration (Maybe Text) Source #

Function version to which the alias points.

acAliasARN :: Lens' AliasConfiguration (Maybe Text) Source #

Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called BETA that points to a helloworld function version, the ARN is 'arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA'.

EventSourceMappingConfiguration

data EventSourceMappingConfiguration Source #

Describes mapping between an Amazon Kinesis stream and a Lambda function.

See: eventSourceMappingConfiguration smart constructor.

Instances

Eq EventSourceMappingConfiguration Source # 
Data EventSourceMappingConfiguration Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EventSourceMappingConfiguration -> c EventSourceMappingConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EventSourceMappingConfiguration #

toConstr :: EventSourceMappingConfiguration -> Constr #

dataTypeOf :: EventSourceMappingConfiguration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c EventSourceMappingConfiguration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EventSourceMappingConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> EventSourceMappingConfiguration -> EventSourceMappingConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EventSourceMappingConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EventSourceMappingConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> EventSourceMappingConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EventSourceMappingConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EventSourceMappingConfiguration -> m EventSourceMappingConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EventSourceMappingConfiguration -> m EventSourceMappingConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EventSourceMappingConfiguration -> m EventSourceMappingConfiguration #

Read EventSourceMappingConfiguration Source # 
Show EventSourceMappingConfiguration Source # 
Generic EventSourceMappingConfiguration Source # 
Hashable EventSourceMappingConfiguration Source # 
NFData EventSourceMappingConfiguration Source # 
FromJSON EventSourceMappingConfiguration Source # 
type Rep EventSourceMappingConfiguration Source # 
type Rep EventSourceMappingConfiguration = D1 (MetaData "EventSourceMappingConfiguration" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.4-JoFFgS97CamDNn2CLd77LP" False) (C1 (MetaCons "EventSourceMappingConfiguration'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_esmcEventSourceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_esmcState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_esmcFunctionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_esmcUUId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_esmcLastProcessingResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_esmcBatchSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) ((:*:) (S1 (MetaSel (Just Symbol "_esmcStateTransitionReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_esmcLastModified") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))))))

esmcEventSourceARN :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.

esmcState :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The state of the event source mapping. It can be Creating, Enabled, Disabled, Enabling, Disabling, Updating, or Deleting.

esmcFunctionARN :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The Lambda function to invoke when AWS Lambda detects an event on the stream.

esmcUUId :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The AWS Lambda assigned opaque identifier for the mapping.

esmcLastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) Source #

The result of the last AWS Lambda invocation of your Lambda function.

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.

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.

esmcLastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source #

The UTC time string indicating the last time the event mapping was updated.

FunctionCode

data FunctionCode Source #

The code for the Lambda function.

See: functionCode smart constructor.

Instances

Eq FunctionCode Source # 
Data FunctionCode Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FunctionCode -> c FunctionCode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FunctionCode #

toConstr :: FunctionCode -> Constr #

dataTypeOf :: FunctionCode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c FunctionCode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FunctionCode) #

gmapT :: (forall b. Data b => b -> b) -> FunctionCode -> FunctionCode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FunctionCode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FunctionCode -> r #

gmapQ :: (forall d. Data d => d -> u) -> FunctionCode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FunctionCode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FunctionCode -> m FunctionCode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FunctionCode -> m FunctionCode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FunctionCode -> m FunctionCode #

Read FunctionCode Source # 
Show FunctionCode Source # 
Generic FunctionCode Source # 

Associated Types

type Rep FunctionCode :: * -> * #

Hashable FunctionCode Source # 
NFData FunctionCode Source # 

Methods

rnf :: FunctionCode -> () #

ToJSON FunctionCode Source # 

Methods

toJSON :: FunctionCode -> Value #

toEncoding :: FunctionCode -> Encoding #

type Rep FunctionCode Source # 
type Rep FunctionCode = D1 (MetaData "FunctionCode" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.4-JoFFgS97CamDNn2CLd77LP" False) (C1 (MetaCons "FunctionCode'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_fcS3ObjectVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_fcS3Key") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_fcZipFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Base64))) (S1 (MetaSel (Just Symbol "_fcS3Bucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

functionCode :: FunctionCode Source #

Creates a value of FunctionCode with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fcS3ObjectVersion :: Lens' FunctionCode (Maybe Text) Source #

The Amazon S3 object (the deployment package) version you want to upload.

fcS3Key :: Lens' FunctionCode (Maybe Text) Source #

The Amazon S3 object (the deployment package) key name you want to upload.

fcZipFile :: Lens' FunctionCode (Maybe ByteString) Source #

The contents of your zip file containing your deployment package. If you are using the web API directly, the contents of the zip file must be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the SDKs or CLI will do the encoding for you. For more information about creating a .zip file, go to Execution Permissions in the AWS Lambda Developer Guide.

Note: This Lens automatically encodes and decodes Base64 data, despite what the AWS documentation might say. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.

fcS3Bucket :: Lens' FunctionCode (Maybe Text) Source #

Amazon S3 bucket name where the .zip file containing your deployment package is stored. This bucket must reside in the same AWS region where you are creating the Lambda function.

FunctionCodeLocation

data FunctionCodeLocation Source #

The object for the Lambda function location.

See: functionCodeLocation smart constructor.

Instances

Eq FunctionCodeLocation Source # 
Data FunctionCodeLocation Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FunctionCodeLocation -> c FunctionCodeLocation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FunctionCodeLocation #

toConstr :: FunctionCodeLocation -> Constr #

dataTypeOf :: FunctionCodeLocation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c FunctionCodeLocation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FunctionCodeLocation) #

gmapT :: (forall b. Data b => b -> b) -> FunctionCodeLocation -> FunctionCodeLocation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FunctionCodeLocation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FunctionCodeLocation -> r #

gmapQ :: (forall d. Data d => d -> u) -> FunctionCodeLocation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FunctionCodeLocation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FunctionCodeLocation -> m FunctionCodeLocation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FunctionCodeLocation -> m FunctionCodeLocation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FunctionCodeLocation -> m FunctionCodeLocation #

Read FunctionCodeLocation Source # 
Show FunctionCodeLocation Source # 
Generic FunctionCodeLocation Source # 
Hashable FunctionCodeLocation Source # 
NFData FunctionCodeLocation Source # 

Methods

rnf :: FunctionCodeLocation -> () #

FromJSON FunctionCodeLocation Source # 
type Rep FunctionCodeLocation Source # 
type Rep FunctionCodeLocation = D1 (MetaData "FunctionCodeLocation" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.4-JoFFgS97CamDNn2CLd77LP" False) (C1 (MetaCons "FunctionCodeLocation'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_fclLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_fclRepositoryType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

functionCodeLocation :: FunctionCodeLocation Source #

Creates a value of FunctionCodeLocation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

data FunctionConfiguration Source #

A complex type that describes function metadata.

See: functionConfiguration smart constructor.

Instances

Eq FunctionConfiguration Source # 
Data FunctionConfiguration Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FunctionConfiguration -> c FunctionConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FunctionConfiguration #

toConstr :: FunctionConfiguration -> Constr #

dataTypeOf :: FunctionConfiguration -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c FunctionConfiguration) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FunctionConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> FunctionConfiguration -> FunctionConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FunctionConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FunctionConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> FunctionConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FunctionConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FunctionConfiguration -> m FunctionConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FunctionConfiguration -> m FunctionConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FunctionConfiguration -> m FunctionConfiguration #

Read FunctionConfiguration Source # 
Show FunctionConfiguration Source # 
Generic FunctionConfiguration Source # 
Hashable FunctionConfiguration Source # 
NFData FunctionConfiguration Source # 

Methods

rnf :: FunctionConfiguration -> () #

FromJSON FunctionConfiguration Source # 
type Rep FunctionConfiguration Source # 
type Rep FunctionConfiguration = D1 (MetaData "FunctionConfiguration" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.4-JoFFgS97CamDNn2CLd77LP" False) (C1 (MetaCons "FunctionConfiguration'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_fcMemorySize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_fcRuntime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Runtime))) (S1 (MetaSel (Just Symbol "_fcFunctionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_fcRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_fcVPCConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VPCConfigResponse))) (S1 (MetaSel (Just Symbol "_fcVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_fcFunctionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_fcCodeSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_fcHandler") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_fcTimeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_fcLastModified") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_fcCodeSha256") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_fcDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

functionConfiguration :: FunctionConfiguration Source #

Creates a value of FunctionConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fcMemorySize :: Lens' FunctionConfiguration (Maybe Natural) Source #

The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.

fcRuntime :: Lens' FunctionConfiguration (Maybe Runtime) Source #

The runtime environment for the Lambda function.

To use the Node.js runtime v4.3, set the value to "nodejs4.3". To use earlier runtime (v0.10.42), set the value to "nodejs".

fcFunctionARN :: Lens' FunctionConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) assigned to the function.

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.

fcVPCConfig :: Lens' FunctionConfiguration (Maybe VPCConfigResponse) Source #

VPC configuration associated with your Lambda function.

fcVersion :: Lens' FunctionConfiguration (Maybe Text) Source #

The version of the Lambda function.

fcCodeSize :: Lens' FunctionConfiguration (Maybe Integer) Source #

The size, in bytes, of the function .zip file you uploaded.

fcHandler :: Lens' FunctionConfiguration (Maybe Text) Source #

The function Lambda calls to begin executing your 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.

fcLastModified :: Lens' FunctionConfiguration (Maybe Text) Source #

The time stamp of the last time you updated the function.

fcCodeSha256 :: Lens' FunctionConfiguration (Maybe Text) Source #

It is the SHA256 hash of your function deployment package.

fcDescription :: Lens' FunctionConfiguration (Maybe Text) Source #

The user-provided description.

VPCConfig

data VPCConfig Source #

If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.

See: vpcConfig smart constructor.

Instances

Eq VPCConfig Source # 
Data VPCConfig Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VPCConfig -> c VPCConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VPCConfig #

toConstr :: VPCConfig -> Constr #

dataTypeOf :: VPCConfig -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c VPCConfig) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VPCConfig) #

gmapT :: (forall b. Data b => b -> b) -> VPCConfig -> VPCConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VPCConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VPCConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> VPCConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VPCConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VPCConfig -> m VPCConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VPCConfig -> m VPCConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VPCConfig -> m VPCConfig #

Read VPCConfig Source # 
Show VPCConfig Source # 
Generic VPCConfig Source # 

Associated Types

type Rep VPCConfig :: * -> * #

Hashable VPCConfig Source # 
NFData VPCConfig Source # 

Methods

rnf :: VPCConfig -> () #

ToJSON VPCConfig Source # 

Methods

toJSON :: VPCConfig -> Value #

toEncoding :: VPCConfig -> Encoding #

type Rep VPCConfig Source # 
type Rep VPCConfig = D1 (MetaData "VPCConfig" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.4-JoFFgS97CamDNn2CLd77LP" False) (C1 (MetaCons "VPCConfig'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_vpccSecurityGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_vpccSubnetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))

vpcConfig :: VPCConfig Source #

Creates a value of VPCConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vpccSecurityGroupIds :: Lens' VPCConfig [Text] Source #

A list of one or more security groups IDs in your VPC.

vpccSubnetIds :: Lens' VPCConfig [Text] Source #

A list of one or more subnet IDs in your VPC.

VPCConfigResponse

data VPCConfigResponse Source #

VPC configuration associated with your Lambda function.

See: vpcConfigResponse smart constructor.

Instances

Eq VPCConfigResponse Source # 
Data VPCConfigResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VPCConfigResponse -> c VPCConfigResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VPCConfigResponse #

toConstr :: VPCConfigResponse -> Constr #

dataTypeOf :: VPCConfigResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c VPCConfigResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VPCConfigResponse) #

gmapT :: (forall b. Data b => b -> b) -> VPCConfigResponse -> VPCConfigResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VPCConfigResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VPCConfigResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> VPCConfigResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VPCConfigResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VPCConfigResponse -> m VPCConfigResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VPCConfigResponse -> m VPCConfigResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VPCConfigResponse -> m VPCConfigResponse #

Read VPCConfigResponse Source # 
Show VPCConfigResponse Source # 
Generic VPCConfigResponse Source # 
Hashable VPCConfigResponse Source # 
NFData VPCConfigResponse Source # 

Methods

rnf :: VPCConfigResponse -> () #

FromJSON VPCConfigResponse Source # 

Methods

parseJSON :: Value -> Parser VPCConfigResponse #

type Rep VPCConfigResponse Source # 
type Rep VPCConfigResponse = D1 (MetaData "VPCConfigResponse" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.4-JoFFgS97CamDNn2CLd77LP" False) (C1 (MetaCons "VPCConfigResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_vcSecurityGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_vcSubnetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_vcVPCId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

vpcConfigResponse :: VPCConfigResponse Source #

Creates a value of VPCConfigResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vcSecurityGroupIds :: Lens' VPCConfigResponse [Text] Source #

A list of security group IDs associated with the Lambda function.

vcSubnetIds :: Lens' VPCConfigResponse [Text] Source #

A list of subnet IDs associated with the Lambda function.

vcVPCId :: Lens' VPCConfigResponse (Maybe Text) Source #

The VPC ID associated with you Lambda function.