aws_sdk_amplifyuibuilder/client/
delete_form.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 [`DeleteForm`](crate::operation::delete_form::builders::DeleteFormFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`app_id(impl Into<String>)`](crate::operation::delete_form::builders::DeleteFormFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::delete_form::builders::DeleteFormFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique ID of the Amplify app associated with the form to delete.</p><br>
7    ///   - [`environment_name(impl Into<String>)`](crate::operation::delete_form::builders::DeleteFormFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::delete_form::builders::DeleteFormFluentBuilder::set_environment_name):<br>required: **true**<br><p>The name of the backend environment that is a part of the Amplify app.</p><br>
8    ///   - [`id(impl Into<String>)`](crate::operation::delete_form::builders::DeleteFormFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_form::builders::DeleteFormFluentBuilder::set_id):<br>required: **true**<br><p>The unique ID of the form to delete.</p><br>
9    /// - On success, responds with [`DeleteFormOutput`](crate::operation::delete_form::DeleteFormOutput)
10    /// - On failure, responds with [`SdkError<DeleteFormError>`](crate::operation::delete_form::DeleteFormError)
11    pub fn delete_form(&self) -> crate::operation::delete_form::builders::DeleteFormFluentBuilder {
12        crate::operation::delete_form::builders::DeleteFormFluentBuilder::new(self.handle.clone())
13    }
14}