Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class ListFlowExecutionMessagesCommandProtected

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.

import { IoTThingsGraphClient, ListFlowExecutionMessagesCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
// const { IoTThingsGraphClient, ListFlowExecutionMessagesCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
const 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",
// };

Param

ListFlowExecutionMessagesCommandInput

Returns

ListFlowExecutionMessagesCommandOutput

See

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.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods