list_flow_execution_events
async
¶
list_flow_execution_events(
flow_identifier: FlowIdentifier,
flow_alias_identifier: FlowAliasIdentifier,
execution_identifier: FlowExecutionIdentifier,
event_type: FlowExecutionEventType,
*,
config_overrides: Optional[AsyncBedrockAgentRuntimeClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListFlowExecutionEventsResponse
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:
-
flow_identifier(FlowIdentifier) –The unique identifier of the flow.
-
flow_alias_identifier(FlowAliasIdentifier) –The unique identifier of the flow alias used for the execution.
-
execution_identifier(FlowExecutionIdentifier) –The unique identifier of the flow execution.
-
max_results(Optional[MaxResults], default: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(Optional[NextToken], default:None) –A token to retrieve the next set of results. This value is returned in the response if more results are available.
-
event_type(FlowExecutionEventType) –The type of events to retrieve. Specify
Nodefor node-level events orFlowfor flow-level events.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions. Check your permissions and retry your request.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agent_runtime/_services/async_bedrock_agent_runtime.py
664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 | |