aws_sdk_sagemaker/client/
stop_hyper_parameter_tuning_job.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 [`StopHyperParameterTuningJob`](crate::operation::stop_hyper_parameter_tuning_job::builders::StopHyperParameterTuningJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`hyper_parameter_tuning_job_name(impl Into<String>)`](crate::operation::stop_hyper_parameter_tuning_job::builders::StopHyperParameterTuningJobFluentBuilder::hyper_parameter_tuning_job_name) / [`set_hyper_parameter_tuning_job_name(Option<String>)`](crate::operation::stop_hyper_parameter_tuning_job::builders::StopHyperParameterTuningJobFluentBuilder::set_hyper_parameter_tuning_job_name):<br>required: **true**<br><p>The name of the tuning job to stop.</p><br>
7    /// - On success, responds with [`StopHyperParameterTuningJobOutput`](crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobOutput)
8    /// - On failure, responds with [`SdkError<StopHyperParameterTuningJobError>`](crate::operation::stop_hyper_parameter_tuning_job::StopHyperParameterTuningJobError)
9    pub fn stop_hyper_parameter_tuning_job(
10        &self,
11    ) -> crate::operation::stop_hyper_parameter_tuning_job::builders::StopHyperParameterTuningJobFluentBuilder {
12        crate::operation::stop_hyper_parameter_tuning_job::builders::StopHyperParameterTuningJobFluentBuilder::new(self.handle.clone())
13    }
14}