aws_sdk_amplifyuibuilder/client/
delete_component.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 [`DeleteComponent`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`app_id(impl Into<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique ID of the Amplify app associated with the component to delete.</p><br>
7    ///   - [`environment_name(impl Into<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::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_component::builders::DeleteComponentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::set_id):<br>required: **true**<br><p>The unique ID of the component to delete.</p><br>
9    /// - On success, responds with [`DeleteComponentOutput`](crate::operation::delete_component::DeleteComponentOutput)
10    /// - On failure, responds with [`SdkError<DeleteComponentError>`](crate::operation::delete_component::DeleteComponentError)
11    pub fn delete_component(&self) -> crate::operation::delete_component::builders::DeleteComponentFluentBuilder {
12        crate::operation::delete_component::builders::DeleteComponentFluentBuilder::new(self.handle.clone())
13    }
14}