flow_execution_events
Creates, updates, deletes, gets or lists a flow_execution_events resource.
Overview
| Name | flow_execution_events |
| Type | Resource |
| Id | aws.bedrock_agent_runtime.flow_execution_events |
Fields
The following fields are returned by SELECT queries:
- list_flow_execution_events
| Name | Datatype | Description |
|---|---|---|
condition_result_event | object | Contains 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_event | object | Contains information about a failure that occurred at the flow level during execution. |
flow_input_event | object | Contains information about the inputs provided to the flow at the start of execution. |
flow_output_event | object | Contains information about the outputs produced by the flow at the end of execution. |
node_action_event | object | Contains information about an action (operation) called by a node during execution. |
node_dependency_event | object | Contains information about an internal trace of a specific node during execution. |
node_failure_event | object | Contains information about a failure that occurred at a specific node during execution. |
node_input_event | object | Contains information about the inputs provided to a specific node during execution. |
node_output_event | object | Contains information about the outputs produced by a specific node during execution. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_flow_execution_events | select | eventType, execution_identifier, flow_alias_identifier, flow_identifier, region | maxResults, nextToken | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
eventType | string | The type of events to retrieve. Specify Node for node-level events or Flow for flow-level events. |
execution_identifier | string | The unique identifier of the flow execution. |
flow_alias_identifier | string | The unique identifier of the flow alias used for the execution. |
flow_identifier | string | The unique identifier of the flow. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | 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. |
nextToken | string | A token to retrieve the next set of results. This value is returned in the response if more results are available. |
SELECT examples
- list_flow_execution_events
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 }}'
;