Skip to main content

test_set_discrepancy_reports

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

Overview

Nametest_set_discrepancy_reports
TypeResource
Idaws.lexv2_models.test_set_discrepancy_reports

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
creation_date_timestring (date-time)The time and date of creation for the test set discrepancy report.
failure_reasonsarrayThe failure report for the test set discrepancy report generation action.
last_updated_data_timestring (date-time)The date and time of the last update for the test set discrepancy report.
targetobjectContains information about the resource used for the test set discrepancy report.
test_set_discrepancy_raw_output_urlstringPre-signed Amazon S3 URL to download the test set discrepancy report.
test_set_discrepancy_report_idstringThe unique identifier of the test set discrepancy report to describe. (pattern: <code>^[0-9a-zA-Z]+$</code>)
test_set_discrepancy_report_statusstringThe status for the test set discrepancy report. (InProgress, Completed, Failed)
test_set_discrepancy_top_errorsobjectThe top 200 error results from the test set discrepancy report.
test_set_idstringThe test set Id for the test set discrepancy report. (pattern: <code>^[0-9a-zA-Z]+$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_test_set_discrepancy_reportselecttest_set_discrepancy_report_id, regionGets metadata information about the test set discrepancy report.
create_test_set_discrepancy_reportinserttest_set_id, region, targetCreate a report that describes the differences between the bot and the test set.

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_set_discrepancy_report_idstringThe unique identifier of the test set discrepancy report.
test_set_idstringThe test set Id for the test set discrepancy report.

SELECT examples

Gets metadata information about the test set discrepancy report.

SELECT
creation_date_time,
failure_reasons,
last_updated_data_time,
target,
test_set_discrepancy_raw_output_url,
test_set_discrepancy_report_id,
test_set_discrepancy_report_status,
test_set_discrepancy_top_errors,
test_set_id
FROM aws.lexv2_models.test_set_discrepancy_reports
WHERE test_set_discrepancy_report_id = '{{ test_set_discrepancy_report_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Create a report that describes the differences between the bot and the test set.

INSERT INTO aws.lexv2_models.test_set_discrepancy_reports (
target,
test_set_id,
region
)
SELECT
'{{ target }}' /* required */,
'{{ test_set_id }}',
'{{ region }}'
RETURNING
creation_date_time,
target,
test_set_discrepancy_report_id,
test_set_id
;