aws_sdk_sagemaker/client/stop_ai_benchmark_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 [`StopAIBenchmarkJob`](crate::operation::stop_ai_benchmark_job::builders::StopAIBenchmarkJobFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`ai_benchmark_job_name(impl Into<String>)`](crate::operation::stop_ai_benchmark_job::builders::StopAIBenchmarkJobFluentBuilder::ai_benchmark_job_name) / [`set_ai_benchmark_job_name(Option<String>)`](crate::operation::stop_ai_benchmark_job::builders::StopAIBenchmarkJobFluentBuilder::set_ai_benchmark_job_name):<br>required: **true**<br><p>The name of the AI benchmark job to stop.</p><br>
7 /// - On success, responds with [`StopAiBenchmarkJobOutput`](crate::operation::stop_ai_benchmark_job::StopAiBenchmarkJobOutput) with field(s):
8 /// - [`ai_benchmark_job_arn(Option<String>)`](crate::operation::stop_ai_benchmark_job::StopAiBenchmarkJobOutput::ai_benchmark_job_arn): <p>The Amazon Resource Name (ARN) of the stopped benchmark job.</p>
9 /// - On failure, responds with [`SdkError<StopAIBenchmarkJobError>`](crate::operation::stop_ai_benchmark_job::StopAIBenchmarkJobError)
10 pub fn stop_ai_benchmark_job(&self) -> crate::operation::stop_ai_benchmark_job::builders::StopAIBenchmarkJobFluentBuilder {
11 crate::operation::stop_ai_benchmark_job::builders::StopAIBenchmarkJobFluentBuilder::new(self.handle.clone())
12 }
13}