Skip to content

List Flow Execution Events

bedrockagentruntime_list_flow_execution_events R Documentation

Lists events that occurred during a flow execution

Description

Lists events that occurred during a flow execution. Events provide detailed information about the execution progress, including node inputs and outputs, flow inputs and outputs, condition results, and failure events.

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

Usage

bedrockagentruntime_list_flow_execution_events(eventType,
  executionIdentifier, flowAliasIdentifier, flowIdentifier, maxResults,
  nextToken)

Arguments

eventType

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

executionIdentifier

[required] The unique identifier of the flow execution.

flowAliasIdentifier

[required] The unique identifier of the flow alias used for the execution.

flowIdentifier

[required] The unique identifier of the flow.

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.

nextToken

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

Value

A list with the following syntax:

list(
  flowExecutionEvents = list(
    list(
      conditionResultEvent = list(
        nodeName = "string",
        satisfiedConditions = list(
          list(
            conditionName = "string"
          )
        ),
        timestamp = as.POSIXct(
          "2015-01-01"
        )
      ),
      flowFailureEvent = list(
        errorCode = "VALIDATION"|"INTERNAL_SERVER"|"NODE_EXECUTION_FAILED",
        errorMessage = "string",
        timestamp = as.POSIXct(
          "2015-01-01"
        )
      ),
      flowInputEvent = list(
        fields = list(
          list(
            content = list(
              document = list()
            ),
            name = "string"
          )
        ),
        nodeName = "string",
        timestamp = as.POSIXct(
          "2015-01-01"
        )
      ),
      flowOutputEvent = list(
        fields = list(
          list(
            content = list(
              document = list()
            ),
            name = "string"
          )
        ),
        nodeName = "string",
        timestamp = as.POSIXct(
          "2015-01-01"
        )
      ),
      nodeActionEvent = list(
        nodeName = "string",
        operationName = "string",
        operationRequest = list(),
        operationResponse = list(),
        requestId = "string",
        serviceName = "string",
        timestamp = as.POSIXct(
          "2015-01-01"
        )
      ),
      nodeDependencyEvent = list(
        nodeName = "string",
        timestamp = as.POSIXct(
          "2015-01-01"
        ),
        traceElements = list(
          agentTraces = list(
            list(
              agentAliasId = "string",
              agentId = "string",
              agentVersion = "string",
              callerChain = list(
                list(
                  agentAliasArn = "string"
                )
              ),
              collaboratorName = "string",
              eventTime = as.POSIXct(
                "2015-01-01"
              ),
              sessionId = "string",
              trace = list(
                customOrchestrationTrace = list(
                  event = list(
                    text = "string"
                  ),
                  traceId = "string"
                ),
                failureTrace = list(
                  failureCode = 123,
                  failureReason = "string",
                  metadata = list(
                    clientRequestId = "string",
                    endTime = as.POSIXct(
                      "2015-01-01"
                    ),
                    operationTotalTimeMs = 123,
                    startTime = as.POSIXct(
                      "2015-01-01"
                    ),
                    totalTimeMs = 123,
                    usage = list(
                      inputTokens = 123,
                      outputTokens = 123
                    )
                  ),
                  traceId = "string"
                ),
                guardrailTrace = list(
                  action = "INTERVENED"|"NONE",
                  inputAssessments = list(
                    list(
                      contentPolicy = list(
                        filters = list(
                          list(
                            action = "BLOCKED",
                            confidence = "NONE"|"LOW"|"MEDIUM"|"HIGH",
                            type = "INSULTS"|"HATE"|"SEXUAL"|"VIOLENCE"|"MISCONDUCT"|"PROMPT_ATTACK"
                          )
                        )
                      ),
                      sensitiveInformationPolicy = list(
                        piiEntities = list(
                          list(
                            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 = list(
                          list(
                            action = "BLOCKED"|"ANONYMIZED",
                            match = "string",
                            name = "string",
                            regex = "string"
                          )
                        )
                      ),
                      topicPolicy = list(
                        topics = list(
                          list(
                            action = "BLOCKED",
                            name = "string",
                            type = "DENY"
                          )
                        )
                      ),
                      wordPolicy = list(
                        customWords = list(
                          list(
                            action = "BLOCKED",
                            match = "string"
                          )
                        ),
                        managedWordLists = list(
                          list(
                            action = "BLOCKED",
                            match = "string",
                            type = "PROFANITY"
                          )
                        )
                      )
                    )
                  ),
                  metadata = list(
                    clientRequestId = "string",
                    endTime = as.POSIXct(
                      "2015-01-01"
                    ),
                    operationTotalTimeMs = 123,
                    startTime = as.POSIXct(
                      "2015-01-01"
                    ),
                    totalTimeMs = 123,
                    usage = list(
                      inputTokens = 123,
                      outputTokens = 123
                    )
                  ),
                  outputAssessments = list(
                    list(
                      contentPolicy = list(
                        filters = list(
                          list(
                            action = "BLOCKED",
                            confidence = "NONE"|"LOW"|"MEDIUM"|"HIGH",
                            type = "INSULTS"|"HATE"|"SEXUAL"|"VIOLENCE"|"MISCONDUCT"|"PROMPT_ATTACK"
                          )
                        )
                      ),
                      sensitiveInformationPolicy = list(
                        piiEntities = list(
                          list(
                            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 = list(
                          list(
                            action = "BLOCKED"|"ANONYMIZED",
                            match = "string",
                            name = "string",
                            regex = "string"
                          )
                        )
                      ),
                      topicPolicy = list(
                        topics = list(
                          list(
                            action = "BLOCKED",
                            name = "string",
                            type = "DENY"
                          )
                        )
                      ),
                      wordPolicy = list(
                        customWords = list(
                          list(
                            action = "BLOCKED",
                            match = "string"
                          )
                        ),
                        managedWordLists = list(
                          list(
                            action = "BLOCKED",
                            match = "string",
                            type = "PROFANITY"
                          )
                        )
                      )
                    )
                  ),
                  traceId = "string"
                ),
                orchestrationTrace = list(
                  invocationInput = list(
                    actionGroupInvocationInput = list(
                      actionGroupName = "string",
                      apiPath = "string",
                      executionType = "LAMBDA"|"RETURN_CONTROL",
                      function = "string",
                      invocationId = "string",
                      parameters = list(
                        list(
                          name = "string",
                          type = "string",
                          value = "string"
                        )
                      ),
                      requestBody = list(
                        content = list(
                          list(
                            list(
                              name = "string",
                              type = "string",
                              value = "string"
                            )
                          )
                        )
                      ),
                      verb = "string"
                    ),
                    agentCollaboratorInvocationInput = list(
                      agentCollaboratorAliasArn = "string",
                      agentCollaboratorName = "string",
                      input = list(
                        returnControlResults = list(
                          invocationId = "string",
                          returnControlInvocationResults = list(
                            list(
                              apiResult = list(
                                actionGroup = "string",
                                agentId = "string",
                                apiPath = "string",
                                confirmationState = "CONFIRM"|"DENY",
                                httpMethod = "string",
                                httpStatusCode = 123,
                                responseBody = list(
                                  list(
                                    body = "string",
                                    images = list(
                                      list(
                                        format = "png"|"jpeg"|"gif"|"webp",
                                        source = list(
                                          bytes = raw
                                        )
                                      )
                                    )
                                  )
                                ),
                                responseState = "FAILURE"|"REPROMPT"
                              ),
                              functionResult = list(
                                actionGroup = "string",
                                agentId = "string",
                                confirmationState = "CONFIRM"|"DENY",
                                function = "string",
                                responseBody = list(
                                  list(
                                    body = "string",
                                    images = list(
                                      list(
                                        format = "png"|"jpeg"|"gif"|"webp",
                                        source = list(
                                          bytes = raw
                                        )
                                      )
                                    )
                                  )
                                ),
                                responseState = "FAILURE"|"REPROMPT"
                              )
                            )
                          )
                        ),
                        text = "string",
                        type = "TEXT"|"RETURN_CONTROL"
                      )
                    ),
                    codeInterpreterInvocationInput = list(
                      code = "string",
                      files = list(
                        "string"
                      )
                    ),
                    invocationType = "ACTION_GROUP"|"KNOWLEDGE_BASE"|"FINISH"|"ACTION_GROUP_CODE_INTERPRETER"|"AGENT_COLLABORATOR",
                    knowledgeBaseLookupInput = list(
                      knowledgeBaseId = "string",
                      text = "string"
                    ),
                    traceId = "string"
                  ),
                  modelInvocationInput = list(
                    foundationModel = "string",
                    inferenceConfiguration = list(
                      maximumLength = 123,
                      stopSequences = list(
                        "string"
                      ),
                      temperature = 123.0,
                      topK = 123,
                      topP = 123.0
                    ),
                    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 = list(
                    metadata = list(
                      clientRequestId = "string",
                      endTime = as.POSIXct(
                        "2015-01-01"
                      ),
                      operationTotalTimeMs = 123,
                      startTime = as.POSIXct(
                        "2015-01-01"
                      ),
                      totalTimeMs = 123,
                      usage = list(
                        inputTokens = 123,
                        outputTokens = 123
                      )
                    ),
                    rawResponse = list(
                      content = "string"
                    ),
                    reasoningContent = list(
                      reasoningText = list(
                        signature = "string",
                        text = "string"
                      ),
                      redactedContent = raw
                    ),
                    traceId = "string"
                  ),
                  observation = list(
                    actionGroupInvocationOutput = list(
                      metadata = list(
                        clientRequestId = "string",
                        endTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        operationTotalTimeMs = 123,
                        startTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        totalTimeMs = 123,
                        usage = list(
                          inputTokens = 123,
                          outputTokens = 123
                        )
                      ),
                      text = "string"
                    ),
                    agentCollaboratorInvocationOutput = list(
                      agentCollaboratorAliasArn = "string",
                      agentCollaboratorName = "string",
                      metadata = list(
                        clientRequestId = "string",
                        endTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        operationTotalTimeMs = 123,
                        startTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        totalTimeMs = 123,
                        usage = list(
                          inputTokens = 123,
                          outputTokens = 123
                        )
                      ),
                      output = list(
                        returnControlPayload = list(
                          invocationId = "string",
                          invocationInputs = list(
                            list(
                              apiInvocationInput = list(
                                actionGroup = "string",
                                actionInvocationType = "RESULT"|"USER_CONFIRMATION"|"USER_CONFIRMATION_AND_RESULT",
                                agentId = "string",
                                apiPath = "string",
                                collaboratorName = "string",
                                httpMethod = "string",
                                parameters = list(
                                  list(
                                    name = "string",
                                    type = "string",
                                    value = "string"
                                  )
                                ),
                                requestBody = list(
                                  content = list(
                                    list(
                                      properties = list(
                                        list(
                                          name = "string",
                                          type = "string",
                                          value = "string"
                                        )
                                      )
                                    )
                                  )
                                )
                              ),
                              functionInvocationInput = list(
                                actionGroup = "string",
                                actionInvocationType = "RESULT"|"USER_CONFIRMATION"|"USER_CONFIRMATION_AND_RESULT",
                                agentId = "string",
                                collaboratorName = "string",
                                function = "string",
                                parameters = list(
                                  list(
                                    name = "string",
                                    type = "string",
                                    value = "string"
                                  )
                                )
                              )
                            )
                          )
                        ),
                        text = "string",
                        type = "TEXT"|"RETURN_CONTROL"
                      )
                    ),
                    codeInterpreterInvocationOutput = list(
                      executionError = "string",
                      executionOutput = "string",
                      executionTimeout = TRUE|FALSE,
                      files = list(
                        "string"
                      ),
                      metadata = list(
                        clientRequestId = "string",
                        endTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        operationTotalTimeMs = 123,
                        startTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        totalTimeMs = 123,
                        usage = list(
                          inputTokens = 123,
                          outputTokens = 123
                        )
                      )
                    ),
                    finalResponse = list(
                      metadata = list(
                        clientRequestId = "string",
                        endTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        operationTotalTimeMs = 123,
                        startTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        totalTimeMs = 123,
                        usage = list(
                          inputTokens = 123,
                          outputTokens = 123
                        )
                      ),
                      text = "string"
                    ),
                    knowledgeBaseLookupOutput = list(
                      metadata = list(
                        clientRequestId = "string",
                        endTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        operationTotalTimeMs = 123,
                        startTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        totalTimeMs = 123,
                        usage = list(
                          inputTokens = 123,
                          outputTokens = 123
                        )
                      ),
                      retrievedReferences = list(
                        list(
                          content = list(
                            audio = list(
                              s3Uri = "string",
                              transcription = "string"
                            ),
                            byteContent = "string",
                            row = list(
                              list(
                                columnName = "string",
                                columnValue = "string",
                                type = "BLOB"|"BOOLEAN"|"DOUBLE"|"NULL"|"LONG"|"STRING"
                              )
                            ),
                            text = "string",
                            type = "TEXT"|"IMAGE"|"ROW"|"AUDIO"|"VIDEO",
                            video = list(
                              s3Uri = "string",
                              summary = "string"
                            )
                          ),
                          location = list(
                            confluenceLocation = list(
                              url = "string"
                            ),
                            customDocumentLocation = list(
                              id = "string"
                            ),
                            kendraDocumentLocation = list(
                              uri = "string"
                            ),
                            s3Location = list(
                              uri = "string"
                            ),
                            salesforceLocation = list(
                              url = "string"
                            ),
                            sharePointLocation = list(
                              url = "string"
                            ),
                            sqlLocation = list(
                              query = "string"
                            ),
                            type = "S3"|"WEB"|"CONFLUENCE"|"SALESFORCE"|"SHAREPOINT"|"CUSTOM"|"KENDRA"|"SQL",
                            webLocation = list(
                              url = "string"
                            )
                          ),
                          metadata = list(
                            list()
                          )
                        )
                      )
                    ),
                    repromptResponse = list(
                      source = "ACTION_GROUP"|"KNOWLEDGE_BASE"|"PARSER",
                      text = "string"
                    ),
                    traceId = "string",
                    type = "ACTION_GROUP"|"AGENT_COLLABORATOR"|"KNOWLEDGE_BASE"|"FINISH"|"ASK_USER"|"REPROMPT"
                  ),
                  rationale = list(
                    text = "string",
                    traceId = "string"
                  )
                ),
                postProcessingTrace = list(
                  modelInvocationInput = list(
                    foundationModel = "string",
                    inferenceConfiguration = list(
                      maximumLength = 123,
                      stopSequences = list(
                        "string"
                      ),
                      temperature = 123.0,
                      topK = 123,
                      topP = 123.0
                    ),
                    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 = list(
                    metadata = list(
                      clientRequestId = "string",
                      endTime = as.POSIXct(
                        "2015-01-01"
                      ),
                      operationTotalTimeMs = 123,
                      startTime = as.POSIXct(
                        "2015-01-01"
                      ),
                      totalTimeMs = 123,
                      usage = list(
                        inputTokens = 123,
                        outputTokens = 123
                      )
                    ),
                    parsedResponse = list(
                      text = "string"
                    ),
                    rawResponse = list(
                      content = "string"
                    ),
                    reasoningContent = list(
                      reasoningText = list(
                        signature = "string",
                        text = "string"
                      ),
                      redactedContent = raw
                    ),
                    traceId = "string"
                  )
                ),
                preProcessingTrace = list(
                  modelInvocationInput = list(
                    foundationModel = "string",
                    inferenceConfiguration = list(
                      maximumLength = 123,
                      stopSequences = list(
                        "string"
                      ),
                      temperature = 123.0,
                      topK = 123,
                      topP = 123.0
                    ),
                    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 = list(
                    metadata = list(
                      clientRequestId = "string",
                      endTime = as.POSIXct(
                        "2015-01-01"
                      ),
                      operationTotalTimeMs = 123,
                      startTime = as.POSIXct(
                        "2015-01-01"
                      ),
                      totalTimeMs = 123,
                      usage = list(
                        inputTokens = 123,
                        outputTokens = 123
                      )
                    ),
                    parsedResponse = list(
                      isValid = TRUE|FALSE,
                      rationale = "string"
                    ),
                    rawResponse = list(
                      content = "string"
                    ),
                    reasoningContent = list(
                      reasoningText = list(
                        signature = "string",
                        text = "string"
                      ),
                      redactedContent = raw
                    ),
                    traceId = "string"
                  )
                ),
                routingClassifierTrace = list(
                  invocationInput = list(
                    actionGroupInvocationInput = list(
                      actionGroupName = "string",
                      apiPath = "string",
                      executionType = "LAMBDA"|"RETURN_CONTROL",
                      function = "string",
                      invocationId = "string",
                      parameters = list(
                        list(
                          name = "string",
                          type = "string",
                          value = "string"
                        )
                      ),
                      requestBody = list(
                        content = list(
                          list(
                            list(
                              name = "string",
                              type = "string",
                              value = "string"
                            )
                          )
                        )
                      ),
                      verb = "string"
                    ),
                    agentCollaboratorInvocationInput = list(
                      agentCollaboratorAliasArn = "string",
                      agentCollaboratorName = "string",
                      input = list(
                        returnControlResults = list(
                          invocationId = "string",
                          returnControlInvocationResults = list(
                            list(
                              apiResult = list(
                                actionGroup = "string",
                                agentId = "string",
                                apiPath = "string",
                                confirmationState = "CONFIRM"|"DENY",
                                httpMethod = "string",
                                httpStatusCode = 123,
                                responseBody = list(
                                  list(
                                    body = "string",
                                    images = list(
                                      list(
                                        format = "png"|"jpeg"|"gif"|"webp",
                                        source = list(
                                          bytes = raw
                                        )
                                      )
                                    )
                                  )
                                ),
                                responseState = "FAILURE"|"REPROMPT"
                              ),
                              functionResult = list(
                                actionGroup = "string",
                                agentId = "string",
                                confirmationState = "CONFIRM"|"DENY",
                                function = "string",
                                responseBody = list(
                                  list(
                                    body = "string",
                                    images = list(
                                      list(
                                        format = "png"|"jpeg"|"gif"|"webp",
                                        source = list(
                                          bytes = raw
                                        )
                                      )
                                    )
                                  )
                                ),
                                responseState = "FAILURE"|"REPROMPT"
                              )
                            )
                          )
                        ),
                        text = "string",
                        type = "TEXT"|"RETURN_CONTROL"
                      )
                    ),
                    codeInterpreterInvocationInput = list(
                      code = "string",
                      files = list(
                        "string"
                      )
                    ),
                    invocationType = "ACTION_GROUP"|"KNOWLEDGE_BASE"|"FINISH"|"ACTION_GROUP_CODE_INTERPRETER"|"AGENT_COLLABORATOR",
                    knowledgeBaseLookupInput = list(
                      knowledgeBaseId = "string",
                      text = "string"
                    ),
                    traceId = "string"
                  ),
                  modelInvocationInput = list(
                    foundationModel = "string",
                    inferenceConfiguration = list(
                      maximumLength = 123,
                      stopSequences = list(
                        "string"
                      ),
                      temperature = 123.0,
                      topK = 123,
                      topP = 123.0
                    ),
                    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 = list(
                    metadata = list(
                      clientRequestId = "string",
                      endTime = as.POSIXct(
                        "2015-01-01"
                      ),
                      operationTotalTimeMs = 123,
                      startTime = as.POSIXct(
                        "2015-01-01"
                      ),
                      totalTimeMs = 123,
                      usage = list(
                        inputTokens = 123,
                        outputTokens = 123
                      )
                    ),
                    rawResponse = list(
                      content = "string"
                    ),
                    traceId = "string"
                  ),
                  observation = list(
                    actionGroupInvocationOutput = list(
                      metadata = list(
                        clientRequestId = "string",
                        endTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        operationTotalTimeMs = 123,
                        startTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        totalTimeMs = 123,
                        usage = list(
                          inputTokens = 123,
                          outputTokens = 123
                        )
                      ),
                      text = "string"
                    ),
                    agentCollaboratorInvocationOutput = list(
                      agentCollaboratorAliasArn = "string",
                      agentCollaboratorName = "string",
                      metadata = list(
                        clientRequestId = "string",
                        endTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        operationTotalTimeMs = 123,
                        startTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        totalTimeMs = 123,
                        usage = list(
                          inputTokens = 123,
                          outputTokens = 123
                        )
                      ),
                      output = list(
                        returnControlPayload = list(
                          invocationId = "string",
                          invocationInputs = list(
                            list(
                              apiInvocationInput = list(
                                actionGroup = "string",
                                actionInvocationType = "RESULT"|"USER_CONFIRMATION"|"USER_CONFIRMATION_AND_RESULT",
                                agentId = "string",
                                apiPath = "string",
                                collaboratorName = "string",
                                httpMethod = "string",
                                parameters = list(
                                  list(
                                    name = "string",
                                    type = "string",
                                    value = "string"
                                  )
                                ),
                                requestBody = list(
                                  content = list(
                                    list(
                                      properties = list(
                                        list(
                                          name = "string",
                                          type = "string",
                                          value = "string"
                                        )
                                      )
                                    )
                                  )
                                )
                              ),
                              functionInvocationInput = list(
                                actionGroup = "string",
                                actionInvocationType = "RESULT"|"USER_CONFIRMATION"|"USER_CONFIRMATION_AND_RESULT",
                                agentId = "string",
                                collaboratorName = "string",
                                function = "string",
                                parameters = list(
                                  list(
                                    name = "string",
                                    type = "string",
                                    value = "string"
                                  )
                                )
                              )
                            )
                          )
                        ),
                        text = "string",
                        type = "TEXT"|"RETURN_CONTROL"
                      )
                    ),
                    codeInterpreterInvocationOutput = list(
                      executionError = "string",
                      executionOutput = "string",
                      executionTimeout = TRUE|FALSE,
                      files = list(
                        "string"
                      ),
                      metadata = list(
                        clientRequestId = "string",
                        endTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        operationTotalTimeMs = 123,
                        startTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        totalTimeMs = 123,
                        usage = list(
                          inputTokens = 123,
                          outputTokens = 123
                        )
                      )
                    ),
                    finalResponse = list(
                      metadata = list(
                        clientRequestId = "string",
                        endTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        operationTotalTimeMs = 123,
                        startTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        totalTimeMs = 123,
                        usage = list(
                          inputTokens = 123,
                          outputTokens = 123
                        )
                      ),
                      text = "string"
                    ),
                    knowledgeBaseLookupOutput = list(
                      metadata = list(
                        clientRequestId = "string",
                        endTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        operationTotalTimeMs = 123,
                        startTime = as.POSIXct(
                          "2015-01-01"
                        ),
                        totalTimeMs = 123,
                        usage = list(
                          inputTokens = 123,
                          outputTokens = 123
                        )
                      ),
                      retrievedReferences = list(
                        list(
                          content = list(
                            audio = list(
                              s3Uri = "string",
                              transcription = "string"
                            ),
                            byteContent = "string",
                            row = list(
                              list(
                                columnName = "string",
                                columnValue = "string",
                                type = "BLOB"|"BOOLEAN"|"DOUBLE"|"NULL"|"LONG"|"STRING"
                              )
                            ),
                            text = "string",
                            type = "TEXT"|"IMAGE"|"ROW"|"AUDIO"|"VIDEO",
                            video = list(
                              s3Uri = "string",
                              summary = "string"
                            )
                          ),
                          location = list(
                            confluenceLocation = list(
                              url = "string"
                            ),
                            customDocumentLocation = list(
                              id = "string"
                            ),
                            kendraDocumentLocation = list(
                              uri = "string"
                            ),
                            s3Location = list(
                              uri = "string"
                            ),
                            salesforceLocation = list(
                              url = "string"
                            ),
                            sharePointLocation = list(
                              url = "string"
                            ),
                            sqlLocation = list(
                              query = "string"
                            ),
                            type = "S3"|"WEB"|"CONFLUENCE"|"SALESFORCE"|"SHAREPOINT"|"CUSTOM"|"KENDRA"|"SQL",
                            webLocation = list(
                              url = "string"
                            )
                          ),
                          metadata = list(
                            list()
                          )
                        )
                      )
                    ),
                    repromptResponse = list(
                      source = "ACTION_GROUP"|"KNOWLEDGE_BASE"|"PARSER",
                      text = "string"
                    ),
                    traceId = "string",
                    type = "ACTION_GROUP"|"AGENT_COLLABORATOR"|"KNOWLEDGE_BASE"|"FINISH"|"ASK_USER"|"REPROMPT"
                  )
                )
              )
            )
          )
        )
      ),
      nodeFailureEvent = list(
        errorCode = "VALIDATION"|"DEPENDENCY_FAILED"|"BAD_GATEWAY"|"INTERNAL_SERVER",
        errorMessage = "string",
        nodeName = "string",
        timestamp = as.POSIXct(
          "2015-01-01"
        )
      ),
      nodeInputEvent = list(
        fields = list(
          list(
            category = "LoopCondition"|"ReturnValueToLoopStart"|"ExitLoop",
            content = list(
              document = list()
            ),
            executionChain = list(
              list(
                index = 123,
                nodeName = "string",
                type = "Iterator"|"Loop"
              )
            ),
            name = "string",
            source = list(
              expression = "string",
              nodeName = "string",
              outputFieldName = "string"
            ),
            type = "String"|"Number"|"Boolean"|"Object"|"Array"
          )
        ),
        nodeName = "string",
        timestamp = as.POSIXct(
          "2015-01-01"
        )
      ),
      nodeOutputEvent = list(
        fields = list(
          list(
            content = list(
              document = list()
            ),
            name = "string",
            next = list(
              list(
                inputFieldName = "string",
                nodeName = "string"
              )
            ),
            type = "String"|"Number"|"Boolean"|"Object"|"Array"
          )
        ),
        nodeName = "string",
        timestamp = as.POSIXct(
          "2015-01-01"
        )
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_flow_execution_events(
  eventType = "Node"|"Flow",
  executionIdentifier = "string",
  flowAliasIdentifier = "string",
  flowIdentifier = "string",
  maxResults = 123,
  nextToken = "string"
)