BedrockAgentRuntimeClient.list_flow_execution_events
rboto-bedrock-agent-runtime==0.4.0 · Service index · Types
Model summary (excerpt): 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.
Install and imports
from rboto import BedrockAgentRuntimeClient
from rboto_bedrock_agent_runtime.types import (
FlowExecutionEventType,
ListFlowExecutionEventsOutput,
)
Signature
async def list_flow_execution_events(
*,
flow_identifier: str,
flow_alias_identifier: str,
execution_identifier: str,
event_type: FlowExecutionEventType,
max_results: int | None = None,
next_token: str | None = None,
) -> ListFlowExecutionEventsOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
flow_identifier |
Yes | The unique identifier of the flow. |
flow_alias_identifier |
Yes | The unique identifier of the flow alias used for the execution. |
execution_identifier |
Yes | The unique identifier of the flow execution. |
event_type |
Yes | The type of events to retrieve. Specify Node for node-level events or Flow for flow-level events. |
max_results |
No | 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 |
No | A token to retrieve the next set of results. This value is returned in the response if more results are available. |
Output
ListFlowExecutionEventsOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
flow_execution_events |
list[FlowExecutionEvent] |
Always present | FlowExecutionEvent |
next_token |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
FlowExecutionEventType, ListFlowExecutionEventsOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_flow_execution_events(...) accepts the same arguments and returns AsyncIterator[ListFlowExecutionEventsOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: next_token. Page-size argument: max_results.
No output stream.
Errors
Import from rboto_bedrock_agent_runtime.exceptions:
AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.