1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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:
    ///   - [`name(impl Into<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::set_name): <p>The name of the component to delete.</p>
    /// - On success, responds with [`DeleteComponentOutput`](crate::operation::delete_component::DeleteComponentOutput) with field(s):
    ///   - [`component(Option<Component>)`](crate::operation::delete_component::DeleteComponentOutput::component): <p>The detailed data of the component being deleted.</p>
    /// - 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(),
        )
    }
}