aws_sdk_sagemaker/client/
delete_training_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 [`DeleteTrainingJob`](crate::operation::delete_training_job::builders::DeleteTrainingJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`training_job_name(impl Into<String>)`](crate::operation::delete_training_job::builders::DeleteTrainingJobFluentBuilder::training_job_name) / [`set_training_job_name(Option<String>)`](crate::operation::delete_training_job::builders::DeleteTrainingJobFluentBuilder::set_training_job_name):<br>required: **true**<br><p>The name of the training job to delete.</p><br>
7    /// - On success, responds with [`DeleteTrainingJobOutput`](crate::operation::delete_training_job::DeleteTrainingJobOutput)
8    /// - On failure, responds with [`SdkError<DeleteTrainingJobError>`](crate::operation::delete_training_job::DeleteTrainingJobError)
9    pub fn delete_training_job(&self) -> crate::operation::delete_training_job::builders::DeleteTrainingJobFluentBuilder {
10        crate::operation::delete_training_job::builders::DeleteTrainingJobFluentBuilder::new(self.handle.clone())
11    }
12}