// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ExtendTrainingPlan`](crate::operation::extend_training_plan::builders::ExtendTrainingPlanFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - On success, responds with [`ExtendTrainingPlanOutput`](crate::operation::extend_training_plan::ExtendTrainingPlanOutput) with field(s):
/// - [`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>
/// - On failure, responds with [`SdkError<ExtendTrainingPlanError>`](crate::operation::extend_training_plan::ExtendTrainingPlanError)
pub fn extend_training_plan(&self) -> crate::operation::extend_training_plan::builders::ExtendTrainingPlanFluentBuilder {
crate::operation::extend_training_plan::builders::ExtendTrainingPlanFluentBuilder::new(self.handle.clone())
}
}