aws-sdk-sagemaker 1.207.0

AWS SDK for Amazon SageMaker Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopJob`](crate::operation::stop_job::builders::StopJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_name(impl Into<String>)`](crate::operation::stop_job::builders::StopJobFluentBuilder::job_name) / [`set_job_name(Option<String>)`](crate::operation::stop_job::builders::StopJobFluentBuilder::set_job_name):<br>required: **true**<br><p>The name of the job to stop.</p><br>
    ///   - [`job_category(JobCategory)`](crate::operation::stop_job::builders::StopJobFluentBuilder::job_category) / [`set_job_category(Option<JobCategory>)`](crate::operation::stop_job::builders::StopJobFluentBuilder::set_job_category):<br>required: **true**<br><p>The category of the job to stop.</p><br>
    /// - On success, responds with [`StopJobOutput`](crate::operation::stop_job::StopJobOutput)
    /// - On failure, responds with [`SdkError<StopJobError>`](crate::operation::stop_job::StopJobError)
    pub fn stop_job(&self) -> crate::operation::stop_job::builders::StopJobFluentBuilder {
        crate::operation::stop_job::builders::StopJobFluentBuilder::new(self.handle.clone())
    }
}