Skip to main content

evaluation_forms

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

Overview

Nameevaluation_forms
TypeResource
Idaws.connect.evaluation_forms

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
auto_evaluation_configurationobjectThe automatic evaluation configuration of an evaluation form.
created_bystringThe Amazon Resource Name (ARN) of the user who created the evaluation form.
created_timestring (date-time)The timestamp for when the evaluation form was created.
descriptionstringThe description of the evaluation form.
evaluation_form_arnstringThe Amazon Resource Name (ARN) for the evaluation form resource.
evaluation_form_idstringThe unique identifier for the evaluation form.
evaluation_form_versionintegerA version of the evaluation form.
itemsarrayItems that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
language_configurationobjectLanguage configuration for an evaluation form.
last_modified_bystringThe Amazon Resource Name (ARN) of the user who last updated the evaluation form.
last_modified_timestring (date-time)The timestamp for when the evaluation form was last updated.
last_validation_timestring (date-time)The timestamp when the most recent validation was started for this evaluation form.
latest_validation_statusstringThe status of the most recent validation run for this evaluation form. Valid values: IN_PROGRESS, COMPLETED, FAILED. (IN_PROGRESS, COMPLETED, FAILED)
lockedbooleanThe flag indicating whether the evaluation form is locked for changes.
review_configurationobjectConfiguration settings for evaluation reviews.
scoring_strategyobjectInformation about scoring strategy for an evaluation form.
statusstringThe status of the evaluation form. (DRAFT, ACTIVE)
tagsobjectThe tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
target_configurationobjectConfiguration that specifies the target for an evaluation form.
titlestringA title of the evaluation form.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_evaluation_formselectinstance_id, evaluation_form_id, regionversionDescribes an evaluation form in the specified Connect Customer instance. If the version property is not provided, the latest version of the evaluation form is described.
list_evaluation_formsselectinstance_id, regionmaxResults, nextTokenLists evaluation forms in the specified Connect Customer instance.
search_evaluation_formsselectregionSearches evaluation forms in an Connect Customer instance, with optional filtering. Use cases Following are common uses cases for this API: List all evaluation forms in an instance. Find all evaluation forms that meet specific criteria, such as Title, Description, Status, and more. Find all evaluation forms that are tagged with a specific set of tags. Important things to know A Search operation, unlike a List operation, takes time to index changes to resource (create, update or delete). If you don't see updated information for recently changed contact evaluations, try calling the API again in a few seconds. Endpoints: See Connect Customer endpoints and quotas.
create_evaluation_forminsertinstance_id, region, ItemsCreates an evaluation form in the specified Connect Customer instance. The form can be used to define questions related to agent performance, and create sections to organize such questions. Question and section identifiers cannot be duplicated within the same evaluation form.
update_evaluation_formupdateinstance_id, evaluation_form_id, region, EvaluationFormVersion, ItemsUpdates details about a specific evaluation form version in the specified Connect Customer instance. Question and section identifiers cannot be duplicated within the same evaluation form. This operation does not support partial updates. Instead it does a full update of evaluation form content.
delete_evaluation_formdeleteinstance_id, evaluation_form_id, regionversionDeletes an evaluation form in the specified Connect Customer instance. If the version property is provided, only the specified version of the evaluation form is deleted. If no version is provided, then the full form (all versions) is deleted.
activate_evaluation_formexecinstance_id, evaluation_form_id, region, EvaluationFormVersionActivates an evaluation form in the specified Connect Customer instance. After the evaluation form is activated, it is available to start new evaluations based on the form.
deactivate_evaluation_formexecinstance_id, evaluation_form_id, region, EvaluationFormVersionDeactivates an evaluation form in the specified Connect Customer instance. After a form is deactivated, it is no longer available for users to start new evaluations based on the form.
start_evaluation_form_validationexecinstance_id, evaluation_form_id, region, EvaluationFormVersionStarts an asynchronous validation process for an evaluation form version in the specified Connect Customer instance. The validation first performs structural checks on the form content (such as verifying required fields, valid scoring configuration, and correct conditional logic), then asynchronously analyzes questions configured for generative AI evaluation against a set of best practices. Use GetEvaluationFormValidation to retrieve the status and results once the validation completes.

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)
maxResultsintegerThe maximum number of results to return per page.
nextTokenstringThe token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
versionintegerThe unique identifier for the evaluation form.

SELECT examples

Describes an evaluation form in the specified Connect Customer instance. If the version property is not provided, the latest version of the evaluation form is described.

SELECT
auto_evaluation_configuration,
created_by,
created_time,
description,
evaluation_form_arn,
evaluation_form_id,
evaluation_form_version,
items,
language_configuration,
last_modified_by,
last_modified_time,
last_validation_time,
latest_validation_status,
locked,
review_configuration,
scoring_strategy,
status,
tags,
target_configuration,
title
FROM aws.connect.evaluation_forms
WHERE instance_id = '{{ instance_id }}' -- required
AND evaluation_form_id = '{{ evaluation_form_id }}' -- required
AND region = '{{ region }}' -- required
AND version = '{{ version }}'
;

INSERT examples

Creates an evaluation form in the specified Connect Customer instance. The form can be used to define questions related to agent performance, and create sections to organize such questions. Question and section identifiers cannot be duplicated within the same evaluation form.

INSERT INTO aws.connect.evaluation_forms (
Title,
Description,
Items,
ScoringStrategy,
AutoEvaluationConfiguration,
ClientToken,
AsDraft,
Tags,
ReviewConfiguration,
TargetConfiguration,
LanguageConfiguration,
instance_id,
region
)
SELECT
'{{ Title }}',
'{{ Description }}',
'{{ Items }}' /* required */,
'{{ ScoringStrategy }}',
'{{ AutoEvaluationConfiguration }}',
'{{ ClientToken }}',
{{ AsDraft }},
'{{ Tags }}',
'{{ ReviewConfiguration }}',
'{{ TargetConfiguration }}',
'{{ LanguageConfiguration }}',
'{{ instance_id }}',
'{{ region }}'
RETURNING
evaluation_form_arn,
evaluation_form_id
;

UPDATE examples

Updates details about a specific evaluation form version in the specified Connect Customer instance. Question and section identifiers cannot be duplicated within the same evaluation form. This operation does not support partial updates. Instead it does a full update of evaluation form content.

UPDATE aws.connect.evaluation_forms
SET
EvaluationFormVersion = {{ EvaluationFormVersion }},
CreateNewVersion = {{ CreateNewVersion }},
Title = '{{ Title }}',
Description = '{{ Description }}',
Items = '{{ Items }}',
ScoringStrategy = '{{ ScoringStrategy }}',
AutoEvaluationConfiguration = '{{ AutoEvaluationConfiguration }}',
ReviewConfiguration = '{{ ReviewConfiguration }}',
AsDraft = {{ AsDraft }},
ClientToken = '{{ ClientToken }}',
TargetConfiguration = '{{ TargetConfiguration }}',
LanguageConfiguration = '{{ LanguageConfiguration }}'
WHERE
instance_id = '{{ instance_id }}' --required
AND evaluation_form_id = '{{ evaluation_form_id }}' --required
AND region = '{{ region }}' --required
AND EvaluationFormVersion = '{{ EvaluationFormVersion }}' --required
AND Items = '{{ Items }}' --required
RETURNING
evaluation_form_arn,
evaluation_form_id,
evaluation_form_version;

DELETE examples

Deletes an evaluation form in the specified Connect Customer instance. If the version property is provided, only the specified version of the evaluation form is deleted. If no version is provided, then the full form (all versions) is deleted.

DELETE FROM aws.connect.evaluation_forms
WHERE instance_id = '{{ instance_id }}' --required
AND evaluation_form_id = '{{ evaluation_form_id }}' --required
AND region = '{{ region }}' --required
AND version = '{{ version }}'
;

Lifecycle Methods

Activates an evaluation form in the specified Connect Customer instance. After the evaluation form is activated, it is available to start new evaluations based on the form.

EXEC aws.connect.evaluation_forms.activate_evaluation_form
@instance_id='{{ instance_id }}' --required,
@evaluation_form_id='{{ evaluation_form_id }}' --required,
@region='{{ region }}' --required
@@json=
'{
"EvaluationFormVersion": {{ EvaluationFormVersion }}
}'
;