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 The result of your HTTP request. See HTTP status codes. Number
Output Response from the function String
Log Result The last 4KB of the execution log String

Related topics

AWS Lambda connector

About the elements of Okta Workflows

AWS Lambda API