aws_sdk_applicationinsights/client/
describe_component_configuration_recommendation.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 [`DescribeComponentConfigurationRecommendation`](crate::operation::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`resource_group_name(impl Into<String>)`](crate::operation::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder::resource_group_name) / [`set_resource_group_name(Option<String>)`](crate::operation::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder::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::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder::component_name) / [`set_component_name(Option<String>)`](crate::operation::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder::set_component_name):<br>required: **true**<br><p>The name of the component.</p><br>
8    ///   - [`tier(Tier)`](crate::operation::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder::tier) / [`set_tier(Option<Tier>)`](crate::operation::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder::set_tier):<br>required: **true**<br><p>The tier of the application component.</p><br>
9    ///   - [`workload_name(impl Into<String>)`](crate::operation::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder::workload_name) / [`set_workload_name(Option<String>)`](crate::operation::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder::set_workload_name):<br>required: **false**<br><p>The name of the workload. The name of the workload is required when the tier of the application component is <code>SAP_ASE_SINGLE_NODE</code> or <code>SAP_ASE_HIGH_AVAILABILITY</code>.</p><br>
10    ///   - [`recommendation_type(RecommendationType)`](crate::operation::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder::recommendation_type) / [`set_recommendation_type(Option<RecommendationType>)`](crate::operation::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder::set_recommendation_type):<br>required: **false**<br><p>The recommended configuration type.</p><br>
11    /// - On success, responds with [`DescribeComponentConfigurationRecommendationOutput`](crate::operation::describe_component_configuration_recommendation::DescribeComponentConfigurationRecommendationOutput) with field(s):
12    ///   - [`component_configuration(Option<String>)`](crate::operation::describe_component_configuration_recommendation::DescribeComponentConfigurationRecommendationOutput::component_configuration): <p>The recommended configuration settings of the component. The value is the escaped JSON of the configuration.</p>
13    /// - On failure, responds with [`SdkError<DescribeComponentConfigurationRecommendationError>`](crate::operation::describe_component_configuration_recommendation::DescribeComponentConfigurationRecommendationError)
14    pub fn describe_component_configuration_recommendation(
15        &self,
16    ) -> crate::operation::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder {
17        crate::operation::describe_component_configuration_recommendation::builders::DescribeComponentConfigurationRecommendationFluentBuilder::new(
18            self.handle.clone(),
19        )
20    }
21}