Skip to content

CreateLeaderboardRequest

Source code in docs_src/capo_sagemaker/types/create_leaderboard_request.py
class CreateLeaderboardRequest(TypedDict, closed=True):
    name: NotRequired["capo_sagemaker.types.leaderboard_name.LeaderboardName"]
    """<p>The name of the leaderboard. The name must be unique in your account in the current Region.</p>"""
    type: NotRequired["capo_sagemaker.types.leaderboard_type.LeaderboardType"]
    """<p>The type of the leaderboard. The type determines what kind of candidates the leaderboard ranks.</p>"""
    description: NotRequired[
        "capo_sagemaker.types.leaderboard_description.LeaderboardDescription"
    ]
    """<p>A description of the leaderboard.</p>"""
    required_metrics: NotRequired[
        "capo_sagemaker.types.leaderboard_required_metric_list.LeaderboardRequiredMetricList"
    ]
    """<p>The metrics that you expect each candidate on the leaderboard to report, grouped by evaluation criterion. SageMaker stores this list with the leaderboard and returns it in <code>GetLeaderboard</code>. <code>AddCandidate</code> doesn't check evaluation metrics against this list. You can't change the list after you create the leaderboard.</p>"""
    client_token: NotRequired[
        "capo_sagemaker.types.leaderboard_client_token.LeaderboardClientToken"
    ]
    """<p>A unique, case-sensitive identifier for the request. If you don't specify a client token, the Amazon Web Services SDKs and the Amazon Web Services CLI generate one for you.</p>"""
    tags: NotRequired["capo_sagemaker.types.tag_list.TagList"]
    """<p>Tags to apply to the leaderboard. You can add tags to your leaderboard in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see <a href="https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html">Tagging your Amazon Web Services resources</a> in the <i>Tagging Amazon Web Services Resources User Guide</i>.</p>"""

client_token instance-attribute

client_token: NotRequired[LeaderboardClientToken]

A unique, case-sensitive identifier for the request. If you don't specify a client token, the Amazon Web Services SDKs and the Amazon Web Services CLI generate one for you.

description instance-attribute

description: NotRequired[LeaderboardDescription]

A description of the leaderboard.

name instance-attribute

name: NotRequired[LeaderboardName]

The name of the leaderboard. The name must be unique in your account in the current Region.

required_metrics instance-attribute

required_metrics: NotRequired[LeaderboardRequiredMetricList]

The metrics that you expect each candidate on the leaderboard to report, grouped by evaluation criterion. SageMaker stores this list with the leaderboard and returns it in GetLeaderboard. AddCandidate doesn't check evaluation metrics against this list. You can't change the list after you create the leaderboard.

tags instance-attribute

tags: NotRequired[TagList]

Tags to apply to the leaderboard. You can add tags to your leaderboard in the same way you add them in other Amazon Web Services services that support tagging. For more information about tagging Amazon Web Services resources, see Tagging your Amazon Web Services resources in the Tagging Amazon Web Services Resources User Guide.

type instance-attribute

type: NotRequired[LeaderboardType]

The type of the leaderboard. The type determines what kind of candidates the leaderboard ranks.