Skip to content

Bedrock Agent Runtime  >  Operations  >  list_flow_execution_events

list_flow_execution_events

Operation

list_flow_execution_events async

list_flow_execution_events(input: ListFlowExecutionEventsInput, plugins: list[Plugin] | None = None) -> ListFlowExecutionEventsOutput

Lists events that occurred during a flow execution. Events provide detailed information about the execution progress, including node inputs and outputs, flow inputs and outputs, condition results, and failure events.

Note

Flow executions is in preview release for Amazon Bedrock and is subject to change.

Parameters:

Name Type Description Default
input ListFlowExecutionEventsInput

An instance of ListFlowExecutionEventsInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ListFlowExecutionEventsOutput

An instance of ListFlowExecutionEventsOutput.

Input

ListFlowExecutionEventsInput dataclass

Dataclass for ListFlowExecutionEventsInput structure.

Attributes

event_type class-attribute instance-attribute
event_type: FlowExecutionEventType | None = None

The type of events to retrieve. Specify Node for node-level events or Flow for flow-level events.

execution_identifier class-attribute instance-attribute
execution_identifier: str | None = None

The unique identifier of the flow execution.

flow_alias_identifier class-attribute instance-attribute
flow_alias_identifier: str | None = None

The unique identifier of the flow alias used for the execution.

flow_identifier class-attribute instance-attribute
flow_identifier: str | None = None

The unique identifier of the flow.

max_results class-attribute instance-attribute
max_results: int | None = None

The maximum number of events to return in a single response. If more events exist than the specified maxResults value, a token is included in the response so that the remaining results can be retrieved.

next_token class-attribute instance-attribute
next_token: str | None = None

A token to retrieve the next set of results. This value is returned in the response if more results are available.

Output

ListFlowExecutionEventsOutput dataclass

Dataclass for ListFlowExecutionEventsOutput structure.

Attributes

flow_execution_events instance-attribute
flow_execution_events: list[FlowExecutionEvent]

A list of events that occurred during the flow execution. Events can include node inputs and outputs, flow inputs and outputs, condition results, and failure events.

next_token class-attribute instance-attribute
next_token: str | None = None

A token to retrieve the next set of results. This value is returned if more results are available.