aws_sdk_glue/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    ///   - [`job_name(impl Into<String>)`](crate::operation::delete_job::builders::DeleteJobFluentBuilder::job_name) / [`set_job_name(Option<String>)`](crate::operation::delete_job::builders::DeleteJobFluentBuilder::set_job_name):<br>required: **true**<br><p>The name of the job definition to delete.</p><br>
7    /// - On success, responds with [`DeleteJobOutput`](crate::operation::delete_job::DeleteJobOutput) with field(s):
8    ///   - [`job_name(Option<String>)`](crate::operation::delete_job::DeleteJobOutput::job_name): <p>The name of the job definition that was 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}