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.Types

Contents

Description

 

Synopsis

Service Configuration

lambda :: Service Source #

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

Errors

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

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

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

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

_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.

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

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

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

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

EventSourcePosition

data EventSourcePosition Source #

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 # 
ToJSON EventSourcePosition Source # 
NFData EventSourcePosition Source # 

Methods

rnf :: EventSourcePosition -> () #

ToHeader EventSourcePosition Source # 
ToQuery EventSourcePosition Source # 
ToByteString EventSourcePosition Source # 
FromText EventSourcePosition Source # 
ToText EventSourcePosition Source # 
type Rep EventSourcePosition Source # 
type Rep EventSourcePosition = D1 (MetaData "EventSourcePosition" "Network.AWS.Lambda.Types.Sum" "amazonka-lambda-1.4.5-K0Zcc9dQTk78nHWncyJsNe" False) ((:+:) (C1 (MetaCons "AtTimestamp" PrefixI False) U1) ((:+:) (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 # 
ToJSON InvocationType Source # 
NFData InvocationType Source # 

Methods

rnf :: InvocationType -> () #

ToHeader InvocationType Source # 
ToQuery InvocationType Source # 
ToByteString InvocationType Source # 
FromText InvocationType Source # 
ToText InvocationType Source # 
type Rep InvocationType Source # 
type Rep InvocationType = D1 (MetaData "InvocationType" "Network.AWS.Lambda.Types.Sum" "amazonka-lambda-1.4.5-K0Zcc9dQTk78nHWncyJsNe" 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 #

ToJSON LogType Source # 
NFData LogType Source # 

Methods

rnf :: LogType -> () #

ToHeader LogType Source # 

Methods

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

ToQuery LogType Source # 
ToByteString LogType Source # 

Methods

toBS :: LogType -> ByteString #

FromText LogType Source # 
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.5-K0Zcc9dQTk78nHWncyJsNe" False) ((:+:) (C1 (MetaCons "None" PrefixI False) U1) (C1 (MetaCons "Tail" PrefixI False) U1))

Runtime

data Runtime Source #

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 #

ToJSON Runtime Source # 
FromJSON Runtime Source # 
NFData Runtime Source # 

Methods

rnf :: Runtime -> () #

ToHeader Runtime Source # 

Methods

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

ToQuery Runtime Source # 
ToByteString Runtime Source # 

Methods

toBS :: Runtime -> ByteString #

FromText Runtime Source # 
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.5-K0Zcc9dQTk78nHWncyJsNe" 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 Source #

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

See: accountLimit smart constructor.

Instances

Eq AccountLimit Source # 
Data AccountLimit Source # 

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 Source # 
Show AccountLimit Source # 
Generic AccountLimit Source # 

Associated Types

type Rep AccountLimit :: * -> * #

Hashable AccountLimit Source # 
FromJSON AccountLimit Source # 
NFData AccountLimit Source # 

Methods

rnf :: AccountLimit -> () #

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

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

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

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

alCodeSizeUnzipped :: Lens' AccountLimit (Maybe Integer) Source #

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

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

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

See: accountUsage smart constructor.

Instances

Eq AccountUsage Source # 
Data AccountUsage Source # 

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 Source # 
Show AccountUsage Source # 
Generic AccountUsage Source # 

Associated Types

type Rep AccountUsage :: * -> * #

Hashable AccountUsage Source # 
FromJSON AccountUsage Source # 
NFData AccountUsage Source # 

Methods

rnf :: AccountUsage -> () #

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

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

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

auFunctionCount :: Lens' AccountUsage (Maybe Integer) Source #

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

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 # 
FromJSON AliasConfiguration Source # 
NFData AliasConfiguration Source # 

Methods

rnf :: AliasConfiguration -> () #

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

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

DeadLetterConfig

data DeadLetterConfig Source #

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 Source # 
Data DeadLetterConfig Source # 

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 Source # 
Show DeadLetterConfig Source # 
Generic DeadLetterConfig Source # 
Hashable DeadLetterConfig Source # 
ToJSON DeadLetterConfig Source # 
FromJSON DeadLetterConfig Source # 
NFData DeadLetterConfig Source # 

Methods

rnf :: DeadLetterConfig -> () #

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

deadLetterConfig :: DeadLetterConfig Source #

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

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

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

See: environment smart constructor.

Instances

Eq Environment Source # 
Data Environment Source # 

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 Source # 
Show Environment Source # 
Generic Environment Source # 

Associated Types

type Rep Environment :: * -> * #

Hashable Environment Source # 
ToJSON Environment Source # 
NFData Environment Source # 

Methods

rnf :: Environment -> () #

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

environment :: Environment Source #

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

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

EnvironmentError

data EnvironmentError Source #

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

See: environmentError smart constructor.

Instances

Eq EnvironmentError Source # 
Data EnvironmentError Source # 

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

Methods

rnf :: EnvironmentError -> () #

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

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

The error code returned by the environment error object.

eeMessage :: Lens' EnvironmentError (Maybe Text) Source #

The message returned by the environment error object.

EnvironmentResponse

data EnvironmentResponse Source #

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 Source # 
Data EnvironmentResponse Source # 

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

Methods

rnf :: EnvironmentResponse -> () #

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

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

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

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

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) 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 # 
ToJSON FunctionCode Source # 
NFData FunctionCode Source # 

Methods

rnf :: FunctionCode -> () #

type Rep FunctionCode Source # 
type Rep FunctionCode = D1 (MetaData "FunctionCode" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-K0Zcc9dQTk78nHWncyJsNe" 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 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 - 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) 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. 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 # 
FromJSON FunctionCodeLocation Source # 
NFData FunctionCodeLocation Source # 

Methods

rnf :: FunctionCodeLocation -> () #

type Rep FunctionCodeLocation Source # 
type Rep FunctionCodeLocation = D1 (MetaData "FunctionCodeLocation" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.4.5-K0Zcc9dQTk78nHWncyJsNe" 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 - 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) 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 # 
FromJSON FunctionConfiguration Source # 
NFData FunctionConfiguration Source # 

Methods

rnf :: FunctionConfiguration -> () #

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

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

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

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

fcDeadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig) Source #

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) 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 # 
ToJSON VPCConfig Source # 
NFData VPCConfig Source # 

Methods

rnf :: VPCConfig -> () #

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

Methods

rnf :: VPCConfigResponse -> () #

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