AWS: Invoke a Lambda Function

AWS

📘

Availability

This workflow action is available on our Enterprise plan for Incident Management. Please contact our Sales Team to upgrade to an account with this action.

Description: Invoke an AWS Lambda function with a custom payload.

Instructions:

  1. If you have not done so already, please follow our instructions to Create an Incident Workflow.
  2. When you are prompted to add actions , select this action.
  3. Enter the following Inputs and then click Save. Continue following instructions to Publish the Workflow. When the action runs, you will see the Outputs listed below.

Inputs

NameDescription
IntegrationSelect a Workflow Integration or click New AWS Connection to establish a new one.
Function nameEnter the name of the Lambda function to invoke.
PayloadSpecify the payload in JSON to send to the Lambda function. Ex: {“key”: ”value”, ...}
Invocation typeSelect an invocation type, Event, RequestResponse or DryRun. If left blank, defaults to RequestResponse (synchronous).
RegionThe region in which the function is defined. If left blank, uses the default region configured for the integration.

Outputs

NameDescription
Response Status CodeThe status code of the response.
Successful Status Code ResponseBoolean value that signifies if the call made within the action was successful or not (e.g., 2XX).
Response Time MillisecondsThe time in milliseconds taken for the request to be sent and the response to be received.
ResultValue that shows if the action was successful or not. Either "Success" or "Failed."
Result SummaryBrief description of what the action did or if it failed.
ErrorBrief description that is populated if the action failed.
Response BodyThe body attached to the response.
JSON Response BodyThe response body parsed into a JSON object, if a JSON response body is returned.