Skip to content

UpdateRewardRequest

Source code in docs_src/capo_sagemakerjobruntime/types/update_reward_request.py
class UpdateRewardRequest(TypedDict, closed=True):
    job_arn: "capo_sagemakerjobruntime.types.job_arn.JobArn"
    """The job ARN."""
    trajectory_id: "capo_sagemakerjobruntime.types.trajectory_id.TrajectoryId"
    """The trajectory ID to update with reward values."""
    rewards: "capo_sagemakerjobruntime.types.double_list.DoubleList"
    """The list of reward values to assign to this trajectory. Provide one reward value per turn in the trajectory."""
    client_token: NotRequired["str"]
    """A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."""

client_token instance-attribute

client_token: NotRequired[str]

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

job_arn instance-attribute

job_arn: JobArn

The job ARN.

rewards instance-attribute

rewards: DoubleList

The list of reward values to assign to this trajectory. Provide one reward value per turn in the trajectory.

trajectory_id instance-attribute

trajectory_id: TrajectoryId

The trajectory ID to update with reward values.