Expand description
Overview
This is the AWS Lambda API Reference. The AWS Lambda Developer Guide provides additional information. For the service overview, see What is AWS Lambda, and for information about how the service works, see AWS Lambda: How it Works in the AWS Lambda Developer Guide.
If you’re using the service, you’re probably looking for LambdaClient and Lambda.
Structs§
- Account
Limit Limits that are related to concurrency and storage. All file and storage sizes are in bytes.
- Account
Usage The number of functions and amount of storage in use.
- AddLayer
Version Permission Request - AddLayer
Version Permission Response - AddPermission
Request - AddPermission
Response - Alias
Configuration Provides configuration information about a Lambda function alias.
- Alias
Routing Configuration The traffic-shifting configuration of a Lambda function alias.
- Concurrency
- Create
Alias Request - Create
Event Source Mapping Request - Create
Function Request - Dead
Letter Config The dead-letter queue for failed asynchronous invocations.
- Delete
Alias Request - Delete
Event Source Mapping Request - Delete
Function Concurrency Request - Delete
Function Event Invoke Config Request - Delete
Function Request - Delete
Layer Version Request - Delete
Provisioned Concurrency Config Request - Destination
Config A configuration object that specifies the destination of an event after Lambda processes it.
- Environment
A function's environment variable settings.
- Environment
Error Error messages for environment variables that couldn't be applied.
- Environment
Response The results of an operation to update or read environment variables. If the operation is successful, the response contains the environment variables. If it failed, the response contains details about the error.
- Event
Source Mapping Configuration A mapping between an AWS resource and an AWS Lambda function. See CreateEventSourceMapping for details.
- File
System Config Details about the connection between a Lambda function and an Amazon EFS file system.
- Function
Code The code for the Lambda function. You can specify either an object in Amazon S3, or upload a deployment package directly.
- Function
Code Location Details about a function's deployment package.
- Function
Configuration Details about a function's configuration.
- Function
Event Invoke Config - GetAccount
Settings Request - GetAccount
Settings Response - GetAlias
Request - GetEvent
Source Mapping Request - GetFunction
Concurrency Request - GetFunction
Concurrency Response - GetFunction
Configuration Request - GetFunction
Event Invoke Config Request - GetFunction
Request - GetFunction
Response - GetLayer
Version ByArn Request - GetLayer
Version Policy Request - GetLayer
Version Policy Response - GetLayer
Version Request - GetLayer
Version Response - GetPolicy
Request - GetPolicy
Response - GetProvisioned
Concurrency Config Request - GetProvisioned
Concurrency Config Response - Invocation
Request - Invocation
Response - Invoke
Async Request - Invoke
Async Response A success response (
202 Accepted
) indicates that the request is queued for invocation.- Lambda
Client - A client for the AWS Lambda API.
- Layer
An AWS Lambda layer.
- Layer
Version Content Input A ZIP archive that contains the contents of an AWS Lambda layer. You can specify either an Amazon S3 location, or upload a layer archive directly.
- Layer
Version Content Output Details about a version of an AWS Lambda layer.
- Layer
Versions List Item Details about a version of an AWS Lambda layer.
- Layers
List Item Details about an AWS Lambda layer.
- List
Aliases Request - List
Aliases Response - List
Event Source Mappings Request - List
Event Source Mappings Response - List
Function Event Invoke Configs Request - List
Function Event Invoke Configs Response - List
Functions Request - List
Functions Response A list of Lambda functions.
- List
Layer Versions Request - List
Layer Versions Response - List
Layers Request - List
Layers Response - List
Provisioned Concurrency Configs Request - List
Provisioned Concurrency Configs Response - List
Tags Request - List
Tags Response - List
Versions ByFunction Request - List
Versions ByFunction Response - OnFailure
A destination for events that failed processing.
- OnSuccess
A destination for events that were processed successfully.
- Provisioned
Concurrency Config List Item Details about the provisioned concurrency configuration for a function alias or version.
- Publish
Layer Version Request - Publish
Layer Version Response - Publish
Version Request - PutFunction
Concurrency Request - PutFunction
Event Invoke Config Request - PutProvisioned
Concurrency Config Request - PutProvisioned
Concurrency Config Response - Remove
Layer Version Permission Request - Remove
Permission Request - TagResource
Request - Tracing
Config The function's AWS X-Ray tracing configuration. To sample and record incoming requests, set
Mode
toActive
.- Tracing
Config Response The function's AWS X-Ray tracing configuration.
- Untag
Resource Request - Update
Alias Request - Update
Event Source Mapping Request - Update
Function Code Request - Update
Function Configuration Request - Update
Function Event Invoke Config Request - VpcConfig
The VPC security groups and subnets that are attached to a Lambda function. For more information, see VPC Settings.
- VpcConfig
Response The VPC security groups and subnets that are attached to a Lambda function.
Enums§
- AddLayer
Version Permission Error - Errors returned by AddLayerVersionPermission
- AddPermission
Error - Errors returned by AddPermission
- Create
Alias Error - Errors returned by CreateAlias
- Create
Event Source Mapping Error - Errors returned by CreateEventSourceMapping
- Create
Function Error - Errors returned by CreateFunction
- Delete
Alias Error - Errors returned by DeleteAlias
- Delete
Event Source Mapping Error - Errors returned by DeleteEventSourceMapping
- Delete
Function Concurrency Error - Errors returned by DeleteFunctionConcurrency
- Delete
Function Error - Errors returned by DeleteFunction
- Delete
Function Event Invoke Config Error - Errors returned by DeleteFunctionEventInvokeConfig
- Delete
Layer Version Error - Errors returned by DeleteLayerVersion
- Delete
Provisioned Concurrency Config Error - Errors returned by DeleteProvisionedConcurrencyConfig
- GetAccount
Settings Error - Errors returned by GetAccountSettings
- GetAlias
Error - Errors returned by GetAlias
- GetEvent
Source Mapping Error - Errors returned by GetEventSourceMapping
- GetFunction
Concurrency Error - Errors returned by GetFunctionConcurrency
- GetFunction
Configuration Error - Errors returned by GetFunctionConfiguration
- GetFunction
Error - Errors returned by GetFunction
- GetFunction
Event Invoke Config Error - Errors returned by GetFunctionEventInvokeConfig
- GetLayer
Version ByArn Error - Errors returned by GetLayerVersionByArn
- GetLayer
Version Error - Errors returned by GetLayerVersion
- GetLayer
Version Policy Error - Errors returned by GetLayerVersionPolicy
- GetPolicy
Error - Errors returned by GetPolicy
- GetProvisioned
Concurrency Config Error - Errors returned by GetProvisionedConcurrencyConfig
- Invoke
Async Error - Errors returned by InvokeAsync
- Invoke
Error - Errors returned by Invoke
- List
Aliases Error - Errors returned by ListAliases
- List
Event Source Mappings Error - Errors returned by ListEventSourceMappings
- List
Function Event Invoke Configs Error - Errors returned by ListFunctionEventInvokeConfigs
- List
Functions Error - Errors returned by ListFunctions
- List
Layer Versions Error - Errors returned by ListLayerVersions
- List
Layers Error - Errors returned by ListLayers
- List
Provisioned Concurrency Configs Error - Errors returned by ListProvisionedConcurrencyConfigs
- List
Tags Error - Errors returned by ListTags
- List
Versions ByFunction Error - Errors returned by ListVersionsByFunction
- Publish
Layer Version Error - Errors returned by PublishLayerVersion
- Publish
Version Error - Errors returned by PublishVersion
- PutFunction
Concurrency Error - Errors returned by PutFunctionConcurrency
- PutFunction
Event Invoke Config Error - Errors returned by PutFunctionEventInvokeConfig
- PutProvisioned
Concurrency Config Error - Errors returned by PutProvisionedConcurrencyConfig
- Remove
Layer Version Permission Error - Errors returned by RemoveLayerVersionPermission
- Remove
Permission Error - Errors returned by RemovePermission
- TagResource
Error - Errors returned by TagResource
- Untag
Resource Error - Errors returned by UntagResource
- Update
Alias Error - Errors returned by UpdateAlias
- Update
Event Source Mapping Error - Errors returned by UpdateEventSourceMapping
- Update
Function Code Error - Errors returned by UpdateFunctionCode
- Update
Function Configuration Error - Errors returned by UpdateFunctionConfiguration
- Update
Function Event Invoke Config Error - Errors returned by UpdateFunctionEventInvokeConfig
Traits§
- Lambda
- Trait representing the capabilities of the AWS Lambda API. AWS Lambda clients implement this trait.