Skip to content

TrainingSessionDetail

Source code in docs_src/capo_sagemaker/types/training_session_detail.py
class TrainingSessionDetail(TypedDict, closed=True):
    training_session_arn: NotRequired[
        "capo_sagemaker.types.training_session_arn.TrainingSessionArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the training session.</p>"""
    training_session_name: NotRequired[
        "capo_sagemaker.types.training_session_name.TrainingSessionName"
    ]
    """<p>The name of the training session.</p>"""
    training_session_status: NotRequired[
        "capo_sagemaker.types.training_session_status.TrainingSessionStatus"
    ]
    """<p>The current status of the training session.</p>"""
    model_package_group_arn: NotRequired[
        "capo_sagemaker.types.model_package_group_arn.ModelPackageGroupArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the model package group where checkpoints are published.</p>"""
    creation_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>The date and time that the training session was created.</p>"""
    last_modified_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>The date and time that the training session was last modified.</p>"""
    end_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>The date and time that the training session ended.</p>"""
    error_details: NotRequired["capo_sagemaker.types.failure_reason.FailureReason"]
    """<p>If the training session failed or is blocked, detailed error information.</p>"""
    last_received_sequence_number: NotRequired[
        "capo_sagemaker.types.java_integer.JavaInteger"
    ]
    """<p>The sequence number of the last training operation received by the session.</p>"""
    billable_token_usage: NotRequired[
        "capo_sagemaker.types.billable_token_usage.BillableTokenUsage"
    ]
    """<p>The billable token usage for the training session.</p>"""
    vpc_config: NotRequired["capo_sagemaker.types.vpc_config.VpcConfig"]
    """<p>The Virtual Private Cloud (VPC) configuration for the training session.</p>"""
    role_arn: NotRequired["capo_sagemaker.types.role_arn.RoleArn"]
    """<p>The Amazon Resource Name (ARN) of the IAM role associated with the training session.</p>"""
    lora_config: NotRequired["capo_sagemaker.types.lora_config.LoraConfig"]
    """<p>The Low-Rank Adaptation (LoRA) configuration for the training session.</p>"""
    model_config: NotRequired[
        "capo_sagemaker.types.training_session_model_config.TrainingSessionModelConfig"
    ]
    """<p>The configuration for the base model.</p>"""
    output_config: NotRequired[
        "capo_sagemaker.types.training_session_output_config.TrainingSessionOutputConfig"
    ]
    """<p>The output configuration for the training session.</p>"""
    tags: NotRequired["capo_sagemaker.types.tag_list.TagList"]
    """<p>The tags associated with the training session.</p>"""

billable_token_usage instance-attribute

billable_token_usage: NotRequired[BillableTokenUsage]

The billable token usage for the training session.

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

The date and time that the training session was created.

end_time instance-attribute

end_time: NotRequired[Timestamp]

The date and time that the training session ended.

error_details instance-attribute

error_details: NotRequired[FailureReason]

If the training session failed or is blocked, detailed error information.

last_modified_time instance-attribute

last_modified_time: NotRequired[Timestamp]

The date and time that the training session was last modified.

last_received_sequence_number instance-attribute

last_received_sequence_number: NotRequired[JavaInteger]

The sequence number of the last training operation received by the session.

lora_config instance-attribute

lora_config: NotRequired[LoraConfig]

The Low-Rank Adaptation (LoRA) configuration for the training session.

model_config instance-attribute

model_config: NotRequired[TrainingSessionModelConfig]

The configuration for the base model.

model_package_group_arn instance-attribute

model_package_group_arn: NotRequired[ModelPackageGroupArn]

The Amazon Resource Name (ARN) of the model package group where checkpoints are published.

output_config instance-attribute

output_config: NotRequired[TrainingSessionOutputConfig]

The output configuration for the training session.

role_arn instance-attribute

role_arn: NotRequired[RoleArn]

The Amazon Resource Name (ARN) of the IAM role associated with the training session.

tags instance-attribute

tags: NotRequired[TagList]

The tags associated with the training session.

training_session_arn instance-attribute

training_session_arn: NotRequired[TrainingSessionArn]

The Amazon Resource Name (ARN) of the training session.

training_session_name instance-attribute

training_session_name: NotRequired[TrainingSessionName]

The name of the training session.

training_session_status instance-attribute

training_session_status: NotRequired[TrainingSessionStatus]

The current status of the training session.

vpc_config instance-attribute

vpc_config: NotRequired[VpcConfig]

The Virtual Private Cloud (VPC) configuration for the training session.