Package software.amazon.awssdk.services.lambda
Overview
Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.
The Lambda API Reference provides information about each of the API methods, including details about the parameters in each API request and response.
You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see Tools for Amazon Web Services.
For a list of Region-specific endpoints that Lambda supports, see Lambda endpoints and quotas in the Amazon Web Services General Reference..
When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see Signature Version 4 signing process in the Amazon Web Services General Reference..
CA certificates
Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:
-
Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list.
-
Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list.
-
Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list.
-
Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list.
When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs:
-
Amazon Root CA 1
-
Starfield Services Root Certificate Authority - G2
-
Starfield Class 2 Certification Authority
Root certificates from the first two authorities are available from Amazon trust services, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs.
Code Examples
For code examples demonstrating how to use this service with the AWS SDK for Java v2, see:
Getting Started
Basics
API Actions
- Use CreateFunction
- Use DeleteFunction
- Use Invoke
- Use GetFunction
- Use UpdateFunctionCode
- Use UpdateFunctionConfiguration
Scenarios
- Use the Amazon Neptune API to develop a Lambda function that queries graph data
- Create an application that analyzes customer feedback and synthesizes audio
- Create a photo asset management application that lets users manage photos using labels
- Use API Gateway to invoke a Lambda function
- Use scheduled events to invoke a Lambda function
- Use Step Functions to invoke Lambda functions
Serverless Examples
- Invoke a Lambda function from an Amazon S3 trigger
- Invoke a Lambda function from an Amazon SNS trigger
- Invoke a Lambda function from an Amazon SQS trigger
- Reporting batch item failures for Lambda functions with an Amazon SQS trigger
- Invoke a Lambda function from a Kinesis trigger
- Reporting batch item failures for Lambda functions with a Kinesis trigger
- Invoke a Lambda function from a DynamoDB trigger
- Reporting batch item failures for Lambda functions with a DynamoDB trigger
- Invoke a Lambda function from a Amazon DocumentDB trigger
- Connecting to an Amazon RDS database in a Lambda function
- Invoke a Lambda function from an Amazon MSK trigger
TributaryLite
-
ClassDescriptionService client for accessing AWS Lambda asynchronously.A builder for creating an instance of
LambdaAsyncClient.This includes configuration specific to AWS Lambda that is supported by bothLambdaClientBuilderandLambdaAsyncClientBuilder.Service client for accessing AWS Lambda.A builder for creating an instance ofLambdaClient.Class to expose the service client settings to the user.A builder for creating aLambdaServiceClientConfiguration