Skip to main content

aws_sdk_sagemaker/client/
stop_ai_recommendation_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 [`StopAIRecommendationJob`](crate::operation::stop_ai_recommendation_job::builders::StopAIRecommendationJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`ai_recommendation_job_name(impl Into<String>)`](crate::operation::stop_ai_recommendation_job::builders::StopAIRecommendationJobFluentBuilder::ai_recommendation_job_name) / [`set_ai_recommendation_job_name(Option<String>)`](crate::operation::stop_ai_recommendation_job::builders::StopAIRecommendationJobFluentBuilder::set_ai_recommendation_job_name):<br>required: **true**<br><p>The name of the AI recommendation job to stop.</p><br>
7    /// - On success, responds with [`StopAiRecommendationJobOutput`](crate::operation::stop_ai_recommendation_job::StopAiRecommendationJobOutput) with field(s):
8    ///   - [`ai_recommendation_job_arn(Option<String>)`](crate::operation::stop_ai_recommendation_job::StopAiRecommendationJobOutput::ai_recommendation_job_arn): <p>The Amazon Resource Name (ARN) of the stopped recommendation job.</p>
9    /// - On failure, responds with [`SdkError<StopAIRecommendationJobError>`](crate::operation::stop_ai_recommendation_job::StopAIRecommendationJobError)
10    pub fn stop_ai_recommendation_job(&self) -> crate::operation::stop_ai_recommendation_job::builders::StopAIRecommendationJobFluentBuilder {
11        crate::operation::stop_ai_recommendation_job::builders::StopAIRecommendationJobFluentBuilder::new(self.handle.clone())
12    }
13}