aws_sdk_databrew/client/
delete_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 [`DeleteJob`](crate::operation::delete_job::builders::DeleteJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::delete_job::builders::DeleteJobFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_job::builders::DeleteJobFluentBuilder::set_name):<br>required: **true**<br><p>The name of the job to be deleted.</p><br>
7    /// - On success, responds with [`DeleteJobOutput`](crate::operation::delete_job::DeleteJobOutput) with field(s):
8    ///   - [`name(String)`](crate::operation::delete_job::DeleteJobOutput::name): <p>The name of the job that you deleted.</p>
9    /// - On failure, responds with [`SdkError<DeleteJobError>`](crate::operation::delete_job::DeleteJobError)
10    pub fn delete_job(&self) -> crate::operation::delete_job::builders::DeleteJobFluentBuilder {
11        crate::operation::delete_job::builders::DeleteJobFluentBuilder::new(self.handle.clone())
12    }
13}