Skip to main content

evaluation_form_validations

Creates, updates, deletes, gets or lists an evaluation_form_validations resource.

Overview

Nameevaluation_form_validations
TypeResource
Idaws.connect.evaluation_form_validations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
evaluation_form_idstringThe unique identifier for the evaluation form.
evaluation_form_versionintegerA version of the evaluation form.
failure_reasonstringThe reason the validation failed. This field is populated only when the status is FAILED.
findingsarrayA list of findings from the validation process. Each finding identifies a structural issue or quality improvement for the evaluation form, and may include a suggested fix. This field is populated when the status is COMPLETED.
started_timestring (date-time)The timestamp when the validation process was started.
statusstringThe current status of the validation process. Valid values: IN_PROGRESS, COMPLETED, FAILED. (IN_PROGRESS, COMPLETED, FAILED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_evaluation_form_validationselectinstance_id, evaluation_form_id, regionversionRetrieves the status and results of a validation process started by StartEvaluationFormValidation. Returns the current execution status (IN_PROGRESS, COMPLETED, or FAILED), the validated form version, and when completed, a list of findings that identify structural issues and quality improvements for the evaluation form, and may include suggested fixes. If the validation failed, a reason is provided indicating the cause of the failure.

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
evaluation_form_idstringThe unique identifier for the evaluation form.
instance_idstringThe identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
regionstringAWS region (default: us-east-1)
versionintegerThe version of the evaluation form to retrieve validation results for.

SELECT examples

Retrieves the status and results of a validation process started by StartEvaluationFormValidation. Returns the current execution status (IN_PROGRESS, COMPLETED, or FAILED), the validated form version, and when completed, a list of findings that identify structural issues and quality improvements for the evaluation form, and may include suggested fixes. If the validation failed, a reason is provided indicating the cause of the failure.

SELECT
evaluation_form_id,
evaluation_form_version,
failure_reason,
findings,
started_time,
status
FROM aws.connect.evaluation_form_validations
WHERE instance_id = '{{ instance_id }}' -- required
AND evaluation_form_id = '{{ evaluation_form_id }}' -- required
AND region = '{{ region }}' -- required
AND version = '{{ version }}'
;