aws_sdk_ssmsap/client/
get_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 [`GetComponent`](crate::operation::get_component::builders::GetComponentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::get_component::builders::GetComponentFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_component::builders::GetComponentFluentBuilder::set_application_id):<br>required: **true**<br><p>The ID of the application.</p><br>
7    ///   - [`component_id(impl Into<String>)`](crate::operation::get_component::builders::GetComponentFluentBuilder::component_id) / [`set_component_id(Option<String>)`](crate::operation::get_component::builders::GetComponentFluentBuilder::set_component_id):<br>required: **true**<br><p>The ID of the component.</p><br>
8    /// - On success, responds with [`GetComponentOutput`](crate::operation::get_component::GetComponentOutput) with field(s):
9    ///   - [`component(Option<Component>)`](crate::operation::get_component::GetComponentOutput::component): <p>The component of an application registered with AWS Systems Manager for SAP.</p>
10    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_component::GetComponentOutput::tags): <p>The tags of a component.</p>
11    /// - On failure, responds with [`SdkError<GetComponentError>`](crate::operation::get_component::GetComponentError)
12    pub fn get_component(&self) -> crate::operation::get_component::builders::GetComponentFluentBuilder {
13        crate::operation::get_component::builders::GetComponentFluentBuilder::new(self.handle.clone())
14    }
15}