CreateLeaderboardRequest
¶
Source code in docs_src/capo_sagemaker/types/create_leaderboard_request.py
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.