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

Error type for the AddLayerVersionPermission operation.
Error type for the 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.

Error type for the CreateAlias operation.
Error type for the CreateCodeSigningConfig operation.
Error type for the CreateEventSourceMapping operation.
Error type for the CreateFunction operation.
Error type for the CreateFunctionUrlConfig operation.
Error type for the DeleteAlias operation.
Error type for the DeleteCodeSigningConfig operation.
Error type for the DeleteEventSourceMapping operation.
Error type for the DeleteFunctionCodeSigningConfig operation.
Error type for the DeleteFunctionConcurrency operation.
Error type for the DeleteFunction operation.
Error type for the DeleteFunctionEventInvokeConfig operation.
Error type for the DeleteFunctionUrlConfig operation.
Error type for the DeleteLayerVersion operation.
Error type for the 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.

Error type for the GetAccountSettings operation.
Error type for the GetAlias operation.
Error type for the GetCodeSigningConfig operation.
Error type for the GetEventSourceMapping operation.
Error type for the GetFunctionCodeSigningConfig operation.
Error type for the GetFunctionConcurrency operation.
Error type for the GetFunctionConfiguration operation.
Error type for the GetFunction operation.
Error type for the GetFunctionEventInvokeConfig operation.
Error type for the GetFunctionUrlConfig operation.
Error type for the GetLayerVersionByArn operation.
Error type for the GetLayerVersion operation.
Error type for the GetLayerVersionPolicy operation.
Error type for the GetPolicy operation.
Error type for the GetProvisionedConcurrencyConfig operation.
Error type for the 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.

Error type for the InvokeAsync operation.
Error type for the 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.

Error type for the ListAliases operation.
Error type for the ListCodeSigningConfigs operation.
Error type for the ListEventSourceMappings operation.
Error type for the ListFunctionEventInvokeConfigs operation.
Error type for the ListFunctionUrlConfigs operation.
Error type for the ListFunctionsByCodeSigningConfig operation.
Error type for the ListFunctions operation.
Error type for the ListLayerVersions operation.
Error type for the ListLayers operation.
Error type for the ListProvisionedConcurrencyConfigs operation.
Error type for the ListTags operation.
Error type for the 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.

Error type for the PublishLayerVersion operation.
Error type for the PublishVersion operation.
Error type for the PutFunctionCodeSigningConfig operation.
Error type for the PutFunctionConcurrency operation.
Error type for the PutFunctionEventInvokeConfig operation.
Error type for the PutProvisionedConcurrencyConfig operation.
Error type for the PutRuntimeManagementConfig operation.
Error type for the RemoveLayerVersionPermission operation.
Error type for the 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.

Error type for the TagResource operation.

The request throughput limit was exceeded. For more information, see Lambda quotas.

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

The content type of the Invoke request body is not JSON.

Error type for the UntagResource operation.
Error type for the UpdateAlias operation.
Error type for the UpdateCodeSigningConfig operation.
Error type for the UpdateEventSourceMapping operation.
Error type for the UpdateFunctionCode operation.
Error type for the UpdateFunctionConfiguration operation.
Error type for the UpdateFunctionEventInvokeConfig operation.
Error type for the UpdateFunctionUrlConfig operation.

Enums

Types of errors that can occur for the AddLayerVersionPermission operation.
Types of errors that can occur for the AddPermission operation.
Types of errors that can occur for the CreateAlias operation.
Types of errors that can occur for the CreateCodeSigningConfig operation.
Types of errors that can occur for the CreateEventSourceMapping operation.
Types of errors that can occur for the CreateFunction operation.
Types of errors that can occur for the CreateFunctionUrlConfig operation.
Types of errors that can occur for the DeleteAlias operation.
Types of errors that can occur for the DeleteCodeSigningConfig operation.
Types of errors that can occur for the DeleteEventSourceMapping operation.
Types of errors that can occur for the DeleteFunctionCodeSigningConfig operation.
Types of errors that can occur for the DeleteFunctionConcurrency operation.
Types of errors that can occur for the DeleteFunction operation.
Types of errors that can occur for the DeleteFunctionEventInvokeConfig operation.
Types of errors that can occur for the DeleteFunctionUrlConfig operation.
Types of errors that can occur for the DeleteLayerVersion operation.
Types of errors that can occur for the DeleteProvisionedConcurrencyConfig operation.
Types of errors that can occur for the GetAccountSettings operation.
Types of errors that can occur for the GetAlias operation.
Types of errors that can occur for the GetCodeSigningConfig operation.
Types of errors that can occur for the GetEventSourceMapping operation.
Types of errors that can occur for the GetFunctionCodeSigningConfig operation.
Types of errors that can occur for the GetFunctionConcurrency operation.
Types of errors that can occur for the GetFunctionConfiguration operation.
Types of errors that can occur for the GetFunction operation.
Types of errors that can occur for the GetFunctionEventInvokeConfig operation.
Types of errors that can occur for the GetFunctionUrlConfig operation.
Types of errors that can occur for the GetLayerVersionByArn operation.
Types of errors that can occur for the GetLayerVersion operation.
Types of errors that can occur for the GetLayerVersionPolicy operation.
Types of errors that can occur for the GetPolicy operation.
Types of errors that can occur for the GetProvisionedConcurrencyConfig operation.
Types of errors that can occur for the GetRuntimeManagementConfig operation.
Types of errors that can occur for the InvokeAsync operation.
Types of errors that can occur for the Invoke operation.
Types of errors that can occur for the ListAliases operation.
Types of errors that can occur for the ListCodeSigningConfigs operation.
Types of errors that can occur for the ListEventSourceMappings operation.
Types of errors that can occur for the ListFunctionEventInvokeConfigs operation.
Types of errors that can occur for the ListFunctionUrlConfigs operation.
Types of errors that can occur for the ListFunctionsByCodeSigningConfig operation.
Types of errors that can occur for the ListFunctions operation.
Types of errors that can occur for the ListLayerVersions operation.
Types of errors that can occur for the ListLayers operation.
Types of errors that can occur for the ListProvisionedConcurrencyConfigs operation.
Types of errors that can occur for the ListTags operation.
Types of errors that can occur for the ListVersionsByFunction operation.
Types of errors that can occur for the PublishLayerVersion operation.
Types of errors that can occur for the PublishVersion operation.
Types of errors that can occur for the PutFunctionCodeSigningConfig operation.
Types of errors that can occur for the PutFunctionConcurrency operation.
Types of errors that can occur for the PutFunctionEventInvokeConfig operation.
Types of errors that can occur for the PutProvisionedConcurrencyConfig operation.
Types of errors that can occur for the PutRuntimeManagementConfig operation.
Types of errors that can occur for the RemoveLayerVersionPermission operation.
Types of errors that can occur for the RemovePermission operation.
Types of errors that can occur for the TagResource operation.
Types of errors that can occur for the UntagResource operation.
Types of errors that can occur for the UpdateAlias operation.
Types of errors that can occur for the UpdateCodeSigningConfig operation.
Types of errors that can occur for the UpdateEventSourceMapping operation.
Types of errors that can occur for the UpdateFunctionCode operation.
Types of errors that can occur for the UpdateFunctionConfiguration operation.
Types of errors that can occur for the UpdateFunctionEventInvokeConfig operation.
Types of errors that can occur for the UpdateFunctionUrlConfig operation.