aws_sdk_proton/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    ///   - [`name(impl Into<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::set_name):<br>required: **true**<br><p>The name of the component to delete.</p><br>
7    /// - On success, responds with [`DeleteComponentOutput`](crate::operation::delete_component::DeleteComponentOutput) with field(s):
8    ///   - [`component(Option<Component>)`](crate::operation::delete_component::DeleteComponentOutput::component): <p>The detailed data of the component being deleted.</p>
9    /// - On failure, responds with [`SdkError<DeleteComponentError>`](crate::operation::delete_component::DeleteComponentError)
10    pub fn delete_component(&self) -> crate::operation::delete_component::builders::DeleteComponentFluentBuilder {
11        crate::operation::delete_component::builders::DeleteComponentFluentBuilder::new(self.handle.clone())
12    }
13}