Skip to main content

test_executions

Creates, updates, deletes, gets or lists a test_executions resource.

Overview

Nametest_executions
TypeResource
Idaws.lexv2_models.test_executions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
api_modestringIndicates whether we use streaming or non-streaming APIs are used for the test set execution. For streaming, StartConversation Amazon Lex Runtime API is used. Whereas for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API is used. (Streaming, NonStreaming)
creation_date_timestring (date-time)The execution creation date and time for the test set execution.
failure_reasonsarrayReasons for the failure of the test set execution.
last_updated_date_timestring (date-time)The date and time of the last update for the execution.
targetobjectThe target bot for the test set execution details.
test_execution_idstringThe execution Id for the test set execution. (pattern: <code>^[0-9a-zA-Z]+$</code>)
test_execution_modalitystringIndicates whether test set is audio or text. (Text, Audio)
test_execution_statusstringThe test execution status for the test execution. (Pending, Waiting, InProgress, Completed, Failed, Stopping, Stopped)
test_set_idstringThe test set Id for the test set execution. (pattern: <code>^[0-9a-zA-Z]+$</code>)
test_set_namestringThe test set name of the test set execution. (pattern: <code>^([0-9a-zA-Z][_-]?){1,100}$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_test_executionselecttest_execution_id, regionGets metadata information about the test execution.
list_test_executionsselectregionThe list of test set executions.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
test_execution_idstringThe execution Id of the test set execution.

SELECT examples

Gets metadata information about the test execution.

SELECT
api_mode,
creation_date_time,
failure_reasons,
last_updated_date_time,
target,
test_execution_id,
test_execution_modality,
test_execution_status,
test_set_id,
test_set_name
FROM aws.lexv2_models.test_executions
WHERE test_execution_id = '{{ test_execution_id }}' -- required
AND region = '{{ region }}' -- required
;