Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- EventSourcePosition
- FunctionVersion
- InvocationType
- LogType
- Runtime
- TracingMode
- AccountLimit
- AccountUsage
- AliasConfiguration
- AliasRoutingConfiguration
- Concurrency
- DeadLetterConfig
- Environment
- EnvironmentError
- EnvironmentResponse
- EventSourceMappingConfiguration
- FunctionCode
- FunctionCodeLocation
- FunctionConfiguration
- TracingConfig
- TracingConfigResponse
- VPCConfig
- VPCConfigResponse
Synopsis
- lambda :: Service
- _KMSInvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError
- _EC2ThrottledException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRuntimeException :: AsError a => Getting (First ServiceError) a ServiceError
- _PolicyLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _PreconditionFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- _EC2AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSubnetIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedMediaTypeException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRequestContentException :: AsError a => Getting (First ServiceError) a ServiceError
- _KMSNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _ENILimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError
- _RequestTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSecurityGroupIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _KMSDisabledException :: AsError a => Getting (First ServiceError) a ServiceError
- _SubnetIPAddressLimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- _CodeStorageExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidZipFileException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _EC2UnexpectedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _KMSAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- data EventSourcePosition
- data FunctionVersion = All
- data InvocationType
- data LogType
- data Runtime
- data TracingMode
- data AccountLimit
- accountLimit :: AccountLimit
- alConcurrentExecutions :: Lens' AccountLimit (Maybe Int)
- alTotalCodeSize :: Lens' AccountLimit (Maybe Integer)
- alUnreservedConcurrentExecutions :: Lens' AccountLimit (Maybe Natural)
- alCodeSizeUnzipped :: Lens' AccountLimit (Maybe Integer)
- alCodeSizeZipped :: Lens' AccountLimit (Maybe Integer)
- data AccountUsage
- accountUsage :: AccountUsage
- auTotalCodeSize :: Lens' AccountUsage (Maybe Integer)
- auFunctionCount :: Lens' AccountUsage (Maybe Integer)
- data AliasConfiguration
- aliasConfiguration :: AliasConfiguration
- acRoutingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration)
- acName :: Lens' AliasConfiguration (Maybe Text)
- acFunctionVersion :: Lens' AliasConfiguration (Maybe Text)
- acAliasARN :: Lens' AliasConfiguration (Maybe Text)
- acDescription :: Lens' AliasConfiguration (Maybe Text)
- acRevisionId :: Lens' AliasConfiguration (Maybe Text)
- data AliasRoutingConfiguration
- aliasRoutingConfiguration :: AliasRoutingConfiguration
- arcAdditionalVersionWeights :: Lens' AliasRoutingConfiguration (HashMap Text Double)
- data Concurrency
- concurrency :: Concurrency
- cReservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural)
- data DeadLetterConfig
- deadLetterConfig :: DeadLetterConfig
- dlcTargetARN :: Lens' DeadLetterConfig (Maybe Text)
- data Environment
- environment :: Environment
- eVariables :: Lens' Environment (Maybe (HashMap Text Text))
- data EnvironmentError
- environmentError :: EnvironmentError
- eeErrorCode :: Lens' EnvironmentError (Maybe Text)
- eeMessage :: Lens' EnvironmentError (Maybe Text)
- data EnvironmentResponse
- environmentResponse :: EnvironmentResponse
- envVariables :: Lens' EnvironmentResponse (Maybe (HashMap Text Text))
- envError :: Lens' EnvironmentResponse (Maybe EnvironmentError)
- data EventSourceMappingConfiguration
- eventSourceMappingConfiguration :: EventSourceMappingConfiguration
- esmcEventSourceARN :: Lens' EventSourceMappingConfiguration (Maybe Text)
- esmcState :: Lens' EventSourceMappingConfiguration (Maybe Text)
- esmcFunctionARN :: Lens' EventSourceMappingConfiguration (Maybe Text)
- esmcUUId :: Lens' EventSourceMappingConfiguration (Maybe Text)
- esmcLastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text)
- esmcBatchSize :: Lens' EventSourceMappingConfiguration (Maybe Natural)
- esmcStateTransitionReason :: Lens' EventSourceMappingConfiguration (Maybe Text)
- esmcLastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime)
- data FunctionCode
- functionCode :: FunctionCode
- fcS3ObjectVersion :: Lens' FunctionCode (Maybe Text)
- fcS3Key :: Lens' FunctionCode (Maybe Text)
- fcZipFile :: Lens' FunctionCode (Maybe ByteString)
- fcS3Bucket :: Lens' FunctionCode (Maybe Text)
- data FunctionCodeLocation
- functionCodeLocation :: FunctionCodeLocation
- fclLocation :: Lens' FunctionCodeLocation (Maybe Text)
- fclRepositoryType :: Lens' FunctionCodeLocation (Maybe Text)
- data FunctionConfiguration
- functionConfiguration :: FunctionConfiguration
- fcMemorySize :: Lens' FunctionConfiguration (Maybe Natural)
- fcRuntime :: Lens' FunctionConfiguration (Maybe Runtime)
- fcFunctionARN :: Lens' FunctionConfiguration (Maybe Text)
- fcKMSKeyARN :: Lens' FunctionConfiguration (Maybe Text)
- fcEnvironment :: Lens' FunctionConfiguration (Maybe EnvironmentResponse)
- fcDeadLetterConfig :: Lens' FunctionConfiguration (Maybe DeadLetterConfig)
- fcRole :: Lens' FunctionConfiguration (Maybe Text)
- fcVPCConfig :: Lens' FunctionConfiguration (Maybe VPCConfigResponse)
- fcVersion :: Lens' FunctionConfiguration (Maybe Text)
- fcFunctionName :: Lens' FunctionConfiguration (Maybe Text)
- fcCodeSize :: Lens' FunctionConfiguration (Maybe Integer)
- fcHandler :: Lens' FunctionConfiguration (Maybe Text)
- fcTimeout :: Lens' FunctionConfiguration (Maybe Natural)
- fcLastModified :: Lens' FunctionConfiguration (Maybe Text)
- fcCodeSha256 :: Lens' FunctionConfiguration (Maybe Text)
- fcTracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse)
- fcDescription :: Lens' FunctionConfiguration (Maybe Text)
- fcRevisionId :: Lens' FunctionConfiguration (Maybe Text)
- fcMasterARN :: Lens' FunctionConfiguration (Maybe Text)
- data TracingConfig
- tracingConfig :: TracingConfig
- tMode :: Lens' TracingConfig (Maybe TracingMode)
- data TracingConfigResponse
- tracingConfigResponse :: TracingConfigResponse
- tcMode :: Lens' TracingConfigResponse (Maybe TracingMode)
- data VPCConfig
- vpcConfig :: VPCConfig
- vpccSecurityGroupIds :: Lens' VPCConfig [Text]
- vpccSubnetIds :: Lens' VPCConfig [Text]
- data VPCConfigResponse
- vpcConfigResponse :: VPCConfigResponse
- vcSecurityGroupIds :: Lens' VPCConfigResponse [Text]
- vcSubnetIds :: Lens' VPCConfigResponse [Text]
- vcVPCId :: Lens' VPCConfigResponse (Maybe Text)
Service 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. 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.
_InvalidRuntimeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The runtime or runtime version specified is not supported.
_PolicyLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Lambda function access policy is limited to 20 KB.
_PreconditionFailedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction
or the GetAlias
API to retrieve the latest RevisionId for your resource.
_EC2AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
_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. 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 .
_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
_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. 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.
_ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The resource already exists.
_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. Check the Lambda function's KMS permissions.
EventSourcePosition
data EventSourcePosition Source #
Instances
FunctionVersion
data FunctionVersion Source #
Instances
InvocationType
data InvocationType Source #
Instances
LogType
Instances
Runtime
DOTNETCORE1_0 | |
DOTNETCORE2_0 | |
GO1_x | |
JAVA8 | |
NODEJS4_3 | |
NODEJS4_3Edge | |
NODEJS6_10 | |
NODEJS8_10 | |
Nodejs | |
PYTHON2_7 | |
PYTHON3_6 |
Instances
TracingMode
data TracingMode Source #
Instances
AccountLimit
data AccountLimit Source #
Provides limits of code size and concurrency associated with the current account and region.
See: accountLimit
smart constructor.
Instances
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 1000.alTotalCodeSize
- Maximum size, in bytes, of a code package you can upload per region. The default size is 75 GB.alUnreservedConcurrentExecutions
- The number of concurrent executions available to functions that do not have concurrency limits set. For more information, see 'concurrent-executions' .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 Amazon 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 1000.
alTotalCodeSize :: Lens' AccountLimit (Maybe Integer) Source #
Maximum size, in bytes, of a code package you can upload per region. The default size is 75 GB.
alUnreservedConcurrentExecutions :: Lens' AccountLimit (Maybe Natural) Source #
The number of concurrent executions available to functions that do not have concurrency limits set. For more information, see 'concurrent-executions' .
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 Amazon 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
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 bytes, 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 bytes, 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
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:
acRoutingConfig
- Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see 'lambda-traffic-shifting-using-aliases' .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 calledBETA
that points to a helloworld function version, the ARN isarn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA
.acDescription
- Alias description.acRevisionId
- Represents the latest updated revision of the function or alias.
acRoutingConfig :: Lens' AliasConfiguration (Maybe AliasRoutingConfiguration) Source #
Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see 'lambda-traffic-shifting-using-aliases' .
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
.
acDescription :: Lens' AliasConfiguration (Maybe Text) Source #
Alias description.
acRevisionId :: Lens' AliasConfiguration (Maybe Text) Source #
Represents the latest updated revision of the function or alias.
AliasRoutingConfiguration
data AliasRoutingConfiguration Source #
The parent object that implements what percentage of traffic will invoke each function version. For more information, see 'lambda-traffic-shifting-using-aliases' .
See: aliasRoutingConfiguration
smart constructor.
Instances
aliasRoutingConfiguration :: AliasRoutingConfiguration Source #
Creates a value of AliasRoutingConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
arcAdditionalVersionWeights
- Set this value to dictate what percentage of traffic will invoke the updated function version. If set to an empty string, 100 percent of traffic will invokefunction-version
. For more information, see 'lambda-traffic-shifting-using-aliases' .
arcAdditionalVersionWeights :: Lens' AliasRoutingConfiguration (HashMap Text Double) Source #
Set this value to dictate what percentage of traffic will invoke the updated function version. If set to an empty string, 100 percent of traffic will invoke function-version
. For more information, see 'lambda-traffic-shifting-using-aliases' .
Concurrency
data Concurrency Source #
See: concurrency
smart constructor.
Instances
concurrency :: Concurrency Source #
Creates a value of Concurrency
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cReservedConcurrentExecutions
- The number of concurrent executions reserved for this function. For more information, see 'concurrent-executions' .
cReservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural) Source #
The number of concurrent executions reserved for this function. For more information, see 'concurrent-executions' .
DeadLetterConfig
data DeadLetterConfig Source #
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue (DLQ). For more information, see dlq
.
See: deadLetterConfig
smart constructor.
Instances
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 Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue (DLQ).dlq
. For more information, seedlq
.
dlcTargetARN :: Lens' DeadLetterConfig (Maybe Text) Source #
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue (DLQ). dlq
. For more information, see dlq
.
Environment
data Environment Source #
The parent object that contains your environment's configuration settings.
See: environment
smart constructor.
Instances
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.
eVariables :: Lens' Environment (Maybe (HashMap Text Text)) Source #
The key-value pairs that represent your environment's configuration settings.
EnvironmentError
data EnvironmentError Source #
The parent object that contains error information associated with your configuration settings.
See: environmentError
smart constructor.
Instances
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
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.
envError :: Lens' EnvironmentResponse (Maybe EnvironmentError) Source #
Undocumented member.
EventSourceMappingConfiguration
data EventSourceMappingConfiguration Source #
Describes mapping between an Amazon Kinesis stream and a Lambda function.
See: eventSourceMappingConfiguration
smart constructor.
Instances
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 beCreating
,Enabled
,Disabled
,Enabling
,Disabling
,Updating
, orDeleting
.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
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, see Execution Permissions in the AWS Lambda Developer Guide . -- Note: ThisLens
automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. ThisLens
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, see 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
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
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.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. For more information, seedlq
.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. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.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. The time stamp is conveyed as a string complying with ISO-8601 in this way YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more information, see Date and Time Formats .fcCodeSha256
- It is the SHA256 hash of your function deployment package.fcTracingConfig
- The parent object that contains your function's tracing settings.fcDescription
- The user-provided description.fcRevisionId
- Represents the latest updated revision of the function or alias.fcMasterARN
- Returns the ARN (Amazon Resource Name) of the master function.
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.
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. For more information, see dlq
.
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.
fcFunctionName :: Lens' FunctionConfiguration (Maybe Text) Source #
The name of the function. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
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. The time stamp is conveyed as a string complying with ISO-8601 in this way YYYY-MM-DDThh:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00). For more information, see Date and Time Formats .
fcCodeSha256 :: Lens' FunctionConfiguration (Maybe Text) Source #
It is the SHA256 hash of your function deployment package.
fcTracingConfig :: Lens' FunctionConfiguration (Maybe TracingConfigResponse) Source #
The parent object that contains your function's tracing settings.
fcDescription :: Lens' FunctionConfiguration (Maybe Text) Source #
The user-provided description.
fcRevisionId :: Lens' FunctionConfiguration (Maybe Text) Source #
Represents the latest updated revision of the function or alias.
fcMasterARN :: Lens' FunctionConfiguration (Maybe Text) Source #
Returns the ARN (Amazon Resource Name) of the master function.
TracingConfig
data TracingConfig Source #
The parent object that contains your function's tracing settings.
See: tracingConfig
smart constructor.
Instances
tracingConfig :: TracingConfig Source #
Creates a value of TracingConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tMode
- Can be either PassThrough or Active. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision.
tMode :: Lens' TracingConfig (Maybe TracingMode) Source #
Can be either PassThrough or Active. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision.
TracingConfigResponse
data TracingConfigResponse Source #
Parent object of the tracing information associated with your Lambda function.
See: tracingConfigResponse
smart constructor.
Instances
tracingConfigResponse :: TracingConfigResponse Source #
Creates a value of TracingConfigResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tcMode
- The tracing mode associated with your Lambda function.
tcMode :: Lens' TracingConfigResponse (Maybe TracingMode) Source #
The tracing mode associated with your Lambda function.
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 Source # | |
Data VPCConfig Source # | |
Defined in Network.AWS.Lambda.Types.Product 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 # | |
Hashable VPCConfig Source # | |
Defined in Network.AWS.Lambda.Types.Product | |
ToJSON VPCConfig Source # | |
Defined in Network.AWS.Lambda.Types.Product | |
NFData VPCConfig Source # | |
Defined in Network.AWS.Lambda.Types.Product | |
type Rep VPCConfig Source # | |
Defined in Network.AWS.Lambda.Types.Product type Rep VPCConfig = D1 (MetaData "VPCConfig" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.6.1-KQvkrTCQjBWL6Bwjq8xw0f" False) (C1 (MetaCons "VPCConfig'" PrefixI True) (S1 (MetaSel (Just "_vpccSecurityGroupIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_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
- A list of one or more security groups IDs in your VPC.vpccSubnetIds
- A list of one or more subnet IDs in your VPC.
vpccSecurityGroupIds :: Lens' VPCConfig [Text] Source #
A list of one or more security groups IDs in your VPC.
VPCConfigResponse
data VPCConfigResponse Source #
VPC configuration associated with your Lambda function.
See: vpcConfigResponse
smart constructor.
Instances
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.