aws_sdk_sagemaker/client/extend_training_plan.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`ExtendTrainingPlan`](crate::operation::extend_training_plan::builders::ExtendTrainingPlanFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`training_plan_extension_offering_id(impl Into<String>)`](crate::operation::extend_training_plan::builders::ExtendTrainingPlanFluentBuilder::training_plan_extension_offering_id) / [`set_training_plan_extension_offering_id(Option<String>)`](crate::operation::extend_training_plan::builders::ExtendTrainingPlanFluentBuilder::set_training_plan_extension_offering_id):<br>required: **true**<br><p>The unique identifier of the extension offering to purchase. You can retrieve this ID from the <code>TrainingPlanExtensionOfferings</code> in the response of the <code>SearchTrainingPlanOfferings</code> API.</p><br>
7 /// - On success, responds with [`ExtendTrainingPlanOutput`](crate::operation::extend_training_plan::ExtendTrainingPlanOutput) with field(s):
8 /// - [`training_plan_extensions(Option<Vec::<TrainingPlanExtension>>)`](crate::operation::extend_training_plan::ExtendTrainingPlanOutput::training_plan_extensions): <p>The list of extensions for the training plan, including the newly created extension.</p>
9 /// - On failure, responds with [`SdkError<ExtendTrainingPlanError>`](crate::operation::extend_training_plan::ExtendTrainingPlanError)
10 pub fn extend_training_plan(&self) -> crate::operation::extend_training_plan::builders::ExtendTrainingPlanFluentBuilder {
11 crate::operation::extend_training_plan::builders::ExtendTrainingPlanFluentBuilder::new(self.handle.clone())
12 }
13}