aws_sdk_sagemaker/client/
stop_labeling_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 [`StopLabelingJob`](crate::operation::stop_labeling_job::builders::StopLabelingJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`labeling_job_name(impl Into<String>)`](crate::operation::stop_labeling_job::builders::StopLabelingJobFluentBuilder::labeling_job_name) / [`set_labeling_job_name(Option<String>)`](crate::operation::stop_labeling_job::builders::StopLabelingJobFluentBuilder::set_labeling_job_name):<br>required: **true**<br><p>The name of the labeling job to stop.</p><br>
7    /// - On success, responds with [`StopLabelingJobOutput`](crate::operation::stop_labeling_job::StopLabelingJobOutput)
8    /// - On failure, responds with [`SdkError<StopLabelingJobError>`](crate::operation::stop_labeling_job::StopLabelingJobError)
9    pub fn stop_labeling_job(&self) -> crate::operation::stop_labeling_job::builders::StopLabelingJobFluentBuilder {
10        crate::operation::stop_labeling_job::builders::StopLabelingJobFluentBuilder::new(self.handle.clone())
11    }
12}