aws_sdk_amplify/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    ///   - [`app_id(impl Into<String>)`](crate::operation::delete_job::builders::DeleteJobFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::delete_job::builders::DeleteJobFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique ID for an Amplify app.</p><br>
7    ///   - [`branch_name(impl Into<String>)`](crate::operation::delete_job::builders::DeleteJobFluentBuilder::branch_name) / [`set_branch_name(Option<String>)`](crate::operation::delete_job::builders::DeleteJobFluentBuilder::set_branch_name):<br>required: **true**<br><p>The name of the branch to use for the job.</p><br>
8    ///   - [`job_id(impl Into<String>)`](crate::operation::delete_job::builders::DeleteJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::delete_job::builders::DeleteJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The unique ID for the job.</p><br>
9    /// - On success, responds with [`DeleteJobOutput`](crate::operation::delete_job::DeleteJobOutput) with field(s):
10    ///   - [`job_summary(Option<JobSummary>)`](crate::operation::delete_job::DeleteJobOutput::job_summary): <p>Describes the summary for an execution job for an Amplify app.</p>
11    /// - On failure, responds with [`SdkError<DeleteJobError>`](crate::operation::delete_job::DeleteJobError)
12    pub fn delete_job(&self) -> crate::operation::delete_job::builders::DeleteJobFluentBuilder {
13        crate::operation::delete_job::builders::DeleteJobFluentBuilder::new(self.handle.clone())
14    }
15}