Invoke

Invoke a Lambda function.

Invocations may be synchronous or asynchronous. In a synchronous invocation, Lambda waits for a response that contains details or errors. In an asynchronous invocation, Lambda adds an event to a queue. After the event is sent, the response includes a status code only.

Options

Field Definition Type Required
Use Function Name? Indicates whether to use the function name; options are Yes or No. Dropdown TRUE
Your Functions List of functions that you can invoke. Dropdown TRUE
Function Name Invoke a function by specifying its partial or complete name. String TRUE

Input

Field Definition Type Required
Parameters
invocationType Type of invocation; choices are RequestResponse, DryRun, or Event.
  • RequestResponse: Synchronous invocation. The connection remains open until a response is received.
  • DryRun: Verification of user permissions. Try this before invoking a function to prevent errors.
  • Event: Asynchronous invocation. Events are added to a queue and attempted twice before moving to dead-letter queue.
Dropdown FALSE
logType Log type; choices are None or Tail.
  • None: exclude execution log from the response.
  • Tail: include execution log in response.
Dropdown FALSE
clientContext Data about the client (limit: 3583 bytes of base64-encoded data). Object FALSE
payload JSON data to provide to the function. Object FALSE
qualifier Alias of the function (if it has published previously). String FALSE

Output

Field Definition Type
Status Code Result of the operation. The HTTP status code is returned by the connector and indicates whether the action taken by the card succeeded or failed. For example:
  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request was not processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number
Output Response from the function. String
Log Result Last 4KB of the execution log. String

Related topics

AWS Lambda connector

Elements of Workflows

AWS Lambda API