Skip to content

GetCandidateResponse

Source code in docs_src/capo_sagemaker/types/get_candidate_response.py
class GetCandidateResponse(TypedDict, closed=True):
    candidate_id: NotRequired[
        "capo_sagemaker.types.leaderboard_candidate_id.LeaderboardCandidateId"
    ]
    """<p>The ID of the candidate.</p>"""
    leaderboard_arn: NotRequired["capo_sagemaker.types.leaderboard_arn.LeaderboardArn"]
    """<p>The Amazon Resource Name (ARN) of the leaderboard that the candidate belongs to.</p>"""
    display_name: NotRequired[
        "capo_sagemaker.types.leaderboard_candidate_display_name.LeaderboardCandidateDisplayName"
    ]
    """<p>The display name of the candidate.</p>"""
    labels: NotRequired[
        "capo_sagemaker.types.leaderboard_label_map.LeaderboardLabelMap"
    ]
    """<p>The labels of the candidate.</p>"""
    candidate_config: NotRequired[
        "capo_sagemaker.types.leaderboard_candidate_config.LeaderboardCandidateConfig"
    ]
    """<p>The configuration that identifies the candidate.</p>"""
    evaluation_results: NotRequired[
        "capo_sagemaker.types.leaderboard_evaluation_result_list.LeaderboardEvaluationResultList"
    ]
    """<p>All of the evaluation metrics that were added to the candidate, grouped by evaluation criterion.</p>"""
    creation_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>When the candidate was added to the leaderboard.</p>"""
    last_modified_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>When the candidate was last modified.</p>"""

candidate_config instance-attribute

candidate_config: NotRequired[LeaderboardCandidateConfig]

The configuration that identifies the candidate.

candidate_id instance-attribute

candidate_id: NotRequired[LeaderboardCandidateId]

The ID of the candidate.

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

When the candidate was added to the leaderboard.

display_name instance-attribute

display_name: NotRequired[LeaderboardCandidateDisplayName]

The display name of the candidate.

evaluation_results instance-attribute

evaluation_results: NotRequired[LeaderboardEvaluationResultList]

All of the evaluation metrics that were added to the candidate, grouped by evaluation criterion.

labels instance-attribute

labels: NotRequired[LeaderboardLabelMap]

The labels of the candidate.

last_modified_time instance-attribute

last_modified_time: NotRequired[Timestamp]

When the candidate was last modified.

leaderboard_arn instance-attribute

leaderboard_arn: NotRequired[LeaderboardArn]

The Amazon Resource Name (ARN) of the leaderboard that the candidate belongs to.