1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetComponent`](crate::operation::get_component::builders::GetComponentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`component_build_version_arn(impl Into<String>)`](crate::operation::get_component::builders::GetComponentFluentBuilder::component_build_version_arn) / [`set_component_build_version_arn(Option<String>)`](crate::operation::get_component::builders::GetComponentFluentBuilder::set_component_build_version_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the component that you want to get. Regex requires the suffix <code>/\d+$</code>.</p><br>
    /// - On success, responds with [`GetComponentOutput`](crate::operation::get_component::GetComponentOutput) with field(s):
    ///   - [`request_id(Option<String>)`](crate::operation::get_component::GetComponentOutput::request_id): <p>The request ID that uniquely identifies this request.</p>
    ///   - [`component(Option<Component>)`](crate::operation::get_component::GetComponentOutput::component): <p>The component object specified in the request.</p>
    /// - On failure, responds with [`SdkError<GetComponentError>`](crate::operation::get_component::GetComponentError)
    pub fn get_component(&self) -> crate::operation::get_component::builders::GetComponentFluentBuilder {
        crate::operation::get_component::builders::GetComponentFluentBuilder::new(self.handle.clone())
    }
}