Module aws_sdk_lambda::error
source · Expand description
All error types that operations can return. Documentation on these types is copied from the model.
Modules
Structs
AddLayerVersionPermission
operation.AddPermission
operation.The specified code signing configuration does not exist.
Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.
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.
CreateAlias
operation.CreateCodeSigningConfig
operation.CreateEventSourceMapping
operation.CreateFunction
operation.CreateFunctionUrlConfig
operation.DeleteAlias
operation.DeleteCodeSigningConfig
operation.DeleteEventSourceMapping
operation.DeleteFunctionCodeSigningConfig
operation.DeleteFunctionConcurrency
operation.DeleteFunction
operation.DeleteFunctionEventInvokeConfig
operation.DeleteFunctionUrlConfig
operation.DeleteLayerVersion
operation.DeleteProvisionedConcurrencyConfig
operation.Need additional permissions to configure VPC settings.
Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.
Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.
The Lambda function couldn't make a network connection to the configured file system.
The Lambda function couldn't mount the configured file system due to a permission or configuration issue.
The Lambda function made a network connection to the configured file system, but the mount operation timed out.
An error occurred when reading from or writing to a connected file system.
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.
GetAccountSettings
operation.GetAlias
operation.GetCodeSigningConfig
operation.GetEventSourceMapping
operation.GetFunctionCodeSigningConfig
operation.GetFunctionConcurrency
operation.GetFunctionConfiguration
operation.GetFunction
operation.GetFunctionEventInvokeConfig
operation.GetFunctionUrlConfig
operation.GetLayerVersionByArn
operation.GetLayerVersion
operation.GetLayerVersionPolicy
operation.GetPolicy
operation.GetProvisionedConcurrencyConfig
operation.GetRuntimeManagementConfig
operation.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.
One of the parameters in the request is not valid.
The request body could not be parsed as JSON.
The runtime or runtime version specified is not supported.
The security group ID provided in the Lambda function VPC configuration is not valid.
The subnet ID provided in the Lambda function VPC configuration is not valid.
Lambda could not unzip the deployment package.
InvokeAsync
operation.Invoke
operation.Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.
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.
Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
ListAliases
operation.ListCodeSigningConfigs
operation.ListEventSourceMappings
operation.ListFunctionEventInvokeConfigs
operation.ListFunctionUrlConfigs
operation.ListFunctionsByCodeSigningConfig
operation.ListFunctions
operation.ListLayerVersions
operation.ListLayers
operation.ListProvisionedConcurrencyConfigs
operation.ListTags
operation.ListVersionsByFunction
operation.The permissions policy for the resource is too large. For more information, see Lambda quotas.
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.
The specified configuration does not exist.
PublishLayerVersion
operation.PublishVersion
operation.PutFunctionCodeSigningConfig
operation.PutFunctionConcurrency
operation.PutFunctionEventInvokeConfig
operation.PutProvisionedConcurrencyConfig
operation.PutRuntimeManagementConfig
operation.RemoveLayerVersionPermission
operation.RemovePermission
operation.The request payload exceeded the Invoke
request body JSON input quota. For more information, see Lambda quotas.
The resource already exists, or another operation is in progress.
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.
The resource specified in the request does not exist.
The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.
The Lambda service encountered an internal error.
The afterRestore()
runtime hook encountered an error. For more information, check the Amazon CloudWatch logs.
Lambda is initializing your function. You can invoke the function when the function state becomes Active
.
Lambda couldn't restore the snapshot within the timeout limit.
Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.
TagResource
operation.The request throughput limit was exceeded. For more information, see Lambda quotas.
The content type of the Invoke
request body is not JSON.
UntagResource
operation.UpdateAlias
operation.UpdateCodeSigningConfig
operation.UpdateEventSourceMapping
operation.UpdateFunctionCode
operation.UpdateFunctionConfiguration
operation.UpdateFunctionEventInvokeConfig
operation.UpdateFunctionUrlConfig
operation.Enums
AddLayerVersionPermission
operation.AddPermission
operation.CreateAlias
operation.CreateCodeSigningConfig
operation.CreateEventSourceMapping
operation.CreateFunction
operation.CreateFunctionUrlConfig
operation.DeleteAlias
operation.DeleteCodeSigningConfig
operation.DeleteEventSourceMapping
operation.DeleteFunctionCodeSigningConfig
operation.DeleteFunctionConcurrency
operation.DeleteFunction
operation.DeleteFunctionEventInvokeConfig
operation.DeleteFunctionUrlConfig
operation.DeleteLayerVersion
operation.DeleteProvisionedConcurrencyConfig
operation.GetAccountSettings
operation.GetAlias
operation.GetCodeSigningConfig
operation.GetEventSourceMapping
operation.GetFunctionCodeSigningConfig
operation.GetFunctionConcurrency
operation.GetFunctionConfiguration
operation.GetFunction
operation.GetFunctionEventInvokeConfig
operation.GetFunctionUrlConfig
operation.GetLayerVersionByArn
operation.GetLayerVersion
operation.GetLayerVersionPolicy
operation.GetPolicy
operation.GetProvisionedConcurrencyConfig
operation.GetRuntimeManagementConfig
operation.InvokeAsync
operation.Invoke
operation.ListAliases
operation.ListCodeSigningConfigs
operation.ListEventSourceMappings
operation.ListFunctionEventInvokeConfigs
operation.ListFunctionUrlConfigs
operation.ListFunctionsByCodeSigningConfig
operation.ListFunctions
operation.ListLayerVersions
operation.ListLayers
operation.ListProvisionedConcurrencyConfigs
operation.ListTags
operation.ListVersionsByFunction
operation.PublishLayerVersion
operation.PublishVersion
operation.PutFunctionCodeSigningConfig
operation.PutFunctionConcurrency
operation.PutFunctionEventInvokeConfig
operation.PutProvisionedConcurrencyConfig
operation.PutRuntimeManagementConfig
operation.RemoveLayerVersionPermission
operation.RemovePermission
operation.TagResource
operation.UntagResource
operation.UpdateAlias
operation.UpdateCodeSigningConfig
operation.UpdateEventSourceMapping
operation.UpdateFunctionCode
operation.UpdateFunctionConfiguration
operation.UpdateFunctionEventInvokeConfig
operation.UpdateFunctionUrlConfig
operation.