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
POSTcreateFunction

Creates a new Lambda function using direct link.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
zipFileFILE
REQUIREDA .zip file containing your deployment package.
apiKeyCREDENTIALS
REQUIREDYour Amazon AWS_ACCESS_KEY_ID
roleSTRING
REQUIREDThe 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.
functionNameSTRING
REQUIREDName of the Lambda function
regionSTRING
REQUIREDYour Amazon region
apiSecretCREDENTIALS
REQUIREDYour Amazon AWS_SECRET_ACCESS_KEY
handlerSTRING
REQUIREDThe 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.
versionSTRING
REQUIREDYour Amazon Lambda service version
runtimeSTRING
REQUIREDThe runtime environment for the Lambda function you are uploading.
Optional Parameters
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.
publishSELECT
OPTIONALThis boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as an atomic operation.
descriptionSTRING
OPTIONALA short, user-defined function description. Lambda does not use this value. Assign a meaningful description as you see fit.
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.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication