1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteComponent`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteComponentOutput`](crate::operation::delete_component::DeleteComponentOutput)
    /// - On failure, responds with [`SdkError<DeleteComponentError>`](crate::operation::delete_component::DeleteComponentError)
    pub fn delete_component(&self) -> crate::operation::delete_component::builders::DeleteComponentFluentBuilder {
        crate::operation::delete_component::builders::DeleteComponentFluentBuilder::new(self.handle.clone())
    }
}