Skip to content

Start Test Execution

lexmodelsv2_start_test_execution R Documentation

The action to start test set execution

Description

The action to start test set execution.

Usage

lexmodelsv2_start_test_execution(testSetId, target, apiMode,
  testExecutionModality)

Arguments

testSetId

[required] The test set Id for the test set execution.

target

[required] The target bot for the test set execution.

apiMode

[required] Indicates whether we use streaming or non-streaming APIs for the test set execution. For streaming, StartConversation Runtime API is used. Whereas, for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API are used.

testExecutionModality

Indicates whether audio or text is used.

Value

A list with the following syntax:

list(
  testExecutionId = "string",
  creationDateTime = as.POSIXct(
    "2015-01-01"
  ),
  testSetId = "string",
  target = list(
    botAliasTarget = list(
      botId = "string",
      botAliasId = "string",
      localeId = "string"
    )
  ),
  apiMode = "Streaming"|"NonStreaming",
  testExecutionModality = "Text"|"Audio"
)

Request syntax

svc$start_test_execution(
  testSetId = "string",
  target = list(
    botAliasTarget = list(
      botId = "string",
      botAliasId = "string",
      localeId = "string"
    )
  ),
  apiMode = "Streaming"|"NonStreaming",
  testExecutionModality = "Text"|"Audio"
)