Evaluation
¶
Source code in docs_src/capo_connect/types/evaluation.py
answers
instance-attribute
¶
answers: EvaluationAnswersOutputMap
A map of question identifiers to answer value.
created_time
instance-attribute
¶
created_time: Timestamp
The timestamp for when the evaluation was created.
evaluation_arn
instance-attribute
¶
evaluation_arn: ARN
The Amazon Resource Name (ARN) for the contact evaluation resource.
evaluation_id
instance-attribute
¶
evaluation_id: ResourceId
A unique identifier for the contact evaluation.
evaluation_type
instance-attribute
¶
evaluation_type: NotRequired[EvaluationType]
Type of the evaluation.
item_enablement_status
instance-attribute
¶
item_enablement_status: NotRequired[EvaluationEnablementStatusMap]
A map of item (section or question) identifiers to their enablement status, computed by the service from each item's conditional enablement configuration. Disabled items are excluded from scoring. Valid values: ENABLED | DISABLED.
last_modified_time
instance-attribute
¶
last_modified_time: Timestamp
The timestamp for when the evaluation was last updated.
scores
instance-attribute
¶
scores: NotRequired[EvaluationScoresMap]
A map of item (section or question) identifiers to score value.
source_resolution_status
instance-attribute
¶
source_resolution_status: NotRequired[EvaluationItemResolutionStatus]
The aggregate status of resolving the external source data (such as Contact Lens analysis and AI metrics) that is used by conditional enablement in the evaluation. Source data is resolved asynchronously after the evaluation is started. While a source is pending or after it fails to resolve, conditions that depend on it evaluate to the item's DefaultAction. Valid values:
-
PENDING- One or more sources have not been resolved yet. CallDescribeContactEvaluationagain to get updatedItemEnablementStatusvalues. -
RESOLVED- All sources have been resolved. -
FAILED- One or more sources could not be resolved. Dependent conditions use the item'sDefaultAction.
source_values
instance-attribute
¶
source_values: NotRequired[EvaluationResolvedSourceList]
The resolved values of the external sources (such as contact data, evaluation metadata, form metadata, and AI metrics) that are used by the conditions in the evaluation form. You can use these values to evaluate the conditions against the current answers without calling DescribeContactEvaluation again.