Skip to content

Extend Training Plan

sagemaker_extend_training_plan R Documentation

Extends an existing training plan by purchasing an extension offering

Description

Extends an existing training plan by purchasing an extension offering. This allows you to add additional compute capacity time to your training plan without creating a new plan or reconfiguring your workloads.

To find available extension offerings, use the search_training_plan_offerings API with the TrainingPlanArn parameter.

To view the history of extensions for a training plan, use the describe_training_plan_extension_history API.

Usage

sagemaker_extend_training_plan(TrainingPlanExtensionOfferingId)

Arguments

TrainingPlanExtensionOfferingId

[required] The unique identifier of the extension offering to purchase. You can retrieve this ID from the TrainingPlanExtensionOfferings in the response of the search_training_plan_offerings API.

Value

A list with the following syntax:

list(
  TrainingPlanExtensions = list(
    list(
      TrainingPlanExtensionOfferingId = "string",
      ExtendedAt = as.POSIXct(
        "2015-01-01"
      ),
      StartDate = as.POSIXct(
        "2015-01-01"
      ),
      EndDate = as.POSIXct(
        "2015-01-01"
      ),
      Status = "string",
      PaymentStatus = "string",
      AvailabilityZone = "string",
      AvailabilityZoneId = "string",
      DurationHours = 123,
      UpfrontFee = "string",
      CurrencyCode = "string"
    )
  )
)

Request syntax

svc$extend_training_plan(
  TrainingPlanExtensionOfferingId = "string"
)