Amazon AWS Lambda
9 min
the aws lambda connector is a robust tool designed to provide streamlined interaction with your aws lambda functions by utilizing this connector, you can efficiently manage your lambda functions and leverage the power of serverless computing getting started before you begin, ensure you meet the following prerequisites you must have a valid aws account aws access key and secret access key are required you must have the correct role arn which lambda function can assume your aws account should have the necessary permissions to invoke lambda functions these permissions include lambda\ invokefunction aws region should be specified where the lambda function is deployed key features the aws lambda connector offers a powerful set of capabilities aimed at simplifying your operations invoke function this feature allows you to call your lambda functions synchronously you only need to provide the name of the lambda function you want to invoke, along with any input parameters your function requires please note that your ability to use these features effectively may depend on the permissions and access rights tied to your aws account always ensure that your account has sufficient privileges for the operations you wish to carry out configurations aws sqs authenticates using aws credentials configuration parameters parameter description type required aws access key id a specific aws access key id string required aws secret access key a specific aws secret access key string required region name the aws region where you want to create new connections string required role arn arn role string required actions invoke function invokes a lambda function you can invoke a function synchronously (and wait for the response), or asynchronously to invoke a function asynchronously, set invocationtype to event endpoint method get input argument name type required description functionname string required name of the resource invocationtype string optional type of the resource logtype string optional type of the resource clientcontext string optional parameter for invoke function payload string optional parameter for invoke function qualifier string optional parameter for invoke function input example {"functionname" "example name","invocationtype" "string","logtype" "string","clientcontext" "string","payload" "string","qualifier" "string"} output parameter type description responsemetadata object response data responsemetadata requestid string response data responsemetadata httpstatuscode number response data responsemetadata httpheaders object response data responsemetadata httpheaders date string response data responsemetadata httpheaders content type string response data responsemetadata httpheaders content length string response data responsemetadata httpheaders connection string response data responsemetadata httpheaders x amzn requestid string response data responsemetadata httpheaders x amzn remapped content length string response data responsemetadata httpheaders x amz executed version string response data responsemetadata httpheaders x amzn trace id string response data responsemetadata retryattempts number response data statuscode number status value executedversion string output field executedversion payload string output field payload output example {"responsemetadata" {"requestid" "ebbf575c 86fc 487d 89ee 1cd9c9d38079","httpstatuscode" 200,"httpheaders" {"date" "thu, 01 jun 2023 20 02 35 gmt","content type" "application/json","content length" "4","connection" "keep alive","x amzn requestid" "ebbf575c 86fc 487d 89ee 1cd9c9d38079","x amzn remapped content length" "0","x amz executed version" "$latest","x amzn trace id" "root=1 6478f95b 68f01d673227806e48f25f6b;sampled=0"},"retryattempts" 0},"statuscode" 200,"executedversion" "$latest","paylo response headers header description example content type the media type of the resource application/json date the date and time at which the message was originated thu, 01 jan 2024 00 00 00 gmt