Skip to content

List Test Execution Result Items

lexmodelsv2_list_test_execution_result_items R Documentation

Gets a list of test execution result items

Description

Gets a list of test execution result items.

Usage

lexmodelsv2_list_test_execution_result_items(testExecutionId,
  resultFilterBy, maxResults, nextToken)

Arguments

testExecutionId

[required] The unique identifier of the test execution to list the result items.

resultFilterBy

[required] The filter for the list of results from the test set execution.

maxResults

The maximum number of test execution result items to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.

nextToken

If the response from the list_test_execution_result_items operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.

Value

A list with the following syntax:

list(
  testExecutionResults = list(
    overallTestResults = list(
      items = list(
        list(
          multiTurnConversation = TRUE|FALSE,
          totalResultCount = 123,
          speechTranscriptionResultCounts = list(
            123
          ),
          endToEndResultCounts = list(
            123
          )
        )
      )
    ),
    conversationLevelTestResults = list(
      items = list(
        list(
          conversationId = "string",
          endToEndResult = "Matched"|"Mismatched"|"ExecutionError",
          speechTranscriptionResult = "Matched"|"Mismatched"|"ExecutionError",
          intentClassificationResults = list(
            list(
              intentName = "string",
              matchResult = "Matched"|"Mismatched"|"ExecutionError"
            )
          ),
          slotResolutionResults = list(
            list(
              intentName = "string",
              slotName = "string",
              matchResult = "Matched"|"Mismatched"|"ExecutionError"
            )
          )
        )
      )
    ),
    intentClassificationTestResults = list(
      items = list(
        list(
          intentName = "string",
          multiTurnConversation = TRUE|FALSE,
          resultCounts = list(
            totalResultCount = 123,
            speechTranscriptionResultCounts = list(
              123
            ),
            intentMatchResultCounts = list(
              123
            )
          )
        )
      )
    ),
    intentLevelSlotResolutionTestResults = list(
      items = list(
        list(
          intentName = "string",
          multiTurnConversation = TRUE|FALSE,
          slotResolutionResults = list(
            list(
              slotName = "string",
              resultCounts = list(
                totalResultCount = 123,
                speechTranscriptionResultCounts = list(
                  123
                ),
                slotMatchResultCounts = list(
                  123
                )
              )
            )
          )
        )
      )
    ),
    utteranceLevelTestResults = list(
      items = list(
        list(
          recordNumber = 123,
          conversationId = "string",
          turnResult = list(
            agent = list(
              expectedAgentPrompt = "string",
              actualAgentPrompt = "string",
              errorDetails = list(
                errorCode = "string",
                errorMessage = "string"
              ),
              actualElicitedSlot = "string",
              actualIntent = "string"
            ),
            user = list(
              input = list(
                utteranceInput = list(
                  textInput = "string",
                  audioInput = list(
                    audioFileS3Location = "string"
                  )
                ),
                requestAttributes = list(
                  "string"
                ),
                sessionState = list(
                  sessionAttributes = list(
                    "string"
                  ),
                  activeContexts = list(
                    list(
                      name = "string"
                    )
                  ),
                  runtimeHints = list(
                    slotHints = list(
                      list(
                        list(
                          runtimeHintValues = list(
                            list(
                              phrase = "string"
                            )
                          ),
                          subSlotHints = list()
                        )
                      )
                    )
                  )
                )
              ),
              expectedOutput = list(
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      value = "string",
                      values = list(
                        list()
                      ),
                      subSlots = list()
                    )
                  )
                ),
                activeContexts = list(
                  list(
                    name = "string"
                  )
                ),
                transcript = "string"
              ),
              actualOutput = list(
                intent = list(
                  name = "string",
                  slots = list(
                    list(
                      value = "string",
                      values = list(
                        list()
                      ),
                      subSlots = list()
                    )
                  )
                ),
                activeContexts = list(
                  list(
                    name = "string"
                  )
                ),
                transcript = "string"
              ),
              errorDetails = list(
                errorCode = "string",
                errorMessage = "string"
              ),
              endToEndResult = "Matched"|"Mismatched"|"ExecutionError",
              intentMatchResult = "Matched"|"Mismatched"|"ExecutionError",
              slotMatchResult = "Matched"|"Mismatched"|"ExecutionError",
              speechTranscriptionResult = "Matched"|"Mismatched"|"ExecutionError",
              conversationLevelResult = list(
                endToEndResult = "Matched"|"Mismatched"|"ExecutionError",
                speechTranscriptionResult = "Matched"|"Mismatched"|"ExecutionError"
              )
            )
          )
        )
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_test_execution_result_items(
  testExecutionId = "string",
  resultFilterBy = list(
    resultTypeFilter = "OverallTestResults"|"ConversationLevelTestResults"|"IntentClassificationTestResults"|"SlotResolutionTestResults"|"UtteranceLevelResults",
    conversationLevelTestResultsFilterBy = list(
      endToEndResult = "Matched"|"Mismatched"|"ExecutionError"
    )
  ),
  maxResults = 123,
  nextToken = "string"
)