Skip to main content

flow_execution_events

Creates, updates, deletes, gets or lists a flow_execution_events resource.

Overview

Nameflow_execution_events
TypeResource
Idaws.bedrock_agent_runtime.flow_execution_events

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
condition_result_eventobjectContains information about a condition evaluation result during the flow execution. This event is generated when a condition node in the flow evaluates its conditions.
flow_failure_eventobjectContains information about a failure that occurred at the flow level during execution.
flow_input_eventobjectContains information about the inputs provided to the flow at the start of execution.
flow_output_eventobjectContains information about the outputs produced by the flow at the end of execution.
node_action_eventobjectContains information about an action (operation) called by a node during execution.
node_dependency_eventobjectContains information about an internal trace of a specific node during execution.
node_failure_eventobjectContains information about a failure that occurred at a specific node during execution.
node_input_eventobjectContains information about the inputs provided to a specific node during execution.
node_output_eventobjectContains information about the outputs produced by a specific node during execution.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_flow_execution_eventsselecteventType, execution_identifier, flow_alias_identifier, flow_identifier, regionmaxResults, nextTokenLists 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. Flow executions is in preview release for Amazon Bedrock and is subject to change.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
eventTypestringThe type of events to retrieve. Specify Node for node-level events or Flow for flow-level events.
execution_identifierstringThe unique identifier of the flow execution.
flow_alias_identifierstringThe unique identifier of the flow alias used for the execution.
flow_identifierstringThe unique identifier of the flow.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe 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.
nextTokenstringA token to retrieve the next set of results. This value is returned in the response if more results are available.

SELECT examples

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. Flow executions is in preview release for Amazon Bedrock and is subject to change.

SELECT
condition_result_event,
flow_failure_event,
flow_input_event,
flow_output_event,
node_action_event,
node_dependency_event,
node_failure_event,
node_input_event,
node_output_event
FROM aws.bedrock_agent_runtime.flow_execution_events
WHERE eventType = '{{ eventType }}' -- required
AND execution_identifier = '{{ execution_identifier }}' -- required
AND flow_alias_identifier = '{{ flow_alias_identifier }}' -- required
AND flow_identifier = '{{ flow_identifier }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;