# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/aws/aws.sagemaker_training_plan.dataset.md

---
title: SageMaker Training Plan
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > SageMaker Training Plan
---

# SageMaker Training Plan

SageMaker Training Plan in AWS represents a summary of a scheduled or defined training job configuration within Amazon SageMaker. It provides details about how machine learning models are trained, including the resources, algorithms, and parameters used. This helps manage and track training workflows efficiently.

```
aws.sagemaker_training_plan
```

## Fields

| Title                       | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | Description |
| --------------------------- | ---- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                        | core | string        |
| account_id                  | core | string        |
| available_instance_count    | core | int64         | The number of instances currently available for use in this training plan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| currency_code               | core | string        | The currency code for the upfront fee (e.g., USD).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| duration_hours              | core | int64         | The number of whole hours in the total duration for this training plan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| duration_minutes            | core | int64         | The additional minutes beyond whole hours in the total duration for this training plan.                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| end_time                    | core | timestamp     | The end time of the training plan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| in_use_instance_count       | core | int64         | The number of instances currently in use from this training plan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| reserved_capacity_summaries | core | json          | A list of reserved capacities associated with this training plan, including details such as instance types, counts, and availability zones.                                                                                                                                                                                                                                                                                                                                                                                                  |
| start_time                  | core | timestamp     | The start time of the training plan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| status                      | core | string        | The current status of the training plan (e.g., Pending, Active, Expired). To see the complete list of status values available for a training plan, refer to the Status attribute within the TrainingPlanSummary object.                                                                                                                                                                                                                                                                                                                      |
| status_message              | core | string        | A message providing additional information about the current status of the training plan.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| tags                        | core | hstore_csv    |
| target_resources            | core | array<string> | The target resources (e.g., training jobs, HyperPod clusters, Endpoints) that can use this training plan. Training plans are specific to their target resource. A training plan designed for SageMaker training jobs can only be used to schedule and run training jobs. A training plan for HyperPod clusters can be used exclusively to provide compute resources to a cluster's instance group. A training plan for SageMaker endpoints can be used exclusively to provide compute resources to SageMaker endpoints for model deployment. |
| total_instance_count        | core | int64         | The total number of instances reserved in this training plan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| training_plan_arn           | core | string        | The Amazon Resource Name (ARN); of the training plan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| training_plan_name          | core | string        | The name of the training plan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| upfront_fee                 | core | string        | The upfront fee for the training plan.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |