AWS Lambda
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…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
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 . Lambda Event Functions, previously known as Lambda functions, run your code in response to events and API calls. In the Lambda API, the Amazon Web Services SDKs, and the CLI, Event Functions are still called functions , for example in CreateFunction and Invoke . You don't need to change any existing code. The Lambda API Reference provides information about each of the API methods for Lambda Event Functions, 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.
Endpoints 86
Layer version
- GETGet layer version policy
/2018-10-31/layers/:LayerName/versions/:VersionNumber/policyReturns the permission policy for a version of an Lambda layer . For more information, see AddLayerVersionPermission . - POSTAdd layer version permission
/2018-10-31/layers/:LayerName/versions/:VersionNumber/policy?RevisionId=stringAdds permissions to the resource-based policy of a version of an Lambda layer . Use this action to grant layer usage permission to other accounts. You can… - GETGet layer version
/2018-10-31/layers/:LayerName/versions/:VersionNumberReturns information about a version of an Lambda layer , with a link to download the layer archive that's valid for 10 minutes. - DELETEDelete layer version
/2018-10-31/layers/:LayerName/versions/:VersionNumberDeletes a version of an Lambda layer . Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version… - GETList layer versions
/2018-10-31/layers/:LayerName/versions?CompatibleArchitecture=string&CompatibleRuntime=string&Marker=string&MaxItems=0Lists the versions of an Lambda layer . Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that… - POSTPublish layer version
/2018-10-31/layers/:LayerName/versionsCreates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created. Add layers to your… - DELETERemove layer version permission
/2018-10-31/layers/:LayerName/versions/:VersionNumber/policy/:StatementId?RevisionId=stringRemoves a statement from the permissions policy for a version of an Lambda layer . For more information, see AddLayerVersionPermission .
Function
- GETGet policy
/2015-03-31/functions/:FunctionName/policy?Qualifier=stringReturns the resource-based IAM policy for a function, version, or alias. - GETList functions
/2015-03-31/functions?MasterRegion=string&FunctionVersion=string&Marker=string&MaxItems=0Returns a list of Lambda Event Functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call. Set FunctionVersion to… - POSTCreate function
/2015-03-31/functionsCreates a Lambda Event Function. To create a function, you need a deployment package and an execution role . The deployment package is a .zip file archive or… - GETGet function url config
/2021-10-31/functions/:FunctionName/url?Qualifier=stringReturns details about a Lambda function URL. - PUTUpdate function url config
/2021-10-31/functions/:FunctionName/url?Qualifier=stringUpdates the configuration for a function URL of a Lambda Event Function. - POSTCreate function url config
/2021-10-31/functions/:FunctionName/url?Qualifier=stringCreates a Lambda function URL with the specified configuration parameters. A function URL is a dedicated HTTP(S) endpoint that you can use to invoke your… - DELETEDelete function url config
/2021-10-31/functions/:FunctionName/url?Qualifier=stringDeletes a Lambda function URL. When you delete a function URL, you can't recover it. Creating a new function URL results in a different URL address. - GETGet function
/2015-03-31/functions/:FunctionName?Qualifier=stringReturns information about a Lambda Event Function or function version, with a link to download the deployment package that's valid for 10 minutes. If you… - GETGet function code signing config
/2020-06-30/functions/:FunctionName/code-signing-configReturns the code signing configuration for the specified function. - PUTPut function code signing config
/2020-06-30/functions/:FunctionName/code-signing-configUpdate the code signing configuration for the function. Changes to the code signing configuration take effect the next time a user tries to deploy a code… - DELETEDelete function code signing config
/2020-06-30/functions/:FunctionName/code-signing-configRemoves the code signing configuration from the function. - PUTPut function concurrency
/2017-10-31/functions/:FunctionName/concurrencySets the maximum number of simultaneous executions for a Lambda Event Function, and reserves capacity for that concurrency level. Concurrency settings apply… - DELETEDelete function concurrency
/2017-10-31/functions/:FunctionName/concurrencyRemoves a concurrent execution limit from a Lambda Event Function. - GETList provisioned concurrency configs
/2019-09-30/functions/:FunctionName/provisioned-concurrency?List=ALL&Marker=string&MaxItems=0Retrieves a list of provisioned concurrency configurations for a function. - GETGet function concurrency
/2019-09-30/functions/:FunctionName/concurrencyReturns details about the reserved concurrency configuration for a function. To set a concurrency limit for a function, use PutFunctionConcurrency . - GETGet function configuration
/2015-03-31/functions/:FunctionName/configuration?Qualifier=stringReturns the version-specific settings of a Lambda Event Function or version. The output includes only options that can vary between versions of a function. To… - PUTUpdate function configuration
/2015-03-31/functions/:FunctionName/configurationModifies the version-specific settings of a Lambda Event Function. When you update a function, Lambda provisions an instance of the function and its… - GETGet function recursion config
/2024-08-31/functions/:FunctionName/recursion-configReturns your function's recursive loop detection configuration. - PUTPut function recursion config
/2024-08-31/functions/:FunctionName/recursion-configSets the recursive loop detection configuration for a Lambda Event Function. When you configure a Lambda function to output to the same service or resource… - GETGet function scaling config
/2025-11-30/functions/:FunctionName/function-scaling-config?Qualifier=stringRetrieves the scaling configuration for a Lambda Managed Instances function. - PUTPut function scaling config
/2025-11-30/functions/:FunctionName/function-scaling-config?Qualifier=stringSets the scaling configuration for a Lambda Managed Instances function. The scaling configuration defines the minimum and maximum number of execution… - GETGet runtime management config
/2021-07-20/functions/:FunctionName/runtime-management-config?Qualifier=stringRetrieves the runtime management configuration for a function's version. If the runtime update mode is Manual , this includes the ARN of the runtime version… - PUTPut runtime management config
/2021-07-20/functions/:FunctionName/runtime-management-config?Qualifier=stringSets the runtime management configuration for a function's version. For more information, see Runtime updates . - POSTInvoke
/2015-03-31/functions/:FunctionName/invocationsInvokes a Lambda Event Function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your… - POSTInvoke async
/2014-11-13/functions/:FunctionName/invoke-asyncDeprecated. For asynchronous function invocation, use Invoke . Invokes a function asynchronously. The payload limit is 256KB. For larger payloads, for up to… - POSTInvoke with response stream
/2021-11-15/functions/:FunctionName/response-streaming-invocations?Qualifier=stringConfigure your Lambda Event Functions to stream response payloads back to clients. For more information, see Configuring a Lambda function to stream responses… - GETList durable executions by function
/2025-12-01/functions/:FunctionName/durable-executions?Qualifier=string&DurableExecutionName=string&Statuses=&StartedAfter=string&StartedBefore=string&ReverseOrder=true&Marker=string&MaxItems=0Returns a list of durable executions for a specified Lambda function. You can filter the results by execution name, status, and start time range. This API… - GETList function url configs
/2021-10-31/functions/:FunctionName/urls?Marker=string&MaxItems=0Returns a list of Lambda function URLs for the specified function. - PUTUpdate function code
/2015-03-31/functions/:FunctionName/codeUpdates a Lambda Event Function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more…
Permission
- POSTAdd permission
/2015-03-31/functions/:FunctionName/policy?Qualifier=stringGrants a principal permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version… - DELETERemove permission
/2015-03-31/functions/:FunctionName/policy/:StatementId?Qualifier=string&RevisionId=stringRevokes function-use permission from an Amazon Web Services service or another Amazon Web Services account. You can get the ID of the statement from the…
Durable execution
- POSTCheckpoint durable execution
/2025-12-01/durable-executions/:DurableExecutionArn/checkpointSaves the progress of a durable function execution during runtime. This API is used by the Lambda durable functions SDK to checkpoint completed steps and… - GETGet durable execution
/2025-12-01/durable-executions/:DurableExecutionArn?IncludeExecutionData=trueRetrieves detailed information about a specific durable execution , including its current status, input payload, result or error information, and execution… - GETGet durable execution history
/2025-12-01/durable-executions/:DurableExecutionArn/history?IncludeExecutionData=true&MaxItems=0&Marker=string&ReverseOrder=trueRetrieves the execution history for a durable execution , showing all the steps, callbacks, and events that occurred during the execution. This provides a… - GETGet durable execution state
/2025-12-01/durable-executions/:DurableExecutionArn/state?CheckpointToken=string&Marker=string&MaxItems=0Retrieves the current execution state required for the replay process during durable function execution. This API is used by the Lambda durable functions SDK… - POSTStop durable execution
/2025-12-01/durable-executions/:DurableExecutionArn/stopStops a running durable execution . The execution transitions to STOPPED status and cannot be resumed. Any in-progress operations are terminated.
Function alias
- GETList aliases
/2015-03-31/functions/:FunctionName/aliases?FunctionVersion=string&Marker=string&MaxItems=0Returns a list of aliases for a Lambda Event Function. - POSTCreate alias
/2015-03-31/functions/:FunctionName/aliasesCreates an alias for a Lambda Event Function version. Use aliases to provide clients with a function identifier that you can update to invoke a different… - GETGet alias
/2015-03-31/functions/:FunctionName/aliases/:NameReturns details about a Lambda Event Function alias . - PUTUpdate alias
/2015-03-31/functions/:FunctionName/aliases/:NameUpdates the configuration of a Lambda Event Function alias . - DELETEDelete alias
/2015-03-31/functions/:FunctionName/aliases/:NameDeletes a Lambda Event Function alias .
Capacity provider
- GETList capacity providers
/2025-11-30/capacity-providers?State=string&Marker=string&MaxItems=0Returns a list of capacity providers in your account. - POSTCreate capacity provider
/2025-11-30/capacity-providersCreates a capacity provider that manages compute resources for Lambda Event Functions - GETGet capacity provider
/2025-11-30/capacity-providers/:CapacityProviderNameRetrieves information about a specific capacity provider, including its configuration, state, and associated resources. - PUTUpdate capacity provider
/2025-11-30/capacity-providers/:CapacityProviderNameUpdates the configuration of an existing capacity provider. - DELETEDelete capacity provider
/2025-11-30/capacity-providers/:CapacityProviderNameDeletes a capacity provider. You cannot delete a capacity provider that is currently being used by Lambda functions. - GETList function versions by capacity provider
/2025-11-30/capacity-providers/:CapacityProviderName/function-versions?Marker=string&MaxItems=0Returns a list of function versions that are configured to use a specific capacity provider.
Code signing config
- GETList code signing configs
/2020-04-22/code-signing-configs?Marker=string&MaxItems=0Returns a list of code signing configurations . A request returns up to 10,000 configurations per call. You can use the MaxItems parameter to return fewer… - POSTCreate code signing config
/2020-04-22/code-signing-configsCreates a code signing configuration. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy… - GETGet code signing config
/2020-04-22/code-signing-configs/:CodeSigningConfigArnReturns information about the specified code signing configuration. - PUTUpdate code signing config
/2020-04-22/code-signing-configs/:CodeSigningConfigArnUpdate the code signing configuration. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the… - DELETEDelete code signing config
/2020-04-22/code-signing-configs/:CodeSigningConfigArnDeletes the code signing configuration. You can delete the code signing configuration only if no function is using it. - GETList functions by code signing config
/2020-04-22/code-signing-configs/:CodeSigningConfigArn/functions?Marker=string&MaxItems=0List the functions that use the specified code signing configuration. You can use this method prior to deleting a code signing configuration, to verify that…
Event source mapping
- GETList event source mappings
/2015-03-31/event-source-mappings?EventSourceArn=string&FunctionName=string&Marker=string&MaxItems=0Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a single event source. - POSTCreate event source mapping
/2015-03-31/event-source-mappingsCreates a mapping between an event source and an Lambda Event Function. Lambda reads items from the event source and invokes the function. For details about… - GETGet event source mapping
/2015-03-31/event-source-mappings/:UUIDReturns details about an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings . - PUTUpdate event source mapping
/2015-03-31/event-source-mappings/:UUIDUpdates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location. For details… - DELETEDelete event source mapping
/2015-03-31/event-source-mappings/:UUIDDeletes an event source mapping . You can get the identifier of a mapping from the output of ListEventSourceMappings . When you delete an event source…
Provisioned concurrency config
- PUTPut provisioned concurrency config
/2019-09-30/functions/:FunctionName/provisioned-concurrency?Qualifier=stringAdds a provisioned concurrency configuration to a function's alias or version. - DELETEDelete provisioned concurrency config
/2019-09-30/functions/:FunctionName/provisioned-concurrency?Qualifier=stringDeletes the provisioned concurrency configuration for a function.
Layer
- GETList layers
/2018-10-31/layers?CompatibleArchitecture=string&CompatibleRuntime=string&Marker=string&MaxItems=0Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're…
Function version
- GETList versions by function
/2015-03-31/functions/:FunctionName/versions?Marker=string&MaxItems=0Returns a list of versions of a Lambda Event Function, with the version-specific configuration of each. Lambda returns up to 50 versions per call. - POSTPublish version
/2015-03-31/functions/:FunctionName/versionsCreates a version from the current code and configuration of a Lambda Event Function. Use versions to create a snapshot of your function code and…
- DELETEDelete function
/2015-03-31/functions/:FunctionName?Qualifier=stringDeletes a Lambda Event Function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. This… - GETGet function event invoke config
/2019-09-25/functions/:FunctionName/event-invoke-config?Qualifier=stringRetrieves the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use… - PUTPut function event invoke config
/2019-09-25/functions/:FunctionName/event-invoke-config?Qualifier=stringConfigures options for asynchronous invocation on a function, version, or alias. If a configuration already exists for a function, version, or alias, this… - POSTUpdate function event invoke config
/2019-09-25/functions/:FunctionName/event-invoke-config?Qualifier=stringUpdates the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use… - DELETEDelete function event invoke config
/2019-09-25/functions/:FunctionName/event-invoke-config?Qualifier=stringDeletes the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use… - GETGet resource policy
/2026-07-09/resource-policy/:ResourceArnRetrieves the resource-based policy attached to a Lambda resource. - PUTPut resource policy
/2026-07-09/resource-policy/:ResourceArnAdds a resource-based policy to a Lambda resource. Resource-based policies grant access to other Amazon Web Services accounts , organizations , or services .… - DELETEDelete resource policy
/2026-07-09/resource-policy/:ResourceArn?RevisionId=stringDeletes a resource-based policy from a Lambda resource. - GETGet account settings
/2016-08-19/account-settingsRetrieves details about your account's limits and usage in an Amazon Web Services Region. - GETList function event invoke configs
/2019-09-25/functions/:FunctionName/event-invoke-config/list?Marker=string&MaxItems=0Retrieves a list of configurations for asynchronous invocation for a Lambda Event Function. To retrieve more configurations, use the Marker parameter. To… - GETList tags
/2017-03-31/tags/:ResourceReturns a function, event source mapping, or code signing configuration's tags . You can also view function tags with GetFunction . - POSTTag resource
/2017-03-31/tags/:ResourceAdds tags to a function, event source mapping, or code signing configuration. - DELETEUntag resource
/2017-03-31/tags/:Resource?tagKeys=Removes tags from a function, event source mapping, or code signing configuration. - POSTSend durable execution callback failure
/2025-12-01/durable-execution-callbacks/:CallbackId/failSends a failure response for a callback operation in a durable execution. Use this API when an external system cannot complete a callback operation… - POSTSend durable execution callback heartbeat
/2025-12-01/durable-execution-callbacks/:CallbackId/heartbeatSends a heartbeat signal for a long-running callback operation to prevent timeout. Use this API to extend the callback timeout period while the external… - POSTSend durable execution callback success
/2025-12-01/durable-execution-callbacks/:CallbackId/succeedSends a successful completion response for a callback operation in a durable execution. Use this API when an external system has successfully completed a…
API details
- Base URL
https://lambda.{region}.amazonaws.com- Authentication
- AWS Signature Version 4 (requests signed with your AWS access key)
- Operations
- 86 operations on 48 pathsGET 36POST 20PUT 15DELETE 15
1 marked deprecated - Main resources
- Function 29Layer version 7Capacity provider 6Code signing config 6Durable execution 5Event source mapping 5Function alias 5Function version 2Permission 2Provisioned concurrency config 2
- Description format
- AWS Smithy model, API version
2015-03-31 - Links
- Documentation · OpenAPI document
- Listed from
- AWS Smithy API model (aws/api-models-aws) (Apache-2.0)
How to test the AWS Lambda in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the AWS Lambda collection, without the publisher's secrets.
- Add your credentialsThis API uses AWS Signature Version 4 (requests signed with your AWS access key). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Get layer version policy” (GET /2018-10-31/layers/:LayerName/versions/:VersionNumber/policy), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the AWS Lambda?
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… It is listed under Developer tools and has 86 endpoints.
Who publishes the AWS Lambda?
It is listed from Amazon Web Services, Inc.'s public API description (an OpenAPI document), not published by Amazon Web Services, Inc. on Swastik Codes. Anyone who controls amazonaws.com can claim the profile by adding a DNS TXT record.
What is the base URL of the AWS Lambda?
Requests go to https://lambda.{region}.amazonaws.com. Endpoint paths are added to this base URL.
How do I authenticate with the AWS Lambda?
With AWS Signature Version 4 (requests signed with your AWS access key).
How many endpoints does the AWS Lambda have?
86 operations on 48 paths (36 GET, 20 POST, 15 PUT, 15 DELETE). The largest groups are Function, Layer version, Capacity provider, Code signing config.
Is forking the AWS Lambda free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.