Module Values_2.ExtendTrainingPlanResponseSource

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 SearchTrainingPlanOfferings API with the TrainingPlanArn parameter. To view the history of extensions for a training plan, use the DescribeTrainingPlanExtensionHistory API.

Sourcetype nonrec t = {
  1. trainingPlanExtensions : TrainingPlanExtensions.t option;
    (*

    The list of extensions for the training plan, including the newly created extension.

    *)
}
Sourcetype nonrec error = [
  1. | `ResourceNotFound of Values_0.ResourceNotFound.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval make : ?trainingPlanExtensions:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ResourceNotFound of Values_0.ResourceNotFound.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ResourceNotFound of Values_0.ResourceNotFound.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of TrainingPlanExtensionDurationHours.t | `String of TrainingPlanExtensionOfferingId.t | `Timestamp of Values_0.Timestamp.t ]) list ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t