Class LambdaException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Lambda\Exception\LambdaException
- Namespace: Aws\Lambda\Exception
- Located at Lambda/Exception/LambdaException.php
Represents an error interacting with AWS Lambda
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
CodeSigningConfigNotFoundException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The specified code signing configuration does not exist.
Members
CodeStorageExceededException
[ 'Type' => '<string>', 'message' => '<string>', ]
Description
Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.
Members
CodeVerificationFailedException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.
Members
EC2AccessDeniedException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Need additional permissions to configure VPC settings.
Members
EC2ThrottledException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.
Members
EC2UnexpectedException
[ 'EC2ErrorCode' => '<string>', 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.
Members
EFSIOException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
An error occurred when reading from or writing to a connected file system.
Members
EFSMountConnectivityException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The Lambda function couldn't make a network connection to the configured file system.
Members
EFSMountFailureException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The Lambda function couldn't mount the configured file system due to a permission or configuration issue.
Members
EFSMountTimeoutException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The Lambda function made a network connection to the configured file system, but the mount operation timed out.
Members
ENILimitReachedException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more information, see Lambda quotas.
Members
InvalidCodeSignatureException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The code signature failed the integrity check. If the integrity check fails, then Lambda blocks deployment, even if the code signing policy is set to WARN.
Members
InvalidParameterValueException
[ 'Type' => '<string>', 'message' => '<string>', ]
Description
One of the parameters in the request is not valid.
Members
InvalidRequestContentException
[ 'Type' => '<string>', 'message' => '<string>', ]
Description
The request body could not be parsed as JSON.
Members
InvalidRuntimeException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The runtime or runtime version specified is not supported.
Members
InvalidSecurityGroupIDException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The security group ID provided in the Lambda function VPC configuration is not valid.
Members
InvalidSubnetIDException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The subnet ID provided in the Lambda function VPC configuration is not valid.
Members
InvalidZipFileException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda could not unzip the deployment package.
Members
KMSAccessDeniedException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
Members
KMSDisabledException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.
Members
KMSInvalidStateException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.
Members
KMSNotFoundException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
Members
PolicyLengthExceededException
[ 'Type' => '<string>', 'message' => '<string>', ]
Description
The permissions policy for the resource is too large. For more information, see Lambda quotas.
Members
PreconditionFailedException
[ 'Type' => '<string>', 'message' => '<string>', ]
Description
The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction
or the GetAlias
API operation to retrieve the latest RevisionId for your resource.
Members
ProvisionedConcurrencyConfigNotFoundException
[ 'Type' => '<string>', 'message' => '<string>', ]
Description
The specified configuration does not exist.
Members
RequestTooLargeException
[ 'Type' => '<string>', 'message' => '<string>', ]
Description
The request payload exceeded the Invoke
request body JSON input quota. For more information, see Lambda quotas.
Members
ResourceConflictException
[ 'Type' => '<string>', 'message' => '<string>', ]
Description
The resource already exists, or another operation is in progress.
Members
ResourceInUseException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The operation conflicts with the resource's availability. For example, you tried to update an event source mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.
Members
ResourceNotFoundException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The resource specified in the request does not exist.
Members
ResourceNotReadyException
[ 'Type' => '<string>', 'message' => '<string>', ]
Description
The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.
Members
ServiceException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The Lambda service encountered an internal error.
Members
SnapStartException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The afterRestore()
runtime hook encountered an error. For more information, check the Amazon CloudWatch logs.
Members
SnapStartNotReadyException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda is initializing your function. You can invoke the function when the function state becomes Active
.
Members
SnapStartTimeoutException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda couldn't restore the snapshot within the timeout limit.
Members
SubnetIPAddressLimitReachedException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.
Members
TooManyRequestsException
[ 'Reason' => 'ConcurrentInvocationLimitExceeded|FunctionInvocationRateLimitExceeded|ReservedFunctionConcurrentInvocationLimitExceeded|ReservedFunctionInvocationRateLimitExceeded|CallerRateLimitExceeded|ConcurrentSnapshotCreateLimitExceeded', 'Type' => '<string>', 'message' => '<string>', 'retryAfterSeconds' => '<string>', ]
Description
The request throughput limit was exceeded. For more information, see Lambda quotas.
Members
UnsupportedMediaTypeException
[ 'Type' => '<string>', 'message' => '<string>', ]