aws_sdk_applicationinsights/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 /// - [`resource_group_name(impl Into<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::resource_group_name) / [`set_resource_group_name(Option<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::set_resource_group_name):<br>required: **true**<br><p>The name of the resource group.</p><br>
7 /// - [`component_name(impl Into<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::component_name) / [`set_component_name(Option<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::set_component_name):<br>required: **true**<br><p>The name of the component.</p><br>
8 /// - On success, responds with [`DeleteComponentOutput`](crate::operation::delete_component::DeleteComponentOutput)
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}