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.
You have exceeded your maximum total code size per account. Learn more
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.
Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided for the Lambda function.
Lambda received an unexpected EC2 client exception while setting up for the Lambda function.
The function couldn't make a network connection to the configured file system.
The function couldn't mount the configured file system due to a permission or configuration issue.
The function was able to make 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 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.
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.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.
One of the parameters in the request is invalid.
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 invalid.
The Subnet ID provided in the Lambda function VPC configuration is invalid.
Lambda could not unzip the deployment package.
InvokeAsync
operation.Invoke
operation.Lambda was unable to decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
Lambda was unable to decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.
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.
Lambda was unable to 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. Learn more
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.
The specified configuration does not exist.
PublishLayerVersion
operation.PublishVersion
operation.PutFunctionCodeSigningConfig
operation.PutFunctionConcurrency
operation.PutFunctionEventInvokeConfig
operation.PutProvisionedConcurrencyConfig
operation.RemoveLayerVersionPermission
operation.RemovePermission
operation.The request payload exceeded the Invoke
request body JSON input limit. For more information, see Limits.
The resource already exists, or another operation is in progress.
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.
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.
Lambda was not able to 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.
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.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.RemoveLayerVersionPermission
operation.RemovePermission
operation.TagResource
operation.UntagResource
operation.UpdateAlias
operation.UpdateCodeSigningConfig
operation.UpdateEventSourceMapping
operation.UpdateFunctionCode
operation.UpdateFunctionConfiguration
operation.UpdateFunctionEventInvokeConfig
operation.UpdateFunctionUrlConfig
operation.