amazonka-lambda-1.4.5: 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

Contents

Description

AWS Lambda

Overview

This is the AWS Lambda API Reference . The AWS Lambda Developer Guide provides additional information. For the service overview, go to What is AWS Lambda , and for information about how the service works, go to AWS Lambda: How it Works in the AWS Lambda Developer Guide .

Synopsis

Service Configuration

lambda :: Service #

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

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by Lambda.

KMSInvalidStateException

_KMSInvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError #

Lambda was unable to decrypt the environment variables because the KMS key used is in an invalid state for Decrypt. Please check the function's KMS key settings.

EC2ThrottledException

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

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

PolicyLengthExceededException

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

Lambda function access policy is limited to 20 KB.

EC2AccessDeniedException

InvalidSubnetIdException

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

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

UnsupportedMediaTypeException

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

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

InvalidRequestContentException

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

The request body could not be parsed as JSON.

KMSNotFoundException

_KMSNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError #

Lambda was unable to decrypt the environment variables because the KMS key was not found. Please check the function's KMS key settings.

ENILimitReachedException

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

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

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

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

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

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

TooManyRequestsException

InvalidSecurityGroupIdException

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

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

KMSDisabledException

_KMSDisabledException :: AsError a => Getting (First ServiceError) a ServiceError #

Lambda was unable to decrypt the environment variables because the KMS key used is disabled. Please check the Lambda function's KMS key settings.

SubnetIPAddressLimitReachedException

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

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

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

The AWS Lambda service encountered an internal error.

CodeStorageExceededException

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

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

InvalidZipFileException

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

AWS Lambda could not unzip the function zip file.

ResourceConflictException

EC2UnexpectedException

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

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

ResourceNotFoundException

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

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

KMSAccessDeniedException

_KMSAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError #

Lambda was unable to decrypt the environment variables because KMS access was denied. Please check the Lambda function's KMS permissions.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

GetFunctionConfiguration

DeleteEventSourceMapping

UpdateEventSourceMapping

CreateAlias

ListVersionsByFunction

ListAliases

RemovePermission

Invoke

GetAlias

GetEventSourceMapping

CreateFunction

CreateEventSourceMapping

GetFunction

ListEventSourceMappings (Paginated)

DeleteAlias

UpdateAlias

GetAccountSettings

AddPermission

PublishVersion

DeleteFunction

UpdateFunctionConfiguration

ListFunctions (Paginated)

UpdateFunctionCode

GetPolicy

Types

EventSourcePosition

data EventSourcePosition #

Instances

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

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 # 
Read EventSourcePosition # 
Show EventSourcePosition # 
Generic EventSourcePosition # 
Hashable EventSourcePosition # 
ToJSON EventSourcePosition # 
NFData EventSourcePosition # 

Methods

rnf :: EventSourcePosition -> () #

ToQuery EventSourcePosition # 
ToHeader EventSourcePosition # 
ToByteString EventSourcePosition # 
FromText EventSourcePosition # 
ToText EventSourcePosition # 
type Rep EventSourcePosition # 
type Rep EventSourcePosition = D1 (MetaData "EventSourcePosition" "Network.AWS.Lambda.Types.Sum" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" False) ((:+:) (C1 (MetaCons "AtTimestamp" PrefixI False) U1) ((:+:) (C1 (MetaCons "Latest" PrefixI False) U1) (C1 (MetaCons "TrimHorizon" PrefixI False) U1)))

InvocationType

data InvocationType #

Constructors

DryRun 
Event 
RequestResponse 

Instances

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

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 # 
Read InvocationType # 
Show InvocationType # 
Generic InvocationType # 

Associated Types

type Rep InvocationType :: * -> * #

Hashable InvocationType # 
ToJSON InvocationType # 
NFData InvocationType # 

Methods

rnf :: InvocationType -> () #

ToQuery InvocationType # 
ToHeader InvocationType # 
ToByteString InvocationType # 
FromText InvocationType # 
ToText InvocationType # 
type Rep InvocationType # 
type Rep InvocationType = D1 (MetaData "InvocationType" "Network.AWS.Lambda.Types.Sum" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" False) ((:+:) (C1 (MetaCons "DryRun" PrefixI False) U1) ((:+:) (C1 (MetaCons "Event" PrefixI False) U1) (C1 (MetaCons "RequestResponse" PrefixI False) U1)))

LogType

data LogType #

Constructors

None 
Tail 

Instances

Bounded LogType # 
Enum LogType # 
Eq LogType # 

Methods

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

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

Data LogType # 

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 # 
Read LogType # 
Show LogType # 
Generic LogType # 

Associated Types

type Rep LogType :: * -> * #

Methods

from :: LogType -> Rep LogType x #

to :: Rep LogType x -> LogType #

Hashable LogType # 

Methods

hashWithSalt :: Int -> LogType -> Int #

hash :: LogType -> Int #

ToJSON LogType # 
NFData LogType # 

Methods

rnf :: LogType -> () #

ToQuery LogType # 
ToHeader LogType # 

Methods

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

ToByteString LogType # 

Methods

toBS :: LogType -> ByteString #

FromText LogType # 
ToText LogType # 

Methods

toText :: LogType -> Text #

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

Runtime

data Runtime #

Instances

Bounded Runtime # 
Enum Runtime # 
Eq Runtime # 

Methods

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

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

Data Runtime # 

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 # 
Read Runtime # 
Show Runtime # 
Generic Runtime # 

Associated Types

type Rep Runtime :: * -> * #

Methods

from :: Runtime -> Rep Runtime x #

to :: Rep Runtime x -> Runtime #

Hashable Runtime # 

Methods

hashWithSalt :: Int -> Runtime -> Int #

hash :: Runtime -> Int #

ToJSON Runtime # 
FromJSON Runtime # 
NFData Runtime # 

Methods

rnf :: Runtime -> () #

ToQuery Runtime # 
ToHeader Runtime # 

Methods

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

ToByteString Runtime # 

Methods

toBS :: Runtime -> ByteString #

FromText Runtime # 
ToText Runtime # 

Methods

toText :: Runtime -> Text #

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

AccountLimit

data AccountLimit #

Provides limits of code size and concurrency associated with the current account and region.

See: accountLimit smart constructor.

Instances

Eq AccountLimit # 
Data AccountLimit # 

Methods

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

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

toConstr :: AccountLimit -> Constr #

dataTypeOf :: AccountLimit -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AccountLimit # 
Show AccountLimit # 
Generic AccountLimit # 

Associated Types

type Rep AccountLimit :: * -> * #

Hashable AccountLimit # 
FromJSON AccountLimit # 
NFData AccountLimit # 

Methods

rnf :: AccountLimit -> () #

type Rep AccountLimit # 
type Rep AccountLimit = D1 (MetaData "AccountLimit" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" False) (C1 (MetaCons "AccountLimit'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_alConcurrentExecutions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_alTotalCodeSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))) ((:*:) (S1 (MetaSel (Just Symbol "_alCodeSizeUnzipped") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_alCodeSizeZipped") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))))))

accountLimit :: AccountLimit #

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

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

  • alConcurrentExecutions - Number of simultaneous executions of your function per region. For more information or to request a limit increase for concurrent executions, see Lambda Function Concurrent Executions . The default limit is 100.
  • alTotalCodeSize - Maximum size, in megabytes, of a code package you can upload per region. The default size is 75 GB.
  • alCodeSizeUnzipped - Size, in bytes, of codedependencies that you can zip into a deployment package (uncompressed zipjar size) for uploading. The default limit is 250 MB.
  • alCodeSizeZipped - Size, in bytes, of a single zipped codedependencies package you can upload for your Lambda function(.zip.jar file). Try using AWS S3 for uploading larger files. Default limit is 50 MB.

alConcurrentExecutions :: Lens' AccountLimit (Maybe Int) #

Number of simultaneous executions of your function per region. For more information or to request a limit increase for concurrent executions, see Lambda Function Concurrent Executions . The default limit is 100.

alTotalCodeSize :: Lens' AccountLimit (Maybe Integer) #

Maximum size, in megabytes, of a code package you can upload per region. The default size is 75 GB.

alCodeSizeUnzipped :: Lens' AccountLimit (Maybe Integer) #

Size, in bytes, of codedependencies that you can zip into a deployment package (uncompressed zipjar size) for uploading. The default limit is 250 MB.

alCodeSizeZipped :: Lens' AccountLimit (Maybe Integer) #

Size, in bytes, of a single zipped codedependencies package you can upload for your Lambda function(.zip.jar file). Try using AWS S3 for uploading larger files. Default limit is 50 MB.

AccountUsage

data AccountUsage #

Provides code size usage and function count associated with the current account and region.

See: accountUsage smart constructor.

Instances

Eq AccountUsage # 
Data AccountUsage # 

Methods

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

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

toConstr :: AccountUsage -> Constr #

dataTypeOf :: AccountUsage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AccountUsage # 
Show AccountUsage # 
Generic AccountUsage # 

Associated Types

type Rep AccountUsage :: * -> * #

Hashable AccountUsage # 
FromJSON AccountUsage # 
NFData AccountUsage # 

Methods

rnf :: AccountUsage -> () #

type Rep AccountUsage # 
type Rep AccountUsage = D1 (MetaData "AccountUsage" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" False) (C1 (MetaCons "AccountUsage'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_auTotalCodeSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_auFunctionCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))))

accountUsage :: AccountUsage #

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

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

  • auTotalCodeSize - Total size, in megabytes, of the account's deployment packages per region.
  • auFunctionCount - The number of your account's existing functions per region.

auTotalCodeSize :: Lens' AccountUsage (Maybe Integer) #

Total size, in megabytes, of the account's deployment packages per region.

auFunctionCount :: Lens' AccountUsage (Maybe Integer) #

The number of your account's existing functions per region.

AliasConfiguration

data AliasConfiguration #

Provides configuration information about a Lambda function version alias.

See: aliasConfiguration smart constructor.

Instances

Eq AliasConfiguration # 
Data AliasConfiguration # 

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 # 
Show AliasConfiguration # 
Generic AliasConfiguration # 
Hashable AliasConfiguration # 
FromJSON AliasConfiguration # 
NFData AliasConfiguration # 

Methods

rnf :: AliasConfiguration -> () #

type Rep AliasConfiguration # 
type Rep AliasConfiguration = D1 (MetaData "AliasConfiguration" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" 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 #

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:

  • acName - Alias name.
  • acFunctionVersion - Function version to which the alias points.
  • acAliasARN - 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 .
  • acDescription - Alias description.

acFunctionVersion :: Lens' AliasConfiguration (Maybe Text) #

Function version to which the alias points.

acAliasARN :: Lens' AliasConfiguration (Maybe Text) #

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 .

DeadLetterConfig

data DeadLetterConfig #

The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.

See: deadLetterConfig smart constructor.

Instances

Eq DeadLetterConfig # 
Data DeadLetterConfig # 

Methods

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

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

toConstr :: DeadLetterConfig -> Constr #

dataTypeOf :: DeadLetterConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeadLetterConfig # 
Show DeadLetterConfig # 
Generic DeadLetterConfig # 
Hashable DeadLetterConfig # 
ToJSON DeadLetterConfig # 
FromJSON DeadLetterConfig # 
NFData DeadLetterConfig # 

Methods

rnf :: DeadLetterConfig -> () #

type Rep DeadLetterConfig # 
type Rep DeadLetterConfig = D1 (MetaData "DeadLetterConfig" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" True) (C1 (MetaCons "DeadLetterConfig'" PrefixI True) (S1 (MetaSel (Just Symbol "_dlcTargetARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

deadLetterConfig :: DeadLetterConfig #

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

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

  • dlcTargetARN - The ARN (Amazon Resource Value) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue (DLQ).

dlcTargetARN :: Lens' DeadLetterConfig (Maybe Text) #

The ARN (Amazon Resource Value) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue (DLQ).

Environment

data Environment #

The parent object that contains your environment's configuration settings.

See: environment smart constructor.

Instances

Eq Environment # 
Data Environment # 

Methods

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

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

toConstr :: Environment -> Constr #

dataTypeOf :: Environment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Environment # 
Show Environment # 
Generic Environment # 

Associated Types

type Rep Environment :: * -> * #

Hashable Environment # 
ToJSON Environment # 
NFData Environment # 

Methods

rnf :: Environment -> () #

type Rep Environment # 
type Rep Environment = D1 (MetaData "Environment" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" True) (C1 (MetaCons "Environment'" PrefixI True) (S1 (MetaSel (Just Symbol "_eVariables") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Sensitive (Map Text (Sensitive Text)))))))

environment :: Environment #

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

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

  • eVariables - The key-value pairs that represent your environment's configuration settings. The value you specify cannot contain a ",".

eVariables :: Lens' Environment (Maybe (HashMap Text Text)) #

The key-value pairs that represent your environment's configuration settings. The value you specify cannot contain a ",".

EnvironmentError

data EnvironmentError #

The parent object that contains error information associated with your configuration settings.

See: environmentError smart constructor.

Instances

Eq EnvironmentError # 
Data EnvironmentError # 

Methods

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

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

toConstr :: EnvironmentError -> Constr #

dataTypeOf :: EnvironmentError -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnvironmentError # 
Show EnvironmentError # 
Generic EnvironmentError # 
Hashable EnvironmentError # 
FromJSON EnvironmentError # 
NFData EnvironmentError # 

Methods

rnf :: EnvironmentError -> () #

type Rep EnvironmentError # 
type Rep EnvironmentError = D1 (MetaData "EnvironmentError" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" False) (C1 (MetaCons "EnvironmentError'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_eeErrorCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_eeMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))))))

environmentError :: EnvironmentError #

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

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

  • eeErrorCode - The error code returned by the environment error object.
  • eeMessage - The message returned by the environment error object.

eeErrorCode :: Lens' EnvironmentError (Maybe Text) #

The error code returned by the environment error object.

eeMessage :: Lens' EnvironmentError (Maybe Text) #

The message returned by the environment error object.

EnvironmentResponse

data EnvironmentResponse #

The parent object returned that contains your environment's configuration settings or any error information associated with your configuration settings.

See: environmentResponse smart constructor.

Instances

Eq EnvironmentResponse # 
Data EnvironmentResponse # 

Methods

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

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

toConstr :: EnvironmentResponse -> Constr #

dataTypeOf :: EnvironmentResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read EnvironmentResponse # 
Show EnvironmentResponse # 
Generic EnvironmentResponse # 
Hashable EnvironmentResponse # 
FromJSON EnvironmentResponse # 
NFData EnvironmentResponse # 

Methods

rnf :: EnvironmentResponse -> () #

type Rep EnvironmentResponse # 
type Rep EnvironmentResponse = D1 (MetaData "EnvironmentResponse" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" False) (C1 (MetaCons "EnvironmentResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_envVariables") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive (Map Text (Sensitive Text)))))) (S1 (MetaSel (Just Symbol "_envError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EnvironmentError)))))

environmentResponse :: EnvironmentResponse #

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

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

  • envVariables - The key-value pairs returned that represent your environment's configuration settings or error information.
  • envError - Undocumented member.

envVariables :: Lens' EnvironmentResponse (Maybe (HashMap Text Text)) #

The key-value pairs returned that represent your environment's configuration settings or error information.

EventSourceMappingConfiguration

data EventSourceMappingConfiguration #

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

See: eventSourceMappingConfiguration smart constructor.

Instances

Eq EventSourceMappingConfiguration # 
Data EventSourceMappingConfiguration # 

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 # 
Show EventSourceMappingConfiguration # 
Generic EventSourceMappingConfiguration # 
Hashable EventSourceMappingConfiguration # 
FromJSON EventSourceMappingConfiguration # 
NFData EventSourceMappingConfiguration # 
type Rep EventSourceMappingConfiguration # 
type Rep EventSourceMappingConfiguration = D1 (MetaData "EventSourceMappingConfiguration" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" 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)))))))

eventSourceMappingConfiguration :: EventSourceMappingConfiguration #

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

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

  • esmcEventSourceARN - The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
  • esmcState - The state of the event source mapping. It can be Creating , Enabled , Disabled , Enabling , Disabling , Updating , or Deleting .
  • esmcFunctionARN - The Lambda function to invoke when AWS Lambda detects an event on the stream.
  • esmcUUId - The AWS Lambda assigned opaque identifier for the mapping.
  • esmcLastProcessingResult - The result of the last AWS Lambda invocation of your Lambda function.
  • esmcBatchSize - 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 - The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
  • esmcLastModified - The UTC time string indicating the last time the event mapping was updated.

esmcEventSourceARN :: Lens' EventSourceMappingConfiguration (Maybe Text) #

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

esmcState :: Lens' EventSourceMappingConfiguration (Maybe Text) #

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

esmcFunctionARN :: Lens' EventSourceMappingConfiguration (Maybe Text) #

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

esmcUUId :: Lens' EventSourceMappingConfiguration (Maybe Text) #

The AWS Lambda assigned opaque identifier for the mapping.

esmcLastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) #

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

esmcBatchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural) #

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) #

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) #

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

FunctionCode

data FunctionCode #

The code for the Lambda function.

See: functionCode smart constructor.

Instances

Eq FunctionCode # 
Data FunctionCode # 

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 # 
Show FunctionCode # 
Generic FunctionCode # 

Associated Types

type Rep FunctionCode :: * -> * #

Hashable FunctionCode # 
ToJSON FunctionCode # 
NFData FunctionCode # 

Methods

rnf :: FunctionCode -> () #

type Rep FunctionCode # 
type Rep FunctionCode = D1 (MetaData "FunctionCode" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" 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 (Sensitive Base64)))) (S1 (MetaSel (Just Symbol "_fcS3Bucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

functionCode :: FunctionCode #

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 - The Amazon S3 object (the deployment package) version you want to upload.
  • fcS3Key - The Amazon S3 object (the deployment package) key name you want to upload.
  • fcZipFile - 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. 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 - 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.

fcS3ObjectVersion :: Lens' FunctionCode (Maybe Text) #

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

fcS3Key :: Lens' FunctionCode (Maybe Text) #

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

fcZipFile :: Lens' FunctionCode (Maybe ByteString) #

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. 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) #

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 #

The object for the Lambda function location.

See: functionCodeLocation smart constructor.

Instances

Eq FunctionCodeLocation # 
Data FunctionCodeLocation # 

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 # 
Show FunctionCodeLocation # 
Generic FunctionCodeLocation # 
Hashable FunctionCodeLocation # 
FromJSON FunctionCodeLocation # 
NFData FunctionCodeLocation # 

Methods

rnf :: FunctionCodeLocation -> () #

type Rep FunctionCodeLocation # 
type Rep FunctionCodeLocation = D1 (MetaData "FunctionCodeLocation" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" 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 #

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 - 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 - The repository from which you can download the function.

fclLocation :: Lens' FunctionCodeLocation (Maybe Text) #

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) #

The repository from which you can download the function.

FunctionConfiguration

data FunctionConfiguration #

A complex type that describes function metadata.

See: functionConfiguration smart constructor.

Instances

Eq FunctionConfiguration # 
Data FunctionConfiguration # 

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 # 
Show FunctionConfiguration # 
Generic FunctionConfiguration # 
Hashable FunctionConfiguration # 
FromJSON FunctionConfiguration # 
NFData FunctionConfiguration # 

Methods

rnf :: FunctionConfiguration -> () #

type Rep FunctionConfiguration # 
type Rep FunctionConfiguration = D1 (MetaData "FunctionConfiguration" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" 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 "_fcKMSKeyARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_fcEnvironment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EnvironmentResponse))) (S1 (MetaSel (Just Symbol "_fcDeadLetterConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeadLetterConfig)))) ((:*:) (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 #

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 - The memory size, in MB, you configured for the function. Must be a multiple of 64 MB.
  • fcRuntime - 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 - The Amazon Resource Name (ARN) assigned to the function.
  • fcKMSKeyARN - The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.
  • fcEnvironment - The parent object that contains your environment's configuration settings.
  • fcDeadLetterConfig - The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
  • fcRole - 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 - VPC configuration associated with your Lambda function.
  • fcVersion - The version of the Lambda function.
  • fcFunctionName - The name of the function.
  • fcCodeSize - The size, in bytes, of the function .zip file you uploaded.
  • fcHandler - The function Lambda calls to begin executing your function.
  • fcTimeout - 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 - The time stamp of the last time you updated the function.
  • fcCodeSha256 - It is the SHA256 hash of your function deployment package.
  • fcDescription - The user-provided description.

fcMemorySize :: Lens' FunctionConfiguration (Maybe Natural) #

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

fcRuntime :: Lens' FunctionConfiguration (Maybe Runtime) #

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) #

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

fcKMSKeyARN :: Lens' FunctionConfiguration (Maybe Text) #

The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If empty, it means you are using the AWS Lambda default service key.

fcEnvironment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse) #

The parent object that contains your environment's configuration settings.

fcDeadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) #

The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.

fcRole :: Lens' FunctionConfiguration (Maybe Text) #

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) #

VPC configuration associated with your Lambda function.

fcVersion :: Lens' FunctionConfiguration (Maybe Text) #

The version of the Lambda function.

fcFunctionName :: Lens' FunctionConfiguration (Maybe Text) #

The name of the function.

fcCodeSize :: Lens' FunctionConfiguration (Maybe Integer) #

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

fcHandler :: Lens' FunctionConfiguration (Maybe Text) #

The function Lambda calls to begin executing your function.

fcTimeout :: Lens' FunctionConfiguration (Maybe Natural) #

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) #

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

fcCodeSha256 :: Lens' FunctionConfiguration (Maybe Text) #

It is the SHA256 hash of your function deployment package.

fcDescription :: Lens' FunctionConfiguration (Maybe Text) #

The user-provided description.

VPCConfig

data VPCConfig #

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 # 
Data VPCConfig # 

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 # 
Show VPCConfig # 
Generic VPCConfig # 

Associated Types

type Rep VPCConfig :: * -> * #

Hashable VPCConfig # 
ToJSON VPCConfig # 
NFData VPCConfig # 

Methods

rnf :: VPCConfig -> () #

type Rep VPCConfig # 
type Rep VPCConfig = D1 (MetaData "VPCConfig" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" 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 #

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] #

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

vpccSubnetIds :: Lens' VPCConfig [Text] #

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

VPCConfigResponse

data VPCConfigResponse #

VPC configuration associated with your Lambda function.

See: vpcConfigResponse smart constructor.

Instances

Eq VPCConfigResponse # 
Data VPCConfigResponse # 

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 # 
Show VPCConfigResponse # 
Generic VPCConfigResponse # 
Hashable VPCConfigResponse # 
FromJSON VPCConfigResponse # 
NFData VPCConfigResponse # 

Methods

rnf :: VPCConfigResponse -> () #

type Rep VPCConfigResponse # 
type Rep VPCConfigResponse = D1 (MetaData "VPCConfigResponse" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-HBw5BdgXNtO3bSf0cOyCBw" 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 #

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 - A list of security group IDs associated with the Lambda function.
  • vcSubnetIds - A list of subnet IDs associated with the Lambda function.
  • vcVPCId - The VPC ID associated with you Lambda function.

vcSecurityGroupIds :: Lens' VPCConfigResponse [Text] #

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

vcSubnetIds :: Lens' VPCConfigResponse [Text] #

A list of subnet IDs associated with the Lambda function.

vcVPCId :: Lens' VPCConfigResponse (Maybe Text) #

The VPC ID associated with you Lambda function.