Skip to main content

test_set_generations

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

Overview

Nametest_set_generations
TypeResource
Idaws.lexv2_models.test_set_generations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
creation_date_timestring (date-time)The creation date and time for the test set generation.
descriptionstringThe test set description for the test set generation.
failure_reasonsarrayThe reasons the test set generation failed.
generation_data_sourceobjectThe data source of the test set used for the test set generation.
last_updated_date_timestring (date-time)The date and time of the last update for the test set generation.
role_arnstringThe roleARN of the test set used for the test set generation. (pattern: <code>^arn:aws:iam::[0-9]{12}:role/.*$</code>)
storage_locationobjectThe Amazon S3 storage location for the test set generation.
test_set_generation_idstringThe unique identifier of the test set generation. (pattern: <code>^[0-9a-zA-Z]+$</code>)
test_set_generation_statusstringThe status for the test set generation. (Generating, Ready, Failed, Pending)
test_set_idstringThe unique identifier for the test set created for the generated test set. (pattern: <code>^[0-9a-zA-Z]+$</code>)
test_set_namestringThe test set name for the generated test set. (pattern: <code>^([0-9a-zA-Z][_-]?){1,100}$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_test_set_generationselecttest_set_generation_id, regionGets metadata information about the test set generation.

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_generation_idstringThe unique identifier of the test set generation.

SELECT examples

Gets metadata information about the test set generation.

SELECT
creation_date_time,
description,
failure_reasons,
generation_data_source,
last_updated_date_time,
role_arn,
storage_location,
test_set_generation_id,
test_set_generation_status,
test_set_id,
test_set_name
FROM aws.lexv2_models.test_set_generations
WHERE test_set_generation_id = '{{ test_set_generation_id }}' -- required
AND region = '{{ region }}' -- required
;