:doc:`AgentsforBedrockRuntime <../../bedrock-agent-runtime>` / Paginator / ListFlowExecutionEvents

***********************
ListFlowExecutionEvents
***********************



.. py:class:: AgentsforBedrockRuntime.Paginator.ListFlowExecutionEvents

  ::

    
    paginator = client.get_paginator('list_flow_execution_events')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`AgentsforBedrockRuntime.Client.list_flow_execution_events`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ListFlowExecutionEvents>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          eventType='Node'|'Flow',
          executionIdentifier='string',
          flowAliasIdentifier='string',
          flowIdentifier='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type eventType: string
    :param eventType: **[REQUIRED]** 

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

      

    
    :type executionIdentifier: string
    :param executionIdentifier: **[REQUIRED]** 

      The unique identifier of the flow execution.

      

    
    :type flowAliasIdentifier: string
    :param flowAliasIdentifier: **[REQUIRED]** 

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

      

    
    :type flowIdentifier: string
    :param flowIdentifier: **[REQUIRED]** 

      The unique identifier of the flow.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

      
    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax**

      
      ::

        {
            'flowExecutionEvents': [
                {
                    'conditionResultEvent': {
                        'nodeName': 'string',
                        'satisfiedConditions': [
                            {
                                'conditionName': 'string'
                            },
                        ],
                        'timestamp': datetime(2015, 1, 1)
                    },
                    'flowFailureEvent': {
                        'errorCode': 'VALIDATION'|'INTERNAL_SERVER'|'NODE_EXECUTION_FAILED',
                        'errorMessage': 'string',
                        'timestamp': datetime(2015, 1, 1)
                    },
                    'flowInputEvent': {
                        'fields': [
                            {
                                'content': {
                                    'document': {...}|[...]|123|123.4|'string'|True|None
                                },
                                'name': 'string'
                            },
                        ],
                        'nodeName': 'string',
                        'timestamp': datetime(2015, 1, 1)
                    },
                    'flowOutputEvent': {
                        'fields': [
                            {
                                'content': {
                                    'document': {...}|[...]|123|123.4|'string'|True|None
                                },
                                'name': 'string'
                            },
                        ],
                        'nodeName': 'string',
                        'timestamp': datetime(2015, 1, 1)
                    },
                    'nodeActionEvent': {
                        'nodeName': 'string',
                        'operationName': 'string',
                        'operationRequest': {...}|[...]|123|123.4|'string'|True|None,
                        'operationResponse': {...}|[...]|123|123.4|'string'|True|None,
                        'requestId': 'string',
                        'serviceName': 'string',
                        'timestamp': datetime(2015, 1, 1)
                    },
                    'nodeDependencyEvent': {
                        'nodeName': 'string',
                        'timestamp': datetime(2015, 1, 1),
                        'traceElements': {
                            'agentTraces': [
                                {
                                    'agentAliasId': 'string',
                                    'agentId': 'string',
                                    'agentVersion': 'string',
                                    'callerChain': [
                                        {
                                            'agentAliasArn': 'string'
                                        },
                                    ],
                                    'collaboratorName': 'string',
                                    'eventTime': datetime(2015, 1, 1),
                                    'sessionId': 'string',
                                    'trace': {
                                        'customOrchestrationTrace': {
                                            'event': {
                                                'text': 'string'
                                            },
                                            'traceId': 'string'
                                        },
                                        'failureTrace': {
                                            'failureCode': 123,
                                            'failureReason': 'string',
                                            'metadata': {
                                                'clientRequestId': 'string',
                                                'endTime': datetime(2015, 1, 1),
                                                'operationTotalTimeMs': 123,
                                                'startTime': datetime(2015, 1, 1),
                                                'totalTimeMs': 123,
                                                'usage': {
                                                    'inputTokens': 123,
                                                    'outputTokens': 123
                                                }
                                            },
                                            'traceId': 'string'
                                        },
                                        'guardrailTrace': {
                                            'action': 'INTERVENED'|'NONE',
                                            'inputAssessments': [
                                                {
                                                    'contentPolicy': {
                                                        'filters': [
                                                            {
                                                                'action': 'BLOCKED',
                                                                'confidence': 'NONE'|'LOW'|'MEDIUM'|'HIGH',
                                                                'type': 'INSULTS'|'HATE'|'SEXUAL'|'VIOLENCE'|'MISCONDUCT'|'PROMPT_ATTACK'
                                                            },
                                                        ]
                                                    },
                                                    'sensitiveInformationPolicy': {
                                                        'piiEntities': [
                                                            {
                                                                'action': 'BLOCKED'|'ANONYMIZED',
                                                                'match': 'string',
                                                                'type': 'ADDRESS'|'AGE'|'AWS_ACCESS_KEY'|'AWS_SECRET_KEY'|'CA_HEALTH_NUMBER'|'CA_SOCIAL_INSURANCE_NUMBER'|'CREDIT_DEBIT_CARD_CVV'|'CREDIT_DEBIT_CARD_EXPIRY'|'CREDIT_DEBIT_CARD_NUMBER'|'DRIVER_ID'|'EMAIL'|'INTERNATIONAL_BANK_ACCOUNT_NUMBER'|'IP_ADDRESS'|'LICENSE_PLATE'|'MAC_ADDRESS'|'NAME'|'PASSWORD'|'PHONE'|'PIN'|'SWIFT_CODE'|'UK_NATIONAL_HEALTH_SERVICE_NUMBER'|'UK_NATIONAL_INSURANCE_NUMBER'|'UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER'|'URL'|'USERNAME'|'US_BANK_ACCOUNT_NUMBER'|'US_BANK_ROUTING_NUMBER'|'US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER'|'US_PASSPORT_NUMBER'|'US_SOCIAL_SECURITY_NUMBER'|'VEHICLE_IDENTIFICATION_NUMBER'
                                                            },
                                                        ],
                                                        'regexes': [
                                                            {
                                                                'action': 'BLOCKED'|'ANONYMIZED',
                                                                'match': 'string',
                                                                'name': 'string',
                                                                'regex': 'string'
                                                            },
                                                        ]
                                                    },
                                                    'topicPolicy': {
                                                        'topics': [
                                                            {
                                                                'action': 'BLOCKED',
                                                                'name': 'string',
                                                                'type': 'DENY'
                                                            },
                                                        ]
                                                    },
                                                    'wordPolicy': {
                                                        'customWords': [
                                                            {
                                                                'action': 'BLOCKED',
                                                                'match': 'string'
                                                            },
                                                        ],
                                                        'managedWordLists': [
                                                            {
                                                                'action': 'BLOCKED',
                                                                'match': 'string',
                                                                'type': 'PROFANITY'
                                                            },
                                                        ]
                                                    }
                                                },
                                            ],
                                            'metadata': {
                                                'clientRequestId': 'string',
                                                'endTime': datetime(2015, 1, 1),
                                                'operationTotalTimeMs': 123,
                                                'startTime': datetime(2015, 1, 1),
                                                'totalTimeMs': 123,
                                                'usage': {
                                                    'inputTokens': 123,
                                                    'outputTokens': 123
                                                }
                                            },
                                            'outputAssessments': [
                                                {
                                                    'contentPolicy': {
                                                        'filters': [
                                                            {
                                                                'action': 'BLOCKED',
                                                                'confidence': 'NONE'|'LOW'|'MEDIUM'|'HIGH',
                                                                'type': 'INSULTS'|'HATE'|'SEXUAL'|'VIOLENCE'|'MISCONDUCT'|'PROMPT_ATTACK'
                                                            },
                                                        ]
                                                    },
                                                    'sensitiveInformationPolicy': {
                                                        'piiEntities': [
                                                            {
                                                                'action': 'BLOCKED'|'ANONYMIZED',
                                                                'match': 'string',
                                                                'type': 'ADDRESS'|'AGE'|'AWS_ACCESS_KEY'|'AWS_SECRET_KEY'|'CA_HEALTH_NUMBER'|'CA_SOCIAL_INSURANCE_NUMBER'|'CREDIT_DEBIT_CARD_CVV'|'CREDIT_DEBIT_CARD_EXPIRY'|'CREDIT_DEBIT_CARD_NUMBER'|'DRIVER_ID'|'EMAIL'|'INTERNATIONAL_BANK_ACCOUNT_NUMBER'|'IP_ADDRESS'|'LICENSE_PLATE'|'MAC_ADDRESS'|'NAME'|'PASSWORD'|'PHONE'|'PIN'|'SWIFT_CODE'|'UK_NATIONAL_HEALTH_SERVICE_NUMBER'|'UK_NATIONAL_INSURANCE_NUMBER'|'UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER'|'URL'|'USERNAME'|'US_BANK_ACCOUNT_NUMBER'|'US_BANK_ROUTING_NUMBER'|'US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER'|'US_PASSPORT_NUMBER'|'US_SOCIAL_SECURITY_NUMBER'|'VEHICLE_IDENTIFICATION_NUMBER'
                                                            },
                                                        ],
                                                        'regexes': [
                                                            {
                                                                'action': 'BLOCKED'|'ANONYMIZED',
                                                                'match': 'string',
                                                                'name': 'string',
                                                                'regex': 'string'
                                                            },
                                                        ]
                                                    },
                                                    'topicPolicy': {
                                                        'topics': [
                                                            {
                                                                'action': 'BLOCKED',
                                                                'name': 'string',
                                                                'type': 'DENY'
                                                            },
                                                        ]
                                                    },
                                                    'wordPolicy': {
                                                        'customWords': [
                                                            {
                                                                'action': 'BLOCKED',
                                                                'match': 'string'
                                                            },
                                                        ],
                                                        'managedWordLists': [
                                                            {
                                                                'action': 'BLOCKED',
                                                                'match': 'string',
                                                                'type': 'PROFANITY'
                                                            },
                                                        ]
                                                    }
                                                },
                                            ],
                                            'traceId': 'string'
                                        },
                                        'orchestrationTrace': {
                                            'invocationInput': {
                                                'actionGroupInvocationInput': {
                                                    'actionGroupName': 'string',
                                                    'apiPath': 'string',
                                                    'executionType': 'LAMBDA'|'RETURN_CONTROL',
                                                    'function': 'string',
                                                    'invocationId': 'string',
                                                    'parameters': [
                                                        {
                                                            'name': 'string',
                                                            'type': 'string',
                                                            'value': 'string'
                                                        },
                                                    ],
                                                    'requestBody': {
                                                        'content': {
                                                            'string': [
                                                                {
                                                                    'name': 'string',
                                                                    'type': 'string',
                                                                    'value': 'string'
                                                                },
                                                            ]
                                                        }
                                                    },
                                                    'verb': 'string'
                                                },
                                                'agentCollaboratorInvocationInput': {
                                                    'agentCollaboratorAliasArn': 'string',
                                                    'agentCollaboratorName': 'string',
                                                    'input': {
                                                        'returnControlResults': {
                                                            'invocationId': 'string',
                                                            'returnControlInvocationResults': [
                                                                {
                                                                    'apiResult': {
                                                                        'actionGroup': 'string',
                                                                        'agentId': 'string',
                                                                        'apiPath': 'string',
                                                                        'confirmationState': 'CONFIRM'|'DENY',
                                                                        'httpMethod': 'string',
                                                                        'httpStatusCode': 123,
                                                                        'responseBody': {
                                                                            'string': {
                                                                                'body': 'string',
                                                                                'images': [
                                                                                    {
                                                                                        'format': 'png'|'jpeg'|'gif'|'webp',
                                                                                        'source': {
                                                                                            'bytes': b'bytes'
                                                                                        }
                                                                                    },
                                                                                ]
                                                                            }
                                                                        },
                                                                        'responseState': 'FAILURE'|'REPROMPT'
                                                                    },
                                                                    'functionResult': {
                                                                        'actionGroup': 'string',
                                                                        'agentId': 'string',
                                                                        'confirmationState': 'CONFIRM'|'DENY',
                                                                        'function': 'string',
                                                                        'responseBody': {
                                                                            'string': {
                                                                                'body': 'string',
                                                                                'images': [
                                                                                    {
                                                                                        'format': 'png'|'jpeg'|'gif'|'webp',
                                                                                        'source': {
                                                                                            'bytes': b'bytes'
                                                                                        }
                                                                                    },
                                                                                ]
                                                                            }
                                                                        },
                                                                        'responseState': 'FAILURE'|'REPROMPT'
                                                                    }
                                                                },
                                                            ]
                                                        },
                                                        'text': 'string',
                                                        'type': 'TEXT'|'RETURN_CONTROL'
                                                    }
                                                },
                                                'codeInterpreterInvocationInput': {
                                                    'code': 'string',
                                                    'files': [
                                                        'string',
                                                    ]
                                                },
                                                'invocationType': 'ACTION_GROUP'|'KNOWLEDGE_BASE'|'FINISH'|'ACTION_GROUP_CODE_INTERPRETER'|'AGENT_COLLABORATOR',
                                                'knowledgeBaseLookupInput': {
                                                    'knowledgeBaseId': 'string',
                                                    'text': 'string'
                                                },
                                                'traceId': 'string'
                                            },
                                            'modelInvocationInput': {
                                                'foundationModel': 'string',
                                                'inferenceConfiguration': {
                                                    'maximumLength': 123,
                                                    'stopSequences': [
                                                        'string',
                                                    ],
                                                    'temperature': ...,
                                                    'topK': 123,
                                                    'topP': ...
                                                },
                                                'overrideLambda': 'string',
                                                'parserMode': 'DEFAULT'|'OVERRIDDEN',
                                                'promptCreationMode': 'DEFAULT'|'OVERRIDDEN',
                                                'text': 'string',
                                                'traceId': 'string',
                                                'type': 'PRE_PROCESSING'|'ORCHESTRATION'|'KNOWLEDGE_BASE_RESPONSE_GENERATION'|'POST_PROCESSING'|'ROUTING_CLASSIFIER'
                                            },
                                            'modelInvocationOutput': {
                                                'metadata': {
                                                    'clientRequestId': 'string',
                                                    'endTime': datetime(2015, 1, 1),
                                                    'operationTotalTimeMs': 123,
                                                    'startTime': datetime(2015, 1, 1),
                                                    'totalTimeMs': 123,
                                                    'usage': {
                                                        'inputTokens': 123,
                                                        'outputTokens': 123
                                                    }
                                                },
                                                'rawResponse': {
                                                    'content': 'string'
                                                },
                                                'reasoningContent': {
                                                    'reasoningText': {
                                                        'signature': 'string',
                                                        'text': 'string'
                                                    },
                                                    'redactedContent': b'bytes'
                                                },
                                                'traceId': 'string'
                                            },
                                            'observation': {
                                                'actionGroupInvocationOutput': {
                                                    'metadata': {
                                                        'clientRequestId': 'string',
                                                        'endTime': datetime(2015, 1, 1),
                                                        'operationTotalTimeMs': 123,
                                                        'startTime': datetime(2015, 1, 1),
                                                        'totalTimeMs': 123,
                                                        'usage': {
                                                            'inputTokens': 123,
                                                            'outputTokens': 123
                                                        }
                                                    },
                                                    'text': 'string'
                                                },
                                                'agentCollaboratorInvocationOutput': {
                                                    'agentCollaboratorAliasArn': 'string',
                                                    'agentCollaboratorName': 'string',
                                                    'metadata': {
                                                        'clientRequestId': 'string',
                                                        'endTime': datetime(2015, 1, 1),
                                                        'operationTotalTimeMs': 123,
                                                        'startTime': datetime(2015, 1, 1),
                                                        'totalTimeMs': 123,
                                                        'usage': {
                                                            'inputTokens': 123,
                                                            'outputTokens': 123
                                                        }
                                                    },
                                                    'output': {
                                                        'returnControlPayload': {
                                                            'invocationId': 'string',
                                                            'invocationInputs': [
                                                                {
                                                                    'apiInvocationInput': {
                                                                        'actionGroup': 'string',
                                                                        'actionInvocationType': 'RESULT'|'USER_CONFIRMATION'|'USER_CONFIRMATION_AND_RESULT',
                                                                        'agentId': 'string',
                                                                        'apiPath': 'string',
                                                                        'collaboratorName': 'string',
                                                                        'httpMethod': 'string',
                                                                        'parameters': [
                                                                            {
                                                                                'name': 'string',
                                                                                'type': 'string',
                                                                                'value': 'string'
                                                                            },
                                                                        ],
                                                                        'requestBody': {
                                                                            'content': {
                                                                                'string': {
                                                                                    'properties': [
                                                                                        {
                                                                                            'name': 'string',
                                                                                            'type': 'string',
                                                                                            'value': 'string'
                                                                                        },
                                                                                    ]
                                                                                }
                                                                            }
                                                                        }
                                                                    },
                                                                    'functionInvocationInput': {
                                                                        'actionGroup': 'string',
                                                                        'actionInvocationType': 'RESULT'|'USER_CONFIRMATION'|'USER_CONFIRMATION_AND_RESULT',
                                                                        'agentId': 'string',
                                                                        'collaboratorName': 'string',
                                                                        'function': 'string',
                                                                        'parameters': [
                                                                            {
                                                                                'name': 'string',
                                                                                'type': 'string',
                                                                                'value': 'string'
                                                                            },
                                                                        ]
                                                                    }
                                                                },
                                                            ]
                                                        },
                                                        'text': 'string',
                                                        'type': 'TEXT'|'RETURN_CONTROL'
                                                    }
                                                },
                                                'codeInterpreterInvocationOutput': {
                                                    'executionError': 'string',
                                                    'executionOutput': 'string',
                                                    'executionTimeout': True|False,
                                                    'files': [
                                                        'string',
                                                    ],
                                                    'metadata': {
                                                        'clientRequestId': 'string',
                                                        'endTime': datetime(2015, 1, 1),
                                                        'operationTotalTimeMs': 123,
                                                        'startTime': datetime(2015, 1, 1),
                                                        'totalTimeMs': 123,
                                                        'usage': {
                                                            'inputTokens': 123,
                                                            'outputTokens': 123
                                                        }
                                                    }
                                                },
                                                'finalResponse': {
                                                    'metadata': {
                                                        'clientRequestId': 'string',
                                                        'endTime': datetime(2015, 1, 1),
                                                        'operationTotalTimeMs': 123,
                                                        'startTime': datetime(2015, 1, 1),
                                                        'totalTimeMs': 123,
                                                        'usage': {
                                                            'inputTokens': 123,
                                                            'outputTokens': 123
                                                        }
                                                    },
                                                    'text': 'string'
                                                },
                                                'knowledgeBaseLookupOutput': {
                                                    'metadata': {
                                                        'clientRequestId': 'string',
                                                        'endTime': datetime(2015, 1, 1),
                                                        'operationTotalTimeMs': 123,
                                                        'startTime': datetime(2015, 1, 1),
                                                        'totalTimeMs': 123,
                                                        'usage': {
                                                            'inputTokens': 123,
                                                            'outputTokens': 123
                                                        }
                                                    },
                                                    'retrievedReferences': [
                                                        {
                                                            'content': {
                                                                'audio': {
                                                                    's3Uri': 'string',
                                                                    'transcription': 'string'
                                                                },
                                                                'byteContent': 'string',
                                                                'row': [
                                                                    {
                                                                        'columnName': 'string',
                                                                        'columnValue': 'string',
                                                                        'type': 'BLOB'|'BOOLEAN'|'DOUBLE'|'NULL'|'LONG'|'STRING'
                                                                    },
                                                                ],
                                                                'text': 'string',
                                                                'type': 'TEXT'|'IMAGE'|'ROW'|'AUDIO'|'VIDEO',
                                                                'video': {
                                                                    's3Uri': 'string',
                                                                    'summary': 'string'
                                                                }
                                                            },
                                                            'location': {
                                                                'confluenceLocation': {
                                                                    'url': 'string'
                                                                },
                                                                'customDocumentLocation': {
                                                                    'id': 'string'
                                                                },
                                                                'kendraDocumentLocation': {
                                                                    'uri': 'string'
                                                                },
                                                                's3Location': {
                                                                    'uri': 'string'
                                                                },
                                                                'salesforceLocation': {
                                                                    'url': 'string'
                                                                },
                                                                'sharePointLocation': {
                                                                    'url': 'string'
                                                                },
                                                                'sqlLocation': {
                                                                    'query': 'string'
                                                                },
                                                                'type': 'S3'|'WEB'|'CONFLUENCE'|'SALESFORCE'|'SHAREPOINT'|'CUSTOM'|'KENDRA'|'SQL',
                                                                'webLocation': {
                                                                    'url': 'string'
                                                                }
                                                            },
                                                            'metadata': {
                                                                'string': {...}|[...]|123|123.4|'string'|True|None
                                                            }
                                                        },
                                                    ]
                                                },
                                                'repromptResponse': {
                                                    'source': 'ACTION_GROUP'|'KNOWLEDGE_BASE'|'PARSER',
                                                    'text': 'string'
                                                },
                                                'traceId': 'string',
                                                'type': 'ACTION_GROUP'|'AGENT_COLLABORATOR'|'KNOWLEDGE_BASE'|'FINISH'|'ASK_USER'|'REPROMPT'
                                            },
                                            'rationale': {
                                                'text': 'string',
                                                'traceId': 'string'
                                            }
                                        },
                                        'postProcessingTrace': {
                                            'modelInvocationInput': {
                                                'foundationModel': 'string',
                                                'inferenceConfiguration': {
                                                    'maximumLength': 123,
                                                    'stopSequences': [
                                                        'string',
                                                    ],
                                                    'temperature': ...,
                                                    'topK': 123,
                                                    'topP': ...
                                                },
                                                'overrideLambda': 'string',
                                                'parserMode': 'DEFAULT'|'OVERRIDDEN',
                                                'promptCreationMode': 'DEFAULT'|'OVERRIDDEN',
                                                'text': 'string',
                                                'traceId': 'string',
                                                'type': 'PRE_PROCESSING'|'ORCHESTRATION'|'KNOWLEDGE_BASE_RESPONSE_GENERATION'|'POST_PROCESSING'|'ROUTING_CLASSIFIER'
                                            },
                                            'modelInvocationOutput': {
                                                'metadata': {
                                                    'clientRequestId': 'string',
                                                    'endTime': datetime(2015, 1, 1),
                                                    'operationTotalTimeMs': 123,
                                                    'startTime': datetime(2015, 1, 1),
                                                    'totalTimeMs': 123,
                                                    'usage': {
                                                        'inputTokens': 123,
                                                        'outputTokens': 123
                                                    }
                                                },
                                                'parsedResponse': {
                                                    'text': 'string'
                                                },
                                                'rawResponse': {
                                                    'content': 'string'
                                                },
                                                'reasoningContent': {
                                                    'reasoningText': {
                                                        'signature': 'string',
                                                        'text': 'string'
                                                    },
                                                    'redactedContent': b'bytes'
                                                },
                                                'traceId': 'string'
                                            }
                                        },
                                        'preProcessingTrace': {
                                            'modelInvocationInput': {
                                                'foundationModel': 'string',
                                                'inferenceConfiguration': {
                                                    'maximumLength': 123,
                                                    'stopSequences': [
                                                        'string',
                                                    ],
                                                    'temperature': ...,
                                                    'topK': 123,
                                                    'topP': ...
                                                },
                                                'overrideLambda': 'string',
                                                'parserMode': 'DEFAULT'|'OVERRIDDEN',
                                                'promptCreationMode': 'DEFAULT'|'OVERRIDDEN',
                                                'text': 'string',
                                                'traceId': 'string',
                                                'type': 'PRE_PROCESSING'|'ORCHESTRATION'|'KNOWLEDGE_BASE_RESPONSE_GENERATION'|'POST_PROCESSING'|'ROUTING_CLASSIFIER'
                                            },
                                            'modelInvocationOutput': {
                                                'metadata': {
                                                    'clientRequestId': 'string',
                                                    'endTime': datetime(2015, 1, 1),
                                                    'operationTotalTimeMs': 123,
                                                    'startTime': datetime(2015, 1, 1),
                                                    'totalTimeMs': 123,
                                                    'usage': {
                                                        'inputTokens': 123,
                                                        'outputTokens': 123
                                                    }
                                                },
                                                'parsedResponse': {
                                                    'isValid': True|False,
                                                    'rationale': 'string'
                                                },
                                                'rawResponse': {
                                                    'content': 'string'
                                                },
                                                'reasoningContent': {
                                                    'reasoningText': {
                                                        'signature': 'string',
                                                        'text': 'string'
                                                    },
                                                    'redactedContent': b'bytes'
                                                },
                                                'traceId': 'string'
                                            }
                                        },
                                        'routingClassifierTrace': {
                                            'invocationInput': {
                                                'actionGroupInvocationInput': {
                                                    'actionGroupName': 'string',
                                                    'apiPath': 'string',
                                                    'executionType': 'LAMBDA'|'RETURN_CONTROL',
                                                    'function': 'string',
                                                    'invocationId': 'string',
                                                    'parameters': [
                                                        {
                                                            'name': 'string',
                                                            'type': 'string',
                                                            'value': 'string'
                                                        },
                                                    ],
                                                    'requestBody': {
                                                        'content': {
                                                            'string': [
                                                                {
                                                                    'name': 'string',
                                                                    'type': 'string',
                                                                    'value': 'string'
                                                                },
                                                            ]
                                                        }
                                                    },
                                                    'verb': 'string'
                                                },
                                                'agentCollaboratorInvocationInput': {
                                                    'agentCollaboratorAliasArn': 'string',
                                                    'agentCollaboratorName': 'string',
                                                    'input': {
                                                        'returnControlResults': {
                                                            'invocationId': 'string',
                                                            'returnControlInvocationResults': [
                                                                {
                                                                    'apiResult': {
                                                                        'actionGroup': 'string',
                                                                        'agentId': 'string',
                                                                        'apiPath': 'string',
                                                                        'confirmationState': 'CONFIRM'|'DENY',
                                                                        'httpMethod': 'string',
                                                                        'httpStatusCode': 123,
                                                                        'responseBody': {
                                                                            'string': {
                                                                                'body': 'string',
                                                                                'images': [
                                                                                    {
                                                                                        'format': 'png'|'jpeg'|'gif'|'webp',
                                                                                        'source': {
                                                                                            'bytes': b'bytes'
                                                                                        }
                                                                                    },
                                                                                ]
                                                                            }
                                                                        },
                                                                        'responseState': 'FAILURE'|'REPROMPT'
                                                                    },
                                                                    'functionResult': {
                                                                        'actionGroup': 'string',
                                                                        'agentId': 'string',
                                                                        'confirmationState': 'CONFIRM'|'DENY',
                                                                        'function': 'string',
                                                                        'responseBody': {
                                                                            'string': {
                                                                                'body': 'string',
                                                                                'images': [
                                                                                    {
                                                                                        'format': 'png'|'jpeg'|'gif'|'webp',
                                                                                        'source': {
                                                                                            'bytes': b'bytes'
                                                                                        }
                                                                                    },
                                                                                ]
                                                                            }
                                                                        },
                                                                        'responseState': 'FAILURE'|'REPROMPT'
                                                                    }
                                                                },
                                                            ]
                                                        },
                                                        'text': 'string',
                                                        'type': 'TEXT'|'RETURN_CONTROL'
                                                    }
                                                },
                                                'codeInterpreterInvocationInput': {
                                                    'code': 'string',
                                                    'files': [
                                                        'string',
                                                    ]
                                                },
                                                'invocationType': 'ACTION_GROUP'|'KNOWLEDGE_BASE'|'FINISH'|'ACTION_GROUP_CODE_INTERPRETER'|'AGENT_COLLABORATOR',
                                                'knowledgeBaseLookupInput': {
                                                    'knowledgeBaseId': 'string',
                                                    'text': 'string'
                                                },
                                                'traceId': 'string'
                                            },
                                            'modelInvocationInput': {
                                                'foundationModel': 'string',
                                                'inferenceConfiguration': {
                                                    'maximumLength': 123,
                                                    'stopSequences': [
                                                        'string',
                                                    ],
                                                    'temperature': ...,
                                                    'topK': 123,
                                                    'topP': ...
                                                },
                                                'overrideLambda': 'string',
                                                'parserMode': 'DEFAULT'|'OVERRIDDEN',
                                                'promptCreationMode': 'DEFAULT'|'OVERRIDDEN',
                                                'text': 'string',
                                                'traceId': 'string',
                                                'type': 'PRE_PROCESSING'|'ORCHESTRATION'|'KNOWLEDGE_BASE_RESPONSE_GENERATION'|'POST_PROCESSING'|'ROUTING_CLASSIFIER'
                                            },
                                            'modelInvocationOutput': {
                                                'metadata': {
                                                    'clientRequestId': 'string',
                                                    'endTime': datetime(2015, 1, 1),
                                                    'operationTotalTimeMs': 123,
                                                    'startTime': datetime(2015, 1, 1),
                                                    'totalTimeMs': 123,
                                                    'usage': {
                                                        'inputTokens': 123,
                                                        'outputTokens': 123
                                                    }
                                                },
                                                'rawResponse': {
                                                    'content': 'string'
                                                },
                                                'traceId': 'string'
                                            },
                                            'observation': {
                                                'actionGroupInvocationOutput': {
                                                    'metadata': {
                                                        'clientRequestId': 'string',
                                                        'endTime': datetime(2015, 1, 1),
                                                        'operationTotalTimeMs': 123,
                                                        'startTime': datetime(2015, 1, 1),
                                                        'totalTimeMs': 123,
                                                        'usage': {
                                                            'inputTokens': 123,
                                                            'outputTokens': 123
                                                        }
                                                    },
                                                    'text': 'string'
                                                },
                                                'agentCollaboratorInvocationOutput': {
                                                    'agentCollaboratorAliasArn': 'string',
                                                    'agentCollaboratorName': 'string',
                                                    'metadata': {
                                                        'clientRequestId': 'string',
                                                        'endTime': datetime(2015, 1, 1),
                                                        'operationTotalTimeMs': 123,
                                                        'startTime': datetime(2015, 1, 1),
                                                        'totalTimeMs': 123,
                                                        'usage': {
                                                            'inputTokens': 123,
                                                            'outputTokens': 123
                                                        }
                                                    },
                                                    'output': {
                                                        'returnControlPayload': {
                                                            'invocationId': 'string',
                                                            'invocationInputs': [
                                                                {
                                                                    'apiInvocationInput': {
                                                                        'actionGroup': 'string',
                                                                        'actionInvocationType': 'RESULT'|'USER_CONFIRMATION'|'USER_CONFIRMATION_AND_RESULT',
                                                                        'agentId': 'string',
                                                                        'apiPath': 'string',
                                                                        'collaboratorName': 'string',
                                                                        'httpMethod': 'string',
                                                                        'parameters': [
                                                                            {
                                                                                'name': 'string',
                                                                                'type': 'string',
                                                                                'value': 'string'
                                                                            },
                                                                        ],
                                                                        'requestBody': {
                                                                            'content': {
                                                                                'string': {
                                                                                    'properties': [
                                                                                        {
                                                                                            'name': 'string',
                                                                                            'type': 'string',
                                                                                            'value': 'string'
                                                                                        },
                                                                                    ]
                                                                                }
                                                                            }
                                                                        }
                                                                    },
                                                                    'functionInvocationInput': {
                                                                        'actionGroup': 'string',
                                                                        'actionInvocationType': 'RESULT'|'USER_CONFIRMATION'|'USER_CONFIRMATION_AND_RESULT',
                                                                        'agentId': 'string',
                                                                        'collaboratorName': 'string',
                                                                        'function': 'string',
                                                                        'parameters': [
                                                                            {
                                                                                'name': 'string',
                                                                                'type': 'string',
                                                                                'value': 'string'
                                                                            },
                                                                        ]
                                                                    }
                                                                },
                                                            ]
                                                        },
                                                        'text': 'string',
                                                        'type': 'TEXT'|'RETURN_CONTROL'
                                                    }
                                                },
                                                'codeInterpreterInvocationOutput': {
                                                    'executionError': 'string',
                                                    'executionOutput': 'string',
                                                    'executionTimeout': True|False,
                                                    'files': [
                                                        'string',
                                                    ],
                                                    'metadata': {
                                                        'clientRequestId': 'string',
                                                        'endTime': datetime(2015, 1, 1),
                                                        'operationTotalTimeMs': 123,
                                                        'startTime': datetime(2015, 1, 1),
                                                        'totalTimeMs': 123,
                                                        'usage': {
                                                            'inputTokens': 123,
                                                            'outputTokens': 123
                                                        }
                                                    }
                                                },
                                                'finalResponse': {
                                                    'metadata': {
                                                        'clientRequestId': 'string',
                                                        'endTime': datetime(2015, 1, 1),
                                                        'operationTotalTimeMs': 123,
                                                        'startTime': datetime(2015, 1, 1),
                                                        'totalTimeMs': 123,
                                                        'usage': {
                                                            'inputTokens': 123,
                                                            'outputTokens': 123
                                                        }
                                                    },
                                                    'text': 'string'
                                                },
                                                'knowledgeBaseLookupOutput': {
                                                    'metadata': {
                                                        'clientRequestId': 'string',
                                                        'endTime': datetime(2015, 1, 1),
                                                        'operationTotalTimeMs': 123,
                                                        'startTime': datetime(2015, 1, 1),
                                                        'totalTimeMs': 123,
                                                        'usage': {
                                                            'inputTokens': 123,
                                                            'outputTokens': 123
                                                        }
                                                    },
                                                    'retrievedReferences': [
                                                        {
                                                            'content': {
                                                                'audio': {
                                                                    's3Uri': 'string',
                                                                    'transcription': 'string'
                                                                },
                                                                'byteContent': 'string',
                                                                'row': [
                                                                    {
                                                                        'columnName': 'string',
                                                                        'columnValue': 'string',
                                                                        'type': 'BLOB'|'BOOLEAN'|'DOUBLE'|'NULL'|'LONG'|'STRING'
                                                                    },
                                                                ],
                                                                'text': 'string',
                                                                'type': 'TEXT'|'IMAGE'|'ROW'|'AUDIO'|'VIDEO',
                                                                'video': {
                                                                    's3Uri': 'string',
                                                                    'summary': 'string'
                                                                }
                                                            },
                                                            'location': {
                                                                'confluenceLocation': {
                                                                    'url': 'string'
                                                                },
                                                                'customDocumentLocation': {
                                                                    'id': 'string'
                                                                },
                                                                'kendraDocumentLocation': {
                                                                    'uri': 'string'
                                                                },
                                                                's3Location': {
                                                                    'uri': 'string'
                                                                },
                                                                'salesforceLocation': {
                                                                    'url': 'string'
                                                                },
                                                                'sharePointLocation': {
                                                                    'url': 'string'
                                                                },
                                                                'sqlLocation': {
                                                                    'query': 'string'
                                                                },
                                                                'type': 'S3'|'WEB'|'CONFLUENCE'|'SALESFORCE'|'SHAREPOINT'|'CUSTOM'|'KENDRA'|'SQL',
                                                                'webLocation': {
                                                                    'url': 'string'
                                                                }
                                                            },
                                                            'metadata': {
                                                                'string': {...}|[...]|123|123.4|'string'|True|None
                                                            }
                                                        },
                                                    ]
                                                },
                                                'repromptResponse': {
                                                    'source': 'ACTION_GROUP'|'KNOWLEDGE_BASE'|'PARSER',
                                                    'text': 'string'
                                                },
                                                'traceId': 'string',
                                                'type': 'ACTION_GROUP'|'AGENT_COLLABORATOR'|'KNOWLEDGE_BASE'|'FINISH'|'ASK_USER'|'REPROMPT'
                                            }
                                        }
                                    }
                                },
                            ]
                        }
                    },
                    'nodeFailureEvent': {
                        'errorCode': 'VALIDATION'|'DEPENDENCY_FAILED'|'BAD_GATEWAY'|'INTERNAL_SERVER',
                        'errorMessage': 'string',
                        'nodeName': 'string',
                        'timestamp': datetime(2015, 1, 1)
                    },
                    'nodeInputEvent': {
                        'fields': [
                            {
                                'category': 'LoopCondition'|'ReturnValueToLoopStart'|'ExitLoop',
                                'content': {
                                    'document': {...}|[...]|123|123.4|'string'|True|None
                                },
                                'executionChain': [
                                    {
                                        'index': 123,
                                        'nodeName': 'string',
                                        'type': 'Iterator'|'Loop'
                                    },
                                ],
                                'name': 'string',
                                'source': {
                                    'expression': 'string',
                                    'nodeName': 'string',
                                    'outputFieldName': 'string'
                                },
                                'type': 'String'|'Number'|'Boolean'|'Object'|'Array'
                            },
                        ],
                        'nodeName': 'string',
                        'timestamp': datetime(2015, 1, 1)
                    },
                    'nodeOutputEvent': {
                        'fields': [
                            {
                                'content': {
                                    'document': {...}|[...]|123|123.4|'string'|True|None
                                },
                                'name': 'string',
                                'next': [
                                    {
                                        'inputFieldName': 'string',
                                        'nodeName': 'string'
                                    },
                                ],
                                'type': 'String'|'Number'|'Boolean'|'Object'|'Array'
                            },
                        ],
                        'nodeName': 'string',
                        'timestamp': datetime(2015, 1, 1)
                    }
                },
            ],
            'NextToken': 'string'
        }
        

    **Response Structure**
    ::

        # This section is too large to render.
        # Please see the AWS API Documentation linked below.

    `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ListFlowExecutionEvents>`_


    