We are excited to announce our new API Documentation.
Protected
Returns a list of objects that contain information about events in a flow execution.
Use a bare-bones client and the command you need to make an API call.
import { IoTThingsGraphClient, ListFlowExecutionMessagesCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import// const { IoTThingsGraphClient, ListFlowExecutionMessagesCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS importconst client = new IoTThingsGraphClient(config);const input = { // ListFlowExecutionMessagesRequest flowExecutionId: "STRING_VALUE", // required nextToken: "STRING_VALUE", maxResults: Number("int"),};const command = new ListFlowExecutionMessagesCommand(input);const response = await client.send(command);// { // ListFlowExecutionMessagesResponse// messages: [ // FlowExecutionMessages// { // FlowExecutionMessage// messageId: "STRING_VALUE",// eventType: "EXECUTION_STARTED" || "EXECUTION_FAILED" || "EXECUTION_ABORTED" || "EXECUTION_SUCCEEDED" || "STEP_STARTED" || "STEP_FAILED" || "STEP_SUCCEEDED" || "ACTIVITY_SCHEDULED" || "ACTIVITY_STARTED" || "ACTIVITY_FAILED" || "ACTIVITY_SUCCEEDED" || "START_FLOW_EXECUTION_TASK" || "SCHEDULE_NEXT_READY_STEPS_TASK" || "THING_ACTION_TASK" || "THING_ACTION_TASK_FAILED" || "THING_ACTION_TASK_SUCCEEDED" || "ACKNOWLEDGE_TASK_MESSAGE",// timestamp: new Date("TIMESTAMP"),// payload: "STRING_VALUE",// },// ],// nextToken: "STRING_VALUE",// };
ListFlowExecutionMessagesCommandInput
ListFlowExecutionMessagesCommandOutput
input
response
config
InternalFailureException (server fault)
InvalidRequestException (client fault)
ResourceNotFoundException (client fault)
ThrottlingException (client fault)
IoTThingsGraphServiceException
Base exception class for all service exceptions from IoTThingsGraph service.
Readonly
Static
Deprecated
Returns a list of objects that contain information about events in a flow execution.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListFlowExecutionMessagesCommandInput
Returns
ListFlowExecutionMessagesCommandOutput
See
input
shape.response
shape.config
shape.Throws
InternalFailureException (server fault)
Throws
InvalidRequestException (client fault)
Throws
ResourceNotFoundException (client fault)
Throws
ThrottlingException (client fault)
Throws
IoTThingsGraphServiceException
Base exception class for all service exceptions from IoTThingsGraph service.