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>', ]
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
AWS Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided for the Lambda function.
Members
EC2UnexpectedException
[ 'EC2ErrorCode' => '<string>', 'Message' => '<string>', 'Type' => '<string>', ]
Description
AWS Lambda received an unexpected EC2 client exception while setting up for the Lambda function.
Members
EFSIOException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
An error occured when reading from or writing to a connected file system.
Members
EFSMountConnectivityException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The function couldn't make a network connection to the configured file system.
Members
EFSMountFailureException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The function couldn't mount the configured file system due to a permission or configuration issue.
Members
EFSMountTimeoutException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The function was able to make a network connection to the configured file system, but the mount operation timed out.
Members
ENILimitReachedException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
AWS Lambda was not able to create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached.
Members
InvalidCodeSignatureException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The code signature failed the integrity check. Lambda always blocks deployment if the integrity check fails, even if code signing policy is set to WARN.
Members
InvalidParameterValueException
[ 'Type' => '<string>', 'message' => '<string>', ]
Description
One of the parameters in the request is invalid.
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 invalid.
Members
InvalidSubnetIDException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
The Subnet ID provided in the Lambda function VPC configuration is invalid.
Members
InvalidZipFileException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
AWS Lambda could not unzip the deployment package.
Members
KMSAccessDeniedException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda was unable to decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
Members
KMSDisabledException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda was unable to 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 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.
Members
KMSNotFoundException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
Lambda was unable to decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
Members
PolicyLengthExceededException
[ 'Type' => '<string>', 'message' => '<string>', ]
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 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 limit. For more information, see Limits.
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 attempted to update an EventSource Mapping in CREATING, or tried to delete a EventSource mapping currently in the UPDATING state.
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 AWS Lambda service encountered an internal error.
Members
SubnetIPAddressLimitReachedException
[ 'Message' => '<string>', 'Type' => '<string>', ]
Description
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.
Members
TooManyRequestsException
[ 'Reason' => 'ConcurrentInvocationLimitExceeded|FunctionInvocationRateLimitExceeded|ReservedFunctionConcurrentInvocationLimitExceeded|ReservedFunctionInvocationRateLimitExceeded|CallerRateLimitExceeded', 'Type' => '<string>', 'message' => '<string>', 'retryAfterSeconds' => '<string>', ]
Description
The request throughput limit was exceeded.
Members
UnsupportedMediaTypeException
[ 'Type' => '<string>', 'message' => '<string>', ]