test_executions
Creates, updates, deletes, gets or lists a test_executions resource.
Overview
| Name | test_executions |
| Type | Resource |
| Id | aws.lexv2_models.test_executions |
Fields
The following fields are returned by SELECT queries:
- describe_test_execution
- list_test_executions
| Name | Datatype | Description |
|---|---|---|
api_mode | string | Indicates 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_time | string (date-time) | The execution creation date and time for the test set execution. |
failure_reasons | array | Reasons for the failure of the test set execution. |
last_updated_date_time | string (date-time) | The date and time of the last update for the execution. |
target | object | The target bot for the test set execution details. |
test_execution_id | string | The execution Id for the test set execution. (pattern: <code>^[0-9a-zA-Z]+$</code>) |
test_execution_modality | string | Indicates whether test set is audio or text. (Text, Audio) |
test_execution_status | string | The test execution status for the test execution. (Pending, Waiting, InProgress, Completed, Failed, Stopping, Stopped) |
test_set_id | string | The test set Id for the test set execution. (pattern: <code>^[0-9a-zA-Z]+$</code>) |
test_set_name | string | The test set name of the test set execution. (pattern: <code>^([0-9a-zA-Z][_-]?){1,100}$</code>) |
| Name | Datatype | Description |
|---|---|---|
next_token | string | A token that indicates whether there are more results to return in a response to the ListTestExecutions operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestExecutions operation request to get the next page of results. |
test_executions | array | The list of test executions. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_test_execution | select | test_execution_id, region | Gets metadata information about the test execution. | |
list_test_executions | select | region | The 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
test_execution_id | string | The execution Id of the test set execution. |
SELECT examples
- describe_test_execution
- list_test_executions
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
;
The list of test set executions.
SELECT
next_token,
test_executions
FROM aws.lexv2_models.test_executions
WHERE region = '{{ region }}' -- required
;