theme
AmazonLambda
FREE
By stefan.skliarov
Updated a year ago

AmazonLambda API Documentation

AWS Lambda is a compute service that lets you run code without provisioning or managing servers.

Learn more about this API
POSTaddPermission
POSTcreateAlias
POSTcreateEventSourceMapping
POSTcreateFunction
POSTcreateFunctionWithBucket
POSTdeleteAlias
POSTdeleteEventSourceMapping
POSTdeleteFunction
POSTgetAlias
POSTgetEventSourceMapping
POSTgetFunction
POSTgetFunctionConfiguration
POSTgetPolicy
POSTinvoke
POSTlistAliases
POSTlistEventSourceMappings
POSTlistFunctions
POSTlistVersionsByFunction
POSTpublishVersion
POSTremovePermission
POSTupdateAlias
POSTupdateEventSourceMapping
POSTupdateFunctionCode
POSTupdateFunctionCodeWithBucket
POSTupdateFunctionConfiguration
POSTupdateFunctionConfiguration

Updates the configuration parameters for the specified Lambda function by using the values provided in the request. You provide only the parameters you want to change. This operation must only be used on an existing Lambda function and cannot be used to update the function's code.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
regionSTRING
REQUIREDYour Amazon region
functionNameSTRING
REQUIREDName of the Lambda function
apiKeyCREDENTIALS
REQUIREDYour Amazon AWS_ACCESS_KEY_ID
versionSTRING
REQUIREDYour Amazon Lambda service version
apiSecretCREDENTIALS
REQUIREDYour Amazon AWS_SECRET_ACCESS_KEY
Optional Parameters
roleSTRING
OPTIONALThe Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources.
memorySizeNUMBER
OPTIONALThe amount of memory, in MB, your Lambda function is given. Lambda uses this memory size to infer the amount of CPU and memory allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.
descriptionSTRING
OPTIONALA short, user-defined function description. Lambda does not use this value. Assign a meaningful description as you see fit.
runtimeSTRING
OPTIONALThe runtime environment for the Lambda function you are uploading.
handlerSTRING
OPTIONALThe function within your code that Lambda calls to begin execution. For Node.js, it is the module-name.export value in your function. For Java, it can be package.class-name::handler or package.class-name.
timeoutNUMBER
OPTIONALThe function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication