Skip to content

Evaluation

Source code in docs_src/capo_connect/types/evaluation.py
class Evaluation(TypedDict, closed=True):
    evaluation_id: "capo_connect.types.resource_id.ResourceId"
    """<p>A unique identifier for the contact evaluation.</p>"""
    evaluation_arn: "capo_connect.types.arn.ARN"
    """<p>The Amazon Resource Name (ARN) for the contact evaluation resource.</p>"""
    metadata: "capo_connect.types.evaluation_metadata.EvaluationMetadata"
    """<p>Metadata about the contact evaluation.</p>"""
    answers: (
        "capo_connect.types.evaluation_answers_output_map.EvaluationAnswersOutputMap"
    )
    """<p>A map of question identifiers to answer value.</p>"""
    notes: "capo_connect.types.evaluation_notes_map.EvaluationNotesMap"
    """<p>A map of question identifiers to note value.</p>"""
    status: "capo_connect.types.evaluation_status.EvaluationStatus"
    """<p>The status of the contact evaluation.</p>"""
    scores: NotRequired["capo_connect.types.evaluation_scores_map.EvaluationScoresMap"]
    """<p>A map of item (section or question) identifiers to score value.</p>"""
    created_time: "capo_connect.types.timestamp.Timestamp"
    """<p>The timestamp for when the evaluation was created.</p>"""
    last_modified_time: "capo_connect.types.timestamp.Timestamp"
    """<p>The timestamp for when the evaluation was last updated.</p>"""
    evaluation_type: NotRequired["capo_connect.types.evaluation_type.EvaluationType"]
    """<p>Type of the evaluation. </p>"""
    tags: NotRequired["capo_connect.types.tag_map.TagMap"]
    """<p>The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.</p>"""
    item_enablement_status: NotRequired[
        "capo_connect.types.evaluation_enablement_status_map.EvaluationEnablementStatusMap"
    ]
    """<p>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: <code>ENABLED</code> | <code>DISABLED</code>.</p>"""
    source_resolution_status: NotRequired[
        "capo_connect.types.evaluation_item_resolution_status.EvaluationItemResolutionStatus"
    ]
    """<p>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 <code>DefaultAction</code>. Valid values:</p> <ul> <li> <p> <code>PENDING</code> - One or more sources have not been resolved yet. Call <code>DescribeContactEvaluation</code> again to get updated <code>ItemEnablementStatus</code> values.</p> </li> <li> <p> <code>RESOLVED</code> - All sources have been resolved.</p> </li> <li> <p> <code>FAILED</code> - One or more sources could not be resolved. Dependent conditions use the item's <code>DefaultAction</code>.</p> </li> </ul>"""
    source_values: NotRequired[
        "capo_connect.types.evaluation_resolved_source_list.EvaluationResolvedSourceList"
    ]
    """<p>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 <code>DescribeContactEvaluation</code> again.</p>"""

answers instance-attribute

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.

metadata instance-attribute

Metadata about the contact evaluation.

notes instance-attribute

A map of question identifiers to note value.

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. Call DescribeContactEvaluation again to get updated ItemEnablementStatus values.

  • RESOLVED - All sources have been resolved.

  • FAILED - One or more sources could not be resolved. Dependent conditions use the item's DefaultAction.

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.

status instance-attribute

The status of the contact evaluation.

tags instance-attribute

tags: NotRequired[TagMap]

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.