View a markdown version of this page

Extend a training plan using the SageMaker API or Amazon CLI - Amazon SageMaker AI
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Extend a training plan using the SageMaker API or Amazon CLI

SageMaker training plans support extending training plans programmatically through its API. You can interact with the training plans API using the Amazon CLI or SageMaker SDKs.

The training plan extension involves the following API actions:

  • SearchTrainingPlanOfferings: Search for available extension offerings by specifying your training plan ARN and desired extension duration. The API returns extension offerings in the TrainingPlanExtensionOfferings field.

  • ExtendTrainingPlan: Purchase a specific extension offering to extend your training plan by providing the TrainingPlanExtensionOfferingId. This reserves the additional compute capacity and updates your training plan's end date.

  • DescribeTrainingPlanExtensionHistory: View the complete extension history for a training plan, including all past extensions with their status, dates, and payment information.