aws_sdk_amplifybackend/client/
delete_backend.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 [`DeleteBackend`](crate::operation::delete_backend::builders::DeleteBackendFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`app_id(impl Into<String>)`](crate::operation::delete_backend::builders::DeleteBackendFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::delete_backend::builders::DeleteBackendFluentBuilder::set_app_id):<br>required: **true**<br><p>The app ID.</p><br>
7    ///   - [`backend_environment_name(impl Into<String>)`](crate::operation::delete_backend::builders::DeleteBackendFluentBuilder::backend_environment_name) / [`set_backend_environment_name(Option<String>)`](crate::operation::delete_backend::builders::DeleteBackendFluentBuilder::set_backend_environment_name):<br>required: **true**<br><p>The name of the backend environment.</p><br>
8    /// - On success, responds with [`DeleteBackendOutput`](crate::operation::delete_backend::DeleteBackendOutput) with field(s):
9    ///   - [`app_id(Option<String>)`](crate::operation::delete_backend::DeleteBackendOutput::app_id): <p>The app ID.</p>
10    ///   - [`backend_environment_name(Option<String>)`](crate::operation::delete_backend::DeleteBackendOutput::backend_environment_name): <p>The name of the backend environment.</p>
11    ///   - [`error(Option<String>)`](crate::operation::delete_backend::DeleteBackendOutput::error): <p>If the request fails, this error is returned.</p>
12    ///   - [`job_id(Option<String>)`](crate::operation::delete_backend::DeleteBackendOutput::job_id): <p>The ID for the job.</p>
13    ///   - [`operation(Option<String>)`](crate::operation::delete_backend::DeleteBackendOutput::operation): <p>The name of the operation.</p>
14    ///   - [`status(Option<String>)`](crate::operation::delete_backend::DeleteBackendOutput::status): <p>The current status of the request.</p>
15    /// - On failure, responds with [`SdkError<DeleteBackendError>`](crate::operation::delete_backend::DeleteBackendError)
16    pub fn delete_backend(&self) -> crate::operation::delete_backend::builders::DeleteBackendFluentBuilder {
17        crate::operation::delete_backend::builders::DeleteBackendFluentBuilder::new(self.handle.clone())
18    }
19}