:doc:`AgentsforBedrockRuntime <../../bedrock-agent-runtime>` / Client / list_flow_execution_events

**************************
list_flow_execution_events
**************************



.. py:method:: AgentsforBedrockRuntime.Client.list_flow_execution_events(**kwargs)

  

  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.

   

  .. note::

    

    Flow executions is in preview release for Amazon Bedrock and is subject to change.

    

  

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


  **Request Syntax**
  ::

    response = client.list_flow_execution_events(
        eventType='Node'|'Flow',
        executionIdentifier='string',
        flowAliasIdentifier='string',
        flowIdentifier='string',
        maxResults=123,
        nextToken='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 maxResults: integer
  :param maxResults: 

    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.

    

  
  :type nextToken: string
  :param nextToken: 

    A token to retrieve the next set of results. This value is returned in the response if more results are available.

    

  
  
  :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>`_


    
  **Exceptions**
  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.ValidationException`

  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.InternalServerException`

  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.ThrottlingException`

  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.AccessDeniedException`

  