1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopTrainingJob`](crate::operation::stop_training_job::builders::StopTrainingJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`training_job_name(impl Into<String>)`](crate::operation::stop_training_job::builders::StopTrainingJobFluentBuilder::training_job_name) / [`set_training_job_name(Option<String>)`](crate::operation::stop_training_job::builders::StopTrainingJobFluentBuilder::set_training_job_name):<br>required: **true**<br><p>The name of the training job to stop.</p><br>
    /// - On success, responds with [`StopTrainingJobOutput`](crate::operation::stop_training_job::StopTrainingJobOutput)
    /// - On failure, responds with [`SdkError<StopTrainingJobError>`](crate::operation::stop_training_job::StopTrainingJobError)
    pub fn stop_training_job(&self) -> crate::operation::stop_training_job::builders::StopTrainingJobFluentBuilder {
        crate::operation::stop_training_job::builders::StopTrainingJobFluentBuilder::new(self.handle.clone())
    }
}