aws_sdk_imagebuilder/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    ///   - [`component_build_version_arn(impl Into<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::component_build_version_arn) / [`set_component_build_version_arn(Option<String>)`](crate::operation::delete_component::builders::DeleteComponentFluentBuilder::set_component_build_version_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the component build version to delete.</p><br>
7    /// - On success, responds with [`DeleteComponentOutput`](crate::operation::delete_component::DeleteComponentOutput) with field(s):
8    ///   - [`request_id(Option<String>)`](crate::operation::delete_component::DeleteComponentOutput::request_id): <p>The request ID that uniquely identifies this request.</p>
9    ///   - [`component_build_version_arn(Option<String>)`](crate::operation::delete_component::DeleteComponentOutput::component_build_version_arn): <p>The ARN of the component build version that this request deleted.</p>
10    /// - On failure, responds with [`SdkError<DeleteComponentError>`](crate::operation::delete_component::DeleteComponentError)
11    pub fn delete_component(&self) -> crate::operation::delete_component::builders::DeleteComponentFluentBuilder {
12        crate::operation::delete_component::builders::DeleteComponentFluentBuilder::new(self.handle.clone())
13    }
14}