AddCandidateRequest
¶
Source code in docs_src/capo_sagemaker/types/add_candidate_request.py
candidate_config
instance-attribute
¶
candidate_config: NotRequired[LeaderboardCandidateConfig]
The configuration that identifies the candidate. Candidates with the same configuration have the same CandidateId.
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.
display_name
instance-attribute
¶
display_name: NotRequired[LeaderboardCandidateDisplayName]
A display name for the candidate. SageMaker uses this value only when it creates the candidate. If the candidate already exists, SageMaker keeps its existing display name. The display name can't contain control characters or format characters.
evaluation_results
instance-attribute
¶
evaluation_results: NotRequired[LeaderboardEvaluationResultList]
The evaluation metrics to add to the candidate, grouped by evaluation criterion.
labels
instance-attribute
¶
labels: NotRequired[LeaderboardLabelMap]
Key-value pairs that describe the candidate. Labels aren't part of the candidate's identity. If the candidate already exists, these labels replace its existing labels. To remove all labels, specify an empty map. If you don't specify labels, the existing labels are kept. Label keys and values can contain only Unicode letters, numbers, spaces, and the following characters: _ . : / = + - @.
leaderboard_arn
instance-attribute
¶
leaderboard_arn: NotRequired[LeaderboardArn]
The Amazon Resource Name (ARN) of the leaderboard to add the candidate to.