aws_sdk_greengrassv2/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 /// - [`arn(impl Into<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::set_arn):<br>required: **true**<br><p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the component version.</p><br>
7 /// - On success, responds with [`DeleteComponentOutput`](crate::operation::delete_component::DeleteComponentOutput)
8 /// - On failure, responds with [`SdkError<DeleteComponentError>`](crate::operation::delete_component::DeleteComponentError)
9 pub fn delete_component(&self) -> crate::operation::delete_component::builders::DeleteComponentFluentBuilder {
10 crate::operation::delete_component::builders::DeleteComponentFluentBuilder::new(self.handle.clone())
11 }
12}